]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* gdbint.texinfo (Releasing GDB): Revise `Create a Release'.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b9c07f0f
AC
12002-05-04 Andrew Cagney <ac131313@redhat.com>
2
3 * gdb.base/default.exp: Remove obsolete code.
4 * gdb.c++/misc.exp: Ditto. Update copyright.
5 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
6 * gdb.base/whatis.exp: Ditto. Update copyright.
7 * gdb.base/scope.exp: Ditto. Update copyright.
8 * gdb.base/ptype.exp: Ditto. Update copyright.
9 * gdb.base/printcmds.exp: Ditto. Update copyright.
10 * gdb.base/opaque.exp: Ditto. Update copyright.
11 * gdb.base/list.exp: Ditto.
12 * gdb.base/funcargs.exp: Ditto. Update copyright.
13 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
16 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
19
5c7a0397
MS
202002-05-02 Michael Snyder <msnyder@redhat.com>
21
d6dcc264 22 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
23 * gdb.base/long_long.exp: Add xscale target.
24 * gdb.base/default.exp: Add xscale target.
25
eb7f1c48
JB
262002-05-01 Jim Blandy <jimb@redhat.com>
27
28 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
29 gdb.c++/hang.exp: New test.
30
a6befae8
FF
312002-05-01 Fred Fish <fnf@redhat.com>
32
33 * gdb.base/completion.exp: Handle completions of "./Make" for
34 more than one completion possibility, as is the case when we
35 build and test in the source tree.
36
0a310277
AG
372002-04-29 Anthony Green <green@redhat.com>
38
39 * gdb.java/jmisc1.exp: New file.
40 * gdb.java/jmisc2.exp: New file.
41
6ff9af88
DJ
422002-04-24 Daniel Jacobowitz <drow@mvista.com>
43
44 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
45
96b3d632
EZ
462002-04-23 Elena Zannoni <ezannoni@redhat.com>
47
48 * gdb.base/help.exp: Change 'help status' to allow for target
49 dependent output differences.
50
5019bb54
MC
512002-04-22 Michael Chastain <mec@shout.net>
52
53 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
54
a805a116
MC
552002-04-22 Michael Chastain <mec@shout.net>
56
57 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
58
a1706bfd
DM
592002-04-17 David S. Miller <davem@redhat.com>
60
61 * gdb.asm/sparc64.inc: New file.
62 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
63
a73a20a2
EZ
642002-04-19 Elena Zannoni <ezannoni@redhat.com>
65
66 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
67 instruction file directly into the build tree. Clean up at end of
68 test.
69
ba678339
DM
702002-04-18 David S. Miller <davem@redhat.com>
71
72 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
73 handle 64-bit platforms correctly.
74 * gdb.base/maint.exp: Likewise.
75
b03399da
KB
762002-04-18 Kevin Buettner <kevinb@redhat.com>
77
78 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
79 ``-fpic'' when compiling files comprising a shared library, but
80 it does need additional linker flags in order to find shared
81 libraries at run time.
82
e2004992
KB
832002-04-18 Kevin Buettner <kevinb@redhat.com>
84
85 * gdb.base/cvexpr.c (use): New function.
86 (main): Invoke use() on all global variables to prevent
87 some linkers from deleting these otherwise unused symbols.
88
d8937120
MC
892002-04-17 Michael Chastain <mec@shout.net>
90From David S. Miller <davem@redhat.com>
91
92 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
93 handle 64-bit platforms correctly.
94
ffd61a58
MS
952002-04-12 Michael Snyder <msnyder@redhat.com>
96From Jim Blandy <jimb@redhat.com>
97 * gdb.base/foo.c (foox): Remove section attribute; the linker
98 script can handle this instead.
99 * gdb.base/bar.c (barx): Same.
100 * gdb.base/baz.c (bazx): Same.
101 * gdb.base/grbx.c (grbxx): Same.
102
103 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
104 manager doesn't automatically unmap overlays unnecessarily.
105
6b8426a6
MH
1062002-04-10 Martin M. Hunt <hunt@redhat.com>
107
108 * gdb.base/ending-run.exp: Fix pattern for Mips targets
109 stepping out of main.
110
34af4875
MC
1112002-04-09 Michael Chastain <mec@shout.net>
112
113 * gdb.c++/local.cc (main): Move call to marker1() inside nested
114 scope so that the nested scope tests will make sense.
115 * gdb.c++/local.exp: Write patterns that actually work with gcc
116 (the HP patterns "were never known to work with gcc").
117 Keep the old aCC patterns too.
118
2d1676a0
DJ
1192002-04-09 Daniel Jacobowitz <drow@mvista.com>
120
121 * gdb.base/attach.exp: Correct target board test.
122
3a63e3f9
MC
1232002-04-08 Michael Chastain <mec@shout.net>
124
125 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
126 in a const method. Add some xfail and fail cases for configurations
127 that do not emit the "const ...".
128
f18dabd2
MC
1292002-04-07 Michael Chastain <mec@shout.net>
130
131 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
132 Accept "A * const" and "const A * const" as type of "this".
133 Fix spelling of getFunky throughout. Make messages uniform.
134
0fcddd82
EZ
1352002-04-07 Elena Zannoni <ezannoni@redhat.com>
136
137 Work around for PR gdb/285:
138 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
139
16a8534a
EZ
1402002-04-07 Elena Zannoni <ezannoni@redhat.com>
141
142 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
143 instructions file at run time instead of configure time.
144 Sometimes we run the test in a directory that is not the one we
145 configured in.
146 * gdb.asm/configure.in: Delete creation of symlink.
147 * gdb.asm/configure: Regenerate.
148
24181d81
JB
1492002-04-05 J. Brobecker <brobecker@gnat.com>
150
151 * gdb.gdb/xfullpath.exp: New test, to exercise the new
152 xfullpath () function.
153
7cdb7107
DJ
1542002-04-04 Daniel Jacobowitz <drow@mvista.com>
155
156 * gdb.asm/Makefile.in: Correct dependencies.
157
158 * gdb.asm/powerpc.inc: New file.
159 * gdb.asm/asm-source.exp: Add PowerPC.
160 * gdb.asm/configure.in: Likewise.
161 * gdb.asm/configure: Regenerated.
162
a7d17088
DJ
1632002-04-04 Daniel Jacobowitz <drow@mvista.com>
164
165 * gdb.base/relocate.exp: New file.
166 * gdb.base/relocate.c: New file.
167
cd721503
FF
1682002-04-04 Fred Fish <fnf@redhat.com>
169
170 * gdb.base/step-test.exp: Update comment regarding stopping in
171 memcpy/bcopy calls inserted as part of the compiler runtime.
172
b22ad7a7
MS
1732002-04-04 Michael Snyder <msnyder@redhat.com>
174
175 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
176
5f279fa6
DJ
1772002-04-03 Daniel Jacobowitz <drow@mvista.com>
178
179 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
180 (gdb_expect): Remove $notransfer hack.
181
dd0fd3ce
DJ
1822002-04-02 Daniel Jacobowitz <drow@mvista.com>
183
184 * gdb.c++/classes.exp ("calling method for small class"): Match
185 updated register output.
186
1e50cda1
DJ
1872002-03-30 Daniel Jacobowitz <drow@mvista.com>
188
189 Fix PR gdb/452
190 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
191 when finished. Make gdb_file_cmd send "exec-file" when
192 appropriate.
193
24015922
DJ
1942002-03-30 Daniel Jacobowitz <drow@mvista.com>
195
196 * gdb.base/attach.exp: Remove extra setup_xfail.
197
dd7dfd64
MS
1982002-03-26 Michael Snyder <msnyder@redhat.com>
199
200 * gdb.base/default.exp: Add tests for dump, append, and restore.
201 * gdb.base/help.exp: Add tests for dump, append, and restore.
202 * gdb.base/dump.exp: New file, test dump, append and restore.
203 * gdb.base/dump.c: New file.
204
48b2f8d7
MS
2052002-03-27 Michael Snyder <msnyder@redhat.com>
206
207 * gdb.base/help.exp: Modify expect strings to reflect
208 clean-ups in help messages.
209
05b4d525
FF
2102002-03-26 Fred Fish <fnf@redhat.com>
211
212 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
213 have debugging info for those functions and the compiler uses them
214 internally to copy structs around.
215
d7679631
FF
2162002-03-26 Fred Fish <fnf@redhat.com>
217
218 * gdb.base/list.exp: Revert the change made yesterday and add note
219 about why we don't list the default lines for remote targets.
220
523ac3f9
MS
2212002-03-25 Michael Snyder <msnyder@redhat.com>
222
223 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
224
754b2b8d
FF
2252002-03-25 Fred Fish <fnf@redhat.com>
226
227 * gdb.base/list.exp: This test works on remote targets so remove
228 the short circuit for remote targets. Update copyright.
229
33c3e192
FF
2302002-03-25 Fred Fish <fnf@redhat.com>
231
232 * gdb.base/attach.exp: Fix logic error that was suppressing this
233 test for all non hppa*-*-hpux* targets, instead of the hp target.
234 Move comments closer to the suppression point. Also now need to
235 check that we are running natively.
236
d43e73ee
MS
2372002-03-22 Michael Snyder <msnyder@redhat.com>
238
882c8f02
MS
239 * gdb.base/default.exp: Add test for gcore. Update copyright.
240 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 241
04c12f60
FF
2422002-03-06 Fred Fish <fnf@redhat.com>
243
244 * gdb.base/funcargs.c: Remove extraneous ';' character.
245 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
246
b43df995
MC
2472002-03-04 Michael Chastain <mec@shout.net>
248
249 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
250 accommodate gcc v3 function signature.
251 * gdb.mi/mi0-var-cmd-exp: Ditto.
252
92362027
AC
2532002-02-24 Andrew Cagney <ac131313@redhat.com>
254
255 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
256 ``GNU/Linux'' or ``Linux kernel''
257 * testsuite/gdb.threads/pthreads.c: Ditto.
258
258ad32d
MC
2592002-02-24 Michael Chastain <mec@shout.net>
260
261 * gdb.threads/pthreads.c (thread1): Add a return statement.
262 (thread2): Likewise.
263 (foo): Likewise.
264
04c3b3d4
MC
2652002-02-23 Michael Chastain <mec@shout.net>
266
267 * gdb.threads/linux-dp.c (philosopher): Add a return statement
268 to placate gcc.
269
5a2a0a20
MC
2702002-02-23 Michael Chastain <mec@shout.net>
271
272 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
273 test "ptype bint". The test passes on all my stabs configurations.
274
a640f7fc
JB
2752002-02-21 Jim Blandy <jimb@redhat.com>
276
27924826
JB
277 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
278 filename at a time, and watch for the ones we want to see.
279
a640f7fc
JB
280 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
281 types of pointers to prototyped functions.
282
edcc8c75
AC
2832002-02-20 Andrew Cagney <ac131313@redhat.com>
284
285 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
286 signed, unsigned and straight char.
287 (padding_char, padding_short, padding_int, padding_long,
288 padding_long_long, padding_float, padding_double,
289 padding_long_double): New global variables.
290 (fill, fill_structs): New functions.
291
292 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
293 for correctly sized writes. Update copyright.
294 (get_valueof): New procedure.
295 (get_sizeof): Call get_valueof.
296 (check_valueof): New procedure.
297 (check_padding): New procedure.
298
ac57ea44
MC
2992002-02-20 Michael Chastain <mec@shout.net>
300
301 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
302 to setup_xfail. Document some of the remaining calls.
303
7a10c941
MC
3042002-02-18 Michael Chastain <mec@shout.net>
305
306 * gdb.c++/userdef.exp: Update copyright year.
307
fb8acdcc
DJ
3082002-02-18 Daniel Jacobowitz <drow@mvista.com>
309
310 * gdb.c++/userdef.exp: Test overloaded operators properly.
311 Remove xfails.
312
fda6ae12
MS
3132002-02-14 Michael Snyder <msnyder@redhat.com>
314
315 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
316
676a0442
DJ
3172002-02-14 Daniel Jacobowitz <drow@mvista.com>
318
319 * gdb.base/a2-run.exp: Check for a remote target properly.
320 * gdb.base/annota1.exp: Likewise.
321 * gdb.base/list.exp: Likewise.
322 * gdb.base/reread.exp: Likewise.
323 * gdb.base/scope.exp: Likewise.
324 * gdb.base/shlib-call.exp: Likewise.
325 * gdb.base/term.exp: Likewise.
326 * gdb.c++/annota2.exp: Likewise.
327
78b4f468
RE
3282002-02-13 Richard Earnshaw <rearnsha@arm.com>
329
330 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
331
9a81ba51
MC
3322002-02-10 Michael Chastain <mec@shout.net>
333
334 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
335 (call_after_alloca): Ditto.
336
004af6c7
DJ
3372002-02-10 Daniel Jacobowitz <drow@mvista.com>
338
339 * gdb.base/ending-run.exp: Guard "cont" test with
340 gdb_skip_stdio_test.
341
37225f62
JB
3422002-02-06 Jim Blandy <jimb@redhat.com>
343
344 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
345 from here...
346 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
347 To here. Disable this test on non-HP platforms. Add big comment.
348
fe6fdd96
MS
3492002-02-04 Michael Snyder <msnyder@redhat.com>
350
351 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
352 other than d10v and m32r.
353
036fad3f
RE
3542002-02-02 Richard Earnshaw <rearnsha@arm.com>
355
356 * gdb.base/default.exp: Rewrite test patterns to reduce time
357 taken to match them.
358
7148ab62
DJ
3592002-01-30 Daniel Jacobowitz <drow@mvista.com>
360
361 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
362 Allow a start function above main.
363 * gdb.threads/linux-dp.exp: Fix copyright date.
364
396cc255
DJ
3652002-01-30 Daniel Jacobowitz <drow@mvista.com>
366
367 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
368 (check_philosopher_stack): Check for manager thread before checking
369 for a just-starting thread.
370
f038d31b
DJ
3712002-01-30 Daniel Jacobowitz <drow@mvista.com>
372
373 From Neil Booth <neil@daikokuya.demon.co.uk>:
374 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
375 warnings.
376
b3ff9d9a
FF
3772002-01-21 Fred Fish <fnf@redhat.com>
378
379 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
380 not caller.
381
39ad761d
JB
3822002-01-21 Jim Blandy <jimb@redhat.com>
383
384 * gdb.base/reread.exp: Check that GDB properly re-reads the
385 executable file when it changes while no inferior is running.
386
aaf320fa
FF
3872002-01-21 Fred Fish <fnf@redhat.com>
388
389 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
390 optionally accept the "shlib events" variation.
391
808a31f5
JB
3922002-01-21 Jim Blandy <jimb@redhat.com>
393
394 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
395 call `fflush' after every `printf', so that the output is produced
396 at predictable points, regardless of whatever buffering does (or
397 doesn't) take place.
398 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
399 at different points.
400
4420d5e2
DJ
4012002-01-20 Daniel Jacobowitz <drow@mvista.com>
402
403 * gdb.c++/inherit.exp: Update copyright years.
404 * gdb.c++/method.exp: Likewise.
405
3e36a0f4
DJ
4062002-01-20 Daniel Jacobowitz <drow@mvista.com>
407
408 * gdb.c++/classes.exp: Update for improved v3 support and skipping
409 artificial methods/arguments.
410 * gdb.c++/derivation.exp: Likewise.
411 * gdb.c++/inherit.exp: Likewise.
412 * gdb.c++/method.exp: Likewise.
413 * gdb.c++/virtfunc.exp: Likewise.
414
b4ceaee6
AC
4152002-01-18 Andrew Cagney <ac131313@redhat.com>
416
417 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
418 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
419 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
420 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
421 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
422 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
423
ecace851
JB
4242002-01-17 Jim Blandy <jimb@redhat.com>
425
426 * gdb.asm/asm-source.exp (info symbol): Take another shot at
427 anchoring the pattern matching the entry point symbol's name.
428
375fc983
AC
4292002-01-17 Andrew Cagney <ac131313@redhat.com>
430
431 * gdb.base/maint.exp: Update ``maint internal-error'' to match
432 continue/quit query. Update copyright.
433
fe6fdd96
MS
4342002-01-14 Michael Snyder <msnyder@redhat.com>
435
436 * gdb.base/gcore.exp: Remove extra debugging output.
437
e017c81f
DJ
4382002-01-13 Daniel Jacobowitz <drow@mvista.com>
439
440 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
441 for slightly dubious v2 mangled string.
442
37ab3bf8
DJ
4432002-01-13 Daniel Jacobowitz <drow@mvista.com>
444
445 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
446
1bc05c3a 4472002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 448
1bc05c3a 449 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 450
1bc05c3a
JM
451 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
452 constructors.
453 * gdb.c++/derivation.exp: Likewise.
454 * gdb.c++/templates.exp: Likewise.
455 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 456
1bc05c3a
JM
4572002-01-10 Michael Snyder <msnyder@redhat.com>
458
459 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 460
a911c360
MS
4612002-01-08 Michael Snyder <msnyder@redhat.com>
462
463 * gdb.base/gcore.exp: New test for generate-core-file command.
464 * gdb.base/gcore.c: Testcase for above.
465 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
466
ea2119ec
JM
4672002-01-08 Jason Merrill <jason@redhat.com>
468
469 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
470
68203136
FF
4712002-01-07 Fred Fish <fnf@redhat.com>
472
473 * gdb.c++/overload.exp: Remove unconditional xfails for:
474 print foo_instance1.overloadargs(1)
475 print foo_instance1.overloadargs(1, 2)
476 print foo_instance1.overloadargs(1, 2, 3)
477 print foo_instance1.overloadargs(1, 2, 3, 4)
478 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
479 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
480 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
481 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
482 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
483 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
484 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
485 print foo_instance1.overload1arg()
486 print foo_instance1.overload1arg((char)arg2)
487 print foo_instance1.overload1arg((signed char)arg3)
488 print foo_instance1.overload1arg((unsigned char)arg4)
489 print foo_instance1.overload1arg((int)arg7)
490 print foo_instance1.overload1arg((unsigned int)arg8)
491 print foo_instance1.overload1arg((float)arg11)
492 print foo_instance1.overload1arg((double)arg12)
493
21b9b5b1
MS
4942002-01-07 Michael Snyder <msnyder@redhat.com>
495
496 * gdb.base/huge.exp: New test. Print a very large target data object.
497 (skip_huge_test): New test variable. Define if you want to skip this
498 test. The test reads an 8 megabyte data object from the target, so it
499 might be very time consuming on remote targets with a slow connection.
500 * gdb.base/huge.c: New file. Test case for above.
501
725f922e
FF
5022002-01-07 Fred Fish <fnf@redhat.com>
503
504 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
505 g_instance.bfoo, and g_instance.cfoo.
506
634d57ec
JL
507Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
508
f286b2c3
JL
509 * gdb.base/break.c (multi_line_if_conditional): New function.
510 (multi_ilne_while_conditional): Likewise.
511 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
512 IF or WHILE condition puts the breakpoint at the start of
513 the condition.
514
634d57ec
JL
515 * gdb.base/selftest.exp (backtrace through signal handler): Remove
516 hppa*-*-hpux* expected failure.
517 * gdb.base/structs.exp (do_function_calls): Similarly.
518
519 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
520 watchpoints.
521
9fbfe2dc
AC
5222002-01-06 Andrew Cagney <ac131313@redhat.com>
523
524 Fix PR gdb/66.
525 * gdb.base/structs.exp: Replace skip for a29k with skip for
526 gdb,cannot_call_functions.
527 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
528 * gdb.base/callfuncs.exp: Ditto.
529 * gdb.base/call-rt-st.exp: Ditto.
530 * gdb.base/call-strs.exp: Ditto.
531 * gdb.base/callfwmall.exp: Ditto.
532 * gdb.base/scope.exp: Obsolete xfail a29k.
533 * gdb.c++/misc.exp: Ditto.
534 * gdb.c++/cplusfuncs.exp: Ditto.
535 * gdb.base/ptype.exp: Ditto.
536 * gdb.base/printcmds.exp: Ditto.
537 * gdb.base/opaque.exp: Ditto.
538 * gdb.base/list.exp: Ditto.
539 * gdb.base/funcargs.exp: Ditto.
540 * gdb.base/default.exp: Ditto.
541
8ddad156
MS
5422002-01-04 Michael Snyder <msnyder@redhat.com>
543
ca4976a6 544 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
545 * gdb.base/maint.exp: Add tests for maint info sections options.
546
1b074332
JL
547Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
548
549 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
550
7d159115
CV
5512001-12-20 Corinna Vinschen <vinschen@redhat.com>
552
553 * gdb.asm/arm.inc: New file.
554 * gdb.asm/asm-source.exp: Add arm targets.
555 * gdb.asm/configure.in: Ditto.
556 * gdb.asm/configure: Recreated from configure.in.
557
8fb87725
JL
558Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
559
afabe08c
JL
560 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
561 with HP's compiler.
562 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
563 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
564 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
565 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
566
567 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
568 either HP's compilers or GCC.
569
db521deb
JL
570 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
571 a SIGBUS or SIGSEGV.
572
573 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
574
575 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
576 can be compiled with either HP's compiler or GCC.
577
cfa88ab7
JL
578 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
579 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
580 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
581
ca344dff
JL
582 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
583 to match current gdb output. Update due to using auto-solib-limit
584 for limiting instead of overloading auto-solib-add.
585 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
586 test program.
587
3f3c6e55 588 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
589 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
590 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
591 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
592 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
593 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
594 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
595 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
596 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
597 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
598 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
599 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
600 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 601
8fb87725
JL
602 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
603 a SIGTRAP to the inferior.
604
cf599fa7
CV
6052001-12-19 Corinna Vinschen <vinschen@redhat.com>
606
607 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
608 Substitute call to target_link by call to gdb_compile.
609
2cd045cd
JL
610Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
611
612 * gdb.base/break.exp: Fix HP specific search string when testing
613 backtracing in a called function.
614
615 * gdb.base/constvars.exp: Only set lang to C++ if we're
616 compiling the test with HP's compilers.
617 * gdb.base/volatile.exp: Similarly.
618
99ebe9ac
JB
6192001-12-19 Jim Blandy <jimb@redhat.com>
620
621 * gdb.base/printcmds.exp: Expect the null character to be printed
622 as '\0', and the '\013' to be printed as '\v'.
623 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
624 * gdb.base/setvar.exp: Same.
625
b9891b29
JB
6262001-12-17 Jim Blandy <jimb@redhat.com>
627
0eba65ab
JB
628 * gdb.base/completion.exp: Rather than completing very long
629 filenames, which can make the readline library produce output we
630 don't recognize, cd to the directory first, and then complete
631 using nice, short relative paths.
632
6970b5b1
JB
633 * gdb.base/completion.exp: On some systems, there is, in fact, a
634 variable named `b' in scope, since GDB treats all static
635 variables as being in scope. So use `no_var_named_this'
636 instead of `b'.
637
b9891b29
JB
638 * gdb.base/corefile.exp: Recognize the message saying that GDB
639 can't find the core file's registers as a failure.
640
e6ccd35f
JSC
6412001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
642
643 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
644 test expect string more specific.
645
105ba819
CV
6462001-12-13 Corinna Vinschen <vinschen@redhat.com>
647
648 * gdb.asm/asm-source.exp: Add support for xstormy16.
649 * gdb.asm/configure.in: Ditto.
650 * gdb.asm/configure: Rebuild.
651 * gdb.asm/xstormy16.inc: New file.
652
e9e79dd9
FF
6532001-12-10 Fred Fish <fnf@redhat.com>
654
655 * gdb.base/maint.exp: Update to match changes in type dumping code.
656
347dc97d
JB
6572001-12-10 Jim Blandy <jimb@redhat.com>
658
659 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
660 matching the entry point symbol's name at the beginning of the
661 line.
662
5178b9d6
DJ
6632001-12-07 Daniel Jacobowitz <drow@mvista.com>
664
665 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
666 gdb.c++/inherit.exp, gdb.c++/method.exp,
667 gdb.c++/namespace.exp, gdb.c++/templates.exp,
668 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
669 and class layout support.
670
af890c52
DJ
6712001-12-07 Daniel Jacobowitz <drow@mvista.com>
672
673 * gdb.c++/classes.exp: Add test for static member function.
674 * gdb.c++/misc.cc: Add class with static member function.
675
7a345fb3
JB
6762001-12-07 Jim Blandy <jimb@redhat.com>
677
f2e54a80 678 If GDB says it can't find the struct the function returned, report
8032bf31
JB
679 those tests as `unsupported'.
680 * gdb.base/call-rt-st.exp (print_struct_call): New function.
681 Rewrite subsequent tests to use it.
682
683 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
684 those tests as `unsupported'.
685 * gdb.base/structs.exp (call_struct_func): New function.
686 (do_function_calls): Use call_struct_func to call the functions
687 returning structs.
688
0bc69509
JB
689 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
690 whether functions are prototyped or not, so we can't possibly pass
691 arguments to t_float_values2 properly.
692
7a345fb3
JB
693 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
694 value of `timeout' for targets other than the mips*tx39-*.
695
edb6ede1
MS
6962001-12-06 Michael Snyder <msnyder@redhat.com>
697
698 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
699 and detect whether the start symbol has a leading underscore.
700
2d842f13
JB
7012001-12-04 Jim Blandy <jimb@redhat.com>
702
703 * gdb.base/completion.exp: Clarify indentation.
704
68550daf
JB
7052001-12-03 Jim Blandy <jimb@redhat.com>
706
707 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
708 variables on the S/390, not `.word'.
709
cd5195a8
JB
7102001-11-30 Jim Blandy <jimb@redhat.com>
711
712 Add assembly-source tests for s390-ibm-linux.
713 * gdb.asm/s390.inc: New file.
714 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
715 the S/390 architecture.
716 * gdb.asm/configure: Regenerated.
717
ca9efc90
MS
7182001-11-30 Michael Snyder <msnyder@redhat.com>
719
720 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
721 next, info source, info sources, info line, global and static
722 variables, and static functions.
723 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
724 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
725 * gdb.asm/asmsrc1.s: Add a static function and some variables.
726 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
727 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
728 (gdbasm_leave): Restore frame pointer.
729 (gdbasm_startup): Copy stack set-up from crt0.S.
730
d0e66976
FN
7312001-11-26 Fernando Nasser <fnasser@redhat.com>
732
733 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
734 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
735 to a local (non-static) variable. Copy tstruct.a to a static buffer
736 and return a pointer to that buffer.
737 * gdb.base/callfwmall.c (t_structs_a): Ditto.
738
e2334072
MK
7392001-11-24 Mark Kettenis <kettenis@gnu.org>
740
741 * gdb.asm/configure.in: Fix recognition of ix86 target.
742 * gdb.asm/configure: Regenerate.
743
756caa3d
MS
7442001-11-21 Michael Snyder <msnyder@redhat.com>
745
746 * gdb.asm/sparc.inc: New file.
747 * gdb.asm/asm-source.exp: Recognize sparc target.
748 * gdb.asm/configure.in: Recognize sparc target.
749 * gdb.asm/configure: Regenerate.
750
9a4d72d5
MS
7512001-11-21 Michael Snyder <msnyder@redhat.com>
752
753 * gdb.asm/m32r.inc: New file.
754 * gdb.asm/asm-source.exp: Recognize m32r target.
755 * gdb.asm/configure.in: Recognize m32r target.
756 * gdb.asm/configure: Regenerate.
757
a773d1cd
MS
7582001-11-20 Michael Snyder <msnyder@redhat.com>
759
017ac23d
MS
760 * gdb.asm/i386.inc: New file.
761 * gdb.asm/asm-source.exp: Recognize ix86 target.
762 * gdb.asm/configure.in: Recognize ix86 target.
763 * gdb.asm/configure: Regenerate.
764
a773d1cd
MS
765 * gdb.c++/namespace.exp: Fix quotes in output messages.
766
bb632afb
MS
7672001-11-14 Michael Snyder <msnyder@redhat.com>
768
25d559ca 769 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
770 qualifier in a type cast expression, to designate an address
771 in the instruction space (Harvard architecture).
772
4749e309
MS
7732001-11-13 Michael Snyder <msnyder@redhat.com>
774
775 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
776 Tests for expressions using 'const' and 'volatile'.
777
25050984
CV
7782001-11-13 Corinna Vinschen <vinschen@redhat.com>
779
780 * gdb.asm/asm-sources.exp: Allow defining linker flags.
781
1902c51f
DJ
7822001-11-12 Daniel Jacobowitz <drow@mvista.com>
783
784 * lib/mi-support.exp (mi_run_to_helper): Move comments
785 outside of gdb_expect.
786
dcf95b47
DJ
7872001-11-11 Daniel Jacobowitz <drow@mvista.com>
788
789 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
790 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
791 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
792 mi0_run_to): New functions.
793 * gdb.mi/mi-simplerun.exp: Use them.
794 * gdb.mi/mi0-simplerun.exp: Likewise.
795 * gdb.mi/mi-var-cmd.exp: Likewise.
796 * gdb.mi/mi0-var-cmd.exp: Likewise.
797
45b074e1
AC
7982001-11-10 Andrew Cagney <ac131313@redhat.com>
799
800 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
801 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
802
bf50d346
AC
8032001-11-09 Andrew Cagney <ac131313@redhat.com>
804
805 * gdb.base/restore.exp: Include $expected value in restored test
806 message.
807
9383332c
AC
8082001-11-09 Andrew Cagney <ac131313@redhat.com>
809
810 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
811 implemented.
812
db62520a
MS
8132001-11-08 Michael Snyder <msnyder@redhat.com>
814
815 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
816 Add pass/fail message for stop at breakpoint in call dummy function.
817
b5703437
MS
8182001-11-07 Michael Snyder <msnyder@redhat.com>
819
760f6330
MS
820 * gdb.c++/templates.exp (test_template_breakpoints):
821 If we get an overload menu, but it does not match what
822 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
823 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
824 making the whitespace optional. Argument for "new" may be
825 "unsigned" as well as "unsigned int/long".
eef747c0
MS
826 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
827 making the whitespace optional. Also replace "(void) with
828 "((void|)), making the keyword "void" optional.
63f50499
MS
829 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
830 making the whitespace optional. Also replace "(void) with
831 "((void|)), making the keyword "void" optional.
3bf40917
MS
832 * gdb.base/callfuncs.c (t_float_values): This function must
833 _not_ be prototyped, and the following function (t_float_values2)
834 must be prototyped (if the compiler supports it), so that GDB
835 can be tested against both cases. Usually one case involves
836 promotion of float to double, while the other does not.
837 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
838 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
839 includes a stack frame for "start".
840
c8ab4e6d
JB
8412001-11-05 Jim Blandy <jimb@redhat.com>
842
843 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
844 pointers are 32 bits long, and that offsets of relocs are always
845 stored in the data (REL-style), and not in the reloc entry itself
846 (RELA-style).
847 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
848 stabs.
849
3f08ced9
MS
8502001-11-01 Michael Snyder <msnyder@redhat.com>
851
852 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
853 and regular expression operators by using quoting.
854
cbfa24cd
MS
8552001-10-31 Michael Snyder <msnyder@redhat.com>
856
857 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
858 depending on what the symbol table contains.
859 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
860 the output of the ptype command. Similarly, accept both "const &"
861 and "const&".
862
aaa68313
CV
8632001-10-31 Corinna Vinschen <vinschen@redhat.com>
864
865 * gdb.base/miscexprs.c (main): Add usage of preprocessor
866 symbol `STORAGE' to allow to choose the storage class of
867 the local datastructures.
868 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
869 compiler directive.
870
91740388
MS
8712001-10-30 Michael Snyder <msnyder@redhat.com>
872
873 * gdb.base/jump.exp: Allow it to run for all targets.
874
1b7c05e7
CV
8752001-10-29 Corinna Vinschen <vinschen@redhat.com>
876
877 * gdb.base/call-ar-st.c (print_double_array): Match for loop
878 with new double_array size.
879 (main): Change storage class of all local variables to static.
880 Reduce size of double_array to 9.
881 * gdb.base/call-ar-st.exp: Increase timeout value.
882 Change expected output for double array to match new size in
883 call-ar-st.c.
884
36a22261
CV
8852001-10-29 Corinna Vinschen <vinschen@redhat.com>
886
887 * gdb.base/ending-run.exp: Create identical output when passing
888 `step to end of run' case. Add regular expression branch satisfying
889 Stormy16 target.
890
92b8ae91
MK
8912001-10-28 Mark Kettenis <kettenis@gnu.org>
892
893 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
894 that we catch the expected failure under Linux/x86.
895
cb135b83
OF
8962001-10-29 Orjan Friberg <orjanf@axis.com>
897
898 * gdb.base/setvar.exp: Escape curly braces.
899 * gdb.stabs/weird.exp: Ditto.
900
6884aa54
DJ
9012001-10-27 Daniel Jacobowitz <drow@mvista.com>
902
903 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
904 * gdm.mi/mi0-hack-cli.exp: Likewise.
905
0398c9aa
AC
9062001-10-25 Andrew Cagney <ac131313@redhat.com>
907
908 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
909 messages.
910
d20bf2e8
AC
9112001-10-21 Andrew Cagney <ac131313@redhat.com>
912
913 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
914 checking MI enabled.
915
03dd63aa
CV
9162001-10-09 Corinna Vinschen <vinschen@redhat.com>
917
918 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
919
1d9d99f3
FCE
9202001-10-04 Frank Ch. Eigler <fche@redhat.com>
921
922 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
923 if gdb child process crashes, just signal an error.
924
838ae6c4
JB
9252001-10-02 Jim Blandy <jimb@redhat.com>
926
927 * lib/gdb.exp (test_xfail_format): Simplify.
928
929 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
930 front of the variable name `format'. Simplify `if'.
931
8f0cbc1c
DJ
9322001-10-01 Daniel Jacobowitz <drow@mvista.com>
933
934 * gdb.threads/pthreads.exp: Wait for output and delay
935 before sending ^C.
936
1f08dafd
DJ
9372001-10-01 Daniel Jacobowitz <drow@mvista.com>
938
939 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
940 some incorrect output instead of timing out.
941 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
942
674f90ff
CV
9432001-09-28 Corinna Vinschen <vinschen@redhat.com>
944
945 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
946 check to allow additional `int'.
947
9b284272
DJ
9482001-09-27 Daniel Jacobowitz <drow@mvista.com>
949
950 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
951 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
952
b55a4771
MS
9532001-09-27 Michael Snyder <msnyder@redhat.com>
954
955 * lib/gdb.exp (test_debug_format): New proc.
956 (setup_xfail_format): Use new proc test_debug_format.
957 * gdb.base/constvars.exp (local_compiler_xfail_check): New
958 proc; use new service proc test_debug_format.
959 Replace all other "gcc_compiled" tests with this test.
960 * gdb.base/volatile.exp (local_compiler_xfail_check): New
961 proc; use new service proc test_debug_format.
962 Replace all other "gcc_compiled" tests with this test.
963
9642001-09-27 Michael Snyder <msnyder@redhat.com>
965
966 * gdb.base/cvexpr.exp: New file.
967 * gdb.base/cvexpr.c: New file
968 Test for expressions using const and volatile keywords.
969
4e6667ac
CV
9702001-09-26 Corinna Vinschen <vinschen@redhat.com>
971
972 * gdb.base/constvars.exp: Check for different orders of keywords
973 and additional "int" strings in output.
974
4f337972
AC
9752001-09-22 Andrew Cagney <ac131313@redhat.com>
976
977 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
978 responses from "help maint".
979
2015650d
FCE
9802001-09-19 Frank Ch. Eigler <fche@redhat.com>
981
982 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
983 to localhost:NNN instead of :NNN, in case Xvfb is listening
984 only on TCP.
985
f3bcedc1
CV
9862001-09-19 Corinna Vinschen <vinschen@redhat.com>
987
988 * gdb.base/recurse.exp: When checking leaving the watchpoint
989 scope, recognize when gdb is in function's epilogue and pass.
990
6b819c92
KS
9912001-09-18 Keith Seitz <keiths@redhat.com>
992
993 * lib/insight-support.exp (_gdbtk_export_target_info): Add
994 support for running tests against sid targets.
995 (gdbtk_done): Ditto.
996
a10c9419
CV
9972001-09-18 Corinna Vinschen <vinschen@redhat.com>
998
999 * gdb.base/ending-run.c (main): Set stdout buffersize
1000 to the same reasonable value for any target.
1001 * gdb.base/ending-run.exp: Add a regular expression
1002 to make testsuite happy on Sanyo Stormy16 target.
1003
739d0d99
CV
10042001-09-17 Corinna Vinschen <vinschen@redhat.com>
1005
1006 * gdb.base/display.c (do_loops): Add float variable `f'.
1007 Increment f in loop.
1008 * gdb.base/display.exp: Increment timeout by 60 seconds.
1009 Change float display test to use variable `f'.
1010
1b8947f0
JB
10112001-09-17 Jim Blandy <jimb@redhat.com>
1012
1013 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1014 overflowing the limited breakpoint tables on some ROM monitors
1015 (like the ROM68K).
1016
9890ac81
FCE
10172001-09-15 Frank Ch. Eigler <fche@redhat.com>
1018
1019 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1020 the "-ac" (disable access control) flag.
1021
6db765ea
JH
10222001-08-30 Jeff Holcomb <jeffh@redhat.com>
1023
1024 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1025 ints.
1026
4c32cc04
KS
10272001-08-30 Keith Seitz <keiths@redhat.com>
1028
1029 * lib/gdb.exp: Move all insight-related functionality into
1030 separate file.
1031 * lib/insight-support.exp: New file.
1032
8d6e6f81
FCE
10332001-08-29 Frank Ch. Eigler <fche@redhat.com>
1034
1035 * config/sid.exp (sid_start): Never set sid verbosity; disable
1036 expect_background {} that consumed its stdout; tolerate </dev/null.
1037 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1038
6a90e1d0
AC
10392001-08-18 Andrew Cagney <ac131313@redhat.com>
1040
1041 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1042 CLI jump command to start it.
1043 (mi_run_to_main): Fail immediatly when unexpected output.
1044
1759b3c3
AC
10452001-08-18 Andrew Cagney <ac131313@redhat.com>
1046
1047 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1048 beginning of function. Fix PR gdb/191.
1049
61d11d80
FCE
10502001-08-16 Frank Ch. Eigler <fche@redhat.com>
1051
1052 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1053 what to force sid endianness to.
1054
942a4df2
KS
10552001-08-15 Keith Seitz <keiths@redhat.com>
1056
1057 * lib/gdb.exp (gdbtk_start): Don't set environment
1058 variables for TCL_LIBRARY and friends. Insight will
1059 now figure these out for itself.
1060
0521c418
MS
10612001-08-02 Michael Snyder <msnyder@redhat.com>
1062
1063 * gdb.base/completion.exp: Remove the symbol "a64l" from
1064 the expect string; this is target-specific, and not related
1065 to what is being tested.
1066
74a9a58a
DB
10672001-08-02 Dave Brolley <brolley@redhat.com>
1068
1069 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1070
c70819fa
MS
10712001-07-25 Michael Snyder <msnyder@redhat.com>
1072
c2b8fa57
MS
1073 * gdb.base/consecutive.exp: New file. Test stepping over
1074 breakpoints on consecutive instructions.
1075 * gdb.base/consecutive.c: New file.
1076
c70819fa
MS
1077 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1078 curly braces in regular expressions.
1079
2b1a1355
MS
10802001-07-25 Michael Snyder <msnyder@redhat.com>
1081
1082 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1083 legitimate output from stepping out of main.
1084
413eca6f
KS
10852001-07-22 Keith Seitz <keiths@redhat.com>
1086
1087 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1088 the empty string, do not run the tests.
1089
7e5a9322
SC
10902001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1091
1092 * gdb.base/long_long.exp: Detect size of pointer. Take into
1093 account 2-byte pointers when testing for p/a results.
1094
de58f10f
SC
10952001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1096
1097 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1098 and defined to 1K for m68hc11.
1099 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1100 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1101 (sizeof_random_data): New variable to tell the size of the data table;
1102 don't test past this size; always run to main.
1103
d6f5fea1
SC
11042001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1105
1106 * gdb.base/return2.exp: return of long long and double fails for
1107 68HC11; don't execute these tests on that platform.
1108 * gdb.base/return.exp: Return of a double fails for 68hc11.
1109
c477543d
SC
11102001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1111
1112 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1113 tests that print a float.
1114 * call-rt-st.exp: Likewise.
1115
63cf1c79
MK
11162001-07-12 Mark Kettenis <kettenis@gnu.org>
1117
1118 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1119 running this test on Linux.
1120
112f9ab5
MC
11212001-06-24 Michael Chastain <chastain@redhat.com>
1122
1123 * gdb.base/arithmet.exp: Remove some tests to make all test names
1124 unique.
1125
4970cb0f
MS
11262001-07-03 Michael Snyder <msnyder@redhat.com>
1127
1128 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1129 the output of the ptype command.
1130
d85da69f
MS
11312001-07-02 Michael Snyder <msnyder@redhat.com>
1132
4c8a82de
MS
1133 * gdb.base/completion.exp: Don't assume that break.c is the only
1134 source file that may contain functions named "marker".
d85da69f
MS
1135 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1136
8afc772b
AC
11372001-06-28 Andrew Cagney <ac131313@redhat.com>
1138
1139 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1140 of files to delete.
1141
1142 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1143 * gdb.disasm/h8300s.exp: New file.
1144 gdb.disasm/h8300s.s: Likewise.
1145
cff22675
AC
11462001-06-27 Andrew Cagney <ac131313@redhat.com>
1147
1148 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1149 empty breakpoint tables.
1150
68c81b54
AC
11512001-06-25 Andrew Cagney <ac131313@redhat.com>
1152
1153 * lib/mi-support.exp: Update args=... part of stop-reason
1154 patterns. Accept either a list or a tuple.
1155
2dd62704
AC
11562001-06-23 Andrew Cagney <ac131313@redhat.com>
1157
1158 * lib/mi-support.exp: Remove local emacs variable defining
1159 change-log-default-name.
1160
b4127474
MC
11612001-06-22 Michael Chastain <chastain@redhat.com>
1162
1163 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1164 This is operationally compatible with the previous version.
1165
8dbfb380
JB
11662001-06-13 Jim Blandy <jimb@redhat.com>
1167
1168 * lib/gdb.exp (gdb_test): Doc fix.
1169
f2d8c86d
MC
11702001-06-10 Michael Chastain <chastain@redhat.com>
1171
1172 * gdb.base/exprs.exp: Remove a duplicate test.
1173
81564d34
JB
11742001-06-06 Jim Blandy <jimb@redhat.com>
1175
1176 * gdb.base/return2.exp (main): Use values to test float and double
1177 returns that are not NaN's, to avoid being confused by IEEE
1178 comparison rules.
1179
da55addb
MS
11802001-06-04 Michael Snyder <msnyder@redhat.com>
1181
1182 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1183 non-zero if control_c fails. Terminate the test on failure,
1184 rather than wait for 12 more tests to time out.
1185
42c65987
JB
11862001-06-06 Jim Blandy <jimb@redhat.com>
1187
b18bced9
JB
1188 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1189 Don't forget to match the GDB prompt.
1190
42c65987
JB
1191 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1192
5b41e5f0
JB
11932001-06-04 Jim Blandy <jimb@redhat.com>
1194
1195 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1196 command.
1197
015e046f
KB
11982001-05-31 Kevin Buettner <kevinb@redhat.com>
1199
1200 * gdb.base/annota1.exp (info break): Match four or more spaces
1201 after "Address".
1202
fb1ffbbe
MC
12032001-05-31 Michael Chastain <chastain@redhat.com>
1204
1205 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1206 (dm_type_int_star): Likewise.
1207 (dm_type_long_star): Likewise.
1208 (dm_type_void_star): Likewise.
1209
5ea2a32c
KB
12102001-05-29 Kevin Buettner <kevinb@redhat.com>
1211
1212 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1213 to a known value in order to get consistent results regardless
1214 of the setting of INPUTRC or the presence or contents of .inputrc.
1215
ae23c492
MS
12162001-05-24 Michael Snyder <msnyder@redhat.com>
1217
ac55707e
MS
1218 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1219 Don't require that the main thread and the manager thread are the
1220 first in the list.
1221
ae23c492
MS
1222 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1223 debugging. If test fails, issue an "unsupported" not a "fail".
1224
400071f1
JB
12252001-05-24 Jim Blandy <jimb@redhat.com>
1226
1227 Don't assume that short is shorter than int.
1228 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1229 assume that shorts are smaller than ints. On a 16-bit machine,
1230 this isn't true.
1231 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1232 an int, is not equal to ~0 stored in an unsigned char. This tests
1233 the same thing that the previous test meant to, but works on
1234 16-bit machines, too.
1235 ("print unsigned char != (~0)"): Same test, complemented.
1236
0816a3e5
MS
12372001-05-24 Michael Snyder <msnyder@redhat.com>
1238
1239 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1240 test for (full_coverage == 0). This makes the test run faster,
1241 and prevents dejagnu getting out of step.
1242
f6dc23a9
KB
12432001-05-23 Kevin Buettner <kevinb@redhat.com>
1244
1245 * gdb.base/finish.exp (finish_void): Revise pattern for
1246 stopping on the call statement to not permit stopping at
1247 the start of the instructions comprising the call sequence.
1248
7dbd117d
MC
12492001-05-19 Michael Chastain <chastain@redhat.com>
1250
1251 * gdb.base/callfuncs.exp: Make all test names unique.
1252 * gdb.base/commands.exp: Make all test names unique.
1253 * gdb.base/condbreak.exp: Make all test names unique.
1254 * gdb.base/dbx.exp: Make all test names unique.
1255 * gdb.base/default.exp: Make all test names unique.
1256 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1257 and TIMEOUT messages to their corresponding PASS message.
1258 * gdb.base/ending-run.exp: Make all test names unique.
1259 * gdb.base/long_long.exp: Remove duplicate test.
1260
6b0b0a9e
KB
12612001-05-21 Kevin Buettner <kevinb@redhat.com>
1262
1263 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1264 stop on the call statement as well as the statement after the
1265 call.
1266
2caa35cb
MS
12672001-05-21 Michael Snyder <msnyder@redhat.com>
1268
1269 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1270
40713331
EZ
12712001-05-10 Elena Zannoni <ezannoni@redhat.com>
1272
1273 * gdb.base/completion.exp: Revamp test. Make it execute on all
1274 platforms.
1275
c2c1be8d
EZ
12762001-05-10 Elena Zannoni <ezannoni@redhat.com>
1277
2c9cd303
EZ
1278 * config/gdbserver.exp (gdb_load): Handle the case
1279 in which the arguments to gdbserver are given in the
1280 baseboard configuration file.
1281 Also handle the case in which the server needs to do a
1282 load.
1283
9671de48
KS
12842001-05-07 Keith Seitz <keiths@cygnus.com>
1285
1286 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1287 set up the display for testing.
1288 (gdbtk_start): Convert all paths to paths that tcl will like.
1289 Export target information to environment.
1290 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1291 necessary.
1292 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1293 (to_tcl_path): New proc to convert a given pathname into
1294 a path acceptible as an argument to a tcl command.
1295 (_gdbtk_export_target_info): New proc to export target info
1296 into the environment for gdbtk testing.
1297 (gdbtk_done): New proc to signal end-of-test.
1298
5a360f47
JB
12992001-05-06 Jim Blandy <jimb@redhat.com>
1300
1301 * restore.c: Make the code of caller0 correspond to its comment.
1302
66c756c6
MS
13032001-05-03 Michael Snyder <msnyder@redhat.com>
1304
1305 * config/sid.exp (gdb_target_sid): Check for error messages.
1306 On error or timeout, don't make expect exit (which will terminate
1307 all subsequent tests); instead just make gdb exit.
1308 (gdb_load): Check for error messages. On error or timeout,
1309 return a negative value.
1310
a966fde5
JB
13112001-04-24 Jim Blandy <jimb@redhat.com>
1312
851c18e0
JB
1313 * gdb.c++/templates.exp: If we see the prompt for the overload
1314 list, but we haven't recognized any of the longer patterns,
1315 arrange for this test to fail, not hang.
1316
a966fde5
JB
1317 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1318 variations.
1319
db144853
MC
13202001-04-22 Michael Chastain <chastain@redhat.com>
1321
1322 * gdb.c++/local.exp: Use the 'runto' library function.
1323 * gdb.c++/namespace.exp: Likewise.
1324 * gdb.c++/overload.exp: Likewise.
1325
3207ec21
KB
13262001-03-26 Kevin Buettner <kevinb@redhat.com>
1327
1328 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1329 * gdb.base/step-line.exp: New file. Test step/next in presence of
1330 #line directives.
1331 * gdb.base/step-line.c: New file. Test program for the above.
1332 * gdb.base/step-line.inp: New file. We pretend that this file has
1333 been transformed by some other tool into step-line.c.
1334
13b57657
JB
13352001-03-21 Jim Blandy <jimb@redhat.com>
1336
1337 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1338 unmangled operator names.
1339
754cbe1c
JB
13402001-03-20 Jim Blandy <jimb@redhat.com>
1341
1342 * gdb.threads/linux-dp.exp: Recognize an additional message
1343 generated by GDB when it doesn't understand how to debug threads
1344 on the target system.
1345
177495c9
AC
13462001-03-19 Andrew Cagney <ac131313@redhat.com>
1347
1348 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1349
f266096b
MC
13502001-03-12 Michael Chastain <chastain@redhat.com>
1351
1352 * gdb.c++/derivation.exp: Use the 'runto' library function.
1353
cac3c2ff
MC
13542001-03-12 Michael Chastain <chastain@redhat.com>
1355
1356 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1357
b6c11a24
MC
13582001-02-24 Michael Chastain <chastain@redhat.com>
1359
1360 * gdb.c++/ref-types.exp: Change handwritten code to library
1361 function 'runto'.
1362
6bae5bce
OF
13632001-03-16 Orjan Friberg <orjanf@axis.com>
1364
1365 * gdb.base/signals.exp: Set count to 0 explicitly.
1366
0015fd9a
MS
13672001-03-15 Mark Salter <msalter@redhat.com>
1368
1369 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1370 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
1371 (gdb_load): Add support for additional target_info: gdb_download_size
1372 and gdb_load_timeout.
0015fd9a 1373
fc33412a
DT
1374Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1375
1376 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1377 file -- to prevent failing when the compile fails but we have no
1378 intention of running the tests anyway.
1379
1380 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1381 tests if set.
1382
1383 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1384 integers.
1385
1386 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1387 * gdb.c++/namespace.exp: Ditto.
1388
115f06de
OF
13892001-03-07 Orjan Friberg <orjanf@axis.com>
1390
1391 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
1392 * gdb.base/pointers.exp: Relax pattern match of decimals.
1393
b6ba6518
KB
13942001-03-06 Kevin Buettner <kevinb@redhat.com>
1395
1396 * Makefile.in, config/abug.exp, config/cfdbug.exp,
1397 config/cpu32bug.exp, config/dve.exp, config/est.exp,
1398 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
1399 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
1400 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
1401 config/sh.exp, config/sid.exp, config/slite.exp,
1402 config/sparclet.exp, config/udi.exp, config/unknown.exp,
1403 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
1404 config/vxworks.exp, config/vxworks29k.exp,
1405 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
1406 gdb.base/all-bin.exp, gdb.base/annota1.exp,
1407 gdb.base/arithmet.exp, gdb.base/assign.exp,
1408 gdb.base/async.exp, gdb.base/attach.exp,
1409 gdb.base/bitfields.exp, gdb.base/bitops.exp,
1410 gdb.base/break.exp, gdb.base/call-ar-st.exp,
1411 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
1412 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
1413 gdb.base/commands.exp, gdb.base/completion.exp,
1414 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
1415 gdb.base/constvars.exp, gdb.base/corefile.exp,
1416 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1417 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
1418 gdb.base/ending-run.exp, gdb.base/environ.exp,
1419 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
1420 gdb.base/finish.exp, gdb.base/foll-exec.exp,
1421 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
1422 gdb.base/funcargs.exp, gdb.base/help.exp,
1423 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
1424 gdb.base/logical.exp, gdb.base/long_long.exp,
1425 gdb.base/maint.exp, gdb.base/mips_pro.exp,
1426 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
1427 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
1428 gdb.base/pointers.exp, gdb.base/printcmds.exp,
1429 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
1430 gdb.base/regs.exp, gdb.base/relational.exp,
1431 gdb.base/remote.exp, gdb.base/reread.exp,
1432 gdb.base/restore.exp, gdb.base/return2.exp,
1433 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
1434 gdb.base/selftest.exp, gdb.base/setshow.exp,
1435 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1436 gdb.base/sigall.exp, gdb.base/signals.exp,
1437 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
1438 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
1439 gdb.base/step-test.exp, gdb.base/structs.c,
1440 gdb.base/structs.exp, gdb.base/structs2.exp,
1441 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
1442 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
1443 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
1444 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1445 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
1446 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
1447 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
1448 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
1449 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
1450 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
1451 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
1452 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
1453 gdb.fortran/types.exp, gdb.java/jmisc.exp,
1454 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
1455 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
1456 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1457 gdb.trace/circ.exp, gdb.trace/collection.exp,
1458 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1459 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1460 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
1461 gdb.trace/report.exp, gdb.trace/save-trace.exp,
1462 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1463 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
1464 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
1465 notices.
1466
dc96c6c7 14672001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
1468
1469 * gdb.base/varargs.c (find_max_double): Fix printf format string:
1470 first arg is int not float.
1471
dc96c6c7 14722001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
1473
1474 * gdb.base/reread.exp: Unsupported for non-native targets;
1475 doesn't work for remote debugging.
1476
9b0c4aeb
FN
14772001-02-19 Fernando Nasser <fnasser@redhat.com>
1478
1479 From Drew Moseley <dmoseley@redhat.com>
1480 * gdb.base/ending-run.exp: Properly handle the BSP state when
1481 stepping past the end of main.
1482
02aa71d5
MC
14832001-02-19 John Moore <jmoore@redhat.com>
1484
1485 * gdb.base/commands.exp (infrun_breakpoint_command_test):
1486 Converted HPUX fix for non-expected items following multiple
1487 step commands into general solution for all platforms.
1488
1fa449a4
MC
14892001-02-18 Michael Chastain <chastain@redhat.com>
1490
1491 * gdb.c++/classes.exp (do_tests): Change runto statements
1492 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1493 statements demangler agnostic.
1494 * gdb.c++/virtfunc.exp (do_tests): Likewise.
1495 (gdb_virtfunc_restart): Likewise.
1496
b2f9ec70
MC
14972001-02-14 Michael Chastain <chastain@redhat.com>
1498
1499 * gdb.c++/inherit.exp (do_tests): Change runto statements
1500 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1501 statements demangler agnostic.
1502
cf74b8ca
AC
1503Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
1504
1505 * gdb.threads/pthreads.exp: Unify pass/fail messages for
1506 ``continue to bkpt at common_routine in thread 2'' and ``stopped
1507 before calling common_routine 15 times'' tests.
1508
99f78f56
MC
15092001-02-11 Michael Chastain <chastain@redhat.com>
1510
1511 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
1512 Helps the test script figure out which demangler is in use.
1513 (dm_type_foo_ref): Ditto.
1514 (dm_type_int_star): Ditto.
1515 (dm_type_long_star): Ditto.
1516 (dm_type_unsigned_int): Ditto.
1517 (dm_type_void): Ditto.
1518 (dm_type_void_star): Ditto.
99707966 1519 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
1520 Probe the gdb demangler and set variables to accommodate
1521 formatting differences.
1522 (info_func_regexp): New function. Same as info_func, but
1523 matches against a regexp.
1524 (info_func): Match against a literal string.
1525 (print_addr_2): New function. Match against a literal string,
1526 which can be different from the input to gdb.
1527 (print_addr): Simply call print_addr_2 with the same argument twice.
1528 (test_lookup_operator_functions): Use demangler formatting variables.
1529 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
1530 the tests in the same order as the C++ class declaration.
1531 (test_paddr_operator_functions): Ditto.
1532 (test_paddr_overloaded_functions): Ditto.
1533 (test_paddr_hairy_functions): Use demangler formatting variables.
1534 Add reference to gdb/19 for related tests.
1535 (do_tests): Call probe_demangler.
1536
1de8f023
KB
15372001-01-30 Kevin Buettner <kevinb@redhat.com>
1538
1539 * gdb.c++/templates.cc (printf): Remove unused function definition.
1540
ca3f91ed
MS
15412001-01-26 Felix Lee <flee@redhat.com>
1542
1543 * sid.exp (sid_exit): Pass host, not target, to remote_close.
1544
15452001-01-25 matthew green <mrg@redhat.com>
1546
1547 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
1548 up sid.
1549 (sid_exit): Call `remote_pop_conn' after GDB is gone.
1550
15512001-01-25 matthew green <mrg@redhat.com>
1552
1553 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
1554 Deprecate $sid_spawn_id.
1555 (sid_exit): Remove code necessary only for `spawn.'
1556
15572001-01-25 matthew green <mrg@redhat.com>
1558
1559 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
1560
fb18ec4a
MC
15612001-01-28 Michael Chastain <chastain@redhat.com>
1562
1563 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
1564 to call when tests fail. It takes gdb out of the overloaded
1565 function choice menu back to the main prompt, so that the test
1566 program stays synchronized.
1567 (set_bp_overloaded): New proc to collect all the common
1568 code for setting a breakpoint on an overloaded name. Calls
1569 take_gdb_out_of_choice_menu when needed.
1570 (menu_overload1arg): New variable to collect the repeated
1571 instances of the expected menu for an overloaded name. Change
1572 the regular expression to handle changes in g++ type encoding:
1573 "void" can be either "void" or "", and "unsigned int" can be
1574 either "unsigned int" or "unsigned".
1575 (continue_to_bp_overloaded): Change regular expressions to handle
1576 changes in g++ type encoding.
1577 (no proc): Call take_gdb_out_of_choice_menu when needed.
1578 Remove redundant calls to "info break". Accept either "canceled"
1579 or "cancelled". Change regular expressions in "info break"
1580 calls to handle changes in g++ type encoding. Give all tests
1581 unique strings.
1582
9c646a6e
BE
15832001-01-17 Ben Elliston <bje@redhat.com>
1584
1585 * config/sid.exp: New file.
1586
9549d9c1
AC
1587Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
1588
1589 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
1590
dc96c6c7 15912000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
1592
1593 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
1594 Add a RE to accept a non-ascii char if one is ever presented.
1595
b4df4f68
FN
15962000-12-20 Fernando Nasser <fnasser@redhat.com>
1597
297dd0fd 1598 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 1599
dc96c6c7 16002000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
1601
1602 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
1603 in regexp. One '\' does not suffice on Linux.
1604
4a7bddb6
MC
16052000-12-09 Michael Chastain <chastain@redhat.com>
1606
1607 * gdb.base/break.exp (test_clear_command): Use a marker function
1608 rather than 'main' for the test function. Also move this
1609 test to an execution point where the marker function names are
1610 guaranteed to be bound to functions. (Executing tests after a
1611 'finish' from main runs into name conflicts with local names
1612 in __libc_start_main).
1613
dc96c6c7 16142000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
1615
1616 * gdb.base/finish.exp: New test for gdb's "finish" command.
1617 * gdb.base/return2.exp: New test for gdb's "return" command.
1618 * gdb.base/return2.c: New source file for above.
1619
dc96c6c7 16202000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
1621
1622 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
1623 * gdb.base/miscexprs.exp: Ditto.
1624 * gdb.base/pointers.exp: Ditto.
1625 * gdb.c++/derivation.exp: Ditto.
1626 * gdb.c++/local.exp: Ditto.
1627 * gdb.c++/namespace.exp: Ditto.
1628 * gdb.c++/overload.exp: Ditto.
1629 * gdb.c++/ref-types.exp: Ditto.
1630
dc96c6c7 16312000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
1632
1633 * gdb.base/constvars.exp: Test result of "up" command.
1634 * gdb.base/miscexprs.exp: Ditto.
1635 * gdb.base/pointers.exp: Ditto.
1636 * gdb.base/scope.exp: Ditto.
1637 * gdb.c++/derivation.exp: Ditto.
1638 * gdb.c++/local.exp: Ditto.
1639 * gdb.c++/namespace.exp: Ditto.
1640 * gdb.c++/overload.exp: Ditto.
1641 * gdb.c++/ref-types.exp: Ditto.
1642
44097287
FN
16432000-11-22 Michael Chastain <chastain@redhat.com>
1644
1645 * mips_pro.exp: Accept either "middle -> top -> main" or
1646 "middle -> main" in the backtrace, because gcc can optimize
1647 tail calls to jumps. Remove setup_xfail for the hppa case.
1648 Add a comment with the original warning messages from PR 3016,
1649 which was filed in 1993, to preserve them for posterity.
1650
9d2e1bab
ND
16512000-11-17 Nick Duffek <nsd@redhat.com>
1652
1653 * lib/gdb.exp (gdb_test): Override timeout with board info.
1654
1aca8eb7
ND
16552000-11-17 Nick Duffek <nsd@redhat.com>
1656
1657 * gdb.base/display.exp: Don't kill running stub. Add "again" to
1658 the second kill and detach messages.
1659
93076499
ND
16602000-11-17 Nick Duffek <nsd@redhat.com>
1661
1662 * configure.in: Add AC_EXEEXT.
1663 * configure: Regenerate.
1664 * Makefile.in (just-check): Export EXEEXT.
1665 * lib/gdb.exp ($EXEEXT): Import from environment.
1666 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
1667 expect "maint dump-me" on Cygwin.
1668 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
1669 $EXEEXT.
1670
30e87cd3
ND
16712000-11-17 Nick Duffek <nsd@redhat.com>
1672
1673 * gdb.base/break.exp: Test backtrace and finish from called
1674 function on all platforms, not just HP-UX.
1675
dc96c6c7 16762000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
1677
1678 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
1679 code from gdb_target_monitor, so it can be used independantly
1680 for gdbserver. Also comment out an unnecessary PUTS.
1681
dc96c6c7 16822000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
1683
1684 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
1685 * gdb.base/corefile.exp: Expect the message "Program is being
1686 debugged already" when we send the "corefile" command, since
1687 the preceeding gdb_load may have connected gdb to a remote target.
1688 * gdb.base/display.exp: Disable hardware watchpoints if new
1689 board info variable "no_hardware_watchpoints" is true.
1690 Replace single-letter commands with more readable ones.
1691 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
1692 if new board info variable "no_hardware_watchpoints" is true.
1693 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
1694 to see if stdio (printf) testing is possible.
1695 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
1696 board info variable "no_hardware_watchpoints" is true. Use new
1697 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
1698
39124dea
FN
16992000-11-13 Fernando Nasser <fnasser@redhat.com>
1700
1701 From Orjan Friberg <orjanf@axis.com>:
1702 * gdb.base/printcmds.exp: Escape curly braces followed by a number
1703 in array print pattern match.
1704
a9e2e984
FN
17052000-11-09 Fernando Nasser <fnasser@redhat.com>
1706
1707 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
1708 spelling "cancelled" to U.S. spelling "canceled" to match changes
1709 made to gdb.
1710 * gdb.c++/ovldbreak.exp: Ditto.
1711
c7db355b
PS
17122000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1713
1714 * gdb.base/callfuncs.c (main): Moved to end of file, call
1715 t_double_values to initialize the FPU before inferior calls are made.
1716 * gdb.base/callfuncs.exp: Test for register preservation after calling
1717 inferior functions. Add tests for continuining, finishing and
1718 returning from a stop in a call dummy.
1719
dc96c6c7 17202000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
1721
1722 * gdb.base/commands.exp: Break up long lines, and re-indent.
1723
dc96c6c7 17242000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
1725
1726 * config/gdbserver.exp: Rewritten from the ground up, to make it
1727 compatible with the current dejagnu tree, and to make it work with
1728 the new "gdbserver" in libremote.
1729
dc96c6c7 17302000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1731
1732 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
1733 * gdb.base/varargs.exp: Skip entire test if no printf support.
1734 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
1735 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
1736
dc96c6c7 17372000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1738
1739 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
1740 no floating point support.
1741 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
1742 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
1743 * gdb.base/call-rt-st.exp: Ditto.
1744 * gdb.base/call-strs.exp: Ditto.
1745
bac5fc66
JG
17462000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
1747
1748 * gdb.base/sizeof.c: include <stdio.h>.
1749
1750 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
1751 'finish', otherwise uncaptured gdb_prompt would potentially
1752 throw remaining test points out of sync.
1753
b22a6027
SB
17542000-07-26 Scott Bambrough <scottb@netwinder.org>
1755
1756 * gdb.base/recurse.exp: Run tests for all targets.
1757 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
1758 gnu-oldld case on ARM.
1759 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
1760 for ARM targets.
1761
d8231941
AG
1762Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
1763
1764 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
1765 * gdb.java/configure: Rebuild.
1766
8caabe69
AG
1767Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
1768
1769 * gdb.java/jv-exp.exp: New file.
1770
9d273ca3
AG
1771Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
1772
1773 * configure: Rebuilt.
1774 * configure.in (configdirs): Add gdb.java.
1775 * gdb.java/jmisc.java: New file.
1776 * gdb.java/jmisc.exp: New file.
1777 * gdb.java/Makefile.in: New file.
1778 * gdb.java/configure: Rebuilt.
1779 * gdb.java/configure.in: New file.
1780 * lib/java.exp: New file.
1781
4f823a66
AC
1782Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
1783
1784 * gdb.base/exprs.exp: Test casts to a pointer including over and
1785 underflow.
1786
2391e11d
AC
1787Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
1788
1789 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
1790 and the compilers sizes.
1791
54602222
ND
17922000-07-09 Nick Duffek <nsd@redhat.com>
1793
1794 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
1795 (use_methods): New function.
1796 (main): Call use_methods().
1797 * gdb.c++/classes.exp (test_method_param_class): New procedure.
1798 (do_tests): Call test_method_param_class.
1799
2bec0572
ND
18002000-07-09 Nick Duffek <nsd@redhat.com>
1801
1802 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
1803 spelling.
1804 (test_enums): New procedure. Move enum tests from end of script
1805 to here. Set breakpoint on function name instead of line number.
1806 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
1807 (enums2): New marker function.
1808 (enums1): New function.
1809 (main): Call enums1(). Move enum tests to enums1().
1810
78492fde
AC
1811Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
1812
1813 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
1814 compile/link program. Update line numbers.
1815 * gdb.asm/d10v.inc: Define ``startup''.
1816 * gdb.asm/asmsrc1.s: Add definition of _start.
1817
49a2cef8
AC
1818Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1819
1820 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
1821
3e6c8688
EZ
18222000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1823
1824 * gdb.base/maint.exp: Add 'maint print architecture' item to output
1825 of 'help maint print' command.
1826
9ff5cbe9
AC
1827Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
1828
1829 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
1830 they use gdb_expect_list.
1831
17c579bd
AC
1832Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
1833
1834 * gdb.base/commands.exp: Use ``set remote
1835 memory-read-packet-size'' instead of ``set endian big'' to test
1836 long commands.
1837
e6d71bf3
DB
18382000-06-03 Daniel Berlin <dan@cgsoftware.com>
1839
1840 * gdb.c++/templates.exp (do_tests): Make all of these work under
1841 g++, and stop skipping them.
1842
1843 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
1844 work under g++.
1845
e5f9ba7b
MS
1846 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
1847 initialization.
1848
dc96c6c7 18492000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
1850
1851 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
1852 the regular expression: accept an (almost) arbitrary sequence of
1853 "frames-invalid" and "breakpoints-invalid" messages both before
1854 and after the "starting" message.
1855
dc96c6c7 18562000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
1857
1858 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 1859
dc96c6c7 18602000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
1861
1862 * gdb.base/annota1.exp (annotate-signal-handler-caller):
1863 Relax the regular expression a little, make it pass on Solaris 8.
1864
8216cda9
KB
18652000-05-12 Kevin Buettner <kevinb@redhat.com>
1866
1867 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
1868 a call, do not require that gdb stop on the line after the call.
1869 Instead, it is permissible for gdb to stop on the line of the
1870 call itself.
1871
1a570b2f
MS
18722000-05-12 Michael Snyder <msnyder@.cygnus.com>
1873
1874 * gdb.base/break.exp (bp on small function, optimized file):
1875 Add a second pass pattern. The behavior differs here between stabs
1876 and dwarf for one-line functions. Stabs preserves two line symbols
1877 (one before the prologue and one after) with the same line number,
1878 but dwarf regards these as duplicates and discards one of them.
1879 Therefore the address after the prologue (where the breakpoint is)
1880 has no exactly matching line symbol, and GDB reports the breakpoint
1881 as if it were in the middle of a line rather than at the beginning.
1882
dc96c6c7 18832000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
1884
1885 * gdb.base/interrupt.exp: Make "pass" message say "send"
1886 rather than "send_gdb" (for consistancy).
1887
7d418785
AC
1888Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
1889
1890 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
1891 * gdb.c++/templates.cc: Properly check for GCC version number.
1892 * lib/compiler.cc: Likewise
1893
dc96c6c7 18942000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
1895
1896 * gdb.base/break.exp: When compiled with -O2 optimization,
1897 gdb may not stop at the first line of main, due to code motion.
1898
dc96c6c7 18992000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
1900
1901 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
1902 This test depends on parsing the printf output from the target.
1903 Since the sparclet stub doesn't do stdio, this will never work.
1904 * gdb.base/call-rt-st.exp: ditto.
1905 * gdb.base/call-strs: ditto.
1906
dc96c6c7 19072000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
1908
1909 * gdb.base/miscexprs.exp: make sizeof long array test portable.
1910
1911 * gdb.base/ending-run.exp: After connecting to a remote target,
1912 but before running, the target will appear to be in a random
1913 location. Specify both a file and a line for breakpoints.
1914 Also, the function that calls main may be called 'init'
1915 rather than 'start'.
1916
a5a51225
EZ
19172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1918
1919 * gdb.base/help.exp: Update output for add-symbol-file command.
1920
7930cc7c
FN
19212000-04-10 Fernando Nasser <fnasser@cygnus.com>
1922
1923 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1924 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
1925
23e37ab1
C
19262000-04-07 J.T. Conklin <jtc@redback.com>
1927
e93c542c
C
1928 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
1929
23e37ab1
C
1930 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
1931
591b8fa3
PDM
1932Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
1933
1934 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
1935 values that can be represented exactly.
1936 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
1937 above change, and to not check against the directory part of the source
1938 file name.
1939 (step into print_long_arg_list): Likewise.
1940 (print print_small_structs from print_long_arg_list): Likewise.
1941 (print print_long_arg_list): Likewise.
1942
7a495180
EZ
19432000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1944
30b53638 1945 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 1946
beb998c6
AC
1947Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
1948
1949 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
1950
1c689132
DB
19512000-03-25 Daniel Berlin <dan@cgsoftware.com>
1952
1953 * gdb.base/commands.exp (deprecated_command_test): Add test for
1954 deprecate with no arguments.
1955
c1790a9d
JL
19562000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
1957
1958 * gdb.base/break.exp: Add new test for setting breakpoints on
1959 optimized code so we can test breakpoints work even when function
1960 prologues may be optimized away
1961
003ba290
FN
19622000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
1963
1964 From David Whedon <dwhedon@gordian.com>
1965 * gdb.base/commands.exp : Added command deprecator tests.
1966
6837a0a2
DB
19672000-03-22 Daniel Berlin <dan@cgsoftware.com>
1968
1969 * gdb.base/help.exp: Added test for new apropos command.
1970
b9593231
KB
19712000-03-21 Kevin Buettner <kevinb@redhat.com>
1972
1973 * gdb.base/pointers.c (usevar): New function.
1974 (main): Make sure that global variables v_int_pointer2, rptr,
1975 and y are all referenced someplace in the program by calling
1976 usevar() on them. [Some linkers delete symbols which are
1977 never referenced. The space remains, but there's no way to
1978 get a (symbolic) handle on the variable from the debugger.]
1979
751a959b
EZ
19802000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1981
1982 * gdb.base/printcmds.c: Add typedeffed arrays.
1983
1984 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
1985 procedure to test arrays that are typedef'd.
1986
73a93a32
JI
19872000-03-13 James Ingham <jingham@leda.cygnus.com>
1988
1989 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 1990 the library directories.
73a93a32 1991
fb40c209
AC
1992Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
1993
1994 * configure.in (configdirs): Add sub directory gdb.mi.
1995 * configure: Re-generate.
1996
1997 * gdb.mi: New directory.
beb998c6 1998
ee4dd2c9
AC
19992000-02-25 Scott Bambrough <scottb@netwinder.org>
2000
2001 * gdb.base/long_long.exp: Correct test suite failure when printing
2002 a long long value as a double on ARM platforms.
2003
70f0cc22
JB
20042000-02-16 Jim Blandy <jimb@redhat.com>
2005
2006 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2007 default source file is set properly before running this test.
2008
853819b8
EZ
20092000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2010
2011 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2012 gdbtk/library directory, not in gdbtcl2.
2013
dfcd3bfb
JM
20142000-02-04 Jim Blandy <jimb@redhat.com>
2015
2016 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2017 backslash from regexp pattern.
2018
2019 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2020 procedure. Use it to run all the "continue to bp overloaded"
2021 tests. Note that this changes the names of the tests slightly.
2022 If the breakpoint hit message includes a hex PC value, because
2023 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2024 from the real source code, still consider that a pass.
2025
2026 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2027 XFAIL here if the breakpoint message contains a hex address. Note
2028 similar change on 1999-11-02.
2029
2030 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2031
2032 * gdb.base/ptype.exp: Establish a default source file before
2033 calling get_debug_format.
2034
20352000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2036
2037 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2038
8b93c638
JM
20392000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2040
2041 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2042 of successive stepi commands -- while in the prologue we should see
2043 the function entry bracket.
2044
20452000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2046
2047 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2048 reach __change_mode() when stepping through the end of main().
2049
c5394b80
JM
20502000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2051
2052 * gdb.base/default.exp: Fix expected pattern.
2053 * gdb.base/help.exp: Same.
2054
0d06e24b
JM
20552000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2056
2057 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2058 Don't use xfail's because that affects only the following test.
beb998c6 2059
0d06e24b
JM
2060 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2061 solaris or linux.
2062
2063 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2064
dc96c6c7 20652000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2066
beb998c6 2067 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2068 "A syntax error" rather than "A parse error". Accept both.
2069
20702000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2071
2072 * gdb.base/default.exp: Remove OS dependent string from "target
2073 remote" test.
2074 * gdb.base/help.exp: Same for "help target remote" test.
2075
c3f6f71d
JM
20762000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2077
2078 From Jim Kingdon <kingdon@redhat.com>:
2079
2080 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2081 prompt (cleanup rather than necessity, but still might keep output
2082 from spilling to next test).
2083
20842000-01-02 Fred Fish <fnf@cygnus.com>
2085
2086 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2087 AIX, which defines them in <sys/types.h>.
2088
ed9a39eb 20891999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2090
ed9a39eb
JM
2091 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2092 float" test.
2093
20941999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2095
ed9a39eb 2096 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2097
2098 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2099 outermost frame disallowed".
2100
21011999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2102
2103 * gdb.base/setvar.exp: New tests for setting the value of a struct
2104 with a constant list.
2105
21061999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2107
2108 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2109 require the user to type a cast before setting the value of a struct.
2110
de57eccd
JM
21111999-12-06 Jim Blandy <jimb@cygnus.com>
2112
2113 * gdb.base/default.exp: Expect the new 'info float' command on
2114 all i386 platforms.
2115
2116 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2117 LinuxThreads libraries that don't support debugging.
2118
c2d11a7d
JM
2119Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2120
2121 * gdb.base/remote.c: Fill the buffer with truely random data.
2122 Change the buffer type to ``unsigned char'' to simplify size
2123 arithmetic.
2124
2125 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2126 stub only handles 400-1 byte packets. Verify that the download
2127 worked.
2128
21291999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2130
2131 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2132 tests, using UNRESOLVED for the untested cases. Also, does not wait
2133 for a timeout if the prompt was received before a recognizable pattern.
2134
21351999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2136
2137 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2138
21391999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2140
2141 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2142 watchpoints.
2143
21441999-11-24 Jason Merrill <jason@casey.cygnus.com>
2145
2146 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2147
2148 * gdb.c++/local.exp: Be more flexible in recognizing local class
2149 name mangling. Don't allow horribly truncated method names.
2150 * gdb.c++/derivation.exp: Expect protected inheritance.
2151 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2152 * gdb.c++/virtfunc.exp: Likewise.
2153 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2154 when printing a nested enum.
2155
21561999-11-22 Jim Blandy <jimb@cygnus.com>
2157
2158 * gdb.base/step-test.exp: Properly await GDB's response to setting
2159 a breakpoint on the call to large_struct_by_value.
2160
2161 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2162 just because we have debug info for the `start' function.
2163
21641999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2165
2166 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2167 "Unknown signal" messages, which indicate (on LinuxThreads) that
2168 GDB doesn't know how to debug threads on this system. This is
2169 better than hanging while philosopher 0 dumps chatter into gdb.log.
2170
21711999-11-18 Tom Tromey <tromey@cygnus.com>
2172
2173 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2174
21751999-11-18 Fred Fish <fnf@cygnus.com>
2176
2177 * gdb.base/coremaker2.c: Add sample program for generating
2178 cores that is more self contained than coremaker.c. Eventually
2179 I'll add more code to this and tie it into the testsuite.
2180
4ce44c66
JM
21811999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2182
2183 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2184
21851999-11-10 Jimmy Guo <guo@cup.hp.com>
2186
2187 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2188 from $srcdir/lib/.
2189 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2190 and gdb.c++/.
2191
2192 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2193
beb998c6 2194 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
2195 'continue with watch' test point.
2196
21971999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2198
2199 Merged from p2linux-990323-branch:
beb998c6 2200
4ce44c66
JM
2201 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2202
11cf8741
JM
2203Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2204
2205 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2206 {limit,fixed}''. Test ``set download-write-size''.
2207
2208Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2209
2210 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2211 gdb_expect_list.
2212
2213Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2214
2215 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2216
22171999-11-03 Mark Salter <msalter@cygnus.com>
2218
2219 * gdb.base/break.exp: Fix "stub continue" pattern.
2220
22211999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2222
2223 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2224
22251999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2226
2227 * gdb.base/display.exp ("finish"): Add timeout clause.
2228
2229 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2230 plain prompt clause, so this doesn't have to time out in order to
2231 fail.
2232
2233 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2234 breakpoint hit messages include an address.
2235
2236 * gdb.base/display.exp: Don't forget to escape parens in regular
2237 expressions. Unix regexp notatation sucks.
2238
22391999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2240
2241 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2242 order for 'signalled' message.
2243
5c44784c
JM
22441999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2245
2246 From Jimmy Guo <guo@cup.hp.com>:
2247 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2248 * gdb.base/annota1.c: Add code for tests to work with.
2249
22501999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2251
2252 * gdb.base/remote.exp: New test for remote downloading settings.
2253 * gdb.base/remote.c: New file with large .data.
2254
917317f4
JM
22551999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2256
2257 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2258 for LinuxThreads support, merged from the Code Fusion branch.
2259
2260Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2261
2262 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2263 containing exp_continue into a while within an expect. Don't
2264 attempt a start more than three times. Check return value from
2265 gdb_load.
beb998c6 2266
2df3850c
JM
2267Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2268
2269 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2270 a pass case.
2271
2acceee2
JM
22721999-10-01 Kevin Buettner <kevinb@cygnus.com>
2273
2274 * gdb.base/break.c (main): Added a statement that we can step
2275 off of.
2276 * gdb.base/break.exp: Added tests for setting a breakpoint
2277 at an offset and stepping onto a breakpoint.
2278
22791999-10-01 Fred Fish <fnf@cygnus.com>
2280
beb998c6 2281 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
2282 gdb output.
2283
c2c6d25f
JM
22841999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2285
2286 * gdb.base/break.exp: Code locations are in hex, don't forget!
2287 (For HP-UX.)
2288
22891999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2290
2291 * condbreak.exp: Use break.c as test program.
2292 * condbreak.c: Remove, redundant with break.c.
2293
22941999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2295
2296 * config/monitor.exp (gdb_target_monitor): Disable X- and
2297 Z-packets if the target needs it.
2298
22991999-09-13 James Ingham <jingham@leda.cygnus.com>
2300
2301 * gdb.c++/overload.exp: Added tests for listing overloaded
2302 functions with function pointers in the arg, explicitly calling
2303 out the version you want.
2304
cff3e48b
JM
23051999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2306
2307 * long_long.exp: Add variations of test cases that work for
2308 targets with 16-bit ints and 32-bit doubles.
2309
d4f3574e
SS
23101999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2311
2312 * break.c (main): Compare a possibly-uninitialized argc with an
2313 unlikely value that fits in 16 bits.
2314
23151999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2316
2317 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2318 0xfeeb, don't want negative numbers if ints are 16 bits.
2319
2320 * lib/gdb.exp (skip_cplus_tests): New proc.
2321 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2322 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2323 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2324 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2325 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2326 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2327 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2328 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2329
2330 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2331
2332Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2333
2334 * gdb.base/corefile.exp (up): Allow a parameter to appear
2335 in the frame that we're going up to.
2336
2337 From Jim Blandy <jimb@cygnus.com>:
2338
2339 * gdb.base/default.exp (info float): Expect some output now.
2340
2341 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2342 returning floating-point values to fail on the x86.
2343 * gdb.base/callfwmall.exp (do_function_calls): Same.
2344
2345 * gdb.base/list.exp (test_listsize): Correct expectations for
2346 listing line 1 with listsize 2. Also, listing a single line
2347 works now, as does listing three lines. [Kevin's note: There
2348 were a number of other cases fixed too where the expectations
2349 differed...]
2350
23511999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2352
2353 * gdb.base/selftest.exp: Add case for when version prints as
2354 constant string instead of char pointer.
2355
104c1213
JM
23561999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2357
2358 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2359 stepping out of main.
2360
2361 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2362 G++ used.
2363
2364 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2365 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2366
2367 * gdb.c++/ovldbreak.exp: Update match string in test that
2368 includes a warning of multiple breakpoints.
2369
23701999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2371
2372 * gdb.base/display.exp: Improve precision of step-after-finish
2373 added yesterday.
2374
2375 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2376 test.
2377
2378 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2379 configs when using G++, not just hppa*.
2380
23811999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2382
2383 * gdb.base/async.c: New file.
2384 * gdb.base/async.exp: New file.
2385
2386Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2387
2388 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2389 PA64.
2390
53a5351d
JM
2391Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
2392
104c1213
JM
2393 * gdb.base/display.exp: "finish" can leave us mid-line on many
2394 targets, deal with it. Add a small constant to main, instead of
2395 1000 since main+1000 may not be a valid address in the target.
2396
53a5351d
JM
2397 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
2398 on hpux11.
2399
2400 * gdb.base/attach.exp: Handle another hpux11 error message variant
2401 when attaching to a process that does not exist.
2402
24031999-08-19 J.T. Conklin <jtc@redback.com>
2404
2405 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
2406 characters in 'continue to 1241' test.
2407
24081999-08-17 Stan Shebs <shebs@andros.cygnus.com>
2409
2410 * gdb.base/call-ar-st.exp: Add a shorter match case for the
2411 stop in print_long_arg_list, define and use a whitespace
2412 variable in print_small_structs test, add an XFAIL for Solaris.
2413 * gdb.base/dbx.exp: XFAIL func commands until somebody is
2414 interested enough to fix.
2415
7be570e7
JM
24161999-08-13 Keith Seitz <keiths@cygnus.com>
2417
2418 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
2419 (dbx_gdb_load): Remove. Use gdb_load instead, since that
2420 proc knows about targets other than the natives.
2421 (test_assign): Use "gdb_run_cmd" to "run" the target.
2422 Check that we've actually hit the breakpoint at main.
2423 When we attempt to assign a value to a local variable, check
2424 that the variable is in the current scope, i.e., don't use
2425 a test with an empty result.
2426
2427Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2428
2429 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
2430 command.
2431
24321999-08-09 Stan Shebs <shebs@andros.cygnus.com>
2433
2434 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2435 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
2436 gdb.compat, gdb.threads-hp.
2437 gdb.hp/configure, gdb.hp/configure.in: New files.
2438 gdb.hp/Makefile.in: Recurse into new subdirs.
2439 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
2440 gdb.hp/gdb.objdbg: New directory, tests for debugging info
2441 in object files.
2442 gdb.hp/tools: New directory, aux tools for HP-specific tests.
2443
96baa820
JM
24441999-08-05 Stan Shebs <shebs@andros.cygnus.com>
2445
2446 * gdb.base/display.exp: Help expect by putting a newline in the
2447 funky printf, remove a bogus p/a test.
2448
24491999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2450
2451 * gdb.base/display.exp: Make sure that when we say 'run', we are
2452 connected to the target. This is necessary when running not
2453 natively.
2454
24551999-08-03 Stan Shebs <shebs@andros.cygnus.com>
2456
2457 * gdb.base/step-test.exp: Removed some extraneous messages.
2458
2459 * gdb.base/long_long.exp: Don't run memory examination tests
2460 on little-endian targets (they will need a different set of
2461 results to match).
2462
24631999-08-02 Stan Shebs <shebs@andros.cygnus.com>
2464
2465 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
2466 until somebody decides to fix GDB.
2467
2468 * gdb.base/long_long.c: Stop compiler complaint by specifying long
2469 constant as "ULL".
2470 * gdb.base/long_long.exp: Loosen x/c test, add partial result
2471 matches for a couple x/2 commands.
2472
a0b3c4fd
JM
24731999-07-30 Stan Shebs <shebs@andros.cygnus.com>
2474
2475 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
2476 by merging in ref-types2 tests.
2477 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
2478
2479 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2480 * gdb.c++/Makefile.in: Add standard actions.
2481 (EXECUTABLES): Rename from PROGS, update list.
2482 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
2483 from gdb.hp.
2484 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
2485 foo and bar locals.
2486 * gdb.c++/anon-union.exp: Fix tests to match.
2487 * gdb.c++/classes.exp: Run if HP compiler used, add extra
2488 expect matches to handle output variations.
2489 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
2490 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
2491 output, add HP alternatives for new and delete prints.
2492 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
2493 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
2494 * gdb.c++/demangle.exp: Use $style when reporting failure.
2495 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
2496 * gdb.c++/inherit.exp: Run if HP compiler used, add some
2497 match alternatives.
2498 * gdb.c++/local.exp: Add match alternatives or xfails for HP
2499 compilers.
2500 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
2501 * gdb.c++/method.exp: Add match alternatives.
2502 * gdb.c++/misc.cc: Add bool types.
2503 * gdb.c++/misc.exp: Add tests for bool types.
2504 * gdb.c++/overload.exp: Add xfails.
2505 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
2506 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
2507 add some more template parameter tests (only for HP currently).
2508 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
2509 * gdb.c++/virtfunc.cc: Add return type and value for main.
2510 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
2511 match alternatives.
beb998c6 2512
a0b3c4fd
JM
25131999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2514
2515 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
2516
25171999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
2518
2519 * gdb.base/signals.exp: Don't expect getting a backtrace from
2520 within a signal handler to fail on Linux.
2521
25221999-07-29 Stan Shebs <shebs@andros.cygnus.com>
2523
2524 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2525 * lib/gdb.exp: Remove some gratuitious semicolons.
2526 (delete_breakpoints): Increase timeout.
2527 (gdb_expect): Add -notransfer option.
2528 (gdb_test): Use -notransfer option.
2529 (get_compiler_info): Add f77 case.
2530 (get_compiler): New proc, split out from gdb_preprocess, add f77
2531 case.
2532 (gdb_preprocess): Call get_compiler.
2533
2534 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
2535 * gdb.base/attach.exp, gdb.base/display.exp,
2536 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
2537 gdb.base/long_long.exp, gdb.base/printcmds.exp,
2538 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
2539 third arg to gdb_test.
2540 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
2541 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
2542 HP-UX xfails, add others.
2543 * gdb.base/completion.exp: Reflect name change of self-test.
2544 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
2545 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
2546 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
2547 HP failure number.
2548 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
2549 useless HP-UX 10.30 references.
2550 * gdb.base/maint.exp: Loosen matches.
2551 * gdb.base/pointers.c (main): Declare more_code.
2552 * gdb.base/pointers.exp: Match on output of a `next'.
2553 * gdb.base/structs.c: Add prototypes.
2554 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
2555 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
2556
25571999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2558
2559 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
2560 command.
2561
25621999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2563
2564 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
2565 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
2566
2567 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
2568 debug info. Deal with lack of signal hanlder info in stack.
2569
2570 From Jim Kingdon <kingdon@redhat.com>:
2571 * gdb.base/annota1.exp: If printf has debug info, deal with it.
2572
5a2468f5
JM
25731999-07-19 Stan Shebs <shebs@andros.cygnus.com>
2574
2575 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
2576 gdb.base/foll-vfork.exp: Don't run for crosses.
2577
adf40b2e
JM
2578Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2579
2580 * gdb.base/configure.in: Check for gdbvars.exp instead of
2581 a1-selftest.exp.
2582 * gdb.base/configure: Re-generate.
2583
25841999-07-12 Stan Shebs <shebs@andros.cygnus.com>
2585
2586 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
2587 in trying to run first and name is too long.
2588
2589 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
2590 pointers2.c and pointers2.exp, respectively.
2591 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
2592 doschk happier.
2593
43e526b9
JM
25941999-07-08 Stan Shebs <shebs@andros.cygnus.com>
2595
2596 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
2597 callfuncs2.c and callfuncs2.exp.
2598
2599 * gdb.base/list.exp: Remove mistaken xfails.
2600 * gdb.base/list0.h: Add optional prototypes.
2601
9846de1b
JM
2602Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
2603
2604 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
2605 calling malloc.
2606 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
2607 * ptype.exp: Move test for get_debug_format to before its first
2608 use.
2609
26101999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2611
2612 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
2613 * gdb.base/annota2.cc, annota2.exp: Move from here.
2614 * gdb.c++/annota2.cc, annota2.exp: To here.
2615 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
2616
43ff13b4
JM
2617Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
2618
2619 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
2620 a consistent format.
2621
085dd6e6
JM
26221999-06-25 Stan Shebs <shebs@andros.cygnus.com>
2623
2624 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2625 * lib/gdb.exp (get_compiler_info): Add detection for assorted
2626 HP compilers, also set the globals $true and $false.
2627
2628 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
2629 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
2630 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
2631 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
2632 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
2633 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
2634 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
2635 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
2636 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
2637 whatis.c} Add C++ compatible function definitions and return
2638 types, add includes for library functions.
2639 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
2640 * gdb.base/step-test.c (myglob): Rename from glob.
2641 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
2642 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
2643 files, move here from gdb.hp.
2644 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
2645 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
2646 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
2647 Adjust line numbers in regexps.
2648
2649 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
2650 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
2651 instead of 0/1.
2652
2653 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
2654 foll-vfork.exp: New files, move here from gdb.hp.
2655 * gdb.base/page.exp: New file, test of pagination command.
2656
2657 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
2658 recursion test.
2659 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
2660
2661 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
2662 gdb.base/solib.exp: Fix compiler invocation process.
2663
2664 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
2665 HP-UX 11, turn off overload resolution explicitly.
2666 * gdb.base/commands.exp: Set argument list explicitly, add
2667 watchpoint test.
2668 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
2669 them work.
2670 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
2671 expressions properly.
2672 * gdb.base/corefile.exp: Loosen the match slightly.
2673 * gdb.base/default.exp: Allow "Error accessing memory" message
2674 also.
2675 * gdb.base/display.exp: Skip over x/0 j if PA64.
2676 * gdb.base/funcargs.exp: Add xfails for HP-UX.
2677 * gdb.base/interrupt.exp: Ditto.
2678 * gdb.base/langs.exp: Add symbolic matches governed by compiler
2679 in use.
2680 * gdb.base/list.exp: Add xfails for HP-UX.
2681 * gdb.base/long_long.exp: Refine some of the numeric matches.
2682 * gdb.base/mips_pro.exp: Xfail on HP-UX.
2683 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
2684 * gdb.base/nodebug.exp: Succeed on more varieties of output.
2685 * gdb.base/opaque.exp: Remove some HP-UX xfails.
2686 * gdb.base/ptype.exp: Succeed on more varieties of output.
2687 * gdb.base/scope.exp: Add xfails for HP-UX.
2688 * gdb.base/sect-cmd.exp: Add more cases.
2689 * gdb.base/setvar.exp: Add xfails for HP-UX.
2690 * gdb.base/shlib-call.exp: Loosen some matches slightly.
2691 * gdb.base/signals.exp: Match on void symbolically.
2692 * gdb.base/step-test.exp: Add case for PA64.
2693 * gdb.base/term.exp: Add exit and restart.
2694 * gdb.base/twice.exp: Clean up after self.
2695 * gdb.base/varargs.exp: Disable overload resolution explicitly.
2696 * gdb.base/whatis.exp: Allow more ways to pass tests.
2697
2698 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
2699 no longer useful.
2700
2701Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
2702
2703 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
2704 list of patterns.
2705 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
2706 print_double_array(double_array)", "continuing to breakpoint
2707 1018", "print print_double_array(array_d)" and "continuing to
2708 1034" tests.
beb998c6 2709
085dd6e6
JM
27101999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
2711
2712 * Makefile.in: Add empty html and install-html targets.
2713
27141999-06-24 Stan Shebs <shebs@andros.cygnus.com>
2715
2716 * config/mt-*: Remove, these haven't been used since 1996.
2717
27181999-06-22 Stan Shebs <shebs@andros.cygnus.com>
2719
2720 * gdb.base/call-strs.c, gdb.base/ending-run.c,
2721 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
2722 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
2723
9e0b60a8
JM
27241999-06-18 Stan Shebs <shebs@andros.cygnus.com>
2725
2726 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
2727 simpler match case for the ptype of the big class.
2728
27291999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2730
2731 * gdb.exp: Fix test for gdb_prompt existence.
2732
27331999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2734
2735 * gdb.exp (gdb_test): Add fail after calls to perror.
2736
27371999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2738
2739 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
2740
27411999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2742
2743 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
2744
0f71a2f6
JM
2745Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
2746
2747 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
2748 malloc() is linked in.
2749
27501999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2751
2752 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
2753 step at end.
2754
2755 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
2756
27571999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
2758
2759 * gdb.java/jv-print.exp: New file. (Our first Java test!)
2760
cce74817
JM
2761Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
2762
2763 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
2764 * gdb.base/mips_pro.exp: Likewise.
2765
27661999-06-02 Keith Seitz <keiths@cygnus.com>
2767
2768 * gdb.c++/templates.cc: Change all "new" operators to throw
2769 an exception.
2770 * gdb.c++/cplusfuncs.cc: Likewise.
2771
2772 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
2773
2774Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
2775
2776 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
2777 * gdb.base/ending-run.exp: When stepping out of main, accept a
2778 step into an arbitrary assembler file.
2779
392a587b
JM
27801999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2781
beb998c6 2782 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 2783 "breakpoint-invalid" to be printed.
beb998c6 2784 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
2785 number of "frames-invalid" and "breakpoint-invalid" to be printed.
2786 * gdb.base/annota2.cc: Initialize a.x to 0.
2787
9e086581
JM
27881999-05-17 Keith Seitz <keiths@cygnus.com>
2789
2790 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
2791 when "skip_float_tests" set.
2792 Ditto for "print print_double_array(array_d)", "print print_small_structs",
2793 "print print_ten_doubles", and "step into print_long_arg_list".
2794 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
2795 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
2796 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
2797 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
2798 "skip_float_tests" is set.
2799 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
2800 when "skip_float_tests" set.
beb998c6 2801
cd0fc7c3
SS
28021999-05-06 Keith Seitz <keiths@cygnus.com>
2803
2804 * gdb.base/annota2.cc: Include stdio.h.
2805
2806Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
2807
2808 * gdb.base/crossload.exp: Remove, this has been disabled ever
2809 since BFD stopped including all targets, and cross-GDB gets
2810 plenty of testing anyway.
2811 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
2812 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
2813 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
2814 * gdb.base/README: Remove, was doc for this.
2815 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
2816 needed.
2817
b83266a0
SS
28181999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2819
2820 * gdb.base/call-ar-st.exp: Fix one regular expression in test
2821 output.
2822
2823 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
2824 * gdb.base/annota2.exp: New file. More annotation tests.
2825 * gdb.base/annota1.c: New file. Source file for annota1.exp.
2826 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
2827
28281999-04-23 Angela Marie Thomas <angela@cygnus.com>
2829
2830 * config/cfdbug.exp: New file.
2831
7a292a7a
SS
28321999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2833
2834 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
2835 Marcus Daniel's and Dale Hawkins's demangler crashes.
2836
2837 * gdb.c++/demangle.exp (test_gnu_style_demangling,
2838 test_lucid_style_demangling, test_arm_style_demangling,
2839 test_hp_style_demangling): Try Tom Tromey's core-dumping
2840 identifier under each demangling style.
2841
28421999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
2843
2844 * gdb.c++/demangle.exp: Include the current demangling style
2845 in all test names.
2846 (current_demangling_style): New global variable.
2847 (set_demangling_style, test_demangling_core, test_demangling,
2848 test_demangling_exact): New functions.
2849 (test_gnu_style_demangling, test_lucid_style_demangling,
2850 test_arm_style_demangling, test_hp_style_demangling): Use those,
2851 instead of calling gdb_test and gdb_test_exact directly.
2852 (catch_demangling_errors): New function, which reports errors
2853 signalled by the demangling test functions in an orderly way.
2854 (do_tests): Use catch_demangling_errors.
2855
28561999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
2857
2858 * gdb.base/signals.exp (test_handle_all_print): Use () for
2859 grouping in expressions, not {}.
2860
2861 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
2862 initialized yet.
2863
28641999-04-01 Stan Shebs <shebs@andros.cygnus.com>
2865
2866 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
2867 are listed.
2868
28691999-03-26 Stan Shebs <shebs@andros.cygnus.com>
2870
2871 * gdb.stabs/weird.exp: Test for CC being defined before
2872 looking at its value.
2873
28741999-03-25 Stan Shebs <shebs@andros.cygnus.com>
2875
2876 * gdb.base/call-ar-st.exp: Remove stray '#'.
2877 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
2878 "short int" and "long int".
2879 * gdb.c++/overload.cc: Cast the string added in the previous
2880 change, to mollify finicky HP compiler.
2881 * gdb.hp/reg-test.exp (testfile): Fix file name.
2882 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 2883
7a292a7a
SS
2884 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
2885 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
2886 alternate form of enum ptype.
2887
c906108c
SS
28881999-03-23 Stan Shebs <shebs@andros.cygnus.com>
2889
7a292a7a
SS
2890 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
2891 * gdb.hp/*.exp: Change all to run compiler probe only after
2892 passing skip_hp_tests, so as not to waste time on guaranteed
2893 failure.
2894
c906108c
SS
2895 * gdb.c++/overload.cc: Pass string instead of char addr, always
2896 init ccpfoo.
2897 * gdb.c++/templates.cc: Fix syntax error.
2898
7a292a7a
SS
2899Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2900
2901 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 2902 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
2903 command.
2904
29051999-03-18 James Ingham <jingham@cygnus.com>
2906
2907 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
2908
2909 * gdb.c++/method.exp: It was testing an uninitialized int on the
2910 stack and assuming it was positive.
2911
2912 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
2913
2914 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 2915 keep it from killing the rest of the tests.
7a292a7a
SS
2916 Use gdb_continue_to_end.
2917
2918 * gdb.base/sigall.exp: use gdb_continue_to_end.
2919
2920 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
2921
2922 * gdb.base/display.exp: use runto_main, not run.
2923
beb998c6
AC
2924 * gdb.base/default.exp: Check for the current error message in the
2925 r abbreviation test.
7a292a7a
SS
2926 Add strongarm to the targets that know info float.
2927
beb998c6 2928 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
2929 run which doesn't work with monitors.
2930
2931 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
2932
2933 * gdb.base/break.exp: use the gdb_continue_to_end proc.
2934
2935 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
2936 program. Traps the case (in Cygmon) when the program never really
2937 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
2938 more places, so I used my name. Sorry Mark...
2939
2940 * config/monitor.exp (gdb_target_monitor): added another
2941 target_info parameter: remotebinarydownload. This will set the
2942 remotebinarydownload flag if this is causing some boards trouble.
2943
29441999-03-18 Mark Salter <msalter@cygnus.com>
2945
2946 * lib/gdb.exp (continue_to_exit): New function.
2947
2948 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
2949 * gdb.base/ending-run.exp: Ditto.
2950 * gdb.base/step-test.exp: Ditto.
2951
29521999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2953
2954 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
2955 (suggested by Art Haas <ahaas@neosoft.com>).
2956
29571999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
2958
2959 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
2960
2961Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
2962
2963 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
2964 descriptions of types (short unsigned int vs unsigned short, etc).
2965
29661999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
2967
2968 * gdb.base/call-strs.exp: Don't assume that `step' will step over
2969 a call to strlen; sometimes we do have sources.
2970
29711999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
2972
2973 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
2974 character, so GDB won't print garbage after its end.
beb998c6 2975
c906108c
SS
2976 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
2977 breakpoint there instead. Sometimes GCC emits memcpy to handle
2978 the large structures being passed by value, so we step into that
2979 instead of sum_array_print, which obscures what we're really testing.
2980 * gdb.base/step-test.exp: However, we do want a test that notices
2981 the bizarre steps into memcpy, so do that here. Add check for
2982 stepping into function calls that pass large structures by value.
2983 ("Is that a noun clause, or are you just happy to see me?")
2984 Remove all references to specific line numbers.
2985 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
2986 New type and function.
2987 (main): Call large_struct_by_value, passing it a large struct by value.
2988 * lib/gdb.exp (gdb_get_line_number): New function.
2989
2990 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
2991 more portable.
2992
7a292a7a
SS
29931999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
2994
c906108c
SS
2995 * lib/gdb.exp: Doc fixes.
2996
7a292a7a
SS
29971999-03-05 Nick Clifton <nickc@cygnus.com>
2998
beb998c6 2999 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3000
30011999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3002
c906108c
SS
3003 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3004 commands. They're not germane to this test, and they don't work
3005 that way on remote targets.
3006
3fc11d3e
JM
30071999-03-01 James Ingham <jingham@cygnus.com>
3008
3009 * Changelog entries merged over from gdb development branch.
3010
3fc11d3e
JM
3011 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3012
3013 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3014 for outputting results of test run.
3015
2d4a1622 3016 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
3017
3018 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 3019
7a292a7a
SS
30201999-02-25 Felix Lee <flee@cygnus.com>
3021
3022 * lib/gdb.exp (debug_format): initialize
3023
c906108c
SS
30241999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3025
3026 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3027 * gdb.base/call-rt-st.c: Ditto.
3028
c906108c
SS
30291999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3030
3031 * gdb.threads/pthreads.exp (horiz): New variable.
3032 (test_startup): Fix regexps that capture thread numbers.
3033
30341999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3035
3036 * gdb.base/smoke.exp: Disambiguate two test case names (both
3037 called ``print'').
3038
3039Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3040
3041 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3042 compilation.
3043
30441999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3045
3046 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3047 actual output formatting.
3048 * gdb.base/smoke.exp: GDB removes leading 0's.
3049 * gdb.base/volatile.exp: Don't check type of remuneration;
3050 that variable is no longer defined in constvars.c.
3051 * gdb.base/step-test.c (main): Exit with explicit exit code.
3052 * gdb.base/step-test.exp: Remove two nexti checks--they are
3053 not portable.
3054
30551999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3056
3057 * gdb.base/help.exp ("help delete display"): Fix test to match
3058 gdb's output.
3059
3060 * gdb.base/long_long.c (known_types): Initialize values to zero.
3061 * gdb.base/long_long.exp: Step one more line
3062 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3063 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3064 unique test case names.
3065
3066Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3067
beb998c6 3068 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3069
3070 * gdb.c++/method.exp: Add missing close brace.
3071
30721999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3073
3074 * gdb.base/maint.exp: Use 'set height 0' to disable page
3075 prompting, not 'set height 400'.
3076
3077 Fix a bunch of timeouts.
3078 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3079 four separate tests, so expect doesn't take forever to match a ton
3080 of text against a regexp with lots of .* forms.
3081 ("maint print psymbols", "maint print symbols"): Make some of
3082 these greps more selective, so that expect doesn't try to wade
3083 through huge piles of output and time out.
3084
3085 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3086
3087 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3088 tests: one which doesn't expect shlib events to be reported, and
3089 another which does, but is XFAIL for all platforms other than
3090 HP/UX.
3091
3092 * gdb.base/break.exp: Teach the test suite that the `catch
3093 fork', `catch vfork', and `catch exec' commands produce error
3094 messages on platforms that don't provide these features.
3095
3096Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3097
3098 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3099 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3100 (shortening names from solib_threshold.exp etc), won't run on
3101 anything but HP-UX for the foreseeable future.
3102 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3103 reflect move.
3104
3105Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3106
3107 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3108 gdb.trace/Makefile.in (clean): Remove all test executables.
3109
3110Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3111
3112 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3113 successfully re-sets breakpoints in shared libraries.
3114 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3115
3116Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3117
beb998c6
AC
3118 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3119 and compiled w/o GCC.
c906108c
SS
3120
3121 * gdb.hp/watch-cmd.exp: ditto.
3122
3123 * gdb.hp/watch-hp.exp: ditto.
3124
3125 * gdb.hp/xdb1.exp: ditto.
3126
3127 * gdb.hp/xdb2.exp: ditto.
3128
3129 * gdb.hp/dbx.exp: ditto.
3130
3131Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3132
3133 * constvars.c: Remove C++-isms.
3134 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3135 with GCC.
3136
3137Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3138
3139 The following changes are part of the HP merge.
3140
3141 * gdb.base/break.exp: new tests to verify that catchpoints for
3142 fork, vfork, and exec don't trigger inappropriately.
3143
3144 * gdb.base/opaque.exp: compile one file at a time, then link.
3145
3146 * gdb.base/signals.exp: be more restrictive about which hppa
3147 systems receive a setup_xfail. new tests.
3148
3149 * gdb.base/solib_threshold.build: new file.
3150 * gdb.base/solib_threshold.exp: new file.
3151 * gdb.base/solib_threshold.link_opts: new file.
3152 * gdb.base/solib_threshold.mk: new file.
3153 * gdb.base/gen_solib_threshold.c: new file.
3154
3155 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3156 tests. New tests for enums inside classes.
3157
3158 * gdb.c++/compiler.cc: indicate support of template debugging.
3159
3160 * gdb.c++/demangle.exp: run hp style demangling tests.
3161
3162 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3163 tests.
3164
3165 * gdb.c++/misc.cc: changes to support new tests.
3166
3167 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3168 to support new tests.
3169
3170 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3171 gcc, then skip these tests.
3172
3173Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3174
3175 The following files are part of the HP merge; some had longer
3176 names at HP, but have been renamed to be no more than 14
3177 characters in length.
3178
3179 * gdb.hp/ambiguous.cc: new file.
3180 * gdb.hp/ambiguous.exp: new file.
3181 * gdb.hp/attach.exp: new file.
3182 * gdb.hp/attach2.exp: new file.
3183 * gdb.hp/classes-hp.exp: new file.
3184 * gdb.hp/ctti.exp: new file.
3185 * gdb.hp/ctti-add.cc: new file.
3186 * gdb.hp/ctti-add1.cc: new file.
3187 * gdb.hp/ctti-add2.cc: new file.
3188 * gdb.hp/ctti-add3.cc: new file.
3189 * gdb.hp/dbx.exp: new file.
3190 * gdb.hp/exception.cc: new file.
3191 * gdb.hp/exception.exp: new file.
3192 * gdb.hp/foll-exec.c: new file.
3193 * gdb.hp/foll-exec.exp: new file.
3194 * gdb.hp/foll-fork.c: new file.
3195 * gdb.hp/foll-fork.exp: new file.
3196 * gdb.hp/foll-vfork.c: new file.
3197 * gdb.hp/foll-vfork.exp: new file.
3198 * gdb.hp/inherit-hp.exp: new file.
3199 * gdb.hp/more-steps.exp: new file.
3200 * gdb.hp/namespace.cc: new file.
3201 * gdb.hp/namespace.exp: new file.
3202 * gdb.hp/optimize.exp: new file.
3203 * gdb.hp/pxdb.c: new file.
3204 * gdb.hp/pxdb.exp: new file.
3205 * gdb.hp/quicksort.exp: new file.
3206 * gdb.hp/reg-test.exp: new file.
3207 * gdb.hp/reg-test.s: new file.
3208 * gdb.hp/sized-enum.c: new file.
3209 * gdb.hp/sized-enum.exp: new file.
3210 * gdb.hp/start-stop.exp: new file.
3211 * gdb.hp/templ-hp.cc: new file.
3212 * gdb.hp/templ-hp.exp: new file.
3213 * gdb.hp/thr-lib.c: new file.
3214 * gdb.hp/thr-lib.exp: new file.
3215 * gdb.hp/thr-lib.h: new file.
3216 * gdb.hp/thr-liblib.c: new file.
3217 * gdb.hp/virtfun-hp.c: new file.
3218 * gdb.hp/virtfun-hp.exp: new file.
3219 * gdb.hp/watch-cmd.exp: new file.
3220 * gdb.hp/watch-hp.exp: new file.
3221 * gdb.hp/xdb1.exp: new file.
3222 * gdb.hp/xdb2.exp: new file.
3223 * gdb.hp/xdb3.exp: new file.
3224
3225Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3226
3227 The following files are part of the HP merge; some had longer
3228 names at HP, but have been renamed to be no more than 14
3229 characters in length.
3230
3231 * gdb.base/ss.h: new file.
3232 * gdb.base/call-ar-st.c: new file.
3233 * gdb.base/call-ar-st.exp: new file.
3234 * gdb.base/call-rt-st.c: new file.
3235 * gdb.base/call-rt-st-exp: new file.
3236 * gdb.base/call-strs.exp: new file.
3237 * gdb.base/ena-dis-br.exp: new file.
3238 * gdb.base/environ.exp: new file.
3239 * gdb.base/long_long.exp: new file.
3240 * gdb.base/sect-cmd.exp: new file.
3241 * gdb.base/shlib-cl2.exp: new file.
3242 * gdb.base/smoke.exp: new file.
3243 * gdb.base/so-impl-ld.c: new file.
3244 * gdb.base/so-impl-ld.exp: new file.
3245 * gdb.base/so-indr-cl.c: new file.
3246 * gdb.base/so-indr-cl.exp: new file.
3247 * gdb.base/varargs.exp: new file.
3248 * gdb.base/volatile.exp: new file.
3249 * gdb.base/whatis-exp.exp: new file.
7a292a7a 3250 * gdb.base/display.exp: new file.
c906108c
SS
3251 * gdb.c++/derivation.exp: new file.
3252 * gdb.c++/local.exp: new file.
3253 * gdb.c++/member-ptr.exp: new file.
3254 * gdb.c++/overload.exp: new file.
3255 * gdb.c++/ovldbreak.exp: new file.
3256 * gdb.c++/ref-types.exp: new file.
3257 * gdb.c++/ref-types2.exp: new file.
3258 * gdb.c++/userdef.exp: new file.
beb998c6 3259
c906108c
SS
3260Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3261
3262 * gdb.base/default.exp: Reflect wording change in remote.c.
3263
dc96c6c7 3264Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3265
3266 * gdb.base/help.exp: Update to reflect current text.
3267
3268Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3269
3270 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3271 they're stack variables and contain garbage.
3272 * gdb.c++/anon-union.exp: new file.
3273
3274 The following changes were made by David Taylor
3275 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3276 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3277 in changes by HP.
3278
3279 * gdb.base/bitops.exp: new file.
3280 * gdb.base/default.exp: change expected messages for catch and
3281 info catch tests to reflect HP merge changes.
3282 * gdb.base/enable-disable-break.exp
3283 * gdb.base/ending-run.c: new file.
3284 * gdb.base/long_long.c: new file.
3285 * gdb.base/maint.exp: new file.
3286 * gdb.base/pointers2.exp: new file.
3287 * gdb.base/shlib-call2.exp: new file.
3288 * gdb.base/solib.exp: new file.
3289 * gdb.base/step-test.c: new file.
3290 * gdb.c++/anon-union.cc: new file.
3291 * gdb.c++/local.cc: new file.
3292 * gdb.c++/member-pointer.cc: new file.
3293 * gdb.c++/method.cc: new file.
3294 * gdb.c++/ref-types.cc: new file.
3295 * gdb.c++/ref-types2.cc: new file.
3296 * gdb.c++/userdef.cc: new file.
beb998c6 3297
c906108c
SS
3298 * gdb.base/scope.exp: compile one file at a time, then link.
3299 * gdb.base/langs.exp: ditto.
3300 * gdb.base/list.exp: ditto.
beb998c6 3301
c906108c
SS
3302Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3303
3304 The following changes were made by David Taylor
3305 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3306 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3307 in changes by HP.
beb998c6 3308
c906108c
SS
3309 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3310 skip tests. When compiling pass c++ flag to gdb_compile.
3311 * gdb.c++/
beb998c6 3312
c906108c
SS
3313 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3314 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3315 (skip_hp_tests): new function.
3316 (gdb_preprocess): new function.
3317
3318 * configure.in (hpdir): decide whether to configure gdb.hp.
3319 * configure: regenerated.
3320
3321 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3322 to delete on clean.
3323 (EXECUTABLES): update to reflect new additions.
3324 * gdb.base/commands.exp: update message expected.
3325 * gdb.base/default.exp: add copyright notice.
3326 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3327 * gdb.base/help.exp: update messages to reflect current text.
3328 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3329 targets for recurse tests.
3330 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3331 skip this file.
3332
3333 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3334 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3335 compilation.
3336 * gdb.c++/misc.exp: ditto.
3337 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3338 run the tests. tell gdb_compile that it's a c++ compilation.
3339
3340 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 3341
c906108c
SS
3342 * gdb.base/all-bin.exp: new file.
3343 * gdb.base/arithmet.exp: new file.
3344 * gdb.base/assign.exp: new file.
3345 * gdb.base/completion.exp: new file.
3346 * gdb.base/cond-expr.exp: new file.
3347 * gdb.base/condbreak.exp: new file.
3348 * gdb.base/define.exp: new file.
3349 * gdb.base/dollar.exp: new file.
3350 * gdb.base/environment.exp: new file.
3351 * gdb.base/eval-skip.exp: new file.
3352 * gdb.base/jump.exp: new file.
3353 * gdb.base/logical.exp: new file.
3354 * gdb.base/pointers.exp: new file.
3355 * gdb.base/relational.exp: new file.
3356 * gdb.base/section_command.exp: new file.
3357 * gdb.base/whatis-expr.exp: new file.
3358
3359 * gdb.base/all-types.c: new file.
3360 * gdb.base/call-array-struct.c: new file.
3361 * gdb.base/call-return-struct.c: new file.
3362 * gdb.base/call-strings.c: new file.
3363 * gdb.base/callfuncs2.c: new file.
3364 * gdb.base/condbreak.c: new file.
3365 * gdb.base/constvars.c: new file.
3366 * gdb.base/display.c: new file.
3367 * gdb.base/int-type.c: new file.
3368 * gdb.base/jump.c: new file.
3369 * gdb.base/miscexprs.c: new file.
3370 * gdb.base/pointers.c: new file.
3371 * gdb.base/pointers2.c: new file.
3372 * gdb.base/shmain.c: new file.
3373 * gdb.base/shr1.c: new file.
3374 * gdb.base/shr2.c: new file.
3375 * gdb.base/solib.c: new file.
3376 * gdb.base/solib1.c: new file.
3377 * gdb.base/solib2.c: new file.
3378 * gdb.base/varargs.c: new file.
3379 * gdb.c++/derivation.cc: new file.
3380 * gdb.c++/overload.cc: new file.
3381 * gdb.c++/ovldbreak.cc: new file.
3382 * gdb.hp/attach.c: new file.
3383 * gdb.hp/attach2.c: new file.
3384 * gdb.hp/average.c: new file.
3385 * gdb.hp/compiler.c: new file.
3386 * gdb.hp/compiler.cc: new file.
3387 * gdb.hp/execd-program.c: new file.
3388 * gdb.hp/follow-exec.c: new file.
3389 * gdb.hp/follow-fork.c: new file.
3390 * gdb.hp/follow-vfork-and-exec.c: new file.
3391 * gdb.hp/misc-hp.cc: new file.
3392 * gdb.hp/more-steps.c: new file.
3393 * gdb.hp/optimize.c: new file.
3394 * gdb.hp/quicksort.c: new file.
3395 * gdb.hp/run-hp.c: new file.
3396 * gdb.hp/start-stop.c: new file.
3397 * gdb.hp/sum.c: new file.
3398 * gdb.hp/templates-hp.cc: new file.
3399 * gdb.hp/thread-local-in-lib.c: new file.
3400 * gdb.hp/thread-local-in-lib.h: new file.
3401 * gdb.hp/thread-local-in-lib.lib.c: new file.
3402 * gdb.hp/vforked-program.c: new file.
3403 * gdb.hp/virtfunc-hp.cc: new file.
3404 * gdb.hp/watchpoint-hp.c: new file.
3405 * gdb.hp/xdb.c: new file.
3406 * gdb.hp/xdb0.c: new file.
3407 * gdb.hp/xdb0.h: new file.
3408 * gdb.hp/xdb1.c: new file.
3409
3410Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
3411
3412 The following change was made by Edith Epstein
3413 <eepstein@cygnus.com> as part of a project to merge in changes
3414 originally made by HP; HP did not create ChangeLog entries.
3415
3416 * gdb.c++/demangle.exp: changed the expected output for some
3417 ARM-style mangling -- removed second reference to datatype.
3418 For example, maint demangle __dt__11T1__pt__2_cFv
3419 T1<char>::~T1<char>(void)
3420 becomes,
3421 maint demangle __dt__11T1__pt__2_cFv
3422 T1<char>::~T1(void)
3423
3424 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 3425
c906108c
SS
3426Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
3427
3428 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
3429 * gdb.trace/backtrace.exp: Likewise.
3430 * gdb.trace/circ.exp: Likewise.
3431 * gdb.trace/collection.exp: Likewise.
3432 * gdb.trace/deltrace.exp: Likewise.
3433 * gdb.trace/infotrace.exp: Likewise.
3434 * gdb.trace/limits.exp: Likewise.
3435 * gdb.trace/packetlen.exp: Likewise.
3436 * gdb.trace/passc-dyn.exp: Likewise.
3437 * gdb.trace/passcount.exp: Likewise.
3438 * gdb.trace/report.exp: Likewise.
3439 * gdb.trace/save-trace.exp: Likewise.
3440 * gdb.trace/tfind.exp: Likewise.
3441 * gdb.trace/tracecmd.exp: Likewise.
3442 * gdb.trace/while-dyn.exp: Likewise.
3443 * gdb.trace/while-stepping.exp: Likewise.
3444
34451998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3446
3447 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
3448
3449Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
3450
3451 From Brendan Kehoe:
3452 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
3453 int return types.
3454
3455Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
3456
3457 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
3458 remote dos host testing right.
3459
3460Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
3461
3462 * gdb.base/corefile.exp: remove some xfails.
3463
3464Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
3465
3466 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
3467 have different timestamps.
3468
3469Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
3470
3471 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
3472 gdb.base/default.exp: Replace "exec" with "executable".
3473
3474Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
3475
3476 * gdb.base/default.exp: Change else if to elseif from previous
3477 delta.
3478
3479Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
3480
3481 * gdb.base/default.exp: Add brace missing from previous delta.
3482
3483Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
3484
3485 * gdb.base/default.exp: Support test for info float for all
3486 varieties of arm toolchain.
3487
dc96c6c7 3488Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3489
3490 * gdb.trace/*.exp: remove "remote_download" command.
3491
dc96c6c7 3492Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3493
3494 * gdb.trace/*.exp: remove -gdwarf from compile.
3495
3496Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
3497
3498 * gdb.trace/configure.in(AC_INIT): typo
3499 * gdb.trace/configure: regenerated
3500
dc96c6c7 3501Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3502
3503 * config/m68k-emc.exp: New file.
3504 * lib/<emc-support.exp trace-support.exp}: New files.
3505 * configure.in: add new test directory gdb.trace.
3506 * gdb.trace/{configure configure.in Makefile.in}: New files.
3507 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
3508 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
3509 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
3510 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
3511 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
3512 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
3513 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 3514
dc96c6c7 3515Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3516
3517 * gdb.c++/classes.exp: Change all regular expressions to match
3518 arbitrary combinations of newline/carriage-return, so that they
3519 will work equally well on Unix and Windows.
3520 * gdb.c++/inherit.exp: ditto.
3521 * gdb.c++/virtfunc.exp: ditto.
3522
35231998-08-11 Dawn Perchik <dawn@cygnus.com>
3524
3525 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
3526
c2d11a7d
JM
3527Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
3528
3529 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
3530 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
3531 to use a0-a3/d0-d3 as needed.
3532
3533Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
3534
3535 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
3536 * gdb.disasm/am33.exp: Corresponding changes.
3537
c906108c
SS
35381998-07-11 Felix Lee <flee@cygnus.com>
3539
3540 * gdb.base/callfuncs.exp: add cmp10 test.
3541 * gdb.base/callfuncs.c (cmp10): new function.
3542
3543Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
3544
beb998c6 3545 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
3546 into two parts to get around a synchronization problem in expect.
3547
3fc11d3e
JM
3548Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
3549
3550 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
3551
3552 * configure.in: Add options for gdbtk testsuite.
3553
3554 * configure: Regenerate.
3555
3556 * gdb.gdbtk: New directory to hold gdbtk tests.
3557
c906108c
SS
3558Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3559
3560 * gdb.fortran/types.exp: Escape brackets in expect patterns
3561 for test_float_literal_types_accepted tests.
3562 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
3563 before run test.
3564
c2d11a7d
JM
3565Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
3566
3567 * am33.exp: Just compile, do not link the testcase.
3568 * am33.s: Add ".am33" pseudoop to force am33 mode.
3569
c906108c
SS
35701998-06-25 Felix Lee <flee@cygnus.com>
3571
3572 * gdb.base/setshow.exp: make sure $pc is sane.
3573
3574 * gdb.stabs/weird.exp: split expect patterns properly.
3575
c2d11a7d
JM
3576Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
3577
3578 * gdb.disasm/am33.s: New disassembler testfile for the am33.
3579 * gdb.disasm/am33.exp: Run it.
3580
dc96c6c7 3581Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3582
3583 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
3584 match processing (and eliminate spurious timeouts when running).
3585
dc96c6c7 3586Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3587
3588 * gdb.base/signals.exp (test_handle_all_print): put back Mach
3589 exception test, but conditionalize it on target [mach | gnu].
3590
dc96c6c7 3591Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3592
3593 * gdb.base/overlays.exp: fixup compile line for linker script.
3594
3595Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
3596
3597 * gdb.fortran/types.exp: don't guess at float size.
3598
3599Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
3600
3601 * gdb.base/exprs.exp: delete test that depends on int size.
3602
3603Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
3604
3605 * config/sim.exp: Removed checks for target triplets.
3606 (gdb_target_sim): Use gdb,target_sim_options.
3607
3608Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
3609
3610 * gdb.base/reread.exp: New file.
3611 * gdb.base/reread1.c: New file.
3612 * gdb.base/reread2.c: New file.
3613
3614Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
3615
3616 * config/sim.exp: Use 'target sim -sparclite' when running
3617 SPARClite programs.
3618
3619Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
3620
3621 * gdb.base/structs2.exp: New file.
3622 * gdb.base/structs2.c: New file.
3623
3624Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
3625
3626 * gdb.asm/common.inc: New file.
3627 * gdb.asm/d10v.inc: New file.
3628 * asm-source.exp: Pass -I's to gas to find .inc files.
3629 Update line numbers in expected output.
3630 * asmsrc1.s: Rewrite.
3631 * asmsrc2.s: Rewrite.
3632 * configure.in: Create arch.inc symlink.
3633 * configure: Regenerate.
3634 * Makefile.in (distclean): Delete arch.inc.
3635
3636Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
3637
3638 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
3639 (t_enum_value2): ditto
3640 (t_enum_value3): ditto
3641 (main): ditto
3642Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3643
3644 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
3645 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
3646 change.
3647 Use gdb_test instead of send_gdb/gdb_expect sequences.
3648
3649Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
3650
3651 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
3652 not void.
3653
3654Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
3655
3656 * gdb.base/branches.c: Code with lots of loops and
3657 subroutines. Used to test gdbs ability to single step through PC
3658 changes, especially to test mips-tdep.c:mips_next_pc
3659
3660Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
3661
3662 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
3663 more rigorous EGCS C++ error checking.
3664
3665Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3666
3667 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 3668 tests.
c906108c 3669 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 3670 function when asleep.
c906108c 3671 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
3672 for i*86 Linux and SVR4 signal handling problems.
3673 Remove linux xfail for `next to handler in signals_tests_1', fixed
3674 by recent infrun.c change.
c906108c 3675 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 3676 stack backtraces.
c906108c
SS
3677 Adjust expect pattern in `handle all print' test to match Apr 28 1997
3678 target.[ch] change.
3679
3680Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
3681
3682 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
3683 for a newline from gdb before continuing.
3684 (default_gdb_exit): Just look for y or n.
3685 (gdb_test): Detect abnormal exit from GDB running on DOS; if
3686 it does, fail the rests of the tests in the file.
3687
3688Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
3689
3690 * config/cygmon.exp: New file.
3691
3692Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
3693
3694 * gdb.base/list.exp: Fix problem with "list default lines around
3695 main" test on remote targets.
3696
3697 * gdb.base/scope.exp: Fix problem with filelocal_bss before
3698 run test on remote targets.
3699
3700Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
3701
3702 * gdb.asm: New directory.
3703 * configure.in: Configure it.
3704 * configure: Regenerate.
3705 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
3706 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
3707
3708Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
3709
3710 * config/mn10300-eval.exp: New file to support MN10300 eval board.
3711
dc96c6c7 3712Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3713
c906108c
SS
3714 * gdb.base/overlays (several files): Merge the two overlay
3715 managers into one. Change variables (foox, barx, bazx, grbxx)
3716 back into ints but force them to load in their proper sections.
3717
3718Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
3719
3720 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
3721 on-chip insn memory and IMAP1 to upper 128k.
3722 (D10VCopy): Handle memory regions crossing 16k boundaries.
3723 (D10VCopy): Transfer data in 32 bit chunks.
3724
3725Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
3726
3727 * gdb.base/overlays.c (main): Exit normally when result is
3728 correct.
3729
3730 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
3731 map. Include space for printf in .text segment.
3732
3733 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
3734 updated d10v memory VMA/LMA map.
3735 (D10VCopy): Call D10VTranslate.
beb998c6 3736
c906108c
SS
3737Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
3738
3739 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
3740
3741 * gdb.base/bar.c (barx, bar): Change variable to small array so
3742 that it won't be put into the .sdata - small data -
3743 section. Update reference.
3744 * gdb.base/baz.c (bazx, baz): Ditto.
3745 * gdb.base/foo.c (foox, foo): Ditto.
3746 * gdb.base/grbx.c (grbxx, grbx): Ditto.
3747
3748 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
3749 to be arrays.
beb998c6 3750
dc96c6c7 3751Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3752
c906108c
SS
3753 * gdb.base/overlays.exp: fix up and get working again.
3754 Add tests for backtraces from an overlay function.
beb998c6 3755
c906108c
SS
3756Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
3757
3758 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
3759 "calling function with watchpoint enabled".
3760
3761Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
3762
3763 * gdb.base/break.exp (test_next_with_recursion): Remove
3764 gdb_suppress_tests for d10v-*-*.
3765 * lib/gdb.exp (gdb_suppress_tests): Disable this function
3766 pending review of whether it is useful or not.
3767
3768Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
3769
3770 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
3771
3772Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
3773
3774 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
3775 * config/dve.exp: New file to support Densan boards.
3776
3777Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
3778
3779 * gdb.base/interrupt.exp: Document problem of simulators, signals,
3780 reads and BSD.
3781
3782Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
3783
3784 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
3785 response.
3786
3787 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
3788
3789Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
3790
3791 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
3792 test.
3793
3794 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
3795 target_sizeof_long and target_bigendian_p.
3796 (structs_by_value, structs_by_reference): Check values according
3797 to targets word size and endianess.
beb998c6 3798
c906108c
SS
3799Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
3800
3801 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
3802 output.
3803
3804Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
3805
3806 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
3807 Update test of set args help to match source change.
3808
3809Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
3810
3811 * gdb.base/default.exp: Expect help system output to be in
3812 alphabetical order.
3813 * gdb.base/help.exp: Ditto.
3814
3815Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
3816
3817 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
3818 "i*86-pc-linux-gnu*".
3819 * gdb.base/interrupt.exp: Ditto.
3820 * gdb.base/corefile.exp: Ditto.
3821
3822 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
3823 define vxworks when building the testcase.
3824
3825 * gdb.base/ptype.exp: Fix testnames to be unique.
3826 * gdb.base/radix.exp: Ditto.
3827 * gdb.base/term.exp: Ditto.
3828 * gdb.base/whatis.exp: Ditto.
3829 * gdb.c++/classes.exp: Ditto.
3830
3831Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
3832
3833 * gdb.base/callfuncs.exp: Fix indentation.
3834
3835 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
3836 suppress_flag has been set.
3837 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
3838 target feature.
3839
3840Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
3841
3842 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
3843 the testcase.
3844
3845 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
3846 set_debug_traps() and breakpoint().
3847 * gdb.c++/misc.cc (main): Ditto.
3848 * gdb.c++/templates.cc (main): Ditto.
3849 * gdb.c++/virtfunc.cc (main): Ditto.
3850
3851Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
3852
3853 * lib/gdb.exp(gdb_step_for_stub): New function.
3854 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
3855 exists, reload the executable and do a "continue" instead of
3856 doing a jump.
3857 (runto_main): Use gdb_step_for_stub.
beb998c6 3858
c906108c
SS
3859 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
3860 tests to have unique names.
3861 * gdb.base/callfuncs.exp: Ditto.
3862 * gdb.base/commands.exp: Ditto.
3863 * gdb.base/default.exp: Ditto.
3864 * gdb.base/help.exp: Ditto.
3865 * gdb.base/list.exp: Ditto.
3866 * gdb.base/opaque.exp: Ditto.
3867 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
3868 similar tests.
beb998c6 3869
c906108c
SS
3870 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
3871 * gdb.c++/cplusfuncs.cc: Ditto.
3872 * gdb.c++/virtfunc.cc: Ditto.
3873
3874 * config/monitor.exp: Keep track of the last file we saw, rather
3875 than trying to get the info from gdb.
3876
3877 * gdb.fortran/types.exp: Move comment to previous line.
3878
3879Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
3880
3881 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
3882 target mode.
3883
3884Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
3885
3886 From Bob Manson:
3887 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
3888 string from GDB when it connects.
3889
3890 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
3891
3892Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
3893
3894 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
3895 if we can't get a debug format from GDB (we may be testing an
3896 older GDB). Use a 10 second timeout when checking for the format.
3897
3898 * gdb.stabs/weird.exp: Fix quoting.
3899
3900 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
3901
3902Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
3903
3904 * config/arm-ice.exp: New file.
3905
3906Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
3907
3908 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
3909 until it has been modified to work with the new testsuite.
3910
99707966 3911 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
3912 testcase won't compile, cause all of the testcases in the file to
3913 fail instead.
3914
3915 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
3916 (gdb_clear_suppressed): New procedure.
3917 (gdb_stop_suppressing_tests): Only clear suppress_flag if
3918 it contains a positive value.
3919
3920Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
3921
3922 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
3923
3924 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
3925
3926Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
3927
3928 * lib/gdb.exp (setup_xfail_format): New function.
3929 (get_debug_format): New function to get debug format.
3930 (debug_format): New global variable to hold last value set
3931 by get_debug_format.
3932 * gdb.base/list.exp: Call get_debug_format and expect some
3933 tests to fail for DWARF 1 and COFF formats.
3934 * gdb.c++/ptype.exp: Ditto.
3935 * gdb.c++/classes.exp: Ditto.
3936 * gdb.c++/cplusfuncs.exp: Ditto.
3937 * gdb.c++/inherit.exp: Ditto.
3938 * gdb.c++/templates.exp: Ditto.
3939 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 3940
c906108c
SS
3941Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
3942
3943 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
3944 host doesn't have a currently-open connection.
3945
3946 * config/sparclet.exp: Cleanups and fixes to make it generic for
3947 any gdb stub target. Handle cases where gdb doesn't respond when
3948 interrupted in a sane fashion.
3949
3950 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
3951 same thing in a totally different way.
3952
3953 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
3954 setting "timeout".
3955 (gdb_start): We set the global gdb_prompt variable in
3956 default_gdb_init now.
3957
3958Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
3959
3960 * gdb.base/printcmds.exp: Fix "check for floating addition"
3961 regexp to accept results within approx +/- .01 of exact value.
3962 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
3963
3964Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
3965
3966 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
3967 properly.
3968 (gdb_expect): Add optional timeout parameter, and add timeout
3969 value to various calls.
3970 (gdb_suppress_tests): Only give one warning message per group.
3971
3972Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
3973
3974 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
3975 global variables. Handle getting a value for $timeout more
3976 gracefully.
3977
3978Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
3979
3980 * lib/gdb.exp: Close connection to remote host if gdb doesn't
3981 initialize.
3982 (default_gdb_init): New procedure; allow gdb_init to be overridden
3983 by a target configuration file.
3984 (gdb_expect): Pass the timeout to remote_expect.
3985
3986 * config/monitor.exp(gdb_load): Fix typo in regexp.
3987
3988Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
3989
3990 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
3991
3992Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
3993
3994 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
3995 here. Call gdb_target_exec before rebooting the target, to make
3996 sure the connection to the target is closed.
3997 (gdb_load): Pass the name of the executable to gdb_target_monitor.
3998 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
3999 Also detect "Timeout reading from remote" error.
4000
4001 * config/gdbserver.exp: Pass the executable being loaded to
4002 gdb_target_monitor. Don't call gdb_file_cmd here; let
4003 gdb_target_monitor do it.
4004
4005 * gdb.disasm/hppa.exp: Don't use exec_output.
4006
4007Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4008
4009 * gdb.base/list.exp: If we're debugging a non-native target,
4010 try to set the pc register to point to the start of the
4011 program before doing the first list command.
4012
4013 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4014 test_calls after restarting.
4015
4016 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4017 reloading.
4018
4019 * gdb.base/watchpoint.exp: Fix typo.
4020
4021 * gdb.base/setshow.exp: Check for use_gdb_stub.
4022
4023 * gdb.base/break.exp: Fix continue until exit test for the gdb
4024 stub case.
4025 * gdb.base/langs.exp: Ditto.
4026
4027 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4028 gdb_load_offset. If we weren't given a file to load, figure out
4029 what the current file is and use it.
4030
4031 * config/i386-bozo.exp: New file.
4032
4033Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4034
4035 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4036 feature.
4037
4038 * config/proelf.exp: New entry.
4039
4040Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4041
4042 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4043 of regexps.
4044
4045 * gdb.base/watchpoint.exp: Don't run the test_stepping
4046 tests if gdb can't call functions on the target.
4047
4048 * gdb.base/setshow.exp: Don't run the set prompt tests if
4049 the board has gdb_prompt set.
4050
4051Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4052
4053 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4054 * gdb.base/commands.exp: Likewise.
4055 * gdb.base/setshow.exp: Likewise.
4056
4057Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4058
4059 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4060 feature.
4061
4062 * config/i960.exp: New file.
4063
4064Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4065
4066 * gdb.base/funcargs.exp: Check for gdb,short_int target
4067 feature instead of looking for explicit target triplets.
4068
dc96c6c7 4069Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4070
beb998c6 4071 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4072 "p 123DEADBEEF", to check parse_number.
4073 * top.c: change "to enable to enable" to "to enable" in a couple
4074 of help strings.
4075
4076Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4077
4078 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4079 on the mn10300.
beb998c6 4080
c906108c
SS
4081Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4082
4083 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4084 where the test executable is run with explicit args.
4085 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4086
4087Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4088
4089 * gdb.base/run.c: Use FAKEARGV to build test executable that
4090 does not require a command line arg, since most simulators
4091 don't currently support passing such an arg into the simulated
4092 program.
4093 * gdb.base/commands.exp: Change tests to insert the proper
4094 value as the arg to the first recursive factorial call. Change
4095 compilation line to define FAKEARGV at compile time.
4096
4097Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4098
4099 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4100 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4101 function with watchpoint enabled" test.
4102
4103Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4104
4105 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4106 Don't call gdb_test when the command doesn't return to a gdb prompt.
4107
4108 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4109 "Tests restarted" messages.
4110
4111Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4112
4113 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4114
dc96c6c7 4115Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4116
4117 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4118 for INFO SYMBOL; add help tests for OVERLAY commands.
4119 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4120 add tests for OVERLAY commands
4121 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4122 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4123 * gdb.base/sigall.c: add usestubs code frag
4124 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4125
c906108c
SS
4126Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4127
4128 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4129 failures.
4130 (gdb_stop_suppressing_tests): Note that tests have restarted.
4131
4132Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4133
4134 * config/h8300.exp: New file.
4135
4136Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4137
4138 * gdb.base/setshow.exp: Check for the existence of a
4139 feature, not its value.
4140
4141Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4142
4143 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4144
4145 * gdb.base/scope.exp: It's now init0(), not init().
4146
4147 * gdb.base/scope0.c: For now, change init() to be init0().
4148
4149 * config/monitor.exp: Use gdb_serial in preference to serial
4150 or netport.
4151
4152 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4153 and it's not already set.
4154
4155Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4156
4157 * gdb.base/setshow.exp: Only test the run command if the target
4158 isn't using a stub and if it supports argument passing.
4159
4160Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4161
4162 * config/udi.exp(gdb_start): Make sure UDICONF is set
4163 properly before starting gdb.
4164
4165Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4166
4167 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4168 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4169 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4170
4171Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4172
4173 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4174 specialized code to reboot the board, use remote_reboot instead.
4175
4176 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4177
4178 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4179
4180 * config/monitor.exp: Make sure we disconnect from the target.
4181 Also, try a reboot/reload cycle instead of failing if the
4182 load fails.
4183
4184Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4185
4186 * gdb.base/default.exp: Don't set match_max.
4187 * gdb.base/help.exp: Ditto.
4188 * gdb.base/list.exp: Ditto.
4189 * gdb.base/signals.exp: Ditto.
4190
4191 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4192 set, use remote_ld to download the testcase instead of
4193 the GDB loader.
4194
4195Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4196
4197 * config/vr5000.exp: New file.
4198
4199 * config/monitor.exp(gdb_target_monitor): Add pattern for
4200 "Ending remote" to detect errors in connecting.
4201
4202 * gdb.base/setshow.exp: Add .* within auto language test.
4203
4204 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4205 target feature.
4206
4207 * config/monitor.exp(gdb_load): Check for a failure when loading,
4208 and reboot the board if necessary.
4209
4210 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4211 a set of tests. Remove print.* from the patterns being checked.
4212
4213Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4214
4215 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4216 refer to gdb_spawn_id.
4217
4218 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4219 longer used.
4220 * config/sparclet.exp: Ditto.
4221 * config/sparclet-old.exp: Ditto.
4222 * config/slite.exp: Ditto.
4223 * config/sim.exp: Ditto.
4224 * gdb.base/funcargs.exp: Ditto.
4225
4226 * lib/gdb.exp:Remove references to gdb_spawn_id.
4227 (gdb_expect): Move to remote.exp.
4228
4229Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4230
4231 * config/monitor.exp: Detect the "Couldn't establish connection"
4232 message from GDB.
4233
4234Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4235
4236 * gdb.base/bitfields.exp: Use runto instead of explicit
4237 gdb_run_cmd/gdb_expect sequences.
4238
4239 * gdb.base/break.exp(text_next_with_recursion): Add match for
4240 gdb_expect call.
4241
4242 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4243 We also need to handle the "A program is being debugged already"
4244 prompt from gdb. Use gdb_test to set the baud rate.
4245
4246 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4247 to 20000. Really. I mean it.
4248
4249Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4250
4251 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4252 fails. If suppress_flag is set, skip perror message about not
4253 being able to send to GDB.
4254 (send_gdb): If suppress_flag is set, don't try to send commands to
4255 GDB.
4256 (gdb_expect): If suppress_flag is set, always fail immediately.
4257 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4258 (gdb_init): Call gdb_stop_suppressing_tests.
4259 (default_gdb_exit): Ditto.
4260 (default_gdb_start): Ditto.
4261
4262 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4263 gdb_stop_suppressing_tests as appropriate.
4264 * gdb.base/break.exp: Ditto.
4265 * gdb.base/callfuncs.exp: Ditto.
4266 * gdb.base/commands.exp: Ditto.
4267 * gdb.base/exprs.exp: Ditto.
4268 * gdb.base/funcargs.exp: Ditto.
4269 * gdb.base/list.exp: Ditto.
4270 * gdb.base/recurse.exp: Ditto.
4271 * gdb.base/scope.exp: Ditto.
4272 * gdb.base/structs.exp: Ditto.
4273 * gdb.c++/inherit.exp: Ditto.
4274
4275Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4276
4277 * config/vr4300.exp: New file.
4278
99707966
MC
4279 * gdb.*/*.exp: Call gdb_expect instead of expect.
4280
4281 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
4282
4283Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4284
4285 * lib/gdb.exp(gdb_init): New function.
4286
4287 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4288 for each individual variable set.
4289
4290 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4291 name.
4292
4293 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4294
4295 * gdb.base/scope.exp: Use gdb_test.
4296
4297 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4298 aborting; the testsuite driver will do that for us (see
4299 gdb_finish). Also, use gdb_test in a few more places.
4300
4301Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4302
4303 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4304
4305Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4306
4307 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4308 and "add_tests" are not at the same address.
4309
4310Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4311
4312 * gdb.base/ptype.exp: Use gdb_test.
4313
4314Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4315
4316 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4317 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4318 left in. No longer expect them to fail.
4319
4320 * gdb.stabs/*.mt; Deleted, no longer used.
4321 * gdb.stabs/configure.in: Remove references to target makefile
4322 frags.
4323 * gdb.stabs/configure: Rebuilt.
4324
4325 * gdb.disasm/*.mt: Deleted, no longer used.
4326 * gdb.disasm/configure.in: Remove references to target makefile
4327 frags. Use "sh3.s" as the unique filename for this directory.
4328 * gdb.disasm/configure: Rebuilt.
4329
4330 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4331 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4332 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4333
4334Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4335
4336 * config/udi.exp: Use mondfe,name instead of remote_host.
4337
4338Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4339
4340 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4341 a function with a watchpoint enabled on the mn10200.
4342
4343 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4344 before trying to create it!
4345
4346Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4347
4348 * config/vx.exp: Use hostname instead of netport.
4349
4350 * config/vxworks.exp: New file.
4351
4352 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4353
4354 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4355 gdb before assuming everything worked. Send a ^C if a timeout
4356 occurs.
4357
4358 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4359 $gdb_spawn_id directly.
4360 (gdb_run_cmd): Try _start as well as start. Use the target feature
4361 gdb,start_symbol as the symbol to start from when jumping.
4362
4363Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4364
4365 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4366 redundant) test.
4367
4368 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4369 it doesn't lose for 16bit integer systems.
4370
4371Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4372
4373 * gdb.fortran/types.exp: If the target doesn't support "double"
4374 data types, then expect "real" types to only be 4 bytes.
4375
4376 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4377 call tests if the target doesn't support inferior function calls.
4378
4379 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4380 in printf tests.
4381
4382Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4383
4384 * gdb.base/help.exp: Disable "help set", "help show", and
4385 "help support". Simplify regexp for "help stack".
4386
4387 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4388 to 60 seconds. Temporarily set match_max to 15000 around the
4389 "info copying" test.
4390
4391 * gdb.base/nodebug.exp: Don't try to do an inferior function
4392 call if the target doesn't support them.
4393 * gdb.base/printcmds.exp: Likewise.
4394 * gdb.base/setvar.exp: Likewise.
4395 * gdb.base/structs.exp: Likewise.
4396 * gdb.c++/templates.exp: Likewise.
4397 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
4398
4399 * gdb.base/recurse.exp: Enable for the mn10200.
4400
4401 * configure.in: Do configure gdb.stabs directory for *-*-elf
4402 targets.
4403 * configure: Rebuilt.
4404
4405 * gdb.base/break.exp: Check for gdb,noresults before testing
4406 exit status and/or results from the target.
4407 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
4408 * lib/gdb.exp: Remove old (now bogus) initialization of
4409 noinferior, noargs, noresults and nosignals.
4410
4411Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
4412
4413 * config/sh.exp: New file.
4414
4415 * config/slite.exp: Try to connect multiple times to the board
4416 before rebooting. Only send a "monitor run" if need_monitor_run
4417 is set.
4418
4419 * gdb.base/break.exp: Don't do the "stub continue" test if
4420 the target has gdb_stub set.
4421
4422 * gdb.base/callfuncs.exp: Increase the timeout.
4423
4424 * gdb.base/interrupt.exp: Don't even try to compile the testcase
4425 if the target has gdb,noinferiorio set.
4426
4427 * gdb.base/list.exp: Increase match_max to 10000 characters.
4428
4429 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
4430
4431 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
4432 target.
4433
4434 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
4435
4436Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
4437
4438 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
4439 trying to delete the copy of gdb. Catch the file delete so we
4440 don't die if the delete fails; also, the file should be copied to
4441 the host, not to the build.
4442
4443Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
4444
4445 * lib/gdb.exp(gdb_test): Surround the result pattern with
4446 parenthesis in case it contains multiple regexps separated
4447 with |.
4448
4449 * gdb.base/watchpoint.exp: Use gdb_test.
4450 * gdb.base/default.exp: Ditto.
4451
4452Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
4453
99707966 4454 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 4455
c906108c
SS
4456 * gdb.base/scope.exp: Use gdb_test.
4457 * gdb.c++/classes.exp: Ditto.
4458 * gdb.c++/inherit.exp: Ditto.
4459
4460Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
4461
4462 * gdb.base/crossload.exp: Don't use execute_anywhere, use
4463 remote_exec instead.
4464 * gdb.base/corefile.exp: Don't be ridiculous.
4465 * gdb.base/*.c: Add missing stub invocations.
4466
4467Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
4468
4469 * config/slite.exp: Miscellaneous fixes.
4470
4471 * lib/gdb.exp: Fix runto.
4472
4473 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
4474 the target.
4475
4476 * gdb.base/watchpoint.exp: Fix regexp.
4477
4478 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4479 close and wait commands, as the descriptor may now be
4480 invalid. Always call "remote_close host".
4481
4482Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
4483
4484 Major rewrite for testsuite revision.
beb998c6 4485
c906108c
SS
4486 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
4487 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
4488 instead of relying on spawn_id to always contain a valid
4489 spawn id.
4490 (get_compiler_info): New procedure to build the ${binfile}.ci
4491 file, instead of replicating this in N different places.
4492 (gdb_compile): New procedure.
beb998c6 4493
c906108c
SS
4494 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
4495 appropriate arguments) instead of compile. Use gdb_test in a lot
4496 more places. Use send_gdb instead of send. Always run gdb_start
4497 at the start of a testcase, as this is no longer done magically.
4498
4499 config/*-gdb.exp: Rename without the -gdb suffix.
4500
4501 config/mips.exp: Use remote_close instead of exit_remote_shell.
4502 config/monitor.exp: Use target_info instead of looking at
4503 baud, timeout, etc.
4504 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
4505
4506Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4507
4508 * gdb.c++/templates.exp (test_ptype_of_templates),
4509 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
4510 Update expect patterns for destructors and assignment operators
4511 to match corresponding c-typeprint.c changes.
4512 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
4513 to destructor breakpoint test, GDB should be able to set the
4514 destructor breakpoint without specifying arguments.
4515
4516Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
4517
4518 * gdb.threads/pthreads.exp: Change result for failure to compile due
4519 to lack of pthreads runtime support from an error to simply an
4520 unsupported test, per dejagnu standards.
4521
4522Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4523
4524 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
4525 where GDB exits to reduce pattern match time.
4526 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
4527
4528 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
4529
dc96c6c7 4530Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4531
4532 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
4533 * gdb.base/default.exp: ditto.
4534 * gdb.base/nodebug.exp: ditto.
4535 * gdb.base/printcmds.exp: ditto.
4536 * gdb.base/ptype.exp: ditto.
4537 * gdb.base/setvar.exp: ditto.
4538 * gdb.base/structs.exp: ditto.
4539 * gdb.base/setshow.c: Guard against uninitialized values of argc.
4540
4541Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
4542
4543 * configure, */configure: Rebuild with autoconf 2.12.
4544
4545Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
4546
4547 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
4548 use new i*86-pc-linux*-gnu quads.
4549 * gdb.base/corefile.exp: Ditto.
4550 * gdb.base/signals.exp: Ditto.
4551 * gdb.base/sigall.exp: Ditto.
4552 * gdb.base/interrupt.exp: Ditto.
4553
4554 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
4555 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
4556 RedHat 4.0.
beb998c6 4557
c906108c
SS
4558 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
4559 linux. This allows the test case to at least compile on latest
4560 linux, but still not run due to missing the threads runtime library.
4561
4562Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4563
4564 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
4565 directory to search gdb directory. Accept and step over conditional
4566 stack alignment code. Consume $prompt in failure cases.
4567 Reset timeout to $oldtimeout instead of some arbitrary value.
4568 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
4569 timeout problems with infinite stack backtraces.
4570 * gdb.base/ptype.exp (ptype struct link, union tu_link):
4571 Accept function parameters for linkfunc member.
4572
4573Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
4574
4575 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
4576 (CXXFLAGS): Remove, unreferenced.
4577 (B_OPTIONS): Add for -B options and add code to initialize with
4578 previous -B options and also add -B option to pick up cross compiled
4579 runtime.
4580 (TARGET_INCLUDES): Add for -I options and add code to initialize when
4581 doing cross compiles.
4582 (target_alias): Declare global.
4583 (xgcc): Set variable to full path of gcc in build tree. Use findfile
4584 to verify that gcc exists in build tree, and if so set CC to that
4585 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 4586
c906108c
SS
4587Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
4588
4589 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
4590 ptype test for anonymous union. Fixup testcase to match
4591 current gcc debug output.
4592
4593Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
4594
4595 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
4596 force argument to an unsigned long type.
4597
4598Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
4599
4600 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
4601 tests and anonymous union print/ptype tests.
4602 * gdb.base/list.exp (test_forward-search): Increase timeout by
4603 5 minutes for the "search extremely long line" case.
4604 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
4605 completely optional and that the pass/fail messages use the command as
4606 the message if that third arg is a null string.
4607 (gdb_test_exact): Arrange that a null string pattern means match a
4608 null string output rather than any output, which might include random
4609 errors.
4610 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
4611 backtrace test.
4612 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
4613 always failing and failure is now exposed by gdb.exp changes.
4614
4615Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
4616
4617 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
4618 weren't being noted.
4619
4620Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4621
4622 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
4623 * gdb.stabs/weird.exp: Remove v_comb xfails.
4624
dc96c6c7 4625Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4626
4627 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
4628 list.exp scope.exp watchpoint.exp]
4629 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 4630
dc96c6c7 4631Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4632
4633 * config/monitor.exp: Increase download timeout to 1000 seconds.
4634
dc96c6c7 4635Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4636
4637 * config/m32r.exp: Increase timeout to 120 seconds.
4638
4639Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
4640
4641 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
4642 and accept older ordering as obsolescent gcc or gdb.
4643 * gdb.c++/templates.exp: Ditto.
4644 * gdb.c++/virtfunc.exp: Ditto.
4645
4646Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
4647
4648 * gdb.base/coremaker.c: Add code to mmap some data so we
4649 can check that it ends up in the core file.
4650 * gdb.base/corefile.exp: Add test to read mmapped data
4651 from core file.
4652
dc96c6c7 4653Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4654
4655 * config/m32r.exp: New file.
4656
4657Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
4658
4659 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
4660 that cflags can contains -gstabs, and work correctly for other tests.
4661
dc96c6c7 4662Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4663
4664 * gdb.base/setshow.exp: New file, tests show and set.
4665 * gdb.base/setshow.c: New file, tests show and set.
4666 * gdb.base/help.exp: Add test for help set|show annotate.
4667 * gdb.base/default.exp: Add test for set|show annotate.
4668
4669Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
4670
4671 * testsuite/gdb.base/break.exp: Make backtrace from factorial
4672 errors unique.
4673 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
4674 explicitly.
4675
4676Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
4677
4678 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
4679 and width commands. This is done elsewhere.
4680 * (gdb_start): Don't call gdb_start_sim here. That's already
4681 done in gdb_load. This fixes lots of failures in default.exp.
4682
4683Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
4684
4685 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
4686 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
4687 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
4688 in the same we we treat other failures (since it may be an expected
4689 condition), rather than as an error.
4690 * gdb.base/signals.exp (test_handle_all_print): Revert back to
4691 old test format.
4692
4693Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
4694
4695 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
4696 (distclean maintainer-clean realclean): No need to remove files
4697 twice. Nuke the duplicates.
4698 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 4699 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
4700 Remove config.h along with other config files.
4701
4702Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
4703
4704 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
4705 "p func1 ()" and note that rests of tests are skipped.
4706 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
4707 setup_xfails for "print func2::coremaker_local".
4708 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
4709 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
4710 affected by the previous run test.
4711 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
4712 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
4713 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
4714 "pass int powerset tuple" and "pass modeless int powerset tuple".
4715 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
4716 "real write 4" and "real write 8".
4717 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
4718 setup_xfails for "print vs1 after tuple assign 2",
4719 "print \$i after tuple assign 2", and
4720 "print vs2 after tuple assign 2".
4721 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
4722 meaningful error message and return -1 so the caller can
4723 suppress further tests and avoid a cascade of errors.
beb998c6 4724
c906108c
SS
4725Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
4726
4727 * gdb.base/a1-selftest.exp: Tweak tests to account for new
4728 format for printing version.
4729 * gdb.base/default.exp: Ditto.
4730 * gdb.base/interrupt.exp: Fix problem with cascade of
4731 errors if child process dies while calling a function.
beb998c6 4732
c906108c
SS
4733Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
4734
4735 * Makefile.in (VPATH): Add
4736 * Makefile.in (Makefile, config.status): Fix rules so things get
4737 remade when necessary.
4738
4739Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
4740
4741 * Makefile.in (just-check): Add path to sibling expect dir
4742 to environment variable specified by RPATH_ENVVAR.
4743
4744Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
4745
4746 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
4747 (just-check): Add shared library paths for libstdc++, tk,
4748 tcl, bfd, and opcodes to the environment variable specified
4749 in RPATH_ENVVAR.
4750 * configure.in: Add support to recognize --enable-shared flag
4751 and generate correct value for RPATH_ENVVAR.
4752 * configure: Regenerated with autoconf.
4753
4754Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
4755
4756 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
4757 include all osf versions.
4758 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
4759 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
4760 when target is linux. When failing to build pthreads test
4761 executable, give more meaningful message.
4762 * gdb.threads/pthreads.c: Hpux also uses old definition of second
4763 arg for pthread_create.
beb998c6 4764
c906108c
SS
4765Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
4766
4767 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
4768 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
4769 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
4770 and -lpthreads (everybody else).
4771 (test_startup): Fail gracefully if threads are not supported.
4772 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
4773 "p/c array_index("abcdef",2)" when not gcc compiled.
4774 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
4775 "print func2::coremaker_local" when not gcc compiled.
4776 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
4777 "ptype on opaque struct tagname (statically)",
4778 "ptype on opaque struct tagname (dynamically) 1", and
4779 "ptype on opaque struct tagname (dynamically) 2"
4780 for not compiled with gcc.
4781 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
4782 backtrace when compiled with gcc.
beb998c6 4783 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
4784 than always return success.
4785
4786Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
4787
4788 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
4789
4790Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
4791
4792 * gdb.base/structs.exp: Undo last change.
4793
4794Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
4795
4796 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
4797 encapsulate all the steps/nexts done during self test, starting
4798 at main, and makes them less sensitive to optimization issues.
4799 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
4800 signal handler" test.
4801 * gdb.threads/pthreads.exp: Only run this for native configs.
4802 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
4803 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
4804 tests.
4805 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
4806 for "runto test_calls(void)" test.
beb998c6 4807
c906108c
SS
4808Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
4809
4810 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
4811 and don't expect address info in breakpoint confirmations.
4812
4813Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
4814
4815 * gdb.base/list.exp (test_forward_search): Increase timeout
4816 temporarily by 60 seconds for searching extremely long line,
4817 and then reset to old value when done. Increase expect input
4818 buffer to 10000.
4819
4820Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
4821
4822 * gdb.base/list.exp (test_forward_search): Fix to handle very
4823 long source line without overflowing expect's input buffer.
4824
4825Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
4826
4827 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
4828 "buffer_full".
4829
4830 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
4831 "buffer_full".
4832
4833 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
4834 "buffer_full".
4835
4836 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
4837 "buffer_full".
4838
4839Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
4840
4841 * configure.in (configdirs): Add gdb.threads.
4842 * configure: Regenerated with autoconf.
4843 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
4844 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
4845 * gdb.threads/configure: New, generated with autoconf.
beb998c6 4846
c906108c
SS
4847Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
4848
4849 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
4850
4851Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
4852
4853 * gdb.base/signals.exp (test_handle_all_print): Test separately for
4854 each signal's status in the output of "handle all print".
4855 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
4856 the \r\n sequence that immediately precedes the gdb prompt.
4857 * gdb.base/a1-selftest.exp: Save original timeout and restore
4858 after test.
4859
4860Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
4861
4862 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
4863 symbol.
4864
4865Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4866
4867 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
4868
4869Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
4870
4871 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
4872 timeout by 60 seconds.
4873
4874Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
4875
4876 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
4877 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
4878 error return.
4879
4880Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
4881
4882 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
4883 gdb initialization, also report how long dejagnu waited. Restore
4884 old timeout before doing error return. Temporarily increase timeout
4885 by 3 minutes to allow for slow startups over heavy NFS use.
4886
4887Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
4888
4889 * lib/gdb.exp: Report timeout value for verbosity level 2.
4890 * config/gdbserver.exp: Ditto.
4891 * config/hppro.exp: Ditto.
4892 * config/mips-gdb.exp: Ditto.
4893 * config/monitor.exp: Ditto.
4894 * config/netware.exp: Ditto.
4895 * config/sim-gdb.exp: Ditto.
4896 * config/slite-gdb.exp: Ditto.
4897 * config/udi-gdb.exp: Ditto.
4898 * config/unix-gdb.exp: Ditto.
4899 * config/vx-gdb.exp: Ditto.
4900 * gdb.base/a1-selftest.exp: Ditto.
4901 * gdb.base/a2-run.exp: Ditto.
4902 * gdb.base/break.exp: Ditto.
4903 * gdb.base/corefile.exp: Ditto.
4904 * gdb.base/list.exp: Ditto.
4905 * gdb.base/recurse.exp: Ditto.
4906 * gdb.base/scope.exp: Ditto.
4907 * gdb.base/signals.exp: Ditto.
4908
4909Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
4910
4911 * gdb.threads/Makefile.in (docdir): Removed.
4912
4913Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
4914
4915 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 4916 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 4917 @srcdir@.
beb998c6 4918 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
4919 autoconf 2.5 or higher.
4920 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
4921
4922Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
4923
4924 * configure: Regenerated.
4925 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
4926 avoid name clashes with SunOS headers.
4927
4928Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
4929
4930 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
4931
4932Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
4933
4934 * gdb.base/callfuncs.exp: Finish last change -- make sure the
4935 prototype information ends up in the compiler info file.
4936
4937Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
4938
4939 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
4940 attempting to regenerate it. Eliminate use of a temporary file
4941 and just generate the info file directly. Source it immediately,
4942 for consistency of use.
4943 * gdb.base/corefile.exp: Ditto
4944 * gdb.base/exprs.exp: Ditto.
4945 * gdb.base/funcargs.exp: Ditto.
4946 * gdb.base/langs.exp: Ditto.
4947 * gdb.base/list.exp: Ditto.
4948 * gdb.base/mips_pro.exp: Ditto.
4949 * gdb.base/nodebug.exp: Ditto.
4950 * gdb.base/opaque.exp: Ditto.
4951 * gdb.base/ptype.exp: Ditto.
4952 * gdb.base/scope.exp: Ditto.
4953 * gdb.base/setvar.exp: Ditto.
4954 * gdb.base/signals.exp: Ditto.
4955 * gdb.base/whatis.exp: Ditto.
4956 * gdb.c++/templates.exp: Ditto.
4957 * gdb.c++/virtfunc.exp: Ditto.
4958 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
4959 whether or not to add -lstdc++ to the compile command line args.
4960
4961Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4962
4963 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
4964 it got fixed by the recent lookup_minimal_symbol_by_pc change.
4965 Increase timeout, a lot of single stepping might be needed if the
4966 target has no hardware watchpoints.
4967
4968Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
4969
4970 * gdb.base/break.exp: Ignore compiler warnings when compiling
4971 break.c.
4972 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
4973 * gdb.base/default.exp: Add h8300 xfails. Handle messages
4974 from remote-sim.
4975 * gdb.base/exprs.exp: Add h8300 xfails.
4976 * gdb.base/funcargs.exp: Likewise.
4977 * gdb.base/nodebug.exp: Likewise.
4978 * gdb.base/printcmds.exp: Likewise.
4979 * gdb.base/ptype.exp: Likewise.
4980 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
4981 h8300 xfails.
beb998c6 4982 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
4983 on the h8300.
4984 * gdb.base/funcargs.c: Explicitly make last constant argument to
4985 call_after_alloca_subr an unsigned long type.
4986 * gdb.base/return.c: Include stdio.h.
4987
4988Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
4989
4990 * config/abug.exp: New file for the older Motorola Bug monitor
4991 that runs on the mvme13x series VME boards.
4992 * config/monitor.exp: Use the new config array for target settings
4993 if they exist.
4994
4995Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
4996
4997 * sim-gdb.exp: Make the SH simulator allocate less space when
4998 it is targeted.
4999
5000Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5001
5002 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5003 test.
5004
5005Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5006
5007 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5008 "rs6000-*-*" for "list function in include file" when gcc compiled.
5009 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5010 for "p ctable1[120]".
5011 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5012 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5013 Remove setup_xfail for "rs6000-*-*" for
5014 "print 'scope0.c'::filelocal before run".
5015 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5016 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5017 since some compilers don't allow both options to be given
5018 on the same command line. Create object file and move it.
beb998c6 5019
c906108c
SS
5020Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5021
5022 * gdb.base/corefile.exp: Always regenerate the core file, since
5023 we always regenerate the coremaker program. Detect special case
5024 where registers cannot be read from core file.
beb998c6 5025
c906108c
SS
5026Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5027
5028 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5029 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5030 * gdb.c++/templates.exp: Only match on basename of file since
5031 some formats like xcoff don't encode directory information.
5032 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5033 and rs6000 AIX xcoff targets.
5034 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5035 * configure: Regenerate.
5036 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5037 here, rather than in distclean.
beb998c6 5038
c906108c
SS
5039Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5040
5041 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5042 defined, and use it to compile the test case with -O2. The
5043 native compilation still uses no optimization.
5044 * gdb.base/mips_pro.c: Remove inline assembly code since
5045 it is compiled PIC by default, which results in assembler
5046 warnings that make the testsuite think the compilation
5047 was unsuccessful.
5048
5049Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5050
5051 * gdb.c++/misc.exp: Add note to message for
5052 "print s.a for foo struct" that this is a known gcc 2.7.2
5053 and earlier bug.
5054
5055Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5056
5057 * gdb.base/break.exp: Fix pattern for matching "Delete all
5058 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5059 setup_xfail for deleting all breakpoints test. Fix various
5060 timeout messages to include "(timeout)".
5061 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5062 for "p t_float_values2(3.14159,float_val2)".
5063 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5064 for "continue to call2g" when gcc compiled.
5065 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5066 "up to foo in langs.exp", "show language at foo in langs.exp",
5067 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5068 and "show language at fsub in langs.exp".
5069 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5070 "list line 1 in include file", "list message for lines past EOF",
5071 "list function in include file", "list list0.h:foo", and
5072 "list filename:function; nonexistant function".
5073 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5074 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5075 and "ptype t_char_array" to be for native cc only.
beb998c6 5076
c906108c
SS
5077Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5078
beb998c6 5079 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5080 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5081 "print func2::coremaker_local", and "backtrace in corefile.exp".
5082
5083Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5084
5085 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5086 "bt in signals.exp". This problem only appears when running
5087 the testsuite, and then only intermittently.
5088
5089Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5090
5091 * gdb.base/return.exp (return_tests): Differentiate between
5092 two tests of continuing.
5093
5094Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5095
5096 * */Makefile.in (maintainer-clean): Remove config.log.
5097 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5098 * gdb.c++/Makefile.in (PROGS): Add inherit.
5099 (clean): Remove *.ci.
5100
5101Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5102
5103 * gdb.c++/misc.cc: Add test code from Mike Stump.
5104 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5105
5106Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5107
5108 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5109 to "alpha-*-osf2*" and add comment.
5110 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5111 setup_xfail for "step over execarg initialization" and
5112 "step over corearg initialization".
5113 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5114 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5115 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5116 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5117 "print func2::coremaker_local", and "backtrace in corefile.exp".
5118 * gdb.base/signals.exp: Build and source signals.ci.
5119 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5120 to be for gcc only.
5121 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5122
c906108c
SS
5123Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5124
5125 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5126 Feb 3 procfs.c change.
5127
5128Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5129
5130 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5131
5132Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5133
5134 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5135 from dejagnu's apparent default of 10 seconds, which gives random
5136 results when running the tests over NFS on moderately loaded systems.
5137 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5138
5139Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5140
5141 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5142 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5143 result reports.
5144
5145Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5146
5147 * configure.in (CY_AC_PATH_TCLH): Remove.
5148 * configure: Regenerate.
5149
5150Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5151
5152 * gdb.c++/Makefile.in (clean): Add missing '{'.
5153
5154Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5155
5156 * lib/gdb.exp: Provide a default value for noinferior.
5157
5158 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5159 Load libgloss.exp.
5160
5161Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5162
5163 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5164 the executable, not the .o to run the tests from.
5165
5166Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5167
5168 * gdb.base/break.exp: Don't test for program exit or exit status
5169 if $noresults if nonzero.
5170 * gdb.base/langs.exp: Likewise.
5171 * gdb.base/watchpoint.exp: Likewise.
5172
5173 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5174 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5175 trying to compile the testcase.
5176
5177Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5178
5179 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5180 * gdb.base/signals.exp (continue to handler): Likewise.
5181
5182Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5183
5184 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5185
5186 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5187
5188Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5189
5190 * gdb.base/corefile.exp: Recognize "not found" as failure
5191 when trying to determine if a core file was generated.
5192 If no core file was generate the first time, try again without
5193 the ulimit -c to work around braindamaged shells.
5194
5195Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5196
5197 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5198 [] tests with "test" and enclose string in quotes.
5199 * gdb.stabs/configure: Rebuild
beb998c6 5200
c906108c
SS
5201Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5202
5203 Changes in sync with expect:
5204 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5205 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5206 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5207 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5208 argument to AC_REQUIRE.
5209 * configure: Regenerated.
5210
5211Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5212
5213 * gdb.base/corefile.exp: When generating a core, discard any
5214 error messages about ulimit not found and the "core dumped"
5215 message from the shell that runs the coredumper.
5216
5217Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5218
5219 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5220
5221 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5222 which sed script to run. Expect failure for v_comb test
5223 on PA targets too.
beb998c6 5224
c906108c
SS
5225Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5226
5227 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5228 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5229
5230Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5231
5232 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5233 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5234 "sparc-sun-solaris*" xfails for "p v_comb".
5235 * lib/gdb.exp (default_gdb_start): Fix typo.
5236 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5237 messages to not include the full program name that caused
5238 the core dump since some systems (such as solaris) apparently
5239 truncate this path to about 80 characters.
5240 When generating a core file first try increasing the core file
5241 size limit to unlimited since some systems may default it to
5242 zero, and it is harmless to try it. Move the test for failing
5243 to generate a core file to where it will actually get executed.
5244 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5245 new gdb result from g++ debug info improvements and make old
5246 pattern obsolescent. Also account for size_t differences
5247 (may be int or long).
5248 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5249 initialization before function call is placed in the delay slot
5250 and thus appears to be skipped over by commands such as "next".
5251
5252Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5253
5254 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5255
5256Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5257
5258 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5259 input source file; fix code to compile test to deal with this
5260 convention.
5261 * gdb.c++/*.exp: Likewise.
5262
5263Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5264
5265 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5266 "bt in signals.exp".
5267
5268Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5269
5270 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5271 "step over execarg initialization" and
5272 "step over corearg initialization".
5273
5274Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5275
5276 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5277 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5278
5279Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5280
5281 From Rob Savoye (rob@poseidon.cygnus.com)
5282 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5283 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5284 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5285 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5286 configure.in}: Major reworking for autoconfig.
5287 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5288 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5289 New files.
5290 * config/unix-gdb.exp: Make GDB global.
5291 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5292 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5293 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5294 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5295 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5296 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5297 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5298 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5299 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5300 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5301 pr-8136.exp, result.exp, string.exp, tuples.exp},
5302 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5303 to returns as necessary, arrange for test to compile own testcase
5304 executable.
5305 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 5306
c906108c
SS
5307Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5308
5309 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5310 clear_xfail at end of test which might not call either pass or fail.
5311 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5312 "backtrace through signal handler".
5313
5314Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5315
5316 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5317 continuing from a job control stop signal.
5318 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5319
5320Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5321
5322 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5323 * gdb.base/corefile.exp: Likewise.
5324 * gdb.base/funcargs.exp: Likewise.
5325
5326Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5327
5328 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5329 * config/monitor.exp: Add support for setting baud rate.
5330
5331Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5332
5333 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5334 i*86-*-linux* xfails for "backtrace through signal handler".
5335 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5336 "print func2::coremaker_local".
5337 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5338 alpha-dec-osf2* xfail for
5339 "delete all breakpoints when none".
5340
5341Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5342
5343 * gdb.base/break.exp: Change test that deletes all breakpoints
5344 when no user breakpoints are installed. A post 4.15 change
5345 causes gdb to no longer prompt in this case.
5346
5347Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5348
5349 * gdb.base/return.exp (return_tests): Change xfail for test
5350 "correct value returned double test" to stop xfailing at
5351 Solaris 2.5. Apparently the bug has been fixed.
5352
5353Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5354
5355 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5356 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5357
5358Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5359
5360 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5361 * gdb.disasm/hppa.s: Corresponding changes.
5362
5363Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5364
5365 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5366 makefile fragment.
5367 * config/mt-hpux: Deleted.
5368
5369Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5370
beb998c6 5371 * Many files: When warning about suppressed tests due to a
c906108c
SS
5372 nonexistant test binary, avoid incrementing the warning count.
5373
5374Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5375
5376 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 5377
c906108c
SS
5378Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5379
5380 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5381 "sparc-*-solaris2*".
5382
5383Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5384
5385 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5386 Add global and local variables and initialize them.
5387 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5388 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5389 extracts the file name and terminating signal from the core file.
5390 * TODO: Remove note about tests for correct mapping of corefile.
5391 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
5392 from optimizing it away.
5393 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
5394 handles common blocks.
5395
5396Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
5397
5398 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
5399 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
5400
5401Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
5402
5403 * Makefile.in (maintainer-clean): New target, synonym for
5404 realclean.
5405 * gdb.base/Makefile.in (maintainer-clean): Likewise.
5406 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
5407 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
5408 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
5409 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
5410 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
5411
5412Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
5413
5414 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
5415 xfails when not gcc compiled for "print foo::funclocal".
5416 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
5417 "print foo::funclocal at foo",
5418 "print 'scope1.c'::foo::funclocal at foo",
5419 "print foo::funclocal_bss at foo",
5420 "print 'scope1.c'::foo::funclocal_bss at foo",
5421 "print foo::funclocal_ro at foo",
5422 "print 'scope1.c'::foo::funclocal_ro at foo",
5423 "print bar::funclocal at foo" and
5424 "print 'scope1.c'::bar::funclocal at foo".
5425 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
5426 gcc compiled for "print foo::funclocal at bar".
5427 Expand all messages to ensure that they identify that
5428 the test is at bar().
5429 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
5430 gcc compiled for:
5431 "ptype on opaque struct pointer (statically)",
5432 "ptype on opaque struct tagname (statically)",
5433 "ptype on opaque struct pointer (dynamically) 1",
5434 "ptype on opaque struct tagname (dynamically) 1",
5435 "ptype on opaque struct pointer (dynamically) 2" and
5436 "ptype on opaque struct tagname (dynamically) 2
5437 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
5438 gcc compiled for:
5439 "p datalocal"
5440 "whatis datalocal",
5441 "ptype datalocal",
5442 "p bsslocal",
5443 "whatis bsslocal", and
5444 "ptype bsslocal".
5445 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
5446 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
5447 when not gcc compiled.
5448 * gdb.base/funcargs.exp (float_and_integral_args): Add
5449 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
5450 compiled.
5451 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
5452 "backtrace from call6a" when not gcc compiled.
5453 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
5454 "backtrace from call7a" when not gcc compiled.
5455 * gdb.base/callfuncs.exp (do_function_calls):
5456 Add "hppa*-*-hpux*" xfail when not gcc compiled for
5457 "p t_char_array_values(char_array_val2,char_array_val1)",
5458 "p t_char_array_values(char_array_val1,char_array_val2)",
5459 "p t_char_array_values("carray 1","carray 2")",
5460 "p t_char_array_values("carray 1",char_array_val2)",
5461 "p t_char_array_values(char_array_val1,"carray 2")",
5462 "p sum_args(1,{2})",
5463 "p sum_args(2,{2,3})",
5464 "p sum_args(3,{2,3,4})",
5465 "p sum_args(4,{2,3,4,5})"
5466 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
5467 "backtrace in corefile.exp" when not gcc compiled.
5468
5469Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5470
5471 * gdb.base/signals.exp: Rewrite `handle all print' test as
5472 a procedure. Accept blanks or TABs as whitespace, increase
5473 timeout and expect input buffer size for the large output
5474 from the command. Remove "i*86-*-bsdi2.0" xfail.
5475
5476Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5477
5478 * gdb.base/setvar.exp: Add new testcases for truncation when
5479 assigning invalid values to bitfields.
5480
5481Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
5482
beb998c6 5483 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
5484 mips-sgi-irix* xfail for
5485 "call inferior func with struct - returns char *"
5486 and fix test so that an optional (unsigned char *) cast is
5487 accepted in the result.
5488
5489Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
5490
5491 * gdb.base/funcargs.exp (float_and_integral_args): Remove
5492 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5493 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
5494 * gdb.base/signals.exp: Remove duplicate "handle all print" test
5495 that accidentally got checked in.
5496
5497Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
5498
beb998c6 5499 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
5500 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
5501 compiled test.
5502 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
5503 Add mips-sgi-irix5* xfail for not gcc compiled.
5504 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
5505 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
5506 "p top", "whatis top", "p middle", and "whatis middle".
5507 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
5508 "whatis signed char" for not gcc compiled.
5509 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
5510 "set variable signed char=-1 (-1)" and
5511 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
5512 * gdb.base/funcargs.exp (float_and_integral_args):
5513 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
5514 Add mips-sgi-irix* xfail when not gcc compiled for
5515 "continue to call2b".
5516 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
5517 "continue to call2g".
5518 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
5519 "backtrace from call6a"
5520 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
5521 "backtrace from call7k".
5522 Add mips-sgi-irix5* xfail when not gcc compiled for
5523 "backtrace from call7a".
5524 (localvars_after_alloca): Fix gdb_test cmds for
5525 "print * after runto ...".
5526 Remove rs6000-*-* xfails for
5527 "print i after runto localvars_after_alloca" and
5528 "print l after runto localvars_after_alloca"
5529 for all compilers.
5530 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
5531 when not compiled with gcc, for:
5532 "print signed char == (minus)",
5533 "print signed char != (minus)",
5534 "print signed char < (minus)",
5535 "print signed char > (minus)".
5536 * gdb.base/callfuncs.exp (do_function_calls):
5537 Add mips-sgi-irix* xfail, when compiled with native compiler, for
5538 "call inferior func with struct - returns char *".
beb998c6 5539 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
5540 "correct value returned double test" to include Solaris 2.4.
5541 * gdb.base/funcargs.exp (float_and_integral_args):
5542 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 5543
c906108c
SS
5544Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5545
5546 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
5547 enumeration bitfields if compiling with GNU C.
5548 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
5549 to empty' prompt.
5550
5551Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
5552
5553 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
5554 test for PRO targets.
5555
5556 * gdb.base/funcargs.exp: Avoid ever setting more than 8
5557 breakpoints in the inferior at any given time by making
5558 two groups of breakpoints for call2*, call6* and call7*
5559 tests.
5560
5561Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5562
5563 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
5564 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
5565 from optimizing it away.
5566 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
5567 "call inferior func with struct".
5568
5569Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
5570
5571 * configure.in: Only configure gdb.chill for particular targets.
5572
5573Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
5574
5575 * gdb.base/Makefile.in: Add action to .c.o transformation
5576 rule that generates a .ci file for each .o file and remove
5577 explicit .c.o rules except for callfuncs.o.
5578 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
5579 generates a .ci file for each .o file and remove explicit
5580 .cc.o rules.
5581 (clean): Remove *.tmp *.ci files.
5582 (EXECUTABLES): Remove templ-info.exp.
5583 * gdb.base/compiler.c: New file.
5584 * gdb.c++/compiler.cc: New file
5585 * gdb.base/scope.exp: Source gdb.base/scope.ci.
5586 Change rs6000-*-* xfail for
5587 "print 'scope0.c'::filelocal_ro" and
5588 "print 'scope1.c'::filelocal" and
5589 "print 'scope1.c'::filelocal_bss" and
5590 "print 'scope1.c'::filelocal_ro" and
5591 "print 'scope1.c'::foo::funclocal" and
5592 "print 'scope1.c'::foo::funclocal_ro" and
5593 "print 'scope1.c'::bar::funclocal" and
5594 "print 'scope0.c'::filelocal_ro" and
5595 "print 'scope1.c'::filelocal at foo" and
5596 "print 'scope1.c'::filelocal_bss at foo" and
5597 "print 'scope1.c'::filelocal_ro at foo" and
5598 "print 'scope1.c'::foo::funclocal at foo" and
5599 "print 'scope1.c'::foo::funclocal_bss at foo" and
5600 "print 'scope1.c'::foo::funclocal_ro at foo" and
5601 "print 'scope1.c'::bar::funclocal at foo" and
5602 "print 'scope0.c'::filelocal_ro" and
5603 "print 'scope1.c'::filelocal" and
5604 "print 'scope1.c'::filelocal_bss" and
5605 "print 'scope1.c'::filelocal_ro" and
5606 "print 'scope1.c'::foo::funclocal" and
5607 "print 'scope1.c'::foo::funclocal_bss" and
5608 "print 'scope1.c'::foo::funclocal_ro" and
5609 "print 'scope1.c'::bar::funclocal" and
5610 "print 'scope1.c'::bar::funclocal_bss"
5611 to only be xfail'd when not compiled with gcc.
beb998c6 5612 Add rs6000-*-* xfail for
c906108c
SS
5613 "print 'scope0.c'::filelocal_bss before run"
5614 when compiled with gcc.
5615 (test_at_main): Add rs6000-*-* xfail for
5616 "print filelocal_ro in test_at_main"
5617 when compiled with gcc.
5618 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 5619 Add rs6000-*-aix* xfail for
c906108c
SS
5620 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
5621 "ptype t_char_array", not compiled with gcc.
5622 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
5623 xfail for "list foo (in include file)" when gcc compiled.
5624 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
5625 (integral_args): Add rs6000-*-* xfail for
5626 "run to call0a" if not compiled with gcc.
5627 (unsigned_integral_args): Add rs6000-*-* xfail for
5628 "run to call1a" if not compiled with gcc.
5629 (float_and_integral_args): Add rs6000-*-* xfail for
5630 "run to call2a" if not compiled with gcc and for
5631 "continue to call2b" for any compiler.
5632 Add rs6000-*-* xfail to
5633 "print f1 after run to call2a" for gcc compiled.
5634 (discard_and_shuffle): Add rs6000-*-* xfail for
5635 "run to call6a".
5636 (shuffle_round_robin): Add rs6000-*-* xfail for
5637 "backtrace from call7a" if not compiled with gcc.
5638 Add rs6000-*-* xfail for
5639 "backtrace from call7b" if compiled with gcc.
5640 (call_after_alloca): Add rs6000-*-* xfail for
5641 "print c in call_after_alloca" and
5642 "print s in call_after_alloca" and
5643 "backtrace from call_after_alloca_subr"
5644 if not compiled with gcc.
5645 (localvars_in_indirect_call): Add rs6000-*-* xfail for
5646 "print c in localvars_in_indirect_call" and
5647 "print c in localvars_in_indirect_call" and
5648 "backtrace in indirectly called function" and
5649 "stepping into indirectly called function"
5650 if not compiled with gcc.
5651 (localvars_after_alloca): Add rs6000-*-* xfail for
5652 "print c after runto localvars_after_alloca" and
5653 "print s after runto localvars_after_alloca" and
5654 "print i after runto localvars_after_alloca" and
5655 "print l after runto localvars_after_alloca"
5656 for all compilers.
5657 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
5658 than whatis-info.exp.
5659 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
5660 than opaque-info.exp.
5661 Setup rs6000-*-* xfail for
beb998c6 5662 "ptype on opaque struct pointer (statically)" and
c906108c
SS
5663 "ptype on opaque struct pointer (dynamically)" when
5664 not compiled with gcc.
5665 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
5666 rather than callf-info.exp.
5667 (do_function_calls): Add clear_xfail for rs6000-*-* for
5668 "p t_float_values2(3.14159,float_val2)". Seems to work
5669 fine there, both with xlc and gcc. Need to find out what
5670 it is doing right and fix other platforms.
5671 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
5672 "call inferior func with struct - returns int",
5673 "call inferior func with struct - returns long",
5674 "call inferior func with struct - returns float",
5675 "call inferior func with struct - returns double",
5676 "call inferior func with struct - returns char *",
5677 but only if not gcc compiled (presumes xlc compiled).
5678 Change rs6000-*-* xfails for
5679 "call inferior func with struct - returns char" and
5680 " call inferior func with struct - returns short" to only
5681 xfail if not using gcc.
5682 (clean mostlyclean): Remove *.ci and *.tmp files.
5683 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
5684 than templ-info.exp.
5685 * gdb.base/langs.exp: Source gdb.base/langs.ci.
5686 Add rs6000-*-* xfail for "up to foo in langs.exp"
5687 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
5688 when not gcc compiled.
beb998c6 5689
c906108c
SS
5690Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5691
5692 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
5693 * gdb.base/corefile.exp: Likewise.
5694 * gdb.base/list.exp: Likewise.
5695 * gdb.base/scope.exp: Likewise.
5696 * gdb.base/siganls.exp: Likewise.
5697
5698 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
5699 compiler output.
5700 * gdb.base/whatis.exp: Likewise.
5701
5702Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
5703
5704 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
5705 failure (opcode table has been fixed to match reality).
5706
5707Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
5708
5709 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
5710 "call inferior func with struct - returns char",
5711 "call inferior func with struct - returns short"
5712
5713 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
5714 "print 'scope0.c'::filelocal at main",
5715 "print 'scope0.c'::filelocal_bss in test_at_main",
5716 "print 'scope0.c'::filelocal at foo",
5717 "print 'scope0.c'::filelocal_bss in test_at_foo",
5718 "print 'scope0.c'::filelocal at bar",
5719 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 5720
c906108c
SS
5721 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
5722 in source file 1". This bug seems to have been fixed with both
5723 gcc and native cc (was native assembler bug?).
5724
5725Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
5726
5727 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
5728 "backtrace through signal handler" to "i*86-*-sysv4*".
5729 * gdb.base/signals.exp: Add xfail for "'next' behaved as
5730 continue" case. Add "known SVR4 bug" to fail message.
5731 Add "i*86-*-bsdi2.0" xfail for "handle all print".
5732 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
5733 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
5734 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
5735 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
5736 "up to foo in langs.exp", "show language at foo in
5737 langs.exp", "up to cppsub_ in langs.exp", "show
5738 language at cppsub_ in langs.exp", "up to fsub in
5739 langs.exp", and "show language at fsub in langs.exp".
5740 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
5741 "bactrace in corefile.exp".
5742 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
5743 "call inferior function with struct - returns float" and
5744 "call inferior function with struct - returns double".
beb998c6 5745
c906108c
SS
5746Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
5747
5748 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
5749 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
5750 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
5751 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
5752
5753Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
5754
5755 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
5756 (or overriden) "CHILL" macro rather then bare "gcc".
5757 Also look for ../../gcc/xgcc since that is what we will
5758 actually need, not "Makefile". Remove following assignment
5759 of CHILL to CHILL_FOR_TARGET because that results in
5760 recursive definition.
5761
5762Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
5763
5764 * gdb.base/corefile.exp: Change xfail for backtrace in
5765 corefile.exp from linuxaout to all linux.
5766 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
5767 cases where we miss the breakpoint at the signal handler
5768 for some reason. Setup xfail for linuxoldld/linuxaout and
5769 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
5770 hitting SIGURG breakpoint.
5771 * gdb.base/signals.exp: Setup xfail for "next" acting like
5772 continue to add linuxoldld. Setup xfail for all linux for
5773 "next to handler in signals_tests_1", "backtrace in
5774 signals_tests_1", "continue to func1", "pass SIGUSR1",
5775 and continue to handler".
5776
5777Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
5778
5779 * Update all FSF addresses except those in COPYING* files.
5780
5781Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
5782
5783 * gdb.base/a2-run.exp: Change messages to be more explicit about
5784 the status of args, and quote binfile in results.
5785
5786Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
5787
5788 * gdb.base/callfuncs.exp: Add tests for passing structs to
5789 inferior functions and return various types.
5790 * gdb.base/callfuncs.c: Add functions to receive a struct
5791 and return a member of the struct, in various types.
5792
5793Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5794
5795 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
5796
5797Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
5798
5799 * config/vxworks29k.exp: New file, sources vxworks.exp.
5800
5801Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5802
5803 * config/gdbremote.exp: New file. Testing framework using
5804 gdbserver.
5805
5806Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
5807
5808 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
5809 "call function when asleep" and "send end of file".
5810 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
5811 for "backtrace in corefile.exp".
5812 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
5813 for "backtrace through signal handler".
5814 * gdb.base/corefile.exp: Make sure we actually generate a core file
5815 before trying the core tests. Some systems allow the user to suppress
5816 generation of core files and default to that (linux for example).
5817 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
5818 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
5819
5820Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5821
5822 * gdb.threads: New directory with some crude multi-threaded
5823 gdb tests (step.exp and step2.exp).
5824 * config/mt-lynx (STEP_EXECUTABLE): Define.
5825 (THREADFLAGS): Define.
5826
5827Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
5828
5829 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
5830
5831 * gdb.base/signals.exp: Disable whole file for lynx until
5832 further notice.
5833
5834 * gdb.base/signals.exp: xfail test where "next" acts like
5835 "continue" for lynx.
5836
5837 * gdb.base/interrupt.exp: xfail test for calling function while
5838 inferior is asleep for lynx.
5839
5840 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
5841 than one cr-lf after each command.
5842
5843Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5844
5845 * configure.in: Reinstate setting of stabsdirs variable, fix
5846 typo in setting up configdirs for native builds.
5847
5848 * gdb.base/return.exp: Fix typo in return double test.
5849 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
5850 compiler from optimizing them away.
5851
5852Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
5853
5854 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
5855 sequences to be echo'd by gdb when using gdb_test.
5856 * gdb.chill/chexp.exp: Likewise.
5857 * gdb.fortran/exprs.exp: Likewise
5858
5859Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5860
5861 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
5862 after the inferior gdb has started.
5863
5864 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
5865 after each command.
5866 * gdb.base/funcargs.exp: Likewise.
5867 * gdb.base/gdbvars.exp: Likewise.
5868 * gdb.base/interrupt.exp: Likewise.
5869 * gdb.base/list.exp: Likewise.
5870 * gdb.base/watchpoint.exp: Likewise.
5871 * gdb.c++/demangle.exp: Likewise.
5872 * gdb.c++/inherit.exp: Likewise.
5873 * gdb.chill/chexp.exp: Likewise.
5874 * gdb.fortran/exprs.exp: Likewise.
5875
5876 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
5877 test if we can't handle IO to/from the inferior.
5878
5879 * gdb.c++/misc.exp: Always check for a program already being
5880 started after sending a "run" command to gdb.
5881
5882 * gdb.base/twice.exp: Start with a fresh gdb.
5883
5884 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
5885 only depend on gdb's expression code, not the chill runtime.
5886
5887 * gdb.base/return.c: Put return values into variables so we
5888 can have gdb print them rather than depending on the program
5889 to print them.
5890 * gdb.base/return.exp: Corresponding changes.
5891
5892 * lib/gdb.exp: Provide default value for noinferiorio.
5893 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
5894 the inferior.
5895
5896 * gdb.base/break.exp: Always check for a program already being
5897 started after sending a "run" command to gdb.
5898 (text_next_with_recursion): Don't check the output from the
5899 program's printf statement. Instead just make sure the program
5900 exited.
5901
5902 * gdb.base/commands.exp: Protect tests which need arguments with
5903 $noargs conditionals.
5904
5905Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5906
5907 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
5908 of structure member arrays to match gdb/valops.c:value_addr change.
5909
5910Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
5911
5912 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
5913 cases.
5914
5915Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
5916
5917 * configure.in (configdirs): Remove gdb.chill from default list
5918 of subdirs and then add it back in only if doing a native build.
5919 The current chill compiler does not yet work in any cross build.
5920 * Revert all signal changes from Jul 6.
5921 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
5922 for sh-hms targets, allowing these tests to link, with no other
5923 changes. Testing is suppressed by setting "nosignals" in site.exp.
5924
5925Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
5926
5927 * configure.in (signaldirs): Define and add to configdirs for all
5928 targets except some specific ones that are known to not support signals.
5929 Also clean up formatting.
5930 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
5931 (signals, sigall): Remove rules to build.
5932 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
5933 Moved to new gdb.signals directory.
5934 * gdb.signals: New test directory.
5935 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
5936 signals.c signals.exp}: New or moved files.
5937
5938Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
5939
5940 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
5941
5942Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
5943
5944 * gdb.base/return.exp: Xfail `return double' test failure
5945 on at least Solaris 2.3 and handle future/past versions on
5946 a case by case basis as appropriate. Also update message
5947 to include i*86 failures.
5948
5949Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5950
5951 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
5952
5953 * lib/gdb.exp: Fix comment which erroneously identified
5954 gdb_file_cmd as gdb_load (the 19 May change was in fact to
5955 gdb_file_cmd not gdb_load).
5956 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
5957
5958 * gdb.base/setvar.exp: Make test names consistent between pass and
5959 fail cases. Use gdb_test more.
5960
5961Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5962
5963 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
5964
5965Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5966
5967 * gdb.base/help.exp: Fix expected help string for `show commands'.
5968
5969Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
5970
5971 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
5972
5973 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
5974 of a text section.
5975
5976Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
5977
5978 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
5979 that loop eventually terminates. Fix Connection refused logic so
5980 that testsuite will expire nicely.
5981
5982Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
5983
5984 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
5985 config/rom68k.exp: New tcl glue for the appropriate monitors.
5986 These all just end up calling monitor.exp.
5987 * config/monitor.exp (gdb_target_monitor): Handle `Connection
5988 refused' by retrying. Cleanup some timeout issues.
5989 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
5990 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
5991 callers don't have to set/restore global timeout variable.
5992
5993 * The following set of changes centralizes management of the global
5994 timeout variable. This way, it can be set in one target dependent
5995 place instead of dozens of places scattered throughout the test suite.
5996 If you need to lengthen a timeout, then you should either set timeout
5997 in one of the config/{target}.exp files, or multiply it by a factor.
5998 Setting it to an absolute value is always going to lose for some
5999 targets.
6000 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6001 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6002 * gdb.base/funcargs.exp: Don't set timeout.
6003 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6004 * gdb.base/printcmds.exp (test_print_string_constants
6005 test_print_array_constants): Don't set timeout.
6006 * gdb.base/ptype.exp: Don't set timeout.
6007 * gdb.base/recurse.exp: Don't set timeout.
6008 * gdb.base/return.exp: Don't set timeout.
6009 * gdb.base/watchpoint.exp: Don't set timeout.
6010 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6011 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6012
6013Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6014
6015 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6016
6017Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6018
6019 * lib/gdb.exp: Disable chill tests for irix5.
6020
6021Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6022
6023 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6024 each test pass or fail.
6025
6026Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6027
6028 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6029 xlc not gcc.
6030
6031Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6032
6033 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6034
6035Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6036
6037 * config/est.exp: Fix copyright and comments. Remove dead code.
6038 Use targetname, serialport and baud variables instead of fixed
6039 constants.
6040 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6041 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6042
6043Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6044
6045 * gdb.base/watchpoint.exp: Don't run
6046 test_watchpoint_triggered_in_syscall for sunos.
6047
6048Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6049
6050 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6051 they don't seem to exist. Do include stdio.h.
6052
6053Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6054
6055 * gdb.base/a1-selftest.exp: Add alpha xfail.
6056
6057Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6058
6059 * gdb.base/watchpoint.c (main): Prompt before calling read().
6060 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6061 Revise accordingly. Remove cruft about sending "123" several
6062 times, until it gets noticed. Clean up the "print buf[0]" stuff
6063 so that it passes or fails, and waits for prompts in the usual way.
6064
6065Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6066
6067 * gdb.base/recurse.exp: Fix comment.
6068
6069 * TODO: Remove item about printing variables in nodebug.exp. Add
6070 item about enabling tests which are only run on some targets.
6071
6072 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6073 fail, make test names unique, use new gdb_test convention
6074 regarding pattern, use gdb_test more, etc.).
6075
6076 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6077 fail, make test names unique, etc.).
6078
6079Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6080
6081 * gdb.base/nodebug.c: Change return type of top and middle to
6082 short.
6083 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6084 are fixed by the recent mdebugread.c changes. Allow `short ()'
6085 as type for top and middle.
6086
6087Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6088
6089 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6090 nearly as I can tell, the whole thing was an accident in Stu's
6091 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6092 to replace a send/expect pair with gdb_test, but ended up only
6093 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6094 of 30 Mar 1995 took care of it, but left this vestigial comment
6095 which I am now nuking.
6096
6097Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6098
6099 * gdb.base/break.exp: Look for different line number for
6100 breakpoint at main depending on usestubs.
6101
6102Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6103
6104 * gdb.base/list.exp: Adjust some alternate expect patterns to
6105 match recent list0.c change. Add alternate expect pattern for
6106 output from `list default lines around main' for optimizing
6107 compilers.
6108
6109Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6110
6111 * lib/gdb.exp: If nosignals is not set, set it to 0.
6112
6113Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6114
6115 * config/slite-gdb.exp: Responds to load symbol table prompt.
6116 * gdb.base/break.exp: Adjust line number, fix rerun.
6117 * gdb.base/langs0.c: Add #ifdef usestubs.
6118
6119Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6120
6121 * gdb.base/list.exp: Adjust line contents after adding new lines in
6122 list0.c. Also fix a syntax error.
6123
6124 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6125 * gdb.base/break.exp: ditto.
6126 * gdb.base/list.exp: ditto.
6127 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6128 * gdb.base/run.c: ditto.
6129 * gdb.base/list0.c: ditto.
6130 * gdb.base/funcargs.c: ditto.
6131
6132Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6133
6134 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6135 $targetname, $serialport and $baud instead of hardwired variables.
6136 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6137 target doesn't support signals.
6138
6139Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6140
6141 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6142
6143Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6144
6145 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6146 Don't rely on the value of an auto variable before it has been
6147 initialized. Use gdb_test more.
6148
6149Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6150
6151 * lib/gdb.exp (default_gdb_version): A version number must start
6152 with a digit, but other than that contains all characters up to
6153 the first whitespace character.
6154
6155Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6156
6157 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6158
6159Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6160
6161 * gdb.c++/*.exp: Warn if executable does not exist. The original
6162 reason for skipping the warning was that configure.in sometimes
6163 intentionally skipped building the executables but the tcl code
6164 had no way of knowing. That (a) was always bogus with respect to
6165 error handling, (b) is no longer true (right now there is no way
6166 to skip C++ tests).
6167
6168 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6169
6170Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6171
6172 * gdb.base/list.exp: Add expect patterns for output from
6173 SunPRO compiled executables.
6174 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6175 types.
6176
6177Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6178
6179 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6180 number (we are already testing that the correct source line text
6181 gets printed).
6182
6183 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6184 that is what is intended, but something needed to be done to get
6185 sunos4 native working again.
6186
6187 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6188
6189 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6190 apparently went with a (very) old xfail.
6191
6192Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6193
6194 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6195 runto_main is a proc in gdb.exp that will do 'step' for target use
6196 stubs.
6197 * gdb.base/exprs.exp: ditto.
6198 * gdb.base/interrupt.exp: ditto.
6199 * gdb.base/opaque.exp: ditto.
6200 * gdb.base/printcmds.exp: ditto.
6201 * gdb.base/ptype.exp: ditto.
6202 * gdb.base/scope.exp: ditto.
6203 * gdb.base/setvar.exp: ditto.
6204 * gdb.base/signals.exp: ditto.
6205 * gdb.base/twice.exp: ditto.
6206 * gdb.c++/classes.exp: ditto.
6207 * gdb.c++/inherit.exp: ditto.
6208 * gdb.c++/templates.exp: ditto.
6209 * gdb.base/break.exp: no run and hit main for stubs. Change line
6210 numbers for breakpoints and info breakpoint.
6211 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6212 breakpoint().
6213 * gdb.base/callfuncs.c: ditto.
6214 * gdb.base/exprs: ditto.
6215 * gdb.base/interrupt.c: ditto.
6216 * gdb.base/opaque0.c: ditto.
6217 * gdb.base/printcmds.c: ditto.
6218 * gdb.base/ptype.c: ditto.
6219 * gdb.base/scope0.c: ditto.
6220 * gdb.base/setvar.c: ditto.
6221 * gdb.base/signals.c: ditto.
6222 * gdb.base/twice.c: ditto.
6223 * gdb.c++/misc.cc: ditto.
6224 * gdb.c++/templates.cc: ditto.
6225
6226Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6227
6228 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6229
6230 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6231 somewhere between `read' and `main.c'. I'm pretty sure the
6232 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6233 and it isn't particularly useful.
6234
6235 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6236
6237Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6238
6239 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6240
6241Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6242
6243 * config/mt-slite: add LIBS and -nostdlib.
6244 * config/slite-gdb.exp: add this new file to support sparclite target.
6245
6246Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6247
6248 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6249
6250 * gdb.base/a2-run.exp: Change argument to istarget from
6251 "*-*-vxworks" to "*-*-vxworks*".
6252 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6253
6254Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6255
6256 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6257 will not runto main but do a 'step' to step out of breakpoint().
6258 * config/mt-slite: add -Dusestubs.
6259
6260Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6261
6262 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6263 instead of just @.
6264
6265 * gdb.base/signals.exp: Add test for "handle all print".
6266 * TODO: Remove "handle all print". Also remove item about
6267 checking copyright date (I don't like the idea of a spurious FAIL
6268 based on when we run the tests).
6269
6270 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6271 for SunOS4 (reason for failure not investigated). Remove
6272 redundant test for $binfile.
6273
6274 * gdb.base/nodebug.c (array_index): Call malloc.
6275
6276 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6277
6278Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6279
6280 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6281 conventions and slightly simplify the matching regexp.
6282
6283Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6284
6285 * gdb.base/break.exp: Update gdb_test invocation to use new
6286 convention.
6287
6288 * lib/gdb.exp: If noargs is not set, set it to 0.
6289
6290 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6291 tests unique.
6292
6293 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6294
6295Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6296
6297 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6298 one argument of type "<non-float parameter>".
6299
6300Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6301
6302 * config/rom68k.exp: New file to support Motorola IDP board.
6303 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6304 * gdb.base/break.c: Change things around so that this program
6305 doesn't depend upon args. This is necessary to make remote
6306 targets work (in general, they can't take args).
6307 * gdb.base/break.exp: Don't try to send args to program. Don't
6308 expect output. Also, replace lots of code with gdb_test.
6309
6310Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6311
6312 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6313 printing of '\'' (which is what the comment says we are testing,
6314 even though we were not), not '''.
6315 (test_integer_literals_rejected): Test that printing ''' is an error.
6316
6317 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6318 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6319 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6320 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6321 Use gdb_test not test_print_accept.
6322 * lib/gdb.exp: Remove test_print_accept.
6323
6324 * gdb.base/signals.exp (signal_tests_1): Make pass message
6325 consistent with fail message.
6326
6327 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6328 unsigned char; the bug (PR 1821) is fixed.
6329
6330 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6331
6332 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6333 successful tests--makes xfailing them work right.
6334
6335Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6336
6337 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6338 only \r\n, not .*. The test can pass .* as the last thing in
6339 $pattern if that is what it wants. In addition to providing this
6340 flexibility, this change should speed up pattern matching in cases
6341 where the pattern already ended with .* (there were a number of
6342 them). This change also helps catch bad patterns--in the old
6343 scheme the typo "char \*" instead of "char \\*" would pass. Now
6344 it is caught.
6345 * Many .exp files: Update callers.
6346
6347 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6348 clearer and does not spuriously match multiple ('s. Likewise for
6349 ) and *.
6350
6351 * gdb.base/nodebug.exp: Test ability to call a function and pass
6352 it a string (even with no debugging info).
6353
6354 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6355 "p '\'", which is the same as "p ''" once tcl gets done with
6356 quoting, to "p '\\'", which I suspect is what is intended (one
6357 backslash gets sent to GDB).
6358
6359 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6360
6361Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6362
6363 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6364 1817) was fixed literally years ago.
6365
6366Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6367
6368 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6369 test, it causes stepping out of call_after_alloca_subr with
6370 optimizing compilers.
6371 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6372 fails.
6373
6374 * gdb.c++/templates.exp: Source templ-info.exp only if
6375 the templates executable exists.
6376
6377 * gdb.c++/misc.cc (class Contains_static_instance,
6378 class Contains_nested_static_instance),
6379 gdb.c++/classes.exp (test_static_members): Test printing of
6380 a class that contains a static instance of the class.
6381
6382Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6383
6384 * gdb.base/langs2.c (cppsub_): Don't prototype.
6385 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6386 only, I believe).
6387
6388Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6389
6390 * lib/gdb.exp (skip_chill_tests): New procedure.
6391
6392 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
6393
6394Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
6395
6396 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
6397 each expect pattern. Cuts runtime from 12 to about 4 seconds.
6398
6399Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6400
6401 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
6402
6403 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
6404 disassemble 8, not 16, instructions for part 4.
6405
6406 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
6407 support the latter anymore.
6408
6409 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
6410 -DNO_PROTOTYPES.
6411 * gdb.base/callfuncs.c: Control use of prototypes based on
6412 NO_PROTOTYPES, not __STDC__.
6413 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
6414 t_float_values2 tests if prototypes in use.
6415
6416 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
6417 t_double_values): When checking differences against DELTA, check
6418 that difference is within the range (-DELTA,DELTA), not just
6419 (-infinity,DELTA).
6420
6421Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
6422
6423 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
6424 'file' command firts, then 'target', then 'load', this is due to gdb
6425 target set up.
6426 * config/mips-gdb.exp: Fix a couple regular exp bugs.
6427
6428Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
6429
6430 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
6431 FP load/store variants.
6432 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
6433
6434Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6435
6436 * gdb.base/term.exp: Do not give a warning if not native, it is
6437 not an abnormal condition.
6438
6439Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
6440
6441 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
6442 t_char_array".
6443
6444Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6445
6446 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
6447 are getting the version number.
6448
6449 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
6450 if not native, it is not an abnormal condition.
6451
6452Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6453
6454 * lib/gdb.exp: Just use "file exists", rather than undocumented
6455 dejagnu procedure "findfile".
6456
6457Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6458
6459 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
6460 (LDFLAGS): Set to -Xlinker -Ur.
6461
6462 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
6463 Removed, these values are set by lib/gdb.exp.
6464
6465 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
6466
6467Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6468
6469 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
6470 of replicating gdb startup code.
6471
6472 * config/mt-vxworks (LDFLAGS): Set to -r.
6473 (CFLAGS_FOR_TARGET): Removed.
6474
6475 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
6476 (gdb) and gdb for vxworks uses (vxgdb).
6477
6478 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
6479 executable is not in the tree and host != target, use sed and
6480 program_transform_name to determine the gdb name used by the
6481 target.
6482
6483 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
6484 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
6485
6486Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6487
6488 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
6489 floats, chars, and shorts where there are ANSI-style function
6490 definitions.
6491
6492 * gdb.base/langs.exp, gdb.base/langs*: New test.
6493 * gdb.base/Makefile.in: Build it.
6494 * TODO: Remove item about checking that C names don't get C++
6495 demangling applied; this test tests it.
6496
6497Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6498
6499 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
6500 went with the const70 xfail. The xfail went away a year ago.
6501
6502 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
6503
6504 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
6505 for hp300.
6506
6507 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
6508
6509 * gdb.base/a1-selftest.exp: Don't run on hp300.
6510
6511Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6512
6513 * Makefile.in (site.exp): Set host_alias and target_alias as well
6514 as host_triplet and target_triplet.
6515
6516Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6517
6518 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
6519
6520 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
6521 places as other ecoff systems).
6522
6523 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
6524 ultrix.
6525
6526Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6527
6528 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
6529 remove them.
6530 * gdb.base/nodebug.exp: Accept "function" in addition to "text
6531 variable and "variable" in addition to "data variable".
6532 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
6533
6534 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
6535 2.
6536 * gdb.base/list1.c (long_line): Add additional statement at start
6537 of function.
6538 * gdb.base/list.exp (test_forward_search): Update line number to
6539 reflect new statement.
6540
6541Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6542
6543 * gdb.base/signals.exp: Reinitialize searched source directories
6544 after gdb_start call.
6545
6546Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
6547
6548 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
6549 * gdb.stabs/Makefile.in: Likewise.
6550
6551 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
6552 change. Instead split the tests into smaller pieces.
6553 * gdb.disasm/hppa.s: Corresponding changes.
6554
6555Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6556
6557 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6558 Quote ^C when passing it to stty. For some shells ^ is a pipe.
6559
6560 * gdb.base/funcargs.exp: Modify many tests so that every test
6561 either passes or fails. Make some test names unique.
6562
6563Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6564
6565 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6566 Call stty to set interrupt character.
6567
6568 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
6569 for HP assembler versus GNU assembler based on actual behavior of
6570 $(CC), rather than assuming that $(AS) is always the GNU assembler.
6571
6572 * TODO: Suggest a few more stepping tests.
6573
6574Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
6575
6576 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
6577 restart GDB for h8300 after a continue.
6578 (return): Add pattern to match a29k-udi behavior.
6579 * gdb.base/nodebug.exp: Remove obsolete comment.
6580 * gdb.base/regs.exp: New file, testing of register displays.
6581 * gdb.base/return.exp: Fix typo in reference to $objdir.
6582 * gdb.base/whatis.exp: Always start with a fresh GDB.
6583
6584Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6585
6586 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
6587 higher, these tests generate a lot of output.
6588
6589Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6590
6591 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
6592 code following the catch silently ignored some errors; without the
6593 catch they should be thrown like any other tcl error. Also, the
6594 catch used "" instead of {} which meant all the callers who wanted
6595 to include one of the characters "[]$ had to quote it an extra time.
6596 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
6597 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
6598 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
6599 Remove extra quoting.
6600
6601Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
6602
6603 * gdb.base/commands.exp: Make test names unique; every test either
6604 passes or fails. Update some comments.
6605
6606 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
6607
6608Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6609
6610 The following fixes a FAIL caused by the fact that the alpha stabs
6611 configuration didn't use the ".if alpha" code in weird.def.
6612 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
6613 bit pointer, so the 32 bit version works even on the alpha.
6614 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
6615 Remove the stuff which allowed us to have separate versions for
6616 alpha and everything else.
6617
6618 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
6619 regexp which "info func operator\[\](" is supposed to match. Fix
6620 string to send to GDB. Note that GDB still doesn't work right. Add a
6621 new test for "info func .perator\[\](" which GDB does handle correctly.
6622
6623 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
6624
6625Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6626
6627 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
6628 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
6629 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
6630 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
6631 it makes the tests harder to understand and confuses test-o-matic.
6632 The preferred style is that each test provides a PASS or a FAIL,
6633 and has a unique message (e.g. "continue #54" not just "continue")
6634 which is the same for the pass and the fail.
6635 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6636 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
6637 to lib/gdb.exp.
6638 * gdb.base/printcmds.exp: Use test_print_accept. Remove
6639 prt_accept which was basically the same thing. Likewise for
6640 test_print_reject and prt_reject.
6641 * lib/gdb.exp (test_print_reject): Add some more error message
6642 patterns to match from the former printcmds.exp (prt_reject).
6643 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
6644 One defect of the passcount stuff is that some of it failed to
6645 report XPASS where appropriate.
6646 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
6647 stuff before and after arg in expected pattern.
6648 (test_paddr_operator_functions): Re-do test without print_addr_of;
6649 this is the only test which seems to want extra stuff there.
6650
6651Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6652
6653 * gdb.base/nodebug.exp: Update new tests to reflect improved
6654 wording of gdb output.
6655
6656 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
6657 and "ptype" work on variables in files compiled without -g.
6658 Replaces commented out "maint print msymbol" tests.
6659
6660Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6661
6662 * gdb.base/setvar.c (dummy): Call malloc.
6663
6664 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
6665 losing with the irix4 sed.
6666
6667 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
6668 ALRM" on irix4.
6669
6670Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6671
6672 * TODO: Remove items about corefile.exp testing new exec-file and
6673 backtrace; both are now done. Add items about printing enums.
6674
6675Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6676
6677 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
6678 "get signal $thissig" test fails.
6679
6680 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
6681
6682Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6683
6684 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
6685 compiler warning with dec alpha compiler.
6686
6687 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
6688 extra \n from gdb_test call (this explains why the prompt test
6689 that I removed yesterday was there).
6690 (user_defined_command_test): Remove extra \n and prompt test.
6691
6692 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
6693 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
6694 doesn't exist.
6695 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
6696 Also remove alpha workaround, which turns out to be because
6697 SIGABRT == SIGLOST.
6698
6699 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
6700
6701 * gdb.base/help.exp: Don't test "help show".
6702
6703Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6704
6705 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
6706 "set print address" is on.
6707 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
6708 pass prompt to gdb_test; gdb_test already looks for the prompt.
6709
6710 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
6711
6712 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
6713 was a vestige of the manual TESTSTRATEGY, and the purpose of it
6714 was to make sure that gdb can read a core file. But (a) the "read
6715 the corefile" part didn't make it to a1-selftest.exp, we just
6716 delete the corefile after creating it, and (b) we test reading
6717 corefiles in corefile.exp anyway. Also, this test left around a
6718 xgdb process on Solaris.
6719
6720 * gdb.base/corefile.exp: Also test backtrace.
6721
6722Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
6723
6724 * gdb.base/commands.exp: Test a simple user defined command with
6725 arguments and if/while statements; verify the full user command is
6726 printed by "show user".
6727
6728 * gdb.base/commands.exp: Test if/while commands as part of a
6729 breakpoint command list; verify they appear in breakpoint
6730 information.
6731
6732Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6733
6734 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
6735 than by dividing by zero.
6736
6737Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
6738
6739 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
6740 performing an inferior call with watchpoints enabled.
6741 * gdb.base/watchpoint.c (main): Delete second unnecessary read
6742 call.
6743
6744Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6745
6746 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
6747 of "file" command.
6748
6749 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
6750 Add additional pattern for when "int operator int(void);" appears
6751 in a different order.
6752
6753Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6754
6755 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
6756
6757 * gdb.base/help.exp: Replace most of docstrings for "info signals"
6758 and "signal" with ".*".
6759
6760Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6761
6762 * TODO: Add note about "handle all nostop".
6763
6764 * gdb.base/{sigall.c, sigall.exp}: New test.
6765 * gdb.base/Makefile.in: Add it.
6766
6767Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
6768
6769 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
6770 when invoking GDB, suppresses any windowing interface.
6771
6772Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
6773
6774 * config/sim-gdb: New file, simulator testing support.
6775
6776Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
6777
6778 * gdb.base/interrupt.exp: Test calling func1 twice.
6779
6780Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
6781
6782 * gdb.base/list.exp (test_forward_search): Set timeout higher
6783 when we'll be getting lots of output from gdb.
6784
6785 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
6786 "init_malloc" to after the expect statement. Run it if that
6787 regexp is taken, but also for two others which happen if source
6788 cannot be found.
6789
6790Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6791
6792 * gdb.base/printcmds.exp: New test, for printing register before
6793 program is running.
6794
6795Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6796
6797 * gdb.base/list.exp: Correct some alternate expect patterns
6798 to reflect changes in list1.c.
6799
6800Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6801
6802 * TODO: Add item regarding large frames.
6803
6804 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
6805
6806 * TODO: Remove item about enabling return.exp; it
6807 is enabled. Suggest a few more "return" tests.
6808
6809Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6810
6811 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
6812 anonymous unions.
6813
6814Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6815
6816 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
6817 and pr-5646.o, so "make" is the same as "make all", not "make
6818 pr-4975.o".
6819
6820Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
6821
6822 * gdb.base/list.exp: Adjust expectations to reflect changes in
6823 list1.c.
6824 (test_forward_search): New test proc.
6825 * gdb.base/list1.c (long_line): New function, has long source line.
6826
6827Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
6828
6829 * gdb.base/a1-selftest.exp: Change initial stepping to know about
6830 additional line of code that was added.
6831
6832Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
6833
6834 * gdb.disasm/hppa.s: Break the large branching tests into smaller
6835 tests so as not to overflow expect's input buffers.
6836 * gdb.disasm/hppa.exp: Corresponding changes.
6837
6838Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6839
6840 Beginnings of template debugging tests.
6841 * gdb.c++/templ-info.cc: New file to test for template
6842 debugging capability of the compiler.
6843 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
6844 templ-info.cc.
6845 * gdb.c++/templates.cc: Add explicit template instantiations
6846 to enable compiling with -fno-implicit-templates. Add destructor
6847 and 'value' method to T5 class for template tests.
6848 * gdb.c++/templates.exp: Add testcases for printing of template
6849 types, setting breakpoints on template methods and calling a
beb998c6 6850 template method.
c906108c
SS
6851
6852Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
6853
6854 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
6855 branch target since some assemblers (gas-2.5) may emit a
6856 relocation for the branch instead of resolving it in the
6857 assembler.
6858
6859Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6860
6861 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
6862 through signal handler.
6863
6864Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6865
6866 * configure.in (*-*-netware): Use config/mt-netware.
6867
6868 * config/mt-netware: New file.
6869 * config/mt-i386-netware: Removed, separate configs for different
6870 netware architectures are no longer needed now that we have
6871 --with-headers.
6872
6873Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6874
6875 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
6876 by the recent changes to use ANSI C arithmetic conversions.
6877
6878Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6879
6880 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
6881 bug involving using inferior_pid to figure out whether to select a
6882 frame.
6883
6884Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
6885
6886 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
6887 match the current disassembler output.
6888
6889Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
6890
6891 * gdb.fortran/exprs.exp: Expect VOID instead of void.
6892 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
6893 types, expect "int" as type of integer values (for now).
6894
6895Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
6896
6897 * gdb.base/commands.exp: New tests for if/while commands.
6898
6899Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
6900
6901 * lib/gdb.exp (runto): Replace sub-pattern for hex value
6902 by .*, since hex values have different syntax in Chill mode.
6903
6904Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6905
6906 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
6907 linefeed from expect pattern for repeated types with indices > 9.
6908
6909Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
6910
6911 First part of Fortran test suite.
6912 * gdb.fortran: New directory.
6913 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
6914
6915Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6916
6917 * gdb.base/default.exp: Update expect pattern for load command
6918 without arguments.
6919
6920Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6921
6922 * configure.in: Change i386 to i[345]86.
6923 * gdb.base/configure.in: Likewise.
6924 * gdb.c++/configure.in: Likewise.
6925 * gdb.chill/configure.in: Likewise.
6926
6927Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
6928
6929 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
6930 patterns, since that is not a valid context for comments.
6931
6932Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
6933
6934 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
6935 repeated types and repeated types with indices > 9.
6936
6937Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
6938
6939 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
6940 2417; old bug has been fixed.
6941
6942Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
6943
6944 * gdb.base/interrupt.exp: When trying to wake up the inferior,
6945 send the newline ourselves instead of assuming gdb_test will do
6946 so when passed an empty input string.
6947
6948 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
6949 stabs testcode.
6950
6951Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6952
6953 * lib/gdb.exp (gdb_test): Don't send anything if the first
6954 argument is an empty string. This makes cases where we want to
6955 match output that is already in expect's buffers (for example,
6956 matching a breakpoint after gdb_run_cmd has been called) work
6957 reliably.
6958
6959Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6960
6961 * config/netware.exp: New file.
6962
6963Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6964
6965 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
6966 the -B and -L prefixes so we can find the debugging stub.
6967
6968 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
6969 there and we are using the gcc from the tree.
6970
6971 * gdb.base/types.c: Removed.
6972
6973 * gdb.base/configure.in: Look for makefile fragments in ../config.
6974 Recognize i386-*-netware.
6975 * gdb.c++/configure.in: Likewise.
6976
6977Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6978
6979 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
6980 the correct TCL syntax.
6981
6982Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6983
6984 * gdb.base/opaque.exp: use runto instead of messing around with
6985 breakpoints. Simplify by using gdb_test.
6986
6987 * gdb.base/bitfields.exp: restart between tests on netware targets
6988 because breakpoints aren't relocated after target death. Run
6989 processes to completion.
6990
6991 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
6992
6993Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
6994
6995 * Makefile.in: Remove extra tabs that confuse some versions
6996 of "make". Use the newly built gdb to test with by default,
6997 rather than the first one in the tester's search path.
6998
6999Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7000
7001 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7002
7003 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7004 condition help.
7005
7006Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7007
7008 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7009
7010 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7011 running.
7012 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7013 * gdb.base/funcargs.exp: Likewise.
7014
7015 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7016 * gdb.base/funcargs.exp: Likewise.
7017
7018 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7019 message is "".
7020
7021Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7022
7023 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7024 return,signals,twice}.exp: Handle non-existant binaries
7025 consistantly.
7026
7027 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7028 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7029 might testing a cross development system.
7030
7031Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7032
7033 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7034 runtest script is relative to ${srcdir}, not ${rootdir}.
7035
7036Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7037
7038 * gdb.base/signals.exp: Allow for optionality of breakpoint
7039 address.
7040
7041Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7042
7043 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7044
7045Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7046
7047 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7048 for size_t definition.
7049 * gdb.c++/templates.cc: Likewise
7050
7051 * config/mt-i386-netware: New file.
7052
7053 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7054 defined.
7055
7056 * gdb.base/Makefile.in: Added support for systems that name core
7057 files by appending "core" to the program name.
7058 * gdb.base/a1-selftest.exp: Likewise.
7059
7060Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7061
7062 * gdb.base/return.exp: Add comment and message for `return double'
7063 test failure on Sparc Solaris.
7064
7065Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7066
7067 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7068
7069Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7070
7071 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7072 from optimizing them away.
7073 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7074 patterns to include default constructors and assignment operators,
7075 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7076 character in the output of the virtual base pointer.
7077
7078Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7079
7080 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7081 expression match in print_addr_of to avoid unintented matches.
7082 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7083 versions up to 2.5.8.
7084
7085Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7086
7087 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7088 included file to run under newer versions of expect.
7089 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7090 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7091 Remove xfail for the virtual table of BDDHookV.
7092
7093Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7094
7095 * lib/gdb.exp (string_to_regexp): Set a default result.
7096 (default_gdb_start): Fix misleading message.
7097
7098Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7099
7100 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7101 Remove all CC, etc definitions.
7102 * config/mt-hpux: New file.
7103 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7104 (CFLAGS, LDFLAGS): Define.
7105 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7106
7107 * Makefile.in (site.exp): Don't insert host_os, etc.
7108 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7109 (distclean): Check existence of subdir.
7110 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7111 * gdb.base/Makefile.in: General cleanup and simplification.
7112 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7113 to build executables. Use default rule to build .o files.
7114 (EXPECT, RUNTEST, CC): Fix relative pathname.
7115 (site.exp): Don't insert host_os, etc.
7116 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7117 and/or SIGUSR1 defined.
7118 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7119 * gdb.c++/Makefile.in: General cleanup and simplification.
7120 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7121 (CFLAGS): Remove.
7122 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7123
7124Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7125
7126 * gdb.base/recurse.exp: Misc changes to get tests running again
7127 after Kung's changes to the watchpoint code.
7128 * gdb.base/watchpoint.exp: Likewise.
7129
7130Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7131
7132 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7133
7134Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7135
7136 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7137 * lib/gdb.exp (default_gdb_start): Define.
7138 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7139 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7140 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7141 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7142 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7143 Don't call gdb_target_udi in between tests.
7144
7145Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7146
7147 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7148 (which was basically just a local version of the same thing). In
7149 addition to avoiding duplication, gdb_test_exact is faster.
7150 * lib/gdb.exp (gdb_test_exact): Fix typo.
7151
7152 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7153 don't give an error.
7154
7155 * gdb.base/term.exp: Call delete_breakpoints before starting.
7156
7157 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7158 (t10): Add comment.
7159
7160Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7161
7162 Reorganization of the GDB Test Suite.
7163
7164 * gdb.base: New directory, contains all the basic tests.
7165 * gdb.c++: New directory, tests specific to C++.
7166 * gdb.chill: New directory, tests specific to Chill.
7167 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7168 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7169 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7170 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7171 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7172 t30-31 to chill).
7173 * */gdbme.*: Rename to match appropriate expect scripts.
7174 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7175 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7176 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7177 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7178 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7179 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7180 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7181 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7182 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7183 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7184 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7185 gdb.c++/virtfunc.cc: New names of C++ files.
7186 * gdb.chill/chillvars.ch: New name of Chill file.
7187 * gdb.base/configure.in, gdb.c++/configure.in,
7188 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7189 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7190 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7191 * configure.in (configdirs): Update to reflect directory changes.
7192 (target_abbrev): No longer define for any configuration.
7193 * Makefile.in: Cosmetic improvements to header comments.
7194
7195Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7196
7197 Various changes to gdb.t31:
7198
7199 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7200 * gdbme.ch: Make all key-words and predefineds be upper-case.
7201 * chillvars.exp: Expect key-words and predefinds in upper-case.
7202
7203 * chillvars.exp: Use gdb_test_exact many places.
7204 Change expected output for arrays (which now includes index labels).
7205
7206 * pr-5020.exp, gdme.ch (module PR_5020):
7207 New test, for PR-5020.
7208
7209Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7210
7211 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7212 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7213
7214Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7215
7216 * Makefile.in: Fix bit-rot in definitions of CHILL,
7217 CHILL_FOR_TARGET and Chill_LIB.
7218 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7219 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7220 CHILL, and CHILL_LIB.
7221
7222Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7223
7224 * Revert the previous changes. Please see Rob's directory
7225 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7226
7227Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7228
7229 * Makefile.in, configure.in, config/mips-gdb.exp,
7230 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7231 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7232 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7233 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7234 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7235 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7236 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7237 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7238 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7239 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7240 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7241 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7242 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7243 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7244 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7245 changes from 94Q1.
7246
7247Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7248
7249 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7250 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7251 Rob's new testing fragments.
7252
7253Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7254
7255 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7256 lib/gdb.exp: Replace error proc calls with perror.
7257
7258Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7259
7260 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7261 version also, match on casted version strings, and match on
7262 gdb startup case where the line numbers might be messed up.
7263
7264Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7265
7266 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7267 (CFLAGS): Delete it from here.
7268
7269Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7270
7271 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7272
7273Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7274
7275 * Makefile.in (RUNTEST): Default to just "runtest".
7276
7277Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7278
7279 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7280 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7281 the code has been restructured.
7282
7283Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7284
7285 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7286 \n, not just one of each.
7287
7288 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7289 /bin/cc gives a warning if you do.
7290
7291Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7292
beb998c6 7293 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
7294 __t10ListS_link1ZUiRCUiPT0
7295
7296Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7297
7298 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7299 on local variables in recursive functions.
7300
7301 * gdb.t07/Makefile.in: Build the new test.
7302
7303Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7304
7305 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7306 directly. Instead compare the return values from actual calls.
7307
7308Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7309
7310 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7311
7312Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7313
7314 * From Peter Schauer with minor modifications.
7315 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7316 stops in mid-line in the caller. Add xfail for returning a float
7317 value on X86 targets.
7318
7319Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7320
7321 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7322 to avoid expect lossage.
7323 (fmem_LRbug_tests): Likewise.
7324 * gdb.disasm/hppa.s: Corresponding changes.
7325
7326 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7327 conditions to work with latest dejagnu/expect.
7328
7329 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7330 expected to fail on the PA.
7331 (backtrace in call with trampolines): Explicitly require main
7332 to be frame #1 (no trampolines should show up in backtrace).
7333
7334 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7335 "continue -expect".
7336 * gdb.t06/break.exp: Likewise.
7337 * gdb.t07/watchpoint.exp: Likewise.
7338 * gdb.t13/bitfields.exp: Likewise.
7339 * gdb.t15/{funcargs,return}.exp: Likewise.
7340 * gdb.stabs/weird.exp: Likewise.
7341 * config/{mips,udi}-gdb.exp: Likewise.
7342
7343 * hppa.sed: Enclose comments within a sed command to avoid
7344 losing with the old OSF1 sed.
7345
7346Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7347
7348 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7349 sequent dynix.
7350 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7351 * gdb.t15/funcargs.exp: Conditionally step again to really
7352 finish from marker_call_with_trampolines. Handle the case where
7353 the first step from within call_with_trampolines already steps
7354 us back to main.
7355 * gdb.t15/gdbme.c: Add comment to closing brace of
7356 call_with_trampolines for funcargs.exp.
7357
7358Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7359
beb998c6 7360 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
7361 Fix typo(s).
7362
7363Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7364
7365 * gdb.t07/gdbme.c: More code for watchpoint testing.
7366
7367 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7368 "Hardware watchpoint" throughout file.
7369 (test_watchpoint_triggered_in_syscall): New test.
7370 (test_complex_watchpoint): New test.
7371
7372Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7373
7374 * gdbme.c (call_with_trampolines): New function to try and step
7375 into. Tests trampoline problems on the PA.
7376
7377 * funcargs.exp (localvars_in_indirect_call): No longer expect
7378 stepping into indirect call to fail on PAs.
7379 (test_stepping_over_trampolines): New test.
7380
7381Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7382
7383 * TODO: Add suggestions for static member function tests, and
7384 completion tests.
7385
7386Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7387
7388 * TODO: Add suggestions for "p/a" tests.
7389
7390 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
7391 (default_gdb_exit): Replace all the hair with sending "quit" to
7392 the process with a simple close.
7393
7394Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7395
7396 * TODO: Add suggestions for shared library tests.
7397
7398Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7399
7400 * TODO: Add suggestions for x/s tests.
7401
7402Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7403
7404 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
7405 "enable once", and "enable breakpoints once" with ".*".
7406
7407Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7408
7409 * TODO: Add suggestions about structure passing tests.
7410
7411Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7412
7413 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
7414 the primary1 test, use work around if __GNUC__ < 2.
7415 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
7416 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
7417 Test for bad output rather than waiting for timeout. Issue
7418 second continue only if first continue failed.
7419
7420Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7421
7422 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
7423 operator[] test with gdb_test because the old code didn't seem to
7424 be getting the quoting right with the new dejagnu.
7425
7426Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
7427
7428 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
7429 one from the path.
7430 * Makefile.in: Use a fresh expect if there is one, use runtest
7431 from the src tree if there is one.
beb998c6 7432
c906108c
SS
7433Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7434
7435 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
7436 next over recursive call. Revise the tests from that point on
7437 (which had been skipped) to match GDB's actual (correct) output.
7438
7439 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
7440 with next over a breakpoint whose condition is false.
7441
7442 * gdb.t00/help.exp: Comment out "help set print" tests just like
7443 (and for same reason as) "help set" test.
7444
7445Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7446
7447 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
7448 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
7449
7450Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7451
7452 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
7453 necessary gdb_target_udi.
7454
7455 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
7456
7457 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
7458 1838 and 2417; they are fixed.
7459
7460 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
7461 gdb.t03/ptype.exp (ptype structure, ptype union):
7462 Remove xfails; the test is looser than when the xfails were added.
7463
7464 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
7465 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
7466
7467 * gdb.t01/run.exp: Only run shell test if isnative.
7468
7469 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
7470 since "run" automatically loads if necessary. Call gdb_target_udi
7471 after the "file" since "file" kills any execution target.
7472
7473 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
7474 GDB. GDB doesn't work that way (not anymore at least) on UDI.
7475 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
7476 argument for UDI.
7477
7478Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7479
7480 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
7481
7482 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
7483
7484Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7485
7486 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
7487 properly quoting regexps. This makes the second argument to
7488 demangle a fixed string, which matches the callers, instead of a
7489 shell-style pattern which is what the previous implementation
7490 used. Update some of the callers.
7491
7492Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7493
7494 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
7495 (comib_nullified_tests): Fix typo.
7496 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
7497 strings. No longer expected to fail.
7498
7499 * gdb.disasm/hppa.s (addib_tests): Fix typo.
7500 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
7501 strings. No longer expected to fail.
7502
7503 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
7504 string. No longer expected to fail.
7505
7506Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7507
7508 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
7509 No longer expected to fail.
7510
7511 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
7512 string. No longer expected to fail.
7513
7514Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7515
7516 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
7517 only in the names (I probably got most of them). I was even
7518 generous with some which differed in underscores in names, and
7519 probably missed a few, and I *still* was able to remove almost a
7520 third of the file with almost no impact on testsuite coverage.
7521
7522Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7523
7524 * gdb.t00/default.exp: Match udi_attach error message as well as
7525 the one from child_attach.
7526
7527 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
7528
7529 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
7530
7531 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
7532 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
7533
7534 * Move test with enums and partial symbols back to
7535 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
7536 Reverts the change of 26 May 93. Per today's change to
7537 stabs.texinfo, the behavior that weird.exp was expecting was
7538 unreasonable; what is important is that the compiler+gdb get
7539 things right, which happens with a recent gcc. Also fix the test
7540 to deal with native compilers which put out the stab gdb can't
7541 deal with.
7542
7543Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7544
7545 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
7546 in the names. The main thing these accomplish is to slow things down.
7547 Many more such duplicates surely remain.
7548
7549 * gdb.t00/help.exp: Comment out "help support" test just like
7550 (and for same reason as) "help set" test.
7551
7552Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
7553
7554 * gdb.t06/break.exp: Remove setup_xfails for
7555 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
7556 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
7557 about known bug in gcc to include up through 2.5.8.
7558 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
7559 well as "_vb$".
7560 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
7561 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
7562 with latest gcc and gdb.
7563 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
7564 well as "_vb$".
7565
7566Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7567
7568 * configure.in (hppa*-*-*): Also configure and build stabs-only
7569 tests.
7570
7571Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7572
7573 * gdb.t10/hppa.mt: A makefile fragment for the PA.
7574 * gdb.t10/configure.in (hppa*-*-*): Use it.
7575
7576Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7577
7578 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
7579
7580Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7581
7582 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
7583 versions prior to 1.13.5.
7584
7585Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7586
7587 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
7588 the prompt is at the start of a line.
7589
7590Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7591
7592 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
7593 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
7594 in the copr tests now.
7595 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
7596 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
7597 expected to fail.
7598
7599Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
7600
7601 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
7602 gdb.t31/chillvars.exp, lib/gdb.exp:
7603 Tweak to run under either version of expect.
7604 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
7605 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
7606 * gdb.t11/list.exp: Remove extraneous whitespace.
7607
7608Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7609
7610 * gdb.t16/printcmds.exp (test_print_strings): Accept
7611 "(unsigned char *) " before the string.
7612
7613 * TODO: Add notes about printing of fancy types and GDB expressions.
7614
7615Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
7616
7617 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
7618 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 7619 if doing mips-idt-ecoff.
c906108c
SS
7620
7621Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
7622
7623 * Most .exp files: Tweak to run under either version of expect.
7624
7625Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7626
7627 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
7628 xfails; I'm not sure why they are failing, but not because of PR 1806.
7629
7630Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
7631
7632 * config/unix-gdb.exp: Remove gdb_unload cause it's already
7633 defined in lib/gdb.exp.
7634
7635Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7636
7637 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
7638 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
7639 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
7640 have to be typeless.
7641
7642Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7643
7644 * TODO: Add suggestion for copyright year test.
7645
7646Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
7647
7648 * configure.in (*-*-lynxos*): Add stabs tests.
7649
7650Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7651
7652 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
7653 so insert a tab before any assembler directive in column zero.
7654
7655 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
7656 stores.
7657 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
7658 stores.
7659 (fpu_short_memory_tests): Likewise.
7660
7661Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7662
7663 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
7664 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
7665 .stabs directives in comments.
7666
7667Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7668
7669 * TODO: New file, describing tests we could write.
7670 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
7671
7672Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7673
7674 * gdb.t06/signals.exp: Add kludge to force re-sync.
7675
7676 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
7677 to xgdb instead of gdb, get out of gdb.
7678
7679Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
7680
7681 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
7682 for info.
7683
7684Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7685
7686 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
7687 * gdb.stabs/configure.in (hppa*-*-*): Use it.
7688 * gdb.stabs/hppa.sed: New sed script for the PA.
7689
7690Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7691
7692 * gdb.stabs: Re-write weird.def and configuration to use sed
7693 instead of cpp. sed is portable and POSIX; cpp is neither.
7694
7695Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7696
7697 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
7698
7699Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7700
7701 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
7702
7703Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7704
7705 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
7706 "_vb$".
7707 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
7708 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
7709
7710Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7711
7712 * lib/gdb.exp: Comment out code which depends on non-existent
7713 `transform' procedure.
7714
7715Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
7716
7717 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
7718 * lib/gdb.exp: Transform tool name.
7719 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
7720 1.1's new error handling system.
7721
7722Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7723
7724 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
7725
7726Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7727
7728 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
7729 They made pattern matching so slow that timeouts happened on
7730 heavily loaded systems. Now any output from "show print" which
7731 gets us back to the GDB prompt is a PASS.
7732
7733Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
7734
7735 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
7736
7737Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7738
7739 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
7740
7741 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
7742 It is not from PR 3220.
7743
7744Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7745
7746 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
7747 just started failing because they depended on the order the
7748 subcommands are presented, or exact docstring text. This kind of
7749 test is a pain and has minimal benefit.
7750
7751Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7752
7753 * gdb.t09/corefile.exp: At end of test, use "core" command with
7754 no arguments.
7755
7756Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
7757
7758 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
7759 17}/Makefile.in: Make it possible to run the testsuite with Sun
7760 make and CC = cross gcc by adding explicit build rules for .o
7761 files.
7762
7763Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7764
7765 * gdb.t15/funcargs.exp: Don't put comments on same line as
7766 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 7767
c906108c
SS
7768Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7769
7770 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
7771
7772Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
7773
7774 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
7775 * gdb.t20/inherit.exp: remove three dumplicate entries.
7776
7777Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7778
7779 * gdb.t06/break.exp: For "next over recursive call", fail on any
7780 incorrect output, not just on "factorial (value=2)".
7781
7782Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7783
7784 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
7785 working now. Add an xfail if accesing a bss variable causes
7786 a memory error if the target is not yet run.
7787
7788Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7789
7790 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
7791 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
7792 name of __st* demangling (2 strings). Did Kung really get the
7793 more than 95 others right without testing them?
7794
7795Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
7796
7797 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
7798
7799Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
7800
7801 * configure.in (configdirs): Add gdb.disasm
7802 * gdb.disasm: New directory for GDB disassembler tests.
7803 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
7804
7805Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7806
7807 * gdb.t00/help.exp: Don't test "help set".
7808
7809 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
7810 from within expect statements. None of these happen anymore and
7811 they cause regressions to be silently unnoticed.
7812
7813 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
7814 messages) about known failures with gcc cygnus-2.4.5-930417.
7815
7816 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
7817 comp-info.exp so it gets built if it doesn't exist.
7818
7819 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
7820 it is no longer used.
7821 * gdb.t13/comp-info.c: Removed.
7822
7823Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
7824
7825 * gdb.t06/signals.exp: Add xfail for sun3.
7826
7827Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7828
7829 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
7830 relevant because ^C doesn't get sent but failure can be reproduced
7831 interactively).
7832
7833Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7834
7835 * gdb.stabs/alpha.mt: New configuration file for alpha.
7836 * gdb.stabs/configure.in: Use it.
7837 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
7838 sharing with alpha.mt, redefine long to word via preprocessor.
7839 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
7840 for alpha.
7841 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
7842 native cc.
7843 * gdb.t00/teststrategy.exp: Change expect string so that we
7844 consume the `(xgdb)' from the command echo and from the gdb prompt.
7845 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
7846 gdb currently compares all values as long, so this failure probably
7847 applies to any configuration where LONGEST is bigger than a target int.
7848 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
7849 with gcc.
7850 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
7851 to handle opaque pointers, gcc is.
7852 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
7853 as first argument. Include <sys/types.h> and change all operator
7854 new definitions to use size_t.
7855 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
7856 now that we use size_t.
7857
7858Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7859
7860 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
7861 a long or float array cast all array members to the same type.
7862 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
7863 with 64 bit longs.
7864 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
7865 on alpha.
7866 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
7867
7868Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7869
7870 * gdb.t24 (demangle.exp): Constructors of templates have names like
7871 vector<int>::vector(int) not vector<int>::vector<int>(int). See
7872 section 14.6 of the ARM.
7873
7874 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
7875 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
7876 accomplish little and slow down the testsuite.
7877
7878 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
7879 Accept spaces various places.
7880
7881Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7882
7883 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
7884 with watchpoint enabled.
7885
7886 * Makefile.in: Remove definition of CC and remove the second
7887 definition of CXX (the "CXX = gcc" one remains). These definitions
7888 were causing backquotes to be expanded within backquotes, which
7889 doesn't work.
7890
7891Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
7892
7893 * gdb.t17/callfuncs.exp: Add "return 0" to end.
7894
7895Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7896
7897 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
7898 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
7899 by mips cc and contains no stabs entries.
7900
7901Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
7902
7903 * config/vx-gdb.exp: Use fake device to load files rather than
7904 NFS.
7905 * lib/gdb.exp: New proc to do "file" command.
7906 * config/unix-gdb.exp: Use new "file" proc.
7907
7908Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7909
7910 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
7911 Rework board rebooting slightly.
7912 (gdb_exit): Don't exit from the remote shell; there isn't one.
7913 * gdb.stabs/weird.exp: If a program is being debugged already,
7914 kill it.
7915 * gdb.t04/setvar.exp: Stop and restart gdb.
7916 * gdb.t05/expr.exp: Likewise.
7917 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
7918 restart gdb and reload the program.
7919 * gdb.t08/opaque.exp: Likewise.
7920 * gdb.t12/scope.exp: Likewise.
7921 * gdb.t13/bitfields.exp: Likewise.
7922 * gdb.t15/funcargs.exp: Likewise.
7923 * gdb.t20/classes.exp: Likewise.
7924 * gdb.t03/ptype.exp: Increase timeout.
7925 * gdb.t16/printcmds.exp (test_print_string_constants,
7926 test_print_array_constants): Likewise.
7927 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
7928 * gdb.t20/classes.exp (do_tests): Likewise.
7929 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
7930
7931Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
7932
7933 * gdb.stabs: Renamed *wierd* to *weird*.
7934
7935Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
7936
7937 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
7938 for timeout. Add "known gcc 2.4.5 bug" to failure message.
7939
7940Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
7941
7942 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
7943 (do_tests): Remove xfail for whatis on one_var and two_var.
7944
7945Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
7946
7947 * Makefile.in: Made cross building work better by adding
7948 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
7949
7950Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7951
7952 * gdb.t15/{return.c,return.exp,Makefile.in}:
7953 New test, currently commented out.
7954
7955Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
7956
7957 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
7958 still running and removes the leftover named socket so GDb can do
7959 clean restarts.
7960
7961Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
7962
7963 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
7964 console, not GDB.
7965 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
7966 cross testing works better with "make check"
7967 * config/unix-gdb: Use default procedures for exit and version.
7968 * config/vx-gdb.exp: Cleaned up and massaged back to working order
7969 with the newest VxWorks.
7970
7971Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7972
7973 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
7974 old form.
7975
7976 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
7977 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
7978
7979 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
7980
7981 * config/unix-gdb.exp: Remove this version of gdb_exit
7982 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
7983 Rob says he'll look at it when he gets back to testing boards.
7984
7985Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
7986
7987 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
7988 an expected fail for certain ptype commands.
7989
7990 * gdb.t20/classes.exp: Update expected results of "ptype class
7991 Base1" to account for the constructor that now appears in the type.
7992
7993Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
7994
7995 * configure.in (configdirs): Restore gdb.t04, which mysteriously
7996 disappeared from list.
7997 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
7998 "alldone" proc with call to cleanup and exit.
7999 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8000 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8001 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8002 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8003 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8004 "alldone" proc with simple returns that suppress remaining
8005 tests. The alldone proc went away many months ago.
8006
8007Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8008
8009 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8010
8011 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8012
8013Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8014
8015 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8016 as vax gdb will display them.
8017
8018Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8019
8020 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8021 optimizers.
8022
8023 * scope.exp: Change "bad value for localval" messages so each one
8024 is unique.
8025
8026 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8027 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8028
8029 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8030
8031Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8032
8033 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8034 doesn't exist (due to optimization).
8035
8036Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8037
8038 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8039 contains \r because the filename is long.
8040
8041 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8042 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8043
8044Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8045
8046 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8047 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8048 Ultrix.
8049 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8050 int tests.
8051 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8052
8053Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8054
8055 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8056
8057 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8058 to match does not match the passing case but still matches the
c906108c
SS
8059 failing case.
8060
8061Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8062
8063 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8064
8065Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8066
8067 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8068 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8069 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8070 Remove various versions of gdb_exit.
8071 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8072 gdb_exit.
8073 * config/unix-gdb.exp: gdb_exit remains here, and should override
8074 the generic version, since it's doing a lot of wierd stuff that
8075 the other versions aren't. FIXME, fold it in, or abandon this
8076 version.
8077
8078Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8079
8080 * gdb.t24/demangle.exp: Add tests for PR 3220.
8081
8082Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8083
8084 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8085
8086Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8087
8088 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8089 "i386-*-*". Works for i486 as well.
8090
8091 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8092 bug, and expand domain of xfail to all SVR4 systems, since the
8093 actual problem is likely to be in generic SVR4 /proc support.
8094
8095Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8096
8097 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8098
8099Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8100
8101 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8102 xfails for other systems. Match a missing 'Continuing.' as an
8103 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8104
8105 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8106 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8107 Only issue warning for missing executables if -all option is used.
8108
8109 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8110 file if -all option is used. It's like an unpredictable XFAIL.
8111
8112Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8113
8114 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8115 for dynamically linked binaries.
8116
8117 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8118
8119Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8120
8121 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8122 to state that this is a known bug in old versions of g++.
8123
8124Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8125
8126 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8127 while waiting for `Continuing'.
8128
8129Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8130
8131 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8132 in text, data, and bss.
8133 * gdb.t10/nodebug.c: Add local and global test variables for
8134 initialized and uninitialized data.
8135
8136Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8137
8138 * config/unix-gdb.exp (gdb_exit): Add "wait".
8139
8140Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8141
8142 * gdb.t06/signals.exp: xfail the continue from the handler for all
8143 targets.
8144
8145 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8146 function with watchpoints enabled, the i386 call dummy starts with
8147 a call.
8148
8149 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8150 386 bsd names its corefiles.
8151
8152Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8153
8154 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8155 compilers don't grok it.
8156 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8157 with small octal ints rather than character constants, which
8158 are signed and might not fit if first promoted to int.
8159
8160Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8161
8162 * gdb.t09/Makefile.in (clean): Remove corefile.
8163
8164Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8165
8166 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8167
8168Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8169 and Jim Kingdon (kingdon@cygnus.com)
8170
8171 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8172 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8173 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8174
8175Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8176
8177 * gdb.t17/interrupt.exp: Add xfail for hppa.
8178
8179Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8180
8181 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8182 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8183 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8184 to determine signed-ness of bitfields and use the result to setup
8185 the xfail.
8186 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8187 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8188 call line is reached if necessary.
8189
8190Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8191
8192 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8193
8194Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8195
8196 * gdb.t06/break.exp: Also test `clear' command.
8197
8198Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8199
8200 * gdb.t00/teststrategy.exp: Remove extra quote.
8201
8202 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8203 watchpoint enabled to be for all non-68k machines.
8204
8205 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8206
8207Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8208
8209 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8210 targets use aout.mt instead of ecoff.mt as gas understands
8211 standard aout format.
8212
8213Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8214
8215 * lib/gdb.exp (runto): Don't insist that function we are running to
8216 was compiled with -g.
8217
8218 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8219
8220 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8221 to get back into the read system call.
8222 Accept leading newline in case where we woke it up.
8223
8224Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8225
8226 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8227 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8228 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8229 enable ecoff configuration.
8230
8231Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8232
8233 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8234
8235Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8236
8237 * gdb.t16/printcmds.exp: Add another printf test.
8238
8239Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8240
8241 * configure.in: If configured -with-stabs on any target, add
8242 stabsdirs to configdirs.
8243
8244Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8245
8246 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8247 fun" so pattern does not match the command itself.
8248
8249Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8250
8251 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8252
8253Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8254
8255 * gdb.t17/interrupt.exp: Test for more things.
8256
8257Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8258
8259 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8260 compiler arranges the code and line numbers.
8261
8262 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8263
8264Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8265
8266 * gdb.t00/help.exp: Increase expect input buffer size.
8267
8268Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8269
8270 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8271
8272 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8273
8274 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8275
8276 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8277 [0-9]*, not just [0-9].
8278
8279Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8280
8281 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8282
8283 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8284
8285Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8286
8287 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8288
8289Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8290
8291 * gdb.t06/signals.c: Add xfails for sun3.
8292
8293 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8294
8295 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8296 test_stepping tests.
8297
8298Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8299
8300 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8301
8302 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8303
8304 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8305 rather than actually putting it through cpp twice.
8306
8307 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8308
8309Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8310
8311 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8312 no longer needed.
8313
8314Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8315
8316 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8317
8318 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8319 C++ features prints as "struct", make it a pass, not an xfail.
8320
8321Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8322
8323 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8324 Don't require VA to print as "class" rather than "struct".
8325
8326Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8327
8328 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8329
8330Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8331
8332 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8333
8334Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8335
8336 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8337 order.
8338
8339Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8340
8341 * gdb.t16/printcmds.exp: Add printf tests.
8342
8343 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8344
8345 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8346
8347Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8348
8349 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8350 pass counts, to counteract any existing or future setup_xfails.
8351
8352Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8353
8354 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8355 {BEGIN,END}_COMMON for common block instead of STAB.
8356 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8357
8358 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8359 intp_var should be N_GSYM not N_LSYM.
8360 wierd-aout.S: Use a label for the value of the N_SO.
8361 wierd.def: Remove all backslashes.
8362 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8363
8364Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8365
8366 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8367 get the expected next to inheritance3.
8368
8369Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8370
8371 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8372 now that gcc-2.4 gets it right.
8373
8374Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8375
8376 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8377
8378 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8379 generating comp-info.exp which works for cross-compilation.
8380
8381Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8382
8383 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8384 "*-*-sysv4.*".
8385
8386Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8387
8388 * gdb.t01/run.exp: Start with a fresh gdb.
8389 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8390 SVR4.x.
8391
8392Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
8393
8394 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
8395 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
8396 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
8397 Makefile.in (distclean, realclean): Remove gdbme.c from list of
8398 things to remove.
8399
8400Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
8401
8402 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
8403 test cases from bug reports.
8404
8405Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
8406
8407 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
8408 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
8409 avoid spurious xfails.
8410 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
8411 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
8412 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
8413
8414Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
8415
8416 * gdb.t00/teststrategy.exp: Rework to provide more useful
8417 description of each test, fix problem with systems that define
8418 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
8419 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
8420 results for "next over recursive call" so timeouts aren't taken
8421 by error.
8422
8423Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
8424
8425 * gdb.t12/scope.exp: Test printing of variables before run.
8426
8427 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
8428 printed in wrong order due to sorting.
8429
8430Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
8431
8432 * gdb.t00/teststrategy.exp: Fix expected results for printing
8433 user entered string constant. Is array of char, prints with no
8434 address.
8435
8436 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
8437 commands.
8438 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
8439 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
8440 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
8441 of struct of char arrays.
8442 * gdb.t00/radix.exp: New tests for radix commands.
8443
8444Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
8445
8446 * gdb.t16/printcmd.exp: Print a variable before running program
8447 (with xfail for AIX).
8448
8449Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
8450
8451 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
8452
8453 * gdb.t16/printcmd.exp: Don't print variables before running program.
8454
8455 * gdb.t06/break.exp: Don't require envp argument to main.
8456
8457 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
8458
8459 * gdb.t02/whatis.exp, gdb.t11/list.exp:
8460 Add xfails for rs6000.
8461
8462 * gdb.t02/whatis.exp: Change other tests not to re-test something
8463 we already tested.
8464
8465 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
8466 each type used has a variable of that type.
8467
8468Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
8469
8470 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
8471
8472Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8473
8474 * configure.in: change srctrigger to be a file, not a directory
8475
8476Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
8477
8478 * configure.in (mips-idt-ecoff*): Added trailing '*'.
8479
8480 * gdb.t11/list.exp: Fixed a couple of typos.
8481
8482Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
8483
8484 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
8485 is fixed and PR is closed.
8486 * gdb.t16 (gdbme.c): Add simple test string variable.
8487 * gdb.t16 (printcmds.exp): Add tests with simple test string
8488 variable, primarily for boundaries on "set print elements".
8489
8490Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
8491
8492 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
8493 Make leading 0's optional and don't expect a tab in the middle
8494 of the number.
8495
8496 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
8497
8498 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
8499 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
8500 don't end command passed to gdb_test with newline.
8501
8502 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
8503 signed keyword away, don't expect signed bitfields to be signed.
8504
8505 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
8506 printing with only as many 1's as are in the field as well as printing
8507 with 32 1's (see comment).
8508
8509Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
8510
8511 * gdb.t00/default.exp: Start with a fresh gdb.
8512 * configure.in (configdirs): Remove gdb.t31 until the chill
8513 compiler works again. It no longer is able to find chillrt0
8514 since it isn't in libchill.a anymore.
8515 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
8516 wierd.o, make more modular.
8517 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
8518 spurious newlines that caused problems.
8519
8520Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8521
8522 * Move test with enums and partial symbols from gdb.t03/ptype.exp
8523 to gdb.stabs/wierd.exp since GCC has worked around the bug.
8524 gdb.stabs/wierd.{exp,def}: Many new tests.
8525
8526 * gdb.t00/default.exp: update info line for new message.
8527
8528 * gdb.t02/{whatis.exp,gdbme.c}:
8529 Test that "char *" doesn't print as "caddr_t".
8530
8531Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8532
8533 * gdb.t00/help.exp: Use .* in place of some help messages which
8534 just changed.
8535 gdb.t00/default.exp: Update "info frame" test for new message.
8536 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
8537 Remove some xfails
8538
8539Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8540
8541 * gdb.t03/{gdbme.c,ptype.exp}:
8542 Add tests for typedef'd struct and union without tags.
8543 Also check "whatis" on a variable of a typedef'd enum without a tag.
8544
8545 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
8546 PRMS 1823; the bug still exists but isn't reproduced by this test
8547 anymore), and remove rs6000 XFAIL (the bug is fixed).
8548
8549 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
8550 duplicated from whatis.exp. For those that are left, accept
8551 "long", "long int", or "int" for long variables (whatis.exp already
8552 has an XFAIL for "int", so no need to fail it here).
8553
8554 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
8555 Deal with GCC's names for types now that GDB uses the compiler's names.
8556
8557 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
8558 setup_xfail's for sunos4. If we #defined the signed keyword away,
8559 don't expect GDB to know that char it is signed.
8560
8561 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
8562
8563Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
8564
8565 * configure.in (configdirs): Add gdb.t24 for C++ tests that
8566 should work on any system, regardless of debugging format.
8567 * gdb.t21/demangle.exp: Move to gdb.t24.
8568 * gdb.t24/demangle.exp: Move from gdb.t21.
8569 * gdb.t24/{Makefile.in, configure.in}: New files.
8570
8571Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8572
8573 * configure.in: Do gdb.stabs and C++ tests only for stabs.
8574 * gdb.stabs: New directory.
8575
8576Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8577
8578 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
8579 not just "Quit anyway?".
8580
8581Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
8582
8583 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
8584 that all setup_xfails are immediately followed by clear_xfails.
8585
8586Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
8587
8588 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
8589 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
8590 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
8591 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
8592 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
8593 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8594 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8595 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
8596 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
8597 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
8598 gdb.t31/chillvars.exp, lib/gdb.exp:
8599 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
8600 bug-gdb@prep.ai.mit.edu.
8601
8602Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
8603
8604 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
8605 with 0.0, not integer 0.
8606
8607Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
8608
8609 * gdb.t06/break.exp: Update for "Kill the program" message change.
8610
8611Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
8612
8613 * Makefile.in (GDBFLAGS): Set to -nx.
8614 * Makefile.in (site.exp): Use GDBFLAGS.
8615
8616Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8617
8618 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
8619 Makefiles.
8620 (check): depend on just-check.
8621 (just-check): added so that tests can be run without a noop
8622 build pass.
8623
8624Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8625
8626 Switch to using configure's configdirs.
8627 * Makefile.in (Makefile): add configure.in dependency.
8628 (SUBDIRS): removed redundant assignment.
8629 * configure.in: switch subdirs assignment to configdirs.
8630 * gdb.t*/configure.in: new files.
8631
8632Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
8633
8634 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
8635 works.
8636
8637Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
8638
8639 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
8640 in explicit rules. Apparently this is not supported by some makes.
8641
8642Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
8643
8644 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
8645
8646Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8647
8648 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
8649 disappeared.
8650
8651Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
8652
8653 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
8654
8655Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
8656
8657 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
8658 watchpoint problem that is now fixed.
8659 * gdb.t30/chexp.exp: Remove setup_xfail for printing
8660 uninitialized convenience variables.
8661 * gdb.t31/chillvars.exp: Fix expected patterns for printing
8662 structures.
8663
8664Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8665
8666 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
8667 which causes expect to get out of sync with gdb on long output
8668 from help set.
8669 * gdb.t09/corefile.exp: Make expected pattern for core file
8670 failing signal and frame output format less sun specific.
8671
8672Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
8673
8674 * gdb.t31/chillvars.exp: Add and remove initial dummy
8675 breakpoint, so that symbol table is forced in.
8676 (Needed at least on Sunos4, though it seems not SVR4.)
8677 * gdb.t31/chillvars.exp: Update for changed output format.
8678
8679Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
8680
8681 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
8682
8683Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
8684
8685 * Makefile.in: Added --srcdir when invoking runtest, removed the
8686 need for a local config file. (optional now)
8687
8688Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
8689
8690 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
8691 failure count used to force early termination. Add some more
8692 expected failures for gnu style demangling.
8693
8694Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8695
8696 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
8697 pmi variable from gdb.t20/gdbme to get optimized away.
8698 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
8699 Check for written corefile upon timeout _and_ eof.
8700
8701Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8702
8703 * config/unix-gdb.exp: Add missing return 0.
8704
8705Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8706
8707 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
8708 test termination.
8709
8710Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
8711
8712 * configure.in (subdirs): Put back gdb.t17 which mysteriously
8713 disappeared.
8714
8715Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
8716
8717 * gdb.t10/crossload.exp: Disable the i860-elf test until such
8718 time as i860 support works.
8719
beb998c6 8720 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
8721 "backtrace 100\r" rather than just "backtrace\r", to match last
8722 change.
8723
8724Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
8725
8726 * config/udi-gdb.exp (gdb_exit): Remove close command.
8727 (gdb_target_udi): New procedure to set the UDI target.
8728 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
8729 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
8730 Added waits for prompts after several question responses. Added
8731 some more responses used by a29k-amd-udi-gdb.
8732 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
8733 pass different arguments, restart UDI connection after program
8734 completion.
8735 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
8736 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8737 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
8738 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
8739 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
8740 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
8741 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8742 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
8743 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
8744 after program completion.
8745 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
8746 compiled with a SELECT_VECS setting.
8747 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
8748 infinite recursion.
8749
8750 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
8751 Added checks for COFF results, and made them expected failures for
8752 all targets. It would be better to make them expected failures
8753 for COFF targets only.
8754
8755Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
8756
8757 * Makefile.in: add null dvi target, don't bother to recurse
8758 through test directories for info and install-info; rename
8759 $(datadir) to be dejagnu instead of deja-gnu
8760
8761Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
8762
8763 * gdb.t31/gdbme.ch: Re-enable code that previously caused
8764 compiler to coredump.
8765 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
8766 code.
8767
8768Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
8769
8770 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
8771 coredump.
8772 * gdb.t31/chillvars.exp: Comment out tests that depend on that
8773 code.
8774
8775Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
8776
8777 * gdb.t03/ptype.exp: tests for return code from gdb_test.
8778 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
8779 which in a shell. Deletes xgdb when done.
8780 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
8781 Tests the return from the "set height" or "set width" commands.
8782 Added a few return codes where needed.
8783
8784Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
8785
8786 * Makefile.in (SUBDIRS): Add gdb.t17.
8787 * configure.in (subdirs): Add gdb.t17.
8788 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
8789 files to test gdb's calling of functions in the inferior with
8790 the correct arguments and gdb's ability to retrieve any
8791 result returned.
8792
8793Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
8794
8795 * config/unix-gdb.exp (gdb_exit): Remove close commands that
8796 may be called after gdb goes away. Previous versions of expect
8797 needed these to avoid file descriptor leaks, but they cause
8798 errors with the current revision of expect.
8799 * gdb.t00/gdbvars.exp: Use -re on expected output after
8800 setting sevenbit-strings.
8801 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
8802 to set sevenbit-strings consistent across tests.
8803 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
8804 set sevenbit-strings consistent across tests.
8805
8806Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
8807
8808 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
8809 expected output to match current "expect" expectations.
8810
8811Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
8812
8813 * gdb.t00/default.exp: Change expected output for default "source"
8814 command, to match new gdb behavior which requires a filename to
8815 source.
8816
8817Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
8818
8819 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
8820 expected fail for i486-*-* that misses the marker2 function.
8821 * gdb.t10/crossload.exp (bfddefault): Allow successful
8822 recognition of a format to pass even if no symbols are found.
8823 Explicitly catch failures where the format is not recognized
8824 or is ambiguous, and add the reason to the fail message.
8825 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
8826 the cause is and invalid target and add reason to failure message.
8827 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
8828 elf32-i386, elf32-sparc, and elf32-i860.
8829 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
8830 Set up expected failure for 'filename'::variable scope resolution,
8831 which is now apparently broken on all targets.
8832 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
8833 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
8834 gdb.t23/templates.exp: Change failure for missing binfile into
8835 just a warning.
8836 gdb.t21/demangle.exp: Change all cfront references to 'arm'
8837 references.
8838
8839Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
8840
8841 * gdb.t00/default.exp: Add expected output for default "source"
8842 command, to match new gdb behavior.
8843 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
8844
8845Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
8846
8847 * config/*-gdb.exp: returns an error, rather than exiting on
8848 internal errors.
8849
8850Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
8851
8852 * gdb.t03/gdbme.c: Add pointer to struct variable.
8853 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
8854 referencing struct members.
8855
8856Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
8857
8858 * configure.in (mips-idt-ecoff): New target.
8859 * config/mips-gdb.exp: New file for remote board using MIPS remote
8860 debugging protocol.
8861
8862 * Redid configuration scheme. Removed gdb.t*/configure.in.
8863 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
8864 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
8865 distclean targets. Built executables via .o files. Adjusted
8866 tests to account for source files in $(srcdir) rather than
8867 $(objdir).
8868 * lib/gdb.exp (runto): Don't expect () after the function name,
8869 because it may have arguments.
8870
8871Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
8872
8873 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
8874 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
8875 expected failures for mips-idt-* and mips-sgi-*.
8876 * gdb.t00/default.exp (attach): Kill process if requested.
8877 * gdb.t00/help.exp (help target core, help target): Accept a gdb
8878 that does not read core files.
8879 * gdb.t01/run.exp: Removed checks for exit status code.
8880 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
8881 it is linked in.
8882 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
8883 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
8884 appropriate, rather than doing it by hand.
8885 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
8886 execution.
8887 * gdb.t10/crossload.exp: Kill existing program if needed.
8888 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
8889 appropriate, rather than doing it by hand. Always increase
8890 timeout for this test, not just for VxWorks.
8891
8892Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
8893
8894 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
8895 of Chill STRUCT types and STRUCT values.
8896 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
8897 than "char".
8898 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 8899 struct2): New struct definitions and initializations to test
c906108c
SS
8900 simple Chill STRUCT types.
8901
8902Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
8903
8904 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
8905 the null byte at the end of strings.
8906 * gdb.t00/default.exp: Make show version insensitive to copyright
8907 date.
8908 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
8909 to avoid dependencies on target char signedness.
8910 * gdb.t16/printcmds.exp: Update expected results for explicitly
8911 unsigned char.
8912 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
8913 now work.
8914 * gdb.t21/demangle.exp: Add many more patterns for template
8915 demangling, most of them being expected failures.
8916 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
8917 string we are matching for, to match on the whole string.
8918 * gdb.t21/demangle.exp: Add many new test strings to demangle,
8919 and fix a whole bunch that had incorrect expected output but were
8920 passing anyway because of the bug in "proc demangle".
8921 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
8922 type.
8923 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
8924
8925Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
8926
8927 * gdb/testsuite: made modifications to testcases, etc., to allow
8928 them to work properly given the reorganization of deja-gnu and the
8929 relocation of the testcases from deja-gnu to a "tool" subdirectory.
8930
8931Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
8932
8933 * gdb/testsuite: Initial creation of gdb/testsuite.
8934 Migrated dejagnu testcases and support files for testing nm to
8935 gdb/testsuite from deja-gnu. These files were moved "as is"
8936 with no modifications. This migration is part of a major overhaul
8937 of dejagnu. The modifications to these testcases, etc., which
8938 will allow them to work with the new version of dejagnu will be
8939 made in a future update.
8940\f
8941Local Variables:
8942mode: indented-text
8943left-margin: 8
8944fill-column: 74
8945version-control: never
8946End: