]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2002-04-24 Daniel Jacobowitz <drow@mvista.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
96b3d632
EZ
12002-04-23 Elena Zannoni <ezannoni@redhat.com>
2
3 * gdb.base/help.exp: Change 'help status' to allow for target
4 dependent output differences.
5
5019bb54
MC
62002-04-22 Michael Chastain <mec@shout.net>
7
8 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
9
a805a116
MC
102002-04-22 Michael Chastain <mec@shout.net>
11
12 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
13
a1706bfd
DM
142002-04-17 David S. Miller <davem@redhat.com>
15
16 * gdb.asm/sparc64.inc: New file.
17 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18
a73a20a2
EZ
192002-04-19 Elena Zannoni <ezannoni@redhat.com>
20
21 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
22 instruction file directly into the build tree. Clean up at end of
23 test.
24
ba678339
DM
252002-04-18 David S. Miller <davem@redhat.com>
26
27 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
28 handle 64-bit platforms correctly.
29 * gdb.base/maint.exp: Likewise.
30
b03399da
KB
312002-04-18 Kevin Buettner <kevinb@redhat.com>
32
33 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
34 ``-fpic'' when compiling files comprising a shared library, but
35 it does need additional linker flags in order to find shared
36 libraries at run time.
37
e2004992
KB
382002-04-18 Kevin Buettner <kevinb@redhat.com>
39
40 * gdb.base/cvexpr.c (use): New function.
41 (main): Invoke use() on all global variables to prevent
42 some linkers from deleting these otherwise unused symbols.
43
d8937120
MC
442002-04-17 Michael Chastain <mec@shout.net>
45From David S. Miller <davem@redhat.com>
46
47 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
48 handle 64-bit platforms correctly.
49
ffd61a58
MS
502002-04-12 Michael Snyder <msnyder@redhat.com>
51From Jim Blandy <jimb@redhat.com>
52 * gdb.base/foo.c (foox): Remove section attribute; the linker
53 script can handle this instead.
54 * gdb.base/bar.c (barx): Same.
55 * gdb.base/baz.c (bazx): Same.
56 * gdb.base/grbx.c (grbxx): Same.
57
58 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
59 manager doesn't automatically unmap overlays unnecessarily.
60
6b8426a6
MH
612002-04-10 Martin M. Hunt <hunt@redhat.com>
62
63 * gdb.base/ending-run.exp: Fix pattern for Mips targets
64 stepping out of main.
65
34af4875
MC
662002-04-09 Michael Chastain <mec@shout.net>
67
68 * gdb.c++/local.cc (main): Move call to marker1() inside nested
69 scope so that the nested scope tests will make sense.
70 * gdb.c++/local.exp: Write patterns that actually work with gcc
71 (the HP patterns "were never known to work with gcc").
72 Keep the old aCC patterns too.
73
2d1676a0
DJ
742002-04-09 Daniel Jacobowitz <drow@mvista.com>
75
76 * gdb.base/attach.exp: Correct target board test.
77
3a63e3f9
MC
782002-04-08 Michael Chastain <mec@shout.net>
79
80 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
81 in a const method. Add some xfail and fail cases for configurations
82 that do not emit the "const ...".
83
f18dabd2
MC
842002-04-07 Michael Chastain <mec@shout.net>
85
86 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
87 Accept "A * const" and "const A * const" as type of "this".
88 Fix spelling of getFunky throughout. Make messages uniform.
89
0fcddd82
EZ
902002-04-07 Elena Zannoni <ezannoni@redhat.com>
91
92 Work around for PR gdb/285:
93 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
94
16a8534a
EZ
952002-04-07 Elena Zannoni <ezannoni@redhat.com>
96
97 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
98 instructions file at run time instead of configure time.
99 Sometimes we run the test in a directory that is not the one we
100 configured in.
101 * gdb.asm/configure.in: Delete creation of symlink.
102 * gdb.asm/configure: Regenerate.
103
24181d81
JB
1042002-04-05 J. Brobecker <brobecker@gnat.com>
105
106 * gdb.gdb/xfullpath.exp: New test, to exercise the new
107 xfullpath () function.
108
7cdb7107
DJ
1092002-04-04 Daniel Jacobowitz <drow@mvista.com>
110
111 * gdb.asm/Makefile.in: Correct dependencies.
112
113 * gdb.asm/powerpc.inc: New file.
114 * gdb.asm/asm-source.exp: Add PowerPC.
115 * gdb.asm/configure.in: Likewise.
116 * gdb.asm/configure: Regenerated.
117
a7d17088
DJ
1182002-04-04 Daniel Jacobowitz <drow@mvista.com>
119
120 * gdb.base/relocate.exp: New file.
121 * gdb.base/relocate.c: New file.
122
cd721503
FF
1232002-04-04 Fred Fish <fnf@redhat.com>
124
125 * gdb.base/step-test.exp: Update comment regarding stopping in
126 memcpy/bcopy calls inserted as part of the compiler runtime.
127
b22ad7a7
MS
1282002-04-04 Michael Snyder <msnyder@redhat.com>
129
130 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
131
5f279fa6
DJ
1322002-04-03 Daniel Jacobowitz <drow@mvista.com>
133
134 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
135 (gdb_expect): Remove $notransfer hack.
136
dd0fd3ce
DJ
1372002-04-02 Daniel Jacobowitz <drow@mvista.com>
138
139 * gdb.c++/classes.exp ("calling method for small class"): Match
140 updated register output.
141
1e50cda1
DJ
1422002-03-30 Daniel Jacobowitz <drow@mvista.com>
143
144 Fix PR gdb/452
145 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
146 when finished. Make gdb_file_cmd send "exec-file" when
147 appropriate.
148
24015922
DJ
1492002-03-30 Daniel Jacobowitz <drow@mvista.com>
150
151 * gdb.base/attach.exp: Remove extra setup_xfail.
152
dd7dfd64
MS
1532002-03-26 Michael Snyder <msnyder@redhat.com>
154
155 * gdb.base/default.exp: Add tests for dump, append, and restore.
156 * gdb.base/help.exp: Add tests for dump, append, and restore.
157 * gdb.base/dump.exp: New file, test dump, append and restore.
158 * gdb.base/dump.c: New file.
159
48b2f8d7
MS
1602002-03-27 Michael Snyder <msnyder@redhat.com>
161
162 * gdb.base/help.exp: Modify expect strings to reflect
163 clean-ups in help messages.
164
05b4d525
FF
1652002-03-26 Fred Fish <fnf@redhat.com>
166
167 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
168 have debugging info for those functions and the compiler uses them
169 internally to copy structs around.
170
d7679631
FF
1712002-03-26 Fred Fish <fnf@redhat.com>
172
173 * gdb.base/list.exp: Revert the change made yesterday and add note
174 about why we don't list the default lines for remote targets.
175
523ac3f9
MS
1762002-03-25 Michael Snyder <msnyder@redhat.com>
177
178 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
179
754b2b8d
FF
1802002-03-25 Fred Fish <fnf@redhat.com>
181
182 * gdb.base/list.exp: This test works on remote targets so remove
183 the short circuit for remote targets. Update copyright.
184
33c3e192
FF
1852002-03-25 Fred Fish <fnf@redhat.com>
186
187 * gdb.base/attach.exp: Fix logic error that was suppressing this
188 test for all non hppa*-*-hpux* targets, instead of the hp target.
189 Move comments closer to the suppression point. Also now need to
190 check that we are running natively.
191
d43e73ee
MS
1922002-03-22 Michael Snyder <msnyder@redhat.com>
193
882c8f02
MS
194 * gdb.base/default.exp: Add test for gcore. Update copyright.
195 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 196
04c12f60
FF
1972002-03-06 Fred Fish <fnf@redhat.com>
198
199 * gdb.base/funcargs.c: Remove extraneous ';' character.
200 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
201
b43df995
MC
2022002-03-04 Michael Chastain <mec@shout.net>
203
204 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
205 accommodate gcc v3 function signature.
206 * gdb.mi/mi0-var-cmd-exp: Ditto.
207
92362027
AC
2082002-02-24 Andrew Cagney <ac131313@redhat.com>
209
210 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
211 ``GNU/Linux'' or ``Linux kernel''
212 * testsuite/gdb.threads/pthreads.c: Ditto.
213
258ad32d
MC
2142002-02-24 Michael Chastain <mec@shout.net>
215
216 * gdb.threads/pthreads.c (thread1): Add a return statement.
217 (thread2): Likewise.
218 (foo): Likewise.
219
04c3b3d4
MC
2202002-02-23 Michael Chastain <mec@shout.net>
221
222 * gdb.threads/linux-dp.c (philosopher): Add a return statement
223 to placate gcc.
224
5a2a0a20
MC
2252002-02-23 Michael Chastain <mec@shout.net>
226
227 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
228 test "ptype bint". The test passes on all my stabs configurations.
229
a640f7fc
JB
2302002-02-21 Jim Blandy <jimb@redhat.com>
231
27924826
JB
232 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
233 filename at a time, and watch for the ones we want to see.
234
a640f7fc
JB
235 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
236 types of pointers to prototyped functions.
237
edcc8c75
AC
2382002-02-20 Andrew Cagney <ac131313@redhat.com>
239
240 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
241 signed, unsigned and straight char.
242 (padding_char, padding_short, padding_int, padding_long,
243 padding_long_long, padding_float, padding_double,
244 padding_long_double): New global variables.
245 (fill, fill_structs): New functions.
246
247 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
248 for correctly sized writes. Update copyright.
249 (get_valueof): New procedure.
250 (get_sizeof): Call get_valueof.
251 (check_valueof): New procedure.
252 (check_padding): New procedure.
253
ac57ea44
MC
2542002-02-20 Michael Chastain <mec@shout.net>
255
256 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
257 to setup_xfail. Document some of the remaining calls.
258
7a10c941
MC
2592002-02-18 Michael Chastain <mec@shout.net>
260
261 * gdb.c++/userdef.exp: Update copyright year.
262
fb8acdcc
DJ
2632002-02-18 Daniel Jacobowitz <drow@mvista.com>
264
265 * gdb.c++/userdef.exp: Test overloaded operators properly.
266 Remove xfails.
267
fda6ae12
MS
2682002-02-14 Michael Snyder <msnyder@redhat.com>
269
270 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
271
676a0442
DJ
2722002-02-14 Daniel Jacobowitz <drow@mvista.com>
273
274 * gdb.base/a2-run.exp: Check for a remote target properly.
275 * gdb.base/annota1.exp: Likewise.
276 * gdb.base/list.exp: Likewise.
277 * gdb.base/reread.exp: Likewise.
278 * gdb.base/scope.exp: Likewise.
279 * gdb.base/shlib-call.exp: Likewise.
280 * gdb.base/term.exp: Likewise.
281 * gdb.c++/annota2.exp: Likewise.
282
78b4f468
RE
2832002-02-13 Richard Earnshaw <rearnsha@arm.com>
284
285 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
286
9a81ba51
MC
2872002-02-10 Michael Chastain <mec@shout.net>
288
289 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
290 (call_after_alloca): Ditto.
291
004af6c7
DJ
2922002-02-10 Daniel Jacobowitz <drow@mvista.com>
293
294 * gdb.base/ending-run.exp: Guard "cont" test with
295 gdb_skip_stdio_test.
296
37225f62
JB
2972002-02-06 Jim Blandy <jimb@redhat.com>
298
299 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
300 from here...
301 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
302 To here. Disable this test on non-HP platforms. Add big comment.
303
fe6fdd96
MS
3042002-02-04 Michael Snyder <msnyder@redhat.com>
305
306 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
307 other than d10v and m32r.
308
036fad3f
RE
3092002-02-02 Richard Earnshaw <rearnsha@arm.com>
310
311 * gdb.base/default.exp: Rewrite test patterns to reduce time
312 taken to match them.
313
7148ab62
DJ
3142002-01-30 Daniel Jacobowitz <drow@mvista.com>
315
316 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
317 Allow a start function above main.
318 * gdb.threads/linux-dp.exp: Fix copyright date.
319
396cc255
DJ
3202002-01-30 Daniel Jacobowitz <drow@mvista.com>
321
322 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
323 (check_philosopher_stack): Check for manager thread before checking
324 for a just-starting thread.
325
f038d31b
DJ
3262002-01-30 Daniel Jacobowitz <drow@mvista.com>
327
328 From Neil Booth <neil@daikokuya.demon.co.uk>:
329 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
330 warnings.
331
b3ff9d9a
FF
3322002-01-21 Fred Fish <fnf@redhat.com>
333
334 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
335 not caller.
336
39ad761d
JB
3372002-01-21 Jim Blandy <jimb@redhat.com>
338
339 * gdb.base/reread.exp: Check that GDB properly re-reads the
340 executable file when it changes while no inferior is running.
341
aaf320fa
FF
3422002-01-21 Fred Fish <fnf@redhat.com>
343
344 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
345 optionally accept the "shlib events" variation.
346
808a31f5
JB
3472002-01-21 Jim Blandy <jimb@redhat.com>
348
349 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
350 call `fflush' after every `printf', so that the output is produced
351 at predictable points, regardless of whatever buffering does (or
352 doesn't) take place.
353 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
354 at different points.
355
4420d5e2
DJ
3562002-01-20 Daniel Jacobowitz <drow@mvista.com>
357
358 * gdb.c++/inherit.exp: Update copyright years.
359 * gdb.c++/method.exp: Likewise.
360
3e36a0f4
DJ
3612002-01-20 Daniel Jacobowitz <drow@mvista.com>
362
363 * gdb.c++/classes.exp: Update for improved v3 support and skipping
364 artificial methods/arguments.
365 * gdb.c++/derivation.exp: Likewise.
366 * gdb.c++/inherit.exp: Likewise.
367 * gdb.c++/method.exp: Likewise.
368 * gdb.c++/virtfunc.exp: Likewise.
369
b4ceaee6
AC
3702002-01-18 Andrew Cagney <ac131313@redhat.com>
371
372 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
373 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
374 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
375 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
376 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
377 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
378
ecace851
JB
3792002-01-17 Jim Blandy <jimb@redhat.com>
380
381 * gdb.asm/asm-source.exp (info symbol): Take another shot at
382 anchoring the pattern matching the entry point symbol's name.
383
375fc983
AC
3842002-01-17 Andrew Cagney <ac131313@redhat.com>
385
386 * gdb.base/maint.exp: Update ``maint internal-error'' to match
387 continue/quit query. Update copyright.
388
fe6fdd96
MS
3892002-01-14 Michael Snyder <msnyder@redhat.com>
390
391 * gdb.base/gcore.exp: Remove extra debugging output.
392
e017c81f
DJ
3932002-01-13 Daniel Jacobowitz <drow@mvista.com>
394
395 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
396 for slightly dubious v2 mangled string.
397
37ab3bf8
DJ
3982002-01-13 Daniel Jacobowitz <drow@mvista.com>
399
400 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
401
1bc05c3a 4022002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 403
1bc05c3a 404 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 405
1bc05c3a
JM
406 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
407 constructors.
408 * gdb.c++/derivation.exp: Likewise.
409 * gdb.c++/templates.exp: Likewise.
410 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 411
1bc05c3a
JM
4122002-01-10 Michael Snyder <msnyder@redhat.com>
413
414 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 415
a911c360
MS
4162002-01-08 Michael Snyder <msnyder@redhat.com>
417
418 * gdb.base/gcore.exp: New test for generate-core-file command.
419 * gdb.base/gcore.c: Testcase for above.
420 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
421
ea2119ec
JM
4222002-01-08 Jason Merrill <jason@redhat.com>
423
424 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
425
68203136
FF
4262002-01-07 Fred Fish <fnf@redhat.com>
427
428 * gdb.c++/overload.exp: Remove unconditional xfails for:
429 print foo_instance1.overloadargs(1)
430 print foo_instance1.overloadargs(1, 2)
431 print foo_instance1.overloadargs(1, 2, 3)
432 print foo_instance1.overloadargs(1, 2, 3, 4)
433 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
434 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
435 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
436 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
437 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
438 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
439 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
440 print foo_instance1.overload1arg()
441 print foo_instance1.overload1arg((char)arg2)
442 print foo_instance1.overload1arg((signed char)arg3)
443 print foo_instance1.overload1arg((unsigned char)arg4)
444 print foo_instance1.overload1arg((int)arg7)
445 print foo_instance1.overload1arg((unsigned int)arg8)
446 print foo_instance1.overload1arg((float)arg11)
447 print foo_instance1.overload1arg((double)arg12)
448
21b9b5b1
MS
4492002-01-07 Michael Snyder <msnyder@redhat.com>
450
451 * gdb.base/huge.exp: New test. Print a very large target data object.
452 (skip_huge_test): New test variable. Define if you want to skip this
453 test. The test reads an 8 megabyte data object from the target, so it
454 might be very time consuming on remote targets with a slow connection.
455 * gdb.base/huge.c: New file. Test case for above.
456
725f922e
FF
4572002-01-07 Fred Fish <fnf@redhat.com>
458
459 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
460 g_instance.bfoo, and g_instance.cfoo.
461
634d57ec
JL
462Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
463
f286b2c3
JL
464 * gdb.base/break.c (multi_line_if_conditional): New function.
465 (multi_ilne_while_conditional): Likewise.
466 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
467 IF or WHILE condition puts the breakpoint at the start of
468 the condition.
469
634d57ec
JL
470 * gdb.base/selftest.exp (backtrace through signal handler): Remove
471 hppa*-*-hpux* expected failure.
472 * gdb.base/structs.exp (do_function_calls): Similarly.
473
474 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
475 watchpoints.
476
9fbfe2dc
AC
4772002-01-06 Andrew Cagney <ac131313@redhat.com>
478
479 Fix PR gdb/66.
480 * gdb.base/structs.exp: Replace skip for a29k with skip for
481 gdb,cannot_call_functions.
482 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
483 * gdb.base/callfuncs.exp: Ditto.
484 * gdb.base/call-rt-st.exp: Ditto.
485 * gdb.base/call-strs.exp: Ditto.
486 * gdb.base/callfwmall.exp: Ditto.
487 * gdb.base/scope.exp: Obsolete xfail a29k.
488 * gdb.c++/misc.exp: Ditto.
489 * gdb.c++/cplusfuncs.exp: Ditto.
490 * gdb.base/ptype.exp: Ditto.
491 * gdb.base/printcmds.exp: Ditto.
492 * gdb.base/opaque.exp: Ditto.
493 * gdb.base/list.exp: Ditto.
494 * gdb.base/funcargs.exp: Ditto.
495 * gdb.base/default.exp: Ditto.
496
8ddad156
MS
4972002-01-04 Michael Snyder <msnyder@redhat.com>
498
ca4976a6 499 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
500 * gdb.base/maint.exp: Add tests for maint info sections options.
501
1b074332
JL
502Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
503
504 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
505
7d159115
CV
5062001-12-20 Corinna Vinschen <vinschen@redhat.com>
507
508 * gdb.asm/arm.inc: New file.
509 * gdb.asm/asm-source.exp: Add arm targets.
510 * gdb.asm/configure.in: Ditto.
511 * gdb.asm/configure: Recreated from configure.in.
512
8fb87725
JL
513Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
514
afabe08c
JL
515 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
516 with HP's compiler.
517 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
518 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
519 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
520 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
521
522 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
523 either HP's compilers or GCC.
524
db521deb
JL
525 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
526 a SIGBUS or SIGSEGV.
527
528 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
529
530 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
531 can be compiled with either HP's compiler or GCC.
532
cfa88ab7
JL
533 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
534 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
535 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
536
ca344dff
JL
537 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
538 to match current gdb output. Update due to using auto-solib-limit
539 for limiting instead of overloading auto-solib-add.
540 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
541 test program.
542
3f3c6e55 543 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
544 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
545 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
546 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
547 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
548 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
549 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
550 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
551 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
552 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
553 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
554 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
555 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 556
8fb87725
JL
557 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
558 a SIGTRAP to the inferior.
559
cf599fa7
CV
5602001-12-19 Corinna Vinschen <vinschen@redhat.com>
561
562 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
563 Substitute call to target_link by call to gdb_compile.
564
2cd045cd
JL
565Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
566
567 * gdb.base/break.exp: Fix HP specific search string when testing
568 backtracing in a called function.
569
570 * gdb.base/constvars.exp: Only set lang to C++ if we're
571 compiling the test with HP's compilers.
572 * gdb.base/volatile.exp: Similarly.
573
99ebe9ac
JB
5742001-12-19 Jim Blandy <jimb@redhat.com>
575
576 * gdb.base/printcmds.exp: Expect the null character to be printed
577 as '\0', and the '\013' to be printed as '\v'.
578 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
579 * gdb.base/setvar.exp: Same.
580
b9891b29
JB
5812001-12-17 Jim Blandy <jimb@redhat.com>
582
0eba65ab
JB
583 * gdb.base/completion.exp: Rather than completing very long
584 filenames, which can make the readline library produce output we
585 don't recognize, cd to the directory first, and then complete
586 using nice, short relative paths.
587
6970b5b1
JB
588 * gdb.base/completion.exp: On some systems, there is, in fact, a
589 variable named `b' in scope, since GDB treats all static
590 variables as being in scope. So use `no_var_named_this'
591 instead of `b'.
592
b9891b29
JB
593 * gdb.base/corefile.exp: Recognize the message saying that GDB
594 can't find the core file's registers as a failure.
595
e6ccd35f
JSC
5962001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
597
598 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
599 test expect string more specific.
600
105ba819
CV
6012001-12-13 Corinna Vinschen <vinschen@redhat.com>
602
603 * gdb.asm/asm-source.exp: Add support for xstormy16.
604 * gdb.asm/configure.in: Ditto.
605 * gdb.asm/configure: Rebuild.
606 * gdb.asm/xstormy16.inc: New file.
607
e9e79dd9
FF
6082001-12-10 Fred Fish <fnf@redhat.com>
609
610 * gdb.base/maint.exp: Update to match changes in type dumping code.
611
347dc97d
JB
6122001-12-10 Jim Blandy <jimb@redhat.com>
613
614 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
615 matching the entry point symbol's name at the beginning of the
616 line.
617
5178b9d6
DJ
6182001-12-07 Daniel Jacobowitz <drow@mvista.com>
619
620 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
621 gdb.c++/inherit.exp, gdb.c++/method.exp,
622 gdb.c++/namespace.exp, gdb.c++/templates.exp,
623 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
624 and class layout support.
625
af890c52
DJ
6262001-12-07 Daniel Jacobowitz <drow@mvista.com>
627
628 * gdb.c++/classes.exp: Add test for static member function.
629 * gdb.c++/misc.cc: Add class with static member function.
630
7a345fb3
JB
6312001-12-07 Jim Blandy <jimb@redhat.com>
632
f2e54a80 633 If GDB says it can't find the struct the function returned, report
8032bf31
JB
634 those tests as `unsupported'.
635 * gdb.base/call-rt-st.exp (print_struct_call): New function.
636 Rewrite subsequent tests to use it.
637
638 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
639 those tests as `unsupported'.
640 * gdb.base/structs.exp (call_struct_func): New function.
641 (do_function_calls): Use call_struct_func to call the functions
642 returning structs.
643
0bc69509
JB
644 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
645 whether functions are prototyped or not, so we can't possibly pass
646 arguments to t_float_values2 properly.
647
7a345fb3
JB
648 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
649 value of `timeout' for targets other than the mips*tx39-*.
650
edb6ede1
MS
6512001-12-06 Michael Snyder <msnyder@redhat.com>
652
653 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
654 and detect whether the start symbol has a leading underscore.
655
2d842f13
JB
6562001-12-04 Jim Blandy <jimb@redhat.com>
657
658 * gdb.base/completion.exp: Clarify indentation.
659
68550daf
JB
6602001-12-03 Jim Blandy <jimb@redhat.com>
661
662 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
663 variables on the S/390, not `.word'.
664
cd5195a8
JB
6652001-11-30 Jim Blandy <jimb@redhat.com>
666
667 Add assembly-source tests for s390-ibm-linux.
668 * gdb.asm/s390.inc: New file.
669 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
670 the S/390 architecture.
671 * gdb.asm/configure: Regenerated.
672
ca9efc90
MS
6732001-11-30 Michael Snyder <msnyder@redhat.com>
674
675 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
676 next, info source, info sources, info line, global and static
677 variables, and static functions.
678 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
679 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
680 * gdb.asm/asmsrc1.s: Add a static function and some variables.
681 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
682 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
683 (gdbasm_leave): Restore frame pointer.
684 (gdbasm_startup): Copy stack set-up from crt0.S.
685
d0e66976
FN
6862001-11-26 Fernando Nasser <fnasser@redhat.com>
687
688 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
689 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
690 to a local (non-static) variable. Copy tstruct.a to a static buffer
691 and return a pointer to that buffer.
692 * gdb.base/callfwmall.c (t_structs_a): Ditto.
693
e2334072
MK
6942001-11-24 Mark Kettenis <kettenis@gnu.org>
695
696 * gdb.asm/configure.in: Fix recognition of ix86 target.
697 * gdb.asm/configure: Regenerate.
698
756caa3d
MS
6992001-11-21 Michael Snyder <msnyder@redhat.com>
700
701 * gdb.asm/sparc.inc: New file.
702 * gdb.asm/asm-source.exp: Recognize sparc target.
703 * gdb.asm/configure.in: Recognize sparc target.
704 * gdb.asm/configure: Regenerate.
705
9a4d72d5
MS
7062001-11-21 Michael Snyder <msnyder@redhat.com>
707
708 * gdb.asm/m32r.inc: New file.
709 * gdb.asm/asm-source.exp: Recognize m32r target.
710 * gdb.asm/configure.in: Recognize m32r target.
711 * gdb.asm/configure: Regenerate.
712
a773d1cd
MS
7132001-11-20 Michael Snyder <msnyder@redhat.com>
714
017ac23d
MS
715 * gdb.asm/i386.inc: New file.
716 * gdb.asm/asm-source.exp: Recognize ix86 target.
717 * gdb.asm/configure.in: Recognize ix86 target.
718 * gdb.asm/configure: Regenerate.
719
a773d1cd
MS
720 * gdb.c++/namespace.exp: Fix quotes in output messages.
721
bb632afb
MS
7222001-11-14 Michael Snyder <msnyder@redhat.com>
723
25d559ca 724 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
725 qualifier in a type cast expression, to designate an address
726 in the instruction space (Harvard architecture).
727
4749e309
MS
7282001-11-13 Michael Snyder <msnyder@redhat.com>
729
730 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
731 Tests for expressions using 'const' and 'volatile'.
732
25050984
CV
7332001-11-13 Corinna Vinschen <vinschen@redhat.com>
734
735 * gdb.asm/asm-sources.exp: Allow defining linker flags.
736
1902c51f
DJ
7372001-11-12 Daniel Jacobowitz <drow@mvista.com>
738
739 * lib/mi-support.exp (mi_run_to_helper): Move comments
740 outside of gdb_expect.
741
dcf95b47
DJ
7422001-11-11 Daniel Jacobowitz <drow@mvista.com>
743
744 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
745 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
746 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
747 mi0_run_to): New functions.
748 * gdb.mi/mi-simplerun.exp: Use them.
749 * gdb.mi/mi0-simplerun.exp: Likewise.
750 * gdb.mi/mi-var-cmd.exp: Likewise.
751 * gdb.mi/mi0-var-cmd.exp: Likewise.
752
45b074e1
AC
7532001-11-10 Andrew Cagney <ac131313@redhat.com>
754
755 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
756 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
757
bf50d346
AC
7582001-11-09 Andrew Cagney <ac131313@redhat.com>
759
760 * gdb.base/restore.exp: Include $expected value in restored test
761 message.
762
9383332c
AC
7632001-11-09 Andrew Cagney <ac131313@redhat.com>
764
765 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
766 implemented.
767
db62520a
MS
7682001-11-08 Michael Snyder <msnyder@redhat.com>
769
770 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
771 Add pass/fail message for stop at breakpoint in call dummy function.
772
b5703437
MS
7732001-11-07 Michael Snyder <msnyder@redhat.com>
774
760f6330
MS
775 * gdb.c++/templates.exp (test_template_breakpoints):
776 If we get an overload menu, but it does not match what
777 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
778 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
779 making the whitespace optional. Argument for "new" may be
780 "unsigned" as well as "unsigned int/long".
eef747c0
MS
781 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
782 making the whitespace optional. Also replace "(void) with
783 "((void|)), making the keyword "void" optional.
63f50499
MS
784 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
785 making the whitespace optional. Also replace "(void) with
786 "((void|)), making the keyword "void" optional.
3bf40917
MS
787 * gdb.base/callfuncs.c (t_float_values): This function must
788 _not_ be prototyped, and the following function (t_float_values2)
789 must be prototyped (if the compiler supports it), so that GDB
790 can be tested against both cases. Usually one case involves
791 promotion of float to double, while the other does not.
792 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
793 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
794 includes a stack frame for "start".
795
c8ab4e6d
JB
7962001-11-05 Jim Blandy <jimb@redhat.com>
797
798 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
799 pointers are 32 bits long, and that offsets of relocs are always
800 stored in the data (REL-style), and not in the reloc entry itself
801 (RELA-style).
802 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
803 stabs.
804
3f08ced9
MS
8052001-11-01 Michael Snyder <msnyder@redhat.com>
806
807 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
808 and regular expression operators by using quoting.
809
cbfa24cd
MS
8102001-10-31 Michael Snyder <msnyder@redhat.com>
811
812 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
813 depending on what the symbol table contains.
814 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
815 the output of the ptype command. Similarly, accept both "const &"
816 and "const&".
817
aaa68313
CV
8182001-10-31 Corinna Vinschen <vinschen@redhat.com>
819
820 * gdb.base/miscexprs.c (main): Add usage of preprocessor
821 symbol `STORAGE' to allow to choose the storage class of
822 the local datastructures.
823 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
824 compiler directive.
825
91740388
MS
8262001-10-30 Michael Snyder <msnyder@redhat.com>
827
828 * gdb.base/jump.exp: Allow it to run for all targets.
829
1b7c05e7
CV
8302001-10-29 Corinna Vinschen <vinschen@redhat.com>
831
832 * gdb.base/call-ar-st.c (print_double_array): Match for loop
833 with new double_array size.
834 (main): Change storage class of all local variables to static.
835 Reduce size of double_array to 9.
836 * gdb.base/call-ar-st.exp: Increase timeout value.
837 Change expected output for double array to match new size in
838 call-ar-st.c.
839
36a22261
CV
8402001-10-29 Corinna Vinschen <vinschen@redhat.com>
841
842 * gdb.base/ending-run.exp: Create identical output when passing
843 `step to end of run' case. Add regular expression branch satisfying
844 Stormy16 target.
845
92b8ae91
MK
8462001-10-28 Mark Kettenis <kettenis@gnu.org>
847
848 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
849 that we catch the expected failure under Linux/x86.
850
cb135b83
OF
8512001-10-29 Orjan Friberg <orjanf@axis.com>
852
853 * gdb.base/setvar.exp: Escape curly braces.
854 * gdb.stabs/weird.exp: Ditto.
855
6884aa54
DJ
8562001-10-27 Daniel Jacobowitz <drow@mvista.com>
857
858 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
859 * gdm.mi/mi0-hack-cli.exp: Likewise.
860
0398c9aa
AC
8612001-10-25 Andrew Cagney <ac131313@redhat.com>
862
863 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
864 messages.
865
d20bf2e8
AC
8662001-10-21 Andrew Cagney <ac131313@redhat.com>
867
868 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
869 checking MI enabled.
870
03dd63aa
CV
8712001-10-09 Corinna Vinschen <vinschen@redhat.com>
872
873 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
874
1d9d99f3
FCE
8752001-10-04 Frank Ch. Eigler <fche@redhat.com>
876
877 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
878 if gdb child process crashes, just signal an error.
879
838ae6c4
JB
8802001-10-02 Jim Blandy <jimb@redhat.com>
881
882 * lib/gdb.exp (test_xfail_format): Simplify.
883
884 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
885 front of the variable name `format'. Simplify `if'.
886
8f0cbc1c
DJ
8872001-10-01 Daniel Jacobowitz <drow@mvista.com>
888
889 * gdb.threads/pthreads.exp: Wait for output and delay
890 before sending ^C.
891
1f08dafd
DJ
8922001-10-01 Daniel Jacobowitz <drow@mvista.com>
893
894 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
895 some incorrect output instead of timing out.
896 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
897
674f90ff
CV
8982001-09-28 Corinna Vinschen <vinschen@redhat.com>
899
900 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
901 check to allow additional `int'.
902
9b284272
DJ
9032001-09-27 Daniel Jacobowitz <drow@mvista.com>
904
905 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
906 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
907
b55a4771
MS
9082001-09-27 Michael Snyder <msnyder@redhat.com>
909
910 * lib/gdb.exp (test_debug_format): New proc.
911 (setup_xfail_format): Use new proc test_debug_format.
912 * gdb.base/constvars.exp (local_compiler_xfail_check): New
913 proc; use new service proc test_debug_format.
914 Replace all other "gcc_compiled" tests with this test.
915 * gdb.base/volatile.exp (local_compiler_xfail_check): New
916 proc; use new service proc test_debug_format.
917 Replace all other "gcc_compiled" tests with this test.
918
9192001-09-27 Michael Snyder <msnyder@redhat.com>
920
921 * gdb.base/cvexpr.exp: New file.
922 * gdb.base/cvexpr.c: New file
923 Test for expressions using const and volatile keywords.
924
4e6667ac
CV
9252001-09-26 Corinna Vinschen <vinschen@redhat.com>
926
927 * gdb.base/constvars.exp: Check for different orders of keywords
928 and additional "int" strings in output.
929
4f337972
AC
9302001-09-22 Andrew Cagney <ac131313@redhat.com>
931
932 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
933 responses from "help maint".
934
2015650d
FCE
9352001-09-19 Frank Ch. Eigler <fche@redhat.com>
936
937 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
938 to localhost:NNN instead of :NNN, in case Xvfb is listening
939 only on TCP.
940
f3bcedc1
CV
9412001-09-19 Corinna Vinschen <vinschen@redhat.com>
942
943 * gdb.base/recurse.exp: When checking leaving the watchpoint
944 scope, recognize when gdb is in function's epilogue and pass.
945
6b819c92
KS
9462001-09-18 Keith Seitz <keiths@redhat.com>
947
948 * lib/insight-support.exp (_gdbtk_export_target_info): Add
949 support for running tests against sid targets.
950 (gdbtk_done): Ditto.
951
a10c9419
CV
9522001-09-18 Corinna Vinschen <vinschen@redhat.com>
953
954 * gdb.base/ending-run.c (main): Set stdout buffersize
955 to the same reasonable value for any target.
956 * gdb.base/ending-run.exp: Add a regular expression
957 to make testsuite happy on Sanyo Stormy16 target.
958
739d0d99
CV
9592001-09-17 Corinna Vinschen <vinschen@redhat.com>
960
961 * gdb.base/display.c (do_loops): Add float variable `f'.
962 Increment f in loop.
963 * gdb.base/display.exp: Increment timeout by 60 seconds.
964 Change float display test to use variable `f'.
965
1b8947f0
JB
9662001-09-17 Jim Blandy <jimb@redhat.com>
967
968 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
969 overflowing the limited breakpoint tables on some ROM monitors
970 (like the ROM68K).
971
9890ac81
FCE
9722001-09-15 Frank Ch. Eigler <fche@redhat.com>
973
974 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
975 the "-ac" (disable access control) flag.
976
6db765ea
JH
9772001-08-30 Jeff Holcomb <jeffh@redhat.com>
978
979 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
980 ints.
981
4c32cc04
KS
9822001-08-30 Keith Seitz <keiths@redhat.com>
983
984 * lib/gdb.exp: Move all insight-related functionality into
985 separate file.
986 * lib/insight-support.exp: New file.
987
8d6e6f81
FCE
9882001-08-29 Frank Ch. Eigler <fche@redhat.com>
989
990 * config/sid.exp (sid_start): Never set sid verbosity; disable
991 expect_background {} that consumed its stdout; tolerate </dev/null.
992 Attempt to set endianness override in "sid" protocol mode. Cleanup.
993
6a90e1d0
AC
9942001-08-18 Andrew Cagney <ac131313@redhat.com>
995
996 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
997 CLI jump command to start it.
998 (mi_run_to_main): Fail immediatly when unexpected output.
999
1759b3c3
AC
10002001-08-18 Andrew Cagney <ac131313@redhat.com>
1001
1002 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1003 beginning of function. Fix PR gdb/191.
1004
61d11d80
FCE
10052001-08-16 Frank Ch. Eigler <fche@redhat.com>
1006
1007 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1008 what to force sid endianness to.
1009
942a4df2
KS
10102001-08-15 Keith Seitz <keiths@redhat.com>
1011
1012 * lib/gdb.exp (gdbtk_start): Don't set environment
1013 variables for TCL_LIBRARY and friends. Insight will
1014 now figure these out for itself.
1015
0521c418
MS
10162001-08-02 Michael Snyder <msnyder@redhat.com>
1017
1018 * gdb.base/completion.exp: Remove the symbol "a64l" from
1019 the expect string; this is target-specific, and not related
1020 to what is being tested.
1021
74a9a58a
DB
10222001-08-02 Dave Brolley <brolley@redhat.com>
1023
1024 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1025
c70819fa
MS
10262001-07-25 Michael Snyder <msnyder@redhat.com>
1027
c2b8fa57
MS
1028 * gdb.base/consecutive.exp: New file. Test stepping over
1029 breakpoints on consecutive instructions.
1030 * gdb.base/consecutive.c: New file.
1031
c70819fa
MS
1032 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1033 curly braces in regular expressions.
1034
2b1a1355
MS
10352001-07-25 Michael Snyder <msnyder@redhat.com>
1036
1037 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1038 legitimate output from stepping out of main.
1039
413eca6f
KS
10402001-07-22 Keith Seitz <keiths@redhat.com>
1041
1042 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1043 the empty string, do not run the tests.
1044
7e5a9322
SC
10452001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1046
1047 * gdb.base/long_long.exp: Detect size of pointer. Take into
1048 account 2-byte pointers when testing for p/a results.
1049
de58f10f
SC
10502001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1051
1052 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1053 and defined to 1K for m68hc11.
1054 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1055 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1056 (sizeof_random_data): New variable to tell the size of the data table;
1057 don't test past this size; always run to main.
1058
d6f5fea1
SC
10592001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1060
1061 * gdb.base/return2.exp: return of long long and double fails for
1062 68HC11; don't execute these tests on that platform.
1063 * gdb.base/return.exp: Return of a double fails for 68hc11.
1064
c477543d
SC
10652001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1066
1067 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1068 tests that print a float.
1069 * call-rt-st.exp: Likewise.
1070
63cf1c79
MK
10712001-07-12 Mark Kettenis <kettenis@gnu.org>
1072
1073 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1074 running this test on Linux.
1075
112f9ab5
MC
10762001-06-24 Michael Chastain <chastain@redhat.com>
1077
1078 * gdb.base/arithmet.exp: Remove some tests to make all test names
1079 unique.
1080
4970cb0f
MS
10812001-07-03 Michael Snyder <msnyder@redhat.com>
1082
1083 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1084 the output of the ptype command.
1085
d85da69f
MS
10862001-07-02 Michael Snyder <msnyder@redhat.com>
1087
4c8a82de
MS
1088 * gdb.base/completion.exp: Don't assume that break.c is the only
1089 source file that may contain functions named "marker".
d85da69f
MS
1090 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1091
8afc772b
AC
10922001-06-28 Andrew Cagney <ac131313@redhat.com>
1093
1094 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1095 of files to delete.
1096
1097 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1098 * gdb.disasm/h8300s.exp: New file.
1099 gdb.disasm/h8300s.s: Likewise.
1100
cff22675
AC
11012001-06-27 Andrew Cagney <ac131313@redhat.com>
1102
1103 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1104 empty breakpoint tables.
1105
68c81b54
AC
11062001-06-25 Andrew Cagney <ac131313@redhat.com>
1107
1108 * lib/mi-support.exp: Update args=... part of stop-reason
1109 patterns. Accept either a list or a tuple.
1110
2dd62704
AC
11112001-06-23 Andrew Cagney <ac131313@redhat.com>
1112
1113 * lib/mi-support.exp: Remove local emacs variable defining
1114 change-log-default-name.
1115
b4127474
MC
11162001-06-22 Michael Chastain <chastain@redhat.com>
1117
1118 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1119 This is operationally compatible with the previous version.
1120
8dbfb380
JB
11212001-06-13 Jim Blandy <jimb@redhat.com>
1122
1123 * lib/gdb.exp (gdb_test): Doc fix.
1124
f2d8c86d
MC
11252001-06-10 Michael Chastain <chastain@redhat.com>
1126
1127 * gdb.base/exprs.exp: Remove a duplicate test.
1128
81564d34
JB
11292001-06-06 Jim Blandy <jimb@redhat.com>
1130
1131 * gdb.base/return2.exp (main): Use values to test float and double
1132 returns that are not NaN's, to avoid being confused by IEEE
1133 comparison rules.
1134
da55addb
MS
11352001-06-04 Michael Snyder <msnyder@redhat.com>
1136
1137 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1138 non-zero if control_c fails. Terminate the test on failure,
1139 rather than wait for 12 more tests to time out.
1140
42c65987
JB
11412001-06-06 Jim Blandy <jimb@redhat.com>
1142
b18bced9
JB
1143 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1144 Don't forget to match the GDB prompt.
1145
42c65987
JB
1146 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1147
5b41e5f0
JB
11482001-06-04 Jim Blandy <jimb@redhat.com>
1149
1150 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1151 command.
1152
015e046f
KB
11532001-05-31 Kevin Buettner <kevinb@redhat.com>
1154
1155 * gdb.base/annota1.exp (info break): Match four or more spaces
1156 after "Address".
1157
fb1ffbbe
MC
11582001-05-31 Michael Chastain <chastain@redhat.com>
1159
1160 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1161 (dm_type_int_star): Likewise.
1162 (dm_type_long_star): Likewise.
1163 (dm_type_void_star): Likewise.
1164
5ea2a32c
KB
11652001-05-29 Kevin Buettner <kevinb@redhat.com>
1166
1167 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1168 to a known value in order to get consistent results regardless
1169 of the setting of INPUTRC or the presence or contents of .inputrc.
1170
ae23c492
MS
11712001-05-24 Michael Snyder <msnyder@redhat.com>
1172
ac55707e
MS
1173 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1174 Don't require that the main thread and the manager thread are the
1175 first in the list.
1176
ae23c492
MS
1177 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1178 debugging. If test fails, issue an "unsupported" not a "fail".
1179
400071f1
JB
11802001-05-24 Jim Blandy <jimb@redhat.com>
1181
1182 Don't assume that short is shorter than int.
1183 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1184 assume that shorts are smaller than ints. On a 16-bit machine,
1185 this isn't true.
1186 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1187 an int, is not equal to ~0 stored in an unsigned char. This tests
1188 the same thing that the previous test meant to, but works on
1189 16-bit machines, too.
1190 ("print unsigned char != (~0)"): Same test, complemented.
1191
0816a3e5
MS
11922001-05-24 Michael Snyder <msnyder@redhat.com>
1193
1194 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1195 test for (full_coverage == 0). This makes the test run faster,
1196 and prevents dejagnu getting out of step.
1197
f6dc23a9
KB
11982001-05-23 Kevin Buettner <kevinb@redhat.com>
1199
1200 * gdb.base/finish.exp (finish_void): Revise pattern for
1201 stopping on the call statement to not permit stopping at
1202 the start of the instructions comprising the call sequence.
1203
7dbd117d
MC
12042001-05-19 Michael Chastain <chastain@redhat.com>
1205
1206 * gdb.base/callfuncs.exp: Make all test names unique.
1207 * gdb.base/commands.exp: Make all test names unique.
1208 * gdb.base/condbreak.exp: Make all test names unique.
1209 * gdb.base/dbx.exp: Make all test names unique.
1210 * gdb.base/default.exp: Make all test names unique.
1211 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1212 and TIMEOUT messages to their corresponding PASS message.
1213 * gdb.base/ending-run.exp: Make all test names unique.
1214 * gdb.base/long_long.exp: Remove duplicate test.
1215
6b0b0a9e
KB
12162001-05-21 Kevin Buettner <kevinb@redhat.com>
1217
1218 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1219 stop on the call statement as well as the statement after the
1220 call.
1221
2caa35cb
MS
12222001-05-21 Michael Snyder <msnyder@redhat.com>
1223
1224 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1225
40713331
EZ
12262001-05-10 Elena Zannoni <ezannoni@redhat.com>
1227
1228 * gdb.base/completion.exp: Revamp test. Make it execute on all
1229 platforms.
1230
c2c1be8d
EZ
12312001-05-10 Elena Zannoni <ezannoni@redhat.com>
1232
2c9cd303
EZ
1233 * config/gdbserver.exp (gdb_load): Handle the case
1234 in which the arguments to gdbserver are given in the
1235 baseboard configuration file.
1236 Also handle the case in which the server needs to do a
1237 load.
1238
9671de48
KS
12392001-05-07 Keith Seitz <keiths@cygnus.com>
1240
1241 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1242 set up the display for testing.
1243 (gdbtk_start): Convert all paths to paths that tcl will like.
1244 Export target information to environment.
1245 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1246 necessary.
1247 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1248 (to_tcl_path): New proc to convert a given pathname into
1249 a path acceptible as an argument to a tcl command.
1250 (_gdbtk_export_target_info): New proc to export target info
1251 into the environment for gdbtk testing.
1252 (gdbtk_done): New proc to signal end-of-test.
1253
5a360f47
JB
12542001-05-06 Jim Blandy <jimb@redhat.com>
1255
1256 * restore.c: Make the code of caller0 correspond to its comment.
1257
66c756c6
MS
12582001-05-03 Michael Snyder <msnyder@redhat.com>
1259
1260 * config/sid.exp (gdb_target_sid): Check for error messages.
1261 On error or timeout, don't make expect exit (which will terminate
1262 all subsequent tests); instead just make gdb exit.
1263 (gdb_load): Check for error messages. On error or timeout,
1264 return a negative value.
1265
a966fde5
JB
12662001-04-24 Jim Blandy <jimb@redhat.com>
1267
851c18e0
JB
1268 * gdb.c++/templates.exp: If we see the prompt for the overload
1269 list, but we haven't recognized any of the longer patterns,
1270 arrange for this test to fail, not hang.
1271
a966fde5
JB
1272 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1273 variations.
1274
db144853
MC
12752001-04-22 Michael Chastain <chastain@redhat.com>
1276
1277 * gdb.c++/local.exp: Use the 'runto' library function.
1278 * gdb.c++/namespace.exp: Likewise.
1279 * gdb.c++/overload.exp: Likewise.
1280
3207ec21
KB
12812001-03-26 Kevin Buettner <kevinb@redhat.com>
1282
1283 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1284 * gdb.base/step-line.exp: New file. Test step/next in presence of
1285 #line directives.
1286 * gdb.base/step-line.c: New file. Test program for the above.
1287 * gdb.base/step-line.inp: New file. We pretend that this file has
1288 been transformed by some other tool into step-line.c.
1289
13b57657
JB
12902001-03-21 Jim Blandy <jimb@redhat.com>
1291
1292 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1293 unmangled operator names.
1294
754cbe1c
JB
12952001-03-20 Jim Blandy <jimb@redhat.com>
1296
1297 * gdb.threads/linux-dp.exp: Recognize an additional message
1298 generated by GDB when it doesn't understand how to debug threads
1299 on the target system.
1300
177495c9
AC
13012001-03-19 Andrew Cagney <ac131313@redhat.com>
1302
1303 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1304
f266096b
MC
13052001-03-12 Michael Chastain <chastain@redhat.com>
1306
1307 * gdb.c++/derivation.exp: Use the 'runto' library function.
1308
cac3c2ff
MC
13092001-03-12 Michael Chastain <chastain@redhat.com>
1310
1311 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1312
b6c11a24
MC
13132001-02-24 Michael Chastain <chastain@redhat.com>
1314
1315 * gdb.c++/ref-types.exp: Change handwritten code to library
1316 function 'runto'.
1317
6bae5bce
OF
13182001-03-16 Orjan Friberg <orjanf@axis.com>
1319
1320 * gdb.base/signals.exp: Set count to 0 explicitly.
1321
0015fd9a
MS
13222001-03-15 Mark Salter <msalter@redhat.com>
1323
1324 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1325 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
1326 (gdb_load): Add support for additional target_info: gdb_download_size
1327 and gdb_load_timeout.
0015fd9a 1328
fc33412a
DT
1329Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1330
1331 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1332 file -- to prevent failing when the compile fails but we have no
1333 intention of running the tests anyway.
1334
1335 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1336 tests if set.
1337
1338 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1339 integers.
1340
1341 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1342 * gdb.c++/namespace.exp: Ditto.
1343
115f06de
OF
13442001-03-07 Orjan Friberg <orjanf@axis.com>
1345
1346 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
1347 * gdb.base/pointers.exp: Relax pattern match of decimals.
1348
b6ba6518
KB
13492001-03-06 Kevin Buettner <kevinb@redhat.com>
1350
1351 * Makefile.in, config/abug.exp, config/cfdbug.exp,
1352 config/cpu32bug.exp, config/dve.exp, config/est.exp,
1353 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
1354 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
1355 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
1356 config/sh.exp, config/sid.exp, config/slite.exp,
1357 config/sparclet.exp, config/udi.exp, config/unknown.exp,
1358 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
1359 config/vxworks.exp, config/vxworks29k.exp,
1360 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
1361 gdb.base/all-bin.exp, gdb.base/annota1.exp,
1362 gdb.base/arithmet.exp, gdb.base/assign.exp,
1363 gdb.base/async.exp, gdb.base/attach.exp,
1364 gdb.base/bitfields.exp, gdb.base/bitops.exp,
1365 gdb.base/break.exp, gdb.base/call-ar-st.exp,
1366 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
1367 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
1368 gdb.base/commands.exp, gdb.base/completion.exp,
1369 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
1370 gdb.base/constvars.exp, gdb.base/corefile.exp,
1371 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1372 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
1373 gdb.base/ending-run.exp, gdb.base/environ.exp,
1374 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
1375 gdb.base/finish.exp, gdb.base/foll-exec.exp,
1376 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
1377 gdb.base/funcargs.exp, gdb.base/help.exp,
1378 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
1379 gdb.base/logical.exp, gdb.base/long_long.exp,
1380 gdb.base/maint.exp, gdb.base/mips_pro.exp,
1381 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
1382 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
1383 gdb.base/pointers.exp, gdb.base/printcmds.exp,
1384 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
1385 gdb.base/regs.exp, gdb.base/relational.exp,
1386 gdb.base/remote.exp, gdb.base/reread.exp,
1387 gdb.base/restore.exp, gdb.base/return2.exp,
1388 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
1389 gdb.base/selftest.exp, gdb.base/setshow.exp,
1390 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1391 gdb.base/sigall.exp, gdb.base/signals.exp,
1392 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
1393 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
1394 gdb.base/step-test.exp, gdb.base/structs.c,
1395 gdb.base/structs.exp, gdb.base/structs2.exp,
1396 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
1397 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
1398 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
1399 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1400 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
1401 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
1402 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
1403 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
1404 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
1405 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
1406 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
1407 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
1408 gdb.fortran/types.exp, gdb.java/jmisc.exp,
1409 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
1410 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
1411 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1412 gdb.trace/circ.exp, gdb.trace/collection.exp,
1413 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1414 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1415 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
1416 gdb.trace/report.exp, gdb.trace/save-trace.exp,
1417 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1418 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
1419 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
1420 notices.
1421
dc96c6c7 14222001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
1423
1424 * gdb.base/varargs.c (find_max_double): Fix printf format string:
1425 first arg is int not float.
1426
dc96c6c7 14272001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
1428
1429 * gdb.base/reread.exp: Unsupported for non-native targets;
1430 doesn't work for remote debugging.
1431
9b0c4aeb
FN
14322001-02-19 Fernando Nasser <fnasser@redhat.com>
1433
1434 From Drew Moseley <dmoseley@redhat.com>
1435 * gdb.base/ending-run.exp: Properly handle the BSP state when
1436 stepping past the end of main.
1437
02aa71d5
MC
14382001-02-19 John Moore <jmoore@redhat.com>
1439
1440 * gdb.base/commands.exp (infrun_breakpoint_command_test):
1441 Converted HPUX fix for non-expected items following multiple
1442 step commands into general solution for all platforms.
1443
1fa449a4
MC
14442001-02-18 Michael Chastain <chastain@redhat.com>
1445
1446 * gdb.c++/classes.exp (do_tests): Change runto statements
1447 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1448 statements demangler agnostic.
1449 * gdb.c++/virtfunc.exp (do_tests): Likewise.
1450 (gdb_virtfunc_restart): Likewise.
1451
b2f9ec70
MC
14522001-02-14 Michael Chastain <chastain@redhat.com>
1453
1454 * gdb.c++/inherit.exp (do_tests): Change runto statements
1455 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1456 statements demangler agnostic.
1457
cf74b8ca
AC
1458Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
1459
1460 * gdb.threads/pthreads.exp: Unify pass/fail messages for
1461 ``continue to bkpt at common_routine in thread 2'' and ``stopped
1462 before calling common_routine 15 times'' tests.
1463
99f78f56
MC
14642001-02-11 Michael Chastain <chastain@redhat.com>
1465
1466 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
1467 Helps the test script figure out which demangler is in use.
1468 (dm_type_foo_ref): Ditto.
1469 (dm_type_int_star): Ditto.
1470 (dm_type_long_star): Ditto.
1471 (dm_type_unsigned_int): Ditto.
1472 (dm_type_void): Ditto.
1473 (dm_type_void_star): Ditto.
99707966 1474 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
1475 Probe the gdb demangler and set variables to accommodate
1476 formatting differences.
1477 (info_func_regexp): New function. Same as info_func, but
1478 matches against a regexp.
1479 (info_func): Match against a literal string.
1480 (print_addr_2): New function. Match against a literal string,
1481 which can be different from the input to gdb.
1482 (print_addr): Simply call print_addr_2 with the same argument twice.
1483 (test_lookup_operator_functions): Use demangler formatting variables.
1484 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
1485 the tests in the same order as the C++ class declaration.
1486 (test_paddr_operator_functions): Ditto.
1487 (test_paddr_overloaded_functions): Ditto.
1488 (test_paddr_hairy_functions): Use demangler formatting variables.
1489 Add reference to gdb/19 for related tests.
1490 (do_tests): Call probe_demangler.
1491
1de8f023
KB
14922001-01-30 Kevin Buettner <kevinb@redhat.com>
1493
1494 * gdb.c++/templates.cc (printf): Remove unused function definition.
1495
ca3f91ed
MS
14962001-01-26 Felix Lee <flee@redhat.com>
1497
1498 * sid.exp (sid_exit): Pass host, not target, to remote_close.
1499
15002001-01-25 matthew green <mrg@redhat.com>
1501
1502 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
1503 up sid.
1504 (sid_exit): Call `remote_pop_conn' after GDB is gone.
1505
15062001-01-25 matthew green <mrg@redhat.com>
1507
1508 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
1509 Deprecate $sid_spawn_id.
1510 (sid_exit): Remove code necessary only for `spawn.'
1511
15122001-01-25 matthew green <mrg@redhat.com>
1513
1514 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
1515
fb18ec4a
MC
15162001-01-28 Michael Chastain <chastain@redhat.com>
1517
1518 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
1519 to call when tests fail. It takes gdb out of the overloaded
1520 function choice menu back to the main prompt, so that the test
1521 program stays synchronized.
1522 (set_bp_overloaded): New proc to collect all the common
1523 code for setting a breakpoint on an overloaded name. Calls
1524 take_gdb_out_of_choice_menu when needed.
1525 (menu_overload1arg): New variable to collect the repeated
1526 instances of the expected menu for an overloaded name. Change
1527 the regular expression to handle changes in g++ type encoding:
1528 "void" can be either "void" or "", and "unsigned int" can be
1529 either "unsigned int" or "unsigned".
1530 (continue_to_bp_overloaded): Change regular expressions to handle
1531 changes in g++ type encoding.
1532 (no proc): Call take_gdb_out_of_choice_menu when needed.
1533 Remove redundant calls to "info break". Accept either "canceled"
1534 or "cancelled". Change regular expressions in "info break"
1535 calls to handle changes in g++ type encoding. Give all tests
1536 unique strings.
1537
9c646a6e
BE
15382001-01-17 Ben Elliston <bje@redhat.com>
1539
1540 * config/sid.exp: New file.
1541
9549d9c1
AC
1542Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
1543
1544 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
1545
dc96c6c7 15462000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
1547
1548 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
1549 Add a RE to accept a non-ascii char if one is ever presented.
1550
b4df4f68
FN
15512000-12-20 Fernando Nasser <fnasser@redhat.com>
1552
297dd0fd 1553 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 1554
dc96c6c7 15552000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
1556
1557 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
1558 in regexp. One '\' does not suffice on Linux.
1559
4a7bddb6
MC
15602000-12-09 Michael Chastain <chastain@redhat.com>
1561
1562 * gdb.base/break.exp (test_clear_command): Use a marker function
1563 rather than 'main' for the test function. Also move this
1564 test to an execution point where the marker function names are
1565 guaranteed to be bound to functions. (Executing tests after a
1566 'finish' from main runs into name conflicts with local names
1567 in __libc_start_main).
1568
dc96c6c7 15692000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
1570
1571 * gdb.base/finish.exp: New test for gdb's "finish" command.
1572 * gdb.base/return2.exp: New test for gdb's "return" command.
1573 * gdb.base/return2.c: New source file for above.
1574
dc96c6c7 15752000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
1576
1577 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
1578 * gdb.base/miscexprs.exp: Ditto.
1579 * gdb.base/pointers.exp: Ditto.
1580 * gdb.c++/derivation.exp: Ditto.
1581 * gdb.c++/local.exp: Ditto.
1582 * gdb.c++/namespace.exp: Ditto.
1583 * gdb.c++/overload.exp: Ditto.
1584 * gdb.c++/ref-types.exp: Ditto.
1585
dc96c6c7 15862000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
1587
1588 * gdb.base/constvars.exp: Test result of "up" command.
1589 * gdb.base/miscexprs.exp: Ditto.
1590 * gdb.base/pointers.exp: Ditto.
1591 * gdb.base/scope.exp: Ditto.
1592 * gdb.c++/derivation.exp: Ditto.
1593 * gdb.c++/local.exp: Ditto.
1594 * gdb.c++/namespace.exp: Ditto.
1595 * gdb.c++/overload.exp: Ditto.
1596 * gdb.c++/ref-types.exp: Ditto.
1597
44097287
FN
15982000-11-22 Michael Chastain <chastain@redhat.com>
1599
1600 * mips_pro.exp: Accept either "middle -> top -> main" or
1601 "middle -> main" in the backtrace, because gcc can optimize
1602 tail calls to jumps. Remove setup_xfail for the hppa case.
1603 Add a comment with the original warning messages from PR 3016,
1604 which was filed in 1993, to preserve them for posterity.
1605
9d2e1bab
ND
16062000-11-17 Nick Duffek <nsd@redhat.com>
1607
1608 * lib/gdb.exp (gdb_test): Override timeout with board info.
1609
1aca8eb7
ND
16102000-11-17 Nick Duffek <nsd@redhat.com>
1611
1612 * gdb.base/display.exp: Don't kill running stub. Add "again" to
1613 the second kill and detach messages.
1614
93076499
ND
16152000-11-17 Nick Duffek <nsd@redhat.com>
1616
1617 * configure.in: Add AC_EXEEXT.
1618 * configure: Regenerate.
1619 * Makefile.in (just-check): Export EXEEXT.
1620 * lib/gdb.exp ($EXEEXT): Import from environment.
1621 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
1622 expect "maint dump-me" on Cygwin.
1623 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
1624 $EXEEXT.
1625
30e87cd3
ND
16262000-11-17 Nick Duffek <nsd@redhat.com>
1627
1628 * gdb.base/break.exp: Test backtrace and finish from called
1629 function on all platforms, not just HP-UX.
1630
dc96c6c7 16312000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
1632
1633 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
1634 code from gdb_target_monitor, so it can be used independantly
1635 for gdbserver. Also comment out an unnecessary PUTS.
1636
dc96c6c7 16372000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
1638
1639 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
1640 * gdb.base/corefile.exp: Expect the message "Program is being
1641 debugged already" when we send the "corefile" command, since
1642 the preceeding gdb_load may have connected gdb to a remote target.
1643 * gdb.base/display.exp: Disable hardware watchpoints if new
1644 board info variable "no_hardware_watchpoints" is true.
1645 Replace single-letter commands with more readable ones.
1646 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
1647 if new board info variable "no_hardware_watchpoints" is true.
1648 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
1649 to see if stdio (printf) testing is possible.
1650 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
1651 board info variable "no_hardware_watchpoints" is true. Use new
1652 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
1653
39124dea
FN
16542000-11-13 Fernando Nasser <fnasser@redhat.com>
1655
1656 From Orjan Friberg <orjanf@axis.com>:
1657 * gdb.base/printcmds.exp: Escape curly braces followed by a number
1658 in array print pattern match.
1659
a9e2e984
FN
16602000-11-09 Fernando Nasser <fnasser@redhat.com>
1661
1662 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
1663 spelling "cancelled" to U.S. spelling "canceled" to match changes
1664 made to gdb.
1665 * gdb.c++/ovldbreak.exp: Ditto.
1666
c7db355b
PS
16672000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1668
1669 * gdb.base/callfuncs.c (main): Moved to end of file, call
1670 t_double_values to initialize the FPU before inferior calls are made.
1671 * gdb.base/callfuncs.exp: Test for register preservation after calling
1672 inferior functions. Add tests for continuining, finishing and
1673 returning from a stop in a call dummy.
1674
dc96c6c7 16752000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
1676
1677 * gdb.base/commands.exp: Break up long lines, and re-indent.
1678
dc96c6c7 16792000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
1680
1681 * config/gdbserver.exp: Rewritten from the ground up, to make it
1682 compatible with the current dejagnu tree, and to make it work with
1683 the new "gdbserver" in libremote.
1684
dc96c6c7 16852000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1686
1687 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
1688 * gdb.base/varargs.exp: Skip entire test if no printf support.
1689 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
1690 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
1691
dc96c6c7 16922000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1693
1694 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
1695 no floating point support.
1696 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
1697 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
1698 * gdb.base/call-rt-st.exp: Ditto.
1699 * gdb.base/call-strs.exp: Ditto.
1700
bac5fc66
JG
17012000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
1702
1703 * gdb.base/sizeof.c: include <stdio.h>.
1704
1705 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
1706 'finish', otherwise uncaptured gdb_prompt would potentially
1707 throw remaining test points out of sync.
1708
b22a6027
SB
17092000-07-26 Scott Bambrough <scottb@netwinder.org>
1710
1711 * gdb.base/recurse.exp: Run tests for all targets.
1712 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
1713 gnu-oldld case on ARM.
1714 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
1715 for ARM targets.
1716
d8231941
AG
1717Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
1718
1719 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
1720 * gdb.java/configure: Rebuild.
1721
8caabe69
AG
1722Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
1723
1724 * gdb.java/jv-exp.exp: New file.
1725
9d273ca3
AG
1726Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
1727
1728 * configure: Rebuilt.
1729 * configure.in (configdirs): Add gdb.java.
1730 * gdb.java/jmisc.java: New file.
1731 * gdb.java/jmisc.exp: New file.
1732 * gdb.java/Makefile.in: New file.
1733 * gdb.java/configure: Rebuilt.
1734 * gdb.java/configure.in: New file.
1735 * lib/java.exp: New file.
1736
4f823a66
AC
1737Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
1738
1739 * gdb.base/exprs.exp: Test casts to a pointer including over and
1740 underflow.
1741
2391e11d
AC
1742Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
1743
1744 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
1745 and the compilers sizes.
1746
54602222
ND
17472000-07-09 Nick Duffek <nsd@redhat.com>
1748
1749 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
1750 (use_methods): New function.
1751 (main): Call use_methods().
1752 * gdb.c++/classes.exp (test_method_param_class): New procedure.
1753 (do_tests): Call test_method_param_class.
1754
2bec0572
ND
17552000-07-09 Nick Duffek <nsd@redhat.com>
1756
1757 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
1758 spelling.
1759 (test_enums): New procedure. Move enum tests from end of script
1760 to here. Set breakpoint on function name instead of line number.
1761 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
1762 (enums2): New marker function.
1763 (enums1): New function.
1764 (main): Call enums1(). Move enum tests to enums1().
1765
78492fde
AC
1766Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
1767
1768 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
1769 compile/link program. Update line numbers.
1770 * gdb.asm/d10v.inc: Define ``startup''.
1771 * gdb.asm/asmsrc1.s: Add definition of _start.
1772
49a2cef8
AC
1773Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1774
1775 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
1776
3e6c8688
EZ
17772000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1778
1779 * gdb.base/maint.exp: Add 'maint print architecture' item to output
1780 of 'help maint print' command.
1781
9ff5cbe9
AC
1782Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
1783
1784 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
1785 they use gdb_expect_list.
1786
17c579bd
AC
1787Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
1788
1789 * gdb.base/commands.exp: Use ``set remote
1790 memory-read-packet-size'' instead of ``set endian big'' to test
1791 long commands.
1792
e6d71bf3
DB
17932000-06-03 Daniel Berlin <dan@cgsoftware.com>
1794
1795 * gdb.c++/templates.exp (do_tests): Make all of these work under
1796 g++, and stop skipping them.
1797
1798 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
1799 work under g++.
1800
e5f9ba7b
MS
1801 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
1802 initialization.
1803
dc96c6c7 18042000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
1805
1806 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
1807 the regular expression: accept an (almost) arbitrary sequence of
1808 "frames-invalid" and "breakpoints-invalid" messages both before
1809 and after the "starting" message.
1810
dc96c6c7 18112000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
1812
1813 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 1814
dc96c6c7 18152000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
1816
1817 * gdb.base/annota1.exp (annotate-signal-handler-caller):
1818 Relax the regular expression a little, make it pass on Solaris 8.
1819
8216cda9
KB
18202000-05-12 Kevin Buettner <kevinb@redhat.com>
1821
1822 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
1823 a call, do not require that gdb stop on the line after the call.
1824 Instead, it is permissible for gdb to stop on the line of the
1825 call itself.
1826
1a570b2f
MS
18272000-05-12 Michael Snyder <msnyder@.cygnus.com>
1828
1829 * gdb.base/break.exp (bp on small function, optimized file):
1830 Add a second pass pattern. The behavior differs here between stabs
1831 and dwarf for one-line functions. Stabs preserves two line symbols
1832 (one before the prologue and one after) with the same line number,
1833 but dwarf regards these as duplicates and discards one of them.
1834 Therefore the address after the prologue (where the breakpoint is)
1835 has no exactly matching line symbol, and GDB reports the breakpoint
1836 as if it were in the middle of a line rather than at the beginning.
1837
dc96c6c7 18382000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
1839
1840 * gdb.base/interrupt.exp: Make "pass" message say "send"
1841 rather than "send_gdb" (for consistancy).
1842
7d418785
AC
1843Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
1844
1845 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
1846 * gdb.c++/templates.cc: Properly check for GCC version number.
1847 * lib/compiler.cc: Likewise
1848
dc96c6c7 18492000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
1850
1851 * gdb.base/break.exp: When compiled with -O2 optimization,
1852 gdb may not stop at the first line of main, due to code motion.
1853
dc96c6c7 18542000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
1855
1856 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
1857 This test depends on parsing the printf output from the target.
1858 Since the sparclet stub doesn't do stdio, this will never work.
1859 * gdb.base/call-rt-st.exp: ditto.
1860 * gdb.base/call-strs: ditto.
1861
dc96c6c7 18622000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
1863
1864 * gdb.base/miscexprs.exp: make sizeof long array test portable.
1865
1866 * gdb.base/ending-run.exp: After connecting to a remote target,
1867 but before running, the target will appear to be in a random
1868 location. Specify both a file and a line for breakpoints.
1869 Also, the function that calls main may be called 'init'
1870 rather than 'start'.
1871
a5a51225
EZ
18722000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1873
1874 * gdb.base/help.exp: Update output for add-symbol-file command.
1875
7930cc7c
FN
18762000-04-10 Fernando Nasser <fnasser@cygnus.com>
1877
1878 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1879 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
1880
23e37ab1
C
18812000-04-07 J.T. Conklin <jtc@redback.com>
1882
e93c542c
C
1883 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
1884
23e37ab1
C
1885 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
1886
591b8fa3
PDM
1887Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
1888
1889 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
1890 values that can be represented exactly.
1891 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
1892 above change, and to not check against the directory part of the source
1893 file name.
1894 (step into print_long_arg_list): Likewise.
1895 (print print_small_structs from print_long_arg_list): Likewise.
1896 (print print_long_arg_list): Likewise.
1897
7a495180
EZ
18982000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1899
30b53638 1900 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 1901
beb998c6
AC
1902Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
1903
1904 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
1905
1c689132
DB
19062000-03-25 Daniel Berlin <dan@cgsoftware.com>
1907
1908 * gdb.base/commands.exp (deprecated_command_test): Add test for
1909 deprecate with no arguments.
1910
c1790a9d
JL
19112000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
1912
1913 * gdb.base/break.exp: Add new test for setting breakpoints on
1914 optimized code so we can test breakpoints work even when function
1915 prologues may be optimized away
1916
003ba290
FN
19172000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
1918
1919 From David Whedon <dwhedon@gordian.com>
1920 * gdb.base/commands.exp : Added command deprecator tests.
1921
6837a0a2
DB
19222000-03-22 Daniel Berlin <dan@cgsoftware.com>
1923
1924 * gdb.base/help.exp: Added test for new apropos command.
1925
b9593231
KB
19262000-03-21 Kevin Buettner <kevinb@redhat.com>
1927
1928 * gdb.base/pointers.c (usevar): New function.
1929 (main): Make sure that global variables v_int_pointer2, rptr,
1930 and y are all referenced someplace in the program by calling
1931 usevar() on them. [Some linkers delete symbols which are
1932 never referenced. The space remains, but there's no way to
1933 get a (symbolic) handle on the variable from the debugger.]
1934
751a959b
EZ
19352000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1936
1937 * gdb.base/printcmds.c: Add typedeffed arrays.
1938
1939 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
1940 procedure to test arrays that are typedef'd.
1941
73a93a32
JI
19422000-03-13 James Ingham <jingham@leda.cygnus.com>
1943
1944 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 1945 the library directories.
73a93a32 1946
fb40c209
AC
1947Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
1948
1949 * configure.in (configdirs): Add sub directory gdb.mi.
1950 * configure: Re-generate.
1951
1952 * gdb.mi: New directory.
beb998c6 1953
ee4dd2c9
AC
19542000-02-25 Scott Bambrough <scottb@netwinder.org>
1955
1956 * gdb.base/long_long.exp: Correct test suite failure when printing
1957 a long long value as a double on ARM platforms.
1958
70f0cc22
JB
19592000-02-16 Jim Blandy <jimb@redhat.com>
1960
1961 * gdb.base/break.exp ("breakpoint line number"): Make sure the
1962 default source file is set properly before running this test.
1963
853819b8
EZ
19642000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1965
1966 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
1967 gdbtk/library directory, not in gdbtcl2.
1968
dfcd3bfb
JM
19692000-02-04 Jim Blandy <jimb@redhat.com>
1970
1971 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
1972 backslash from regexp pattern.
1973
1974 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
1975 procedure. Use it to run all the "continue to bp overloaded"
1976 tests. Note that this changes the names of the tests slightly.
1977 If the breakpoint hit message includes a hex PC value, because
1978 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
1979 from the real source code, still consider that a pass.
1980
1981 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
1982 XFAIL here if the breakpoint message contains a hex address. Note
1983 similar change on 1999-11-02.
1984
1985 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
1986
1987 * gdb.base/ptype.exp: Establish a default source file before
1988 calling get_debug_format.
1989
19902000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
1991
1992 * gdb.base/watchpoint.exp: Remove duplication of test messages.
1993
8b93c638
JM
19942000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1995
1996 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
1997 of successive stepi commands -- while in the prologue we should see
1998 the function entry bracket.
1999
20002000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2001
2002 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2003 reach __change_mode() when stepping through the end of main().
2004
c5394b80
JM
20052000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2006
2007 * gdb.base/default.exp: Fix expected pattern.
2008 * gdb.base/help.exp: Same.
2009
0d06e24b
JM
20102000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2011
2012 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2013 Don't use xfail's because that affects only the following test.
beb998c6 2014
0d06e24b
JM
2015 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2016 solaris or linux.
2017
2018 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2019
dc96c6c7 20202000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2021
beb998c6 2022 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2023 "A syntax error" rather than "A parse error". Accept both.
2024
20252000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2026
2027 * gdb.base/default.exp: Remove OS dependent string from "target
2028 remote" test.
2029 * gdb.base/help.exp: Same for "help target remote" test.
2030
c3f6f71d
JM
20312000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2032
2033 From Jim Kingdon <kingdon@redhat.com>:
2034
2035 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2036 prompt (cleanup rather than necessity, but still might keep output
2037 from spilling to next test).
2038
20392000-01-02 Fred Fish <fnf@cygnus.com>
2040
2041 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2042 AIX, which defines them in <sys/types.h>.
2043
ed9a39eb 20441999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2045
ed9a39eb
JM
2046 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2047 float" test.
2048
20491999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2050
ed9a39eb 2051 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2052
2053 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2054 outermost frame disallowed".
2055
20561999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2057
2058 * gdb.base/setvar.exp: New tests for setting the value of a struct
2059 with a constant list.
2060
20611999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2062
2063 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2064 require the user to type a cast before setting the value of a struct.
2065
de57eccd
JM
20661999-12-06 Jim Blandy <jimb@cygnus.com>
2067
2068 * gdb.base/default.exp: Expect the new 'info float' command on
2069 all i386 platforms.
2070
2071 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2072 LinuxThreads libraries that don't support debugging.
2073
c2d11a7d
JM
2074Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2075
2076 * gdb.base/remote.c: Fill the buffer with truely random data.
2077 Change the buffer type to ``unsigned char'' to simplify size
2078 arithmetic.
2079
2080 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2081 stub only handles 400-1 byte packets. Verify that the download
2082 worked.
2083
20841999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2085
2086 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2087 tests, using UNRESOLVED for the untested cases. Also, does not wait
2088 for a timeout if the prompt was received before a recognizable pattern.
2089
20901999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2091
2092 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2093
20941999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2095
2096 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2097 watchpoints.
2098
20991999-11-24 Jason Merrill <jason@casey.cygnus.com>
2100
2101 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2102
2103 * gdb.c++/local.exp: Be more flexible in recognizing local class
2104 name mangling. Don't allow horribly truncated method names.
2105 * gdb.c++/derivation.exp: Expect protected inheritance.
2106 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2107 * gdb.c++/virtfunc.exp: Likewise.
2108 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2109 when printing a nested enum.
2110
21111999-11-22 Jim Blandy <jimb@cygnus.com>
2112
2113 * gdb.base/step-test.exp: Properly await GDB's response to setting
2114 a breakpoint on the call to large_struct_by_value.
2115
2116 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2117 just because we have debug info for the `start' function.
2118
21191999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2120
2121 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2122 "Unknown signal" messages, which indicate (on LinuxThreads) that
2123 GDB doesn't know how to debug threads on this system. This is
2124 better than hanging while philosopher 0 dumps chatter into gdb.log.
2125
21261999-11-18 Tom Tromey <tromey@cygnus.com>
2127
2128 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2129
21301999-11-18 Fred Fish <fnf@cygnus.com>
2131
2132 * gdb.base/coremaker2.c: Add sample program for generating
2133 cores that is more self contained than coremaker.c. Eventually
2134 I'll add more code to this and tie it into the testsuite.
2135
4ce44c66
JM
21361999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2137
2138 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2139
21401999-11-10 Jimmy Guo <guo@cup.hp.com>
2141
2142 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2143 from $srcdir/lib/.
2144 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2145 and gdb.c++/.
2146
2147 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2148
beb998c6 2149 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
2150 'continue with watch' test point.
2151
21521999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2153
2154 Merged from p2linux-990323-branch:
beb998c6 2155
4ce44c66
JM
2156 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2157
11cf8741
JM
2158Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2159
2160 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2161 {limit,fixed}''. Test ``set download-write-size''.
2162
2163Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2164
2165 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2166 gdb_expect_list.
2167
2168Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2169
2170 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2171
21721999-11-03 Mark Salter <msalter@cygnus.com>
2173
2174 * gdb.base/break.exp: Fix "stub continue" pattern.
2175
21761999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2177
2178 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2179
21801999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2181
2182 * gdb.base/display.exp ("finish"): Add timeout clause.
2183
2184 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2185 plain prompt clause, so this doesn't have to time out in order to
2186 fail.
2187
2188 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2189 breakpoint hit messages include an address.
2190
2191 * gdb.base/display.exp: Don't forget to escape parens in regular
2192 expressions. Unix regexp notatation sucks.
2193
21941999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2195
2196 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2197 order for 'signalled' message.
2198
5c44784c
JM
21991999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2200
2201 From Jimmy Guo <guo@cup.hp.com>:
2202 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2203 * gdb.base/annota1.c: Add code for tests to work with.
2204
22051999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2206
2207 * gdb.base/remote.exp: New test for remote downloading settings.
2208 * gdb.base/remote.c: New file with large .data.
2209
917317f4
JM
22101999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2211
2212 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2213 for LinuxThreads support, merged from the Code Fusion branch.
2214
2215Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2216
2217 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2218 containing exp_continue into a while within an expect. Don't
2219 attempt a start more than three times. Check return value from
2220 gdb_load.
beb998c6 2221
2df3850c
JM
2222Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2223
2224 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2225 a pass case.
2226
2acceee2
JM
22271999-10-01 Kevin Buettner <kevinb@cygnus.com>
2228
2229 * gdb.base/break.c (main): Added a statement that we can step
2230 off of.
2231 * gdb.base/break.exp: Added tests for setting a breakpoint
2232 at an offset and stepping onto a breakpoint.
2233
22341999-10-01 Fred Fish <fnf@cygnus.com>
2235
beb998c6 2236 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
2237 gdb output.
2238
c2c6d25f
JM
22391999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2240
2241 * gdb.base/break.exp: Code locations are in hex, don't forget!
2242 (For HP-UX.)
2243
22441999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2245
2246 * condbreak.exp: Use break.c as test program.
2247 * condbreak.c: Remove, redundant with break.c.
2248
22491999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2250
2251 * config/monitor.exp (gdb_target_monitor): Disable X- and
2252 Z-packets if the target needs it.
2253
22541999-09-13 James Ingham <jingham@leda.cygnus.com>
2255
2256 * gdb.c++/overload.exp: Added tests for listing overloaded
2257 functions with function pointers in the arg, explicitly calling
2258 out the version you want.
2259
cff3e48b
JM
22601999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2261
2262 * long_long.exp: Add variations of test cases that work for
2263 targets with 16-bit ints and 32-bit doubles.
2264
d4f3574e
SS
22651999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2266
2267 * break.c (main): Compare a possibly-uninitialized argc with an
2268 unlikely value that fits in 16 bits.
2269
22701999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2271
2272 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2273 0xfeeb, don't want negative numbers if ints are 16 bits.
2274
2275 * lib/gdb.exp (skip_cplus_tests): New proc.
2276 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2277 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2278 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2279 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2280 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2281 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2282 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2283 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2284
2285 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2286
2287Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2288
2289 * gdb.base/corefile.exp (up): Allow a parameter to appear
2290 in the frame that we're going up to.
2291
2292 From Jim Blandy <jimb@cygnus.com>:
2293
2294 * gdb.base/default.exp (info float): Expect some output now.
2295
2296 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2297 returning floating-point values to fail on the x86.
2298 * gdb.base/callfwmall.exp (do_function_calls): Same.
2299
2300 * gdb.base/list.exp (test_listsize): Correct expectations for
2301 listing line 1 with listsize 2. Also, listing a single line
2302 works now, as does listing three lines. [Kevin's note: There
2303 were a number of other cases fixed too where the expectations
2304 differed...]
2305
23061999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2307
2308 * gdb.base/selftest.exp: Add case for when version prints as
2309 constant string instead of char pointer.
2310
104c1213
JM
23111999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2312
2313 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2314 stepping out of main.
2315
2316 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2317 G++ used.
2318
2319 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2320 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2321
2322 * gdb.c++/ovldbreak.exp: Update match string in test that
2323 includes a warning of multiple breakpoints.
2324
23251999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2326
2327 * gdb.base/display.exp: Improve precision of step-after-finish
2328 added yesterday.
2329
2330 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2331 test.
2332
2333 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2334 configs when using G++, not just hppa*.
2335
23361999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2337
2338 * gdb.base/async.c: New file.
2339 * gdb.base/async.exp: New file.
2340
2341Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2342
2343 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2344 PA64.
2345
53a5351d
JM
2346Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
2347
104c1213
JM
2348 * gdb.base/display.exp: "finish" can leave us mid-line on many
2349 targets, deal with it. Add a small constant to main, instead of
2350 1000 since main+1000 may not be a valid address in the target.
2351
53a5351d
JM
2352 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
2353 on hpux11.
2354
2355 * gdb.base/attach.exp: Handle another hpux11 error message variant
2356 when attaching to a process that does not exist.
2357
23581999-08-19 J.T. Conklin <jtc@redback.com>
2359
2360 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
2361 characters in 'continue to 1241' test.
2362
23631999-08-17 Stan Shebs <shebs@andros.cygnus.com>
2364
2365 * gdb.base/call-ar-st.exp: Add a shorter match case for the
2366 stop in print_long_arg_list, define and use a whitespace
2367 variable in print_small_structs test, add an XFAIL for Solaris.
2368 * gdb.base/dbx.exp: XFAIL func commands until somebody is
2369 interested enough to fix.
2370
7be570e7
JM
23711999-08-13 Keith Seitz <keiths@cygnus.com>
2372
2373 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
2374 (dbx_gdb_load): Remove. Use gdb_load instead, since that
2375 proc knows about targets other than the natives.
2376 (test_assign): Use "gdb_run_cmd" to "run" the target.
2377 Check that we've actually hit the breakpoint at main.
2378 When we attempt to assign a value to a local variable, check
2379 that the variable is in the current scope, i.e., don't use
2380 a test with an empty result.
2381
2382Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2383
2384 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
2385 command.
2386
23871999-08-09 Stan Shebs <shebs@andros.cygnus.com>
2388
2389 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2390 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
2391 gdb.compat, gdb.threads-hp.
2392 gdb.hp/configure, gdb.hp/configure.in: New files.
2393 gdb.hp/Makefile.in: Recurse into new subdirs.
2394 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
2395 gdb.hp/gdb.objdbg: New directory, tests for debugging info
2396 in object files.
2397 gdb.hp/tools: New directory, aux tools for HP-specific tests.
2398
96baa820
JM
23991999-08-05 Stan Shebs <shebs@andros.cygnus.com>
2400
2401 * gdb.base/display.exp: Help expect by putting a newline in the
2402 funky printf, remove a bogus p/a test.
2403
24041999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2405
2406 * gdb.base/display.exp: Make sure that when we say 'run', we are
2407 connected to the target. This is necessary when running not
2408 natively.
2409
24101999-08-03 Stan Shebs <shebs@andros.cygnus.com>
2411
2412 * gdb.base/step-test.exp: Removed some extraneous messages.
2413
2414 * gdb.base/long_long.exp: Don't run memory examination tests
2415 on little-endian targets (they will need a different set of
2416 results to match).
2417
24181999-08-02 Stan Shebs <shebs@andros.cygnus.com>
2419
2420 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
2421 until somebody decides to fix GDB.
2422
2423 * gdb.base/long_long.c: Stop compiler complaint by specifying long
2424 constant as "ULL".
2425 * gdb.base/long_long.exp: Loosen x/c test, add partial result
2426 matches for a couple x/2 commands.
2427
a0b3c4fd
JM
24281999-07-30 Stan Shebs <shebs@andros.cygnus.com>
2429
2430 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
2431 by merging in ref-types2 tests.
2432 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
2433
2434 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2435 * gdb.c++/Makefile.in: Add standard actions.
2436 (EXECUTABLES): Rename from PROGS, update list.
2437 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
2438 from gdb.hp.
2439 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
2440 foo and bar locals.
2441 * gdb.c++/anon-union.exp: Fix tests to match.
2442 * gdb.c++/classes.exp: Run if HP compiler used, add extra
2443 expect matches to handle output variations.
2444 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
2445 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
2446 output, add HP alternatives for new and delete prints.
2447 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
2448 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
2449 * gdb.c++/demangle.exp: Use $style when reporting failure.
2450 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
2451 * gdb.c++/inherit.exp: Run if HP compiler used, add some
2452 match alternatives.
2453 * gdb.c++/local.exp: Add match alternatives or xfails for HP
2454 compilers.
2455 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
2456 * gdb.c++/method.exp: Add match alternatives.
2457 * gdb.c++/misc.cc: Add bool types.
2458 * gdb.c++/misc.exp: Add tests for bool types.
2459 * gdb.c++/overload.exp: Add xfails.
2460 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
2461 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
2462 add some more template parameter tests (only for HP currently).
2463 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
2464 * gdb.c++/virtfunc.cc: Add return type and value for main.
2465 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
2466 match alternatives.
beb998c6 2467
a0b3c4fd
JM
24681999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2469
2470 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
2471
24721999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
2473
2474 * gdb.base/signals.exp: Don't expect getting a backtrace from
2475 within a signal handler to fail on Linux.
2476
24771999-07-29 Stan Shebs <shebs@andros.cygnus.com>
2478
2479 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2480 * lib/gdb.exp: Remove some gratuitious semicolons.
2481 (delete_breakpoints): Increase timeout.
2482 (gdb_expect): Add -notransfer option.
2483 (gdb_test): Use -notransfer option.
2484 (get_compiler_info): Add f77 case.
2485 (get_compiler): New proc, split out from gdb_preprocess, add f77
2486 case.
2487 (gdb_preprocess): Call get_compiler.
2488
2489 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
2490 * gdb.base/attach.exp, gdb.base/display.exp,
2491 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
2492 gdb.base/long_long.exp, gdb.base/printcmds.exp,
2493 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
2494 third arg to gdb_test.
2495 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
2496 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
2497 HP-UX xfails, add others.
2498 * gdb.base/completion.exp: Reflect name change of self-test.
2499 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
2500 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
2501 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
2502 HP failure number.
2503 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
2504 useless HP-UX 10.30 references.
2505 * gdb.base/maint.exp: Loosen matches.
2506 * gdb.base/pointers.c (main): Declare more_code.
2507 * gdb.base/pointers.exp: Match on output of a `next'.
2508 * gdb.base/structs.c: Add prototypes.
2509 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
2510 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
2511
25121999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2513
2514 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
2515 command.
2516
25171999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2518
2519 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
2520 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
2521
2522 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
2523 debug info. Deal with lack of signal hanlder info in stack.
2524
2525 From Jim Kingdon <kingdon@redhat.com>:
2526 * gdb.base/annota1.exp: If printf has debug info, deal with it.
2527
5a2468f5
JM
25281999-07-19 Stan Shebs <shebs@andros.cygnus.com>
2529
2530 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
2531 gdb.base/foll-vfork.exp: Don't run for crosses.
2532
adf40b2e
JM
2533Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2534
2535 * gdb.base/configure.in: Check for gdbvars.exp instead of
2536 a1-selftest.exp.
2537 * gdb.base/configure: Re-generate.
2538
25391999-07-12 Stan Shebs <shebs@andros.cygnus.com>
2540
2541 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
2542 in trying to run first and name is too long.
2543
2544 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
2545 pointers2.c and pointers2.exp, respectively.
2546 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
2547 doschk happier.
2548
43e526b9
JM
25491999-07-08 Stan Shebs <shebs@andros.cygnus.com>
2550
2551 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
2552 callfuncs2.c and callfuncs2.exp.
2553
2554 * gdb.base/list.exp: Remove mistaken xfails.
2555 * gdb.base/list0.h: Add optional prototypes.
2556
9846de1b
JM
2557Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
2558
2559 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
2560 calling malloc.
2561 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
2562 * ptype.exp: Move test for get_debug_format to before its first
2563 use.
2564
25651999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2566
2567 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
2568 * gdb.base/annota2.cc, annota2.exp: Move from here.
2569 * gdb.c++/annota2.cc, annota2.exp: To here.
2570 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
2571
43ff13b4
JM
2572Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
2573
2574 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
2575 a consistent format.
2576
085dd6e6
JM
25771999-06-25 Stan Shebs <shebs@andros.cygnus.com>
2578
2579 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2580 * lib/gdb.exp (get_compiler_info): Add detection for assorted
2581 HP compilers, also set the globals $true and $false.
2582
2583 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
2584 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
2585 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
2586 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
2587 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
2588 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
2589 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
2590 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
2591 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
2592 whatis.c} Add C++ compatible function definitions and return
2593 types, add includes for library functions.
2594 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
2595 * gdb.base/step-test.c (myglob): Rename from glob.
2596 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
2597 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
2598 files, move here from gdb.hp.
2599 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
2600 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
2601 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
2602 Adjust line numbers in regexps.
2603
2604 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
2605 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
2606 instead of 0/1.
2607
2608 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
2609 foll-vfork.exp: New files, move here from gdb.hp.
2610 * gdb.base/page.exp: New file, test of pagination command.
2611
2612 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
2613 recursion test.
2614 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
2615
2616 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
2617 gdb.base/solib.exp: Fix compiler invocation process.
2618
2619 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
2620 HP-UX 11, turn off overload resolution explicitly.
2621 * gdb.base/commands.exp: Set argument list explicitly, add
2622 watchpoint test.
2623 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
2624 them work.
2625 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
2626 expressions properly.
2627 * gdb.base/corefile.exp: Loosen the match slightly.
2628 * gdb.base/default.exp: Allow "Error accessing memory" message
2629 also.
2630 * gdb.base/display.exp: Skip over x/0 j if PA64.
2631 * gdb.base/funcargs.exp: Add xfails for HP-UX.
2632 * gdb.base/interrupt.exp: Ditto.
2633 * gdb.base/langs.exp: Add symbolic matches governed by compiler
2634 in use.
2635 * gdb.base/list.exp: Add xfails for HP-UX.
2636 * gdb.base/long_long.exp: Refine some of the numeric matches.
2637 * gdb.base/mips_pro.exp: Xfail on HP-UX.
2638 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
2639 * gdb.base/nodebug.exp: Succeed on more varieties of output.
2640 * gdb.base/opaque.exp: Remove some HP-UX xfails.
2641 * gdb.base/ptype.exp: Succeed on more varieties of output.
2642 * gdb.base/scope.exp: Add xfails for HP-UX.
2643 * gdb.base/sect-cmd.exp: Add more cases.
2644 * gdb.base/setvar.exp: Add xfails for HP-UX.
2645 * gdb.base/shlib-call.exp: Loosen some matches slightly.
2646 * gdb.base/signals.exp: Match on void symbolically.
2647 * gdb.base/step-test.exp: Add case for PA64.
2648 * gdb.base/term.exp: Add exit and restart.
2649 * gdb.base/twice.exp: Clean up after self.
2650 * gdb.base/varargs.exp: Disable overload resolution explicitly.
2651 * gdb.base/whatis.exp: Allow more ways to pass tests.
2652
2653 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
2654 no longer useful.
2655
2656Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
2657
2658 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
2659 list of patterns.
2660 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
2661 print_double_array(double_array)", "continuing to breakpoint
2662 1018", "print print_double_array(array_d)" and "continuing to
2663 1034" tests.
beb998c6 2664
085dd6e6
JM
26651999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
2666
2667 * Makefile.in: Add empty html and install-html targets.
2668
26691999-06-24 Stan Shebs <shebs@andros.cygnus.com>
2670
2671 * config/mt-*: Remove, these haven't been used since 1996.
2672
26731999-06-22 Stan Shebs <shebs@andros.cygnus.com>
2674
2675 * gdb.base/call-strs.c, gdb.base/ending-run.c,
2676 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
2677 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
2678
9e0b60a8
JM
26791999-06-18 Stan Shebs <shebs@andros.cygnus.com>
2680
2681 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
2682 simpler match case for the ptype of the big class.
2683
26841999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2685
2686 * gdb.exp: Fix test for gdb_prompt existence.
2687
26881999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2689
2690 * gdb.exp (gdb_test): Add fail after calls to perror.
2691
26921999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2693
2694 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
2695
26961999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2697
2698 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
2699
0f71a2f6
JM
2700Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
2701
2702 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
2703 malloc() is linked in.
2704
27051999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2706
2707 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
2708 step at end.
2709
2710 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
2711
27121999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
2713
2714 * gdb.java/jv-print.exp: New file. (Our first Java test!)
2715
cce74817
JM
2716Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
2717
2718 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
2719 * gdb.base/mips_pro.exp: Likewise.
2720
27211999-06-02 Keith Seitz <keiths@cygnus.com>
2722
2723 * gdb.c++/templates.cc: Change all "new" operators to throw
2724 an exception.
2725 * gdb.c++/cplusfuncs.cc: Likewise.
2726
2727 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
2728
2729Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
2730
2731 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
2732 * gdb.base/ending-run.exp: When stepping out of main, accept a
2733 step into an arbitrary assembler file.
2734
392a587b
JM
27351999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2736
beb998c6 2737 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 2738 "breakpoint-invalid" to be printed.
beb998c6 2739 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
2740 number of "frames-invalid" and "breakpoint-invalid" to be printed.
2741 * gdb.base/annota2.cc: Initialize a.x to 0.
2742
9e086581
JM
27431999-05-17 Keith Seitz <keiths@cygnus.com>
2744
2745 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
2746 when "skip_float_tests" set.
2747 Ditto for "print print_double_array(array_d)", "print print_small_structs",
2748 "print print_ten_doubles", and "step into print_long_arg_list".
2749 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
2750 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
2751 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
2752 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
2753 "skip_float_tests" is set.
2754 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
2755 when "skip_float_tests" set.
beb998c6 2756
cd0fc7c3
SS
27571999-05-06 Keith Seitz <keiths@cygnus.com>
2758
2759 * gdb.base/annota2.cc: Include stdio.h.
2760
2761Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
2762
2763 * gdb.base/crossload.exp: Remove, this has been disabled ever
2764 since BFD stopped including all targets, and cross-GDB gets
2765 plenty of testing anyway.
2766 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
2767 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
2768 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
2769 * gdb.base/README: Remove, was doc for this.
2770 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
2771 needed.
2772
b83266a0
SS
27731999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2774
2775 * gdb.base/call-ar-st.exp: Fix one regular expression in test
2776 output.
2777
2778 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
2779 * gdb.base/annota2.exp: New file. More annotation tests.
2780 * gdb.base/annota1.c: New file. Source file for annota1.exp.
2781 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
2782
27831999-04-23 Angela Marie Thomas <angela@cygnus.com>
2784
2785 * config/cfdbug.exp: New file.
2786
7a292a7a
SS
27871999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2788
2789 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
2790 Marcus Daniel's and Dale Hawkins's demangler crashes.
2791
2792 * gdb.c++/demangle.exp (test_gnu_style_demangling,
2793 test_lucid_style_demangling, test_arm_style_demangling,
2794 test_hp_style_demangling): Try Tom Tromey's core-dumping
2795 identifier under each demangling style.
2796
27971999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
2798
2799 * gdb.c++/demangle.exp: Include the current demangling style
2800 in all test names.
2801 (current_demangling_style): New global variable.
2802 (set_demangling_style, test_demangling_core, test_demangling,
2803 test_demangling_exact): New functions.
2804 (test_gnu_style_demangling, test_lucid_style_demangling,
2805 test_arm_style_demangling, test_hp_style_demangling): Use those,
2806 instead of calling gdb_test and gdb_test_exact directly.
2807 (catch_demangling_errors): New function, which reports errors
2808 signalled by the demangling test functions in an orderly way.
2809 (do_tests): Use catch_demangling_errors.
2810
28111999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
2812
2813 * gdb.base/signals.exp (test_handle_all_print): Use () for
2814 grouping in expressions, not {}.
2815
2816 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
2817 initialized yet.
2818
28191999-04-01 Stan Shebs <shebs@andros.cygnus.com>
2820
2821 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
2822 are listed.
2823
28241999-03-26 Stan Shebs <shebs@andros.cygnus.com>
2825
2826 * gdb.stabs/weird.exp: Test for CC being defined before
2827 looking at its value.
2828
28291999-03-25 Stan Shebs <shebs@andros.cygnus.com>
2830
2831 * gdb.base/call-ar-st.exp: Remove stray '#'.
2832 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
2833 "short int" and "long int".
2834 * gdb.c++/overload.cc: Cast the string added in the previous
2835 change, to mollify finicky HP compiler.
2836 * gdb.hp/reg-test.exp (testfile): Fix file name.
2837 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 2838
7a292a7a
SS
2839 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
2840 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
2841 alternate form of enum ptype.
2842
c906108c
SS
28431999-03-23 Stan Shebs <shebs@andros.cygnus.com>
2844
7a292a7a
SS
2845 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
2846 * gdb.hp/*.exp: Change all to run compiler probe only after
2847 passing skip_hp_tests, so as not to waste time on guaranteed
2848 failure.
2849
c906108c
SS
2850 * gdb.c++/overload.cc: Pass string instead of char addr, always
2851 init ccpfoo.
2852 * gdb.c++/templates.cc: Fix syntax error.
2853
7a292a7a
SS
2854Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2855
2856 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 2857 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
2858 command.
2859
28601999-03-18 James Ingham <jingham@cygnus.com>
2861
2862 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
2863
2864 * gdb.c++/method.exp: It was testing an uninitialized int on the
2865 stack and assuming it was positive.
2866
2867 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
2868
2869 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 2870 keep it from killing the rest of the tests.
7a292a7a
SS
2871 Use gdb_continue_to_end.
2872
2873 * gdb.base/sigall.exp: use gdb_continue_to_end.
2874
2875 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
2876
2877 * gdb.base/display.exp: use runto_main, not run.
2878
beb998c6
AC
2879 * gdb.base/default.exp: Check for the current error message in the
2880 r abbreviation test.
7a292a7a
SS
2881 Add strongarm to the targets that know info float.
2882
beb998c6 2883 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
2884 run which doesn't work with monitors.
2885
2886 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
2887
2888 * gdb.base/break.exp: use the gdb_continue_to_end proc.
2889
2890 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
2891 program. Traps the case (in Cygmon) when the program never really
2892 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
2893 more places, so I used my name. Sorry Mark...
2894
2895 * config/monitor.exp (gdb_target_monitor): added another
2896 target_info parameter: remotebinarydownload. This will set the
2897 remotebinarydownload flag if this is causing some boards trouble.
2898
28991999-03-18 Mark Salter <msalter@cygnus.com>
2900
2901 * lib/gdb.exp (continue_to_exit): New function.
2902
2903 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
2904 * gdb.base/ending-run.exp: Ditto.
2905 * gdb.base/step-test.exp: Ditto.
2906
29071999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2908
2909 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
2910 (suggested by Art Haas <ahaas@neosoft.com>).
2911
29121999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
2913
2914 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
2915
2916Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
2917
2918 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
2919 descriptions of types (short unsigned int vs unsigned short, etc).
2920
29211999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
2922
2923 * gdb.base/call-strs.exp: Don't assume that `step' will step over
2924 a call to strlen; sometimes we do have sources.
2925
29261999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
2927
2928 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
2929 character, so GDB won't print garbage after its end.
beb998c6 2930
c906108c
SS
2931 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
2932 breakpoint there instead. Sometimes GCC emits memcpy to handle
2933 the large structures being passed by value, so we step into that
2934 instead of sum_array_print, which obscures what we're really testing.
2935 * gdb.base/step-test.exp: However, we do want a test that notices
2936 the bizarre steps into memcpy, so do that here. Add check for
2937 stepping into function calls that pass large structures by value.
2938 ("Is that a noun clause, or are you just happy to see me?")
2939 Remove all references to specific line numbers.
2940 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
2941 New type and function.
2942 (main): Call large_struct_by_value, passing it a large struct by value.
2943 * lib/gdb.exp (gdb_get_line_number): New function.
2944
2945 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
2946 more portable.
2947
7a292a7a
SS
29481999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
2949
c906108c
SS
2950 * lib/gdb.exp: Doc fixes.
2951
7a292a7a
SS
29521999-03-05 Nick Clifton <nickc@cygnus.com>
2953
beb998c6 2954 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
2955
29561999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
2957
c906108c
SS
2958 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
2959 commands. They're not germane to this test, and they don't work
2960 that way on remote targets.
2961
3fc11d3e
JM
29621999-03-01 James Ingham <jingham@cygnus.com>
2963
2964 * Changelog entries merged over from gdb development branch.
2965
3fc11d3e
JM
2966 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
2967
2968 * lib/gdb.exp (gdbtk_analyze_results): Generic function
2969 for outputting results of test run.
2970
2d4a1622 2971 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
2972
2973 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 2974
7a292a7a
SS
29751999-02-25 Felix Lee <flee@cygnus.com>
2976
2977 * lib/gdb.exp (debug_format): initialize
2978
c906108c
SS
29791999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
2980
2981 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
2982 * gdb.base/call-rt-st.c: Ditto.
2983
c906108c
SS
29841999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
2985
2986 * gdb.threads/pthreads.exp (horiz): New variable.
2987 (test_startup): Fix regexps that capture thread numbers.
2988
29891999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
2990
2991 * gdb.base/smoke.exp: Disambiguate two test case names (both
2992 called ``print'').
2993
2994Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
2995
2996 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
2997 compilation.
2998
29991999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3000
3001 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3002 actual output formatting.
3003 * gdb.base/smoke.exp: GDB removes leading 0's.
3004 * gdb.base/volatile.exp: Don't check type of remuneration;
3005 that variable is no longer defined in constvars.c.
3006 * gdb.base/step-test.c (main): Exit with explicit exit code.
3007 * gdb.base/step-test.exp: Remove two nexti checks--they are
3008 not portable.
3009
30101999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3011
3012 * gdb.base/help.exp ("help delete display"): Fix test to match
3013 gdb's output.
3014
3015 * gdb.base/long_long.c (known_types): Initialize values to zero.
3016 * gdb.base/long_long.exp: Step one more line
3017 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3018 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3019 unique test case names.
3020
3021Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3022
beb998c6 3023 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3024
3025 * gdb.c++/method.exp: Add missing close brace.
3026
30271999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3028
3029 * gdb.base/maint.exp: Use 'set height 0' to disable page
3030 prompting, not 'set height 400'.
3031
3032 Fix a bunch of timeouts.
3033 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3034 four separate tests, so expect doesn't take forever to match a ton
3035 of text against a regexp with lots of .* forms.
3036 ("maint print psymbols", "maint print symbols"): Make some of
3037 these greps more selective, so that expect doesn't try to wade
3038 through huge piles of output and time out.
3039
3040 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3041
3042 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3043 tests: one which doesn't expect shlib events to be reported, and
3044 another which does, but is XFAIL for all platforms other than
3045 HP/UX.
3046
3047 * gdb.base/break.exp: Teach the test suite that the `catch
3048 fork', `catch vfork', and `catch exec' commands produce error
3049 messages on platforms that don't provide these features.
3050
3051Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3052
3053 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3054 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3055 (shortening names from solib_threshold.exp etc), won't run on
3056 anything but HP-UX for the foreseeable future.
3057 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3058 reflect move.
3059
3060Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3061
3062 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3063 gdb.trace/Makefile.in (clean): Remove all test executables.
3064
3065Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3066
3067 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3068 successfully re-sets breakpoints in shared libraries.
3069 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3070
3071Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3072
beb998c6
AC
3073 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3074 and compiled w/o GCC.
c906108c
SS
3075
3076 * gdb.hp/watch-cmd.exp: ditto.
3077
3078 * gdb.hp/watch-hp.exp: ditto.
3079
3080 * gdb.hp/xdb1.exp: ditto.
3081
3082 * gdb.hp/xdb2.exp: ditto.
3083
3084 * gdb.hp/dbx.exp: ditto.
3085
3086Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3087
3088 * constvars.c: Remove C++-isms.
3089 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3090 with GCC.
3091
3092Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3093
3094 The following changes are part of the HP merge.
3095
3096 * gdb.base/break.exp: new tests to verify that catchpoints for
3097 fork, vfork, and exec don't trigger inappropriately.
3098
3099 * gdb.base/opaque.exp: compile one file at a time, then link.
3100
3101 * gdb.base/signals.exp: be more restrictive about which hppa
3102 systems receive a setup_xfail. new tests.
3103
3104 * gdb.base/solib_threshold.build: new file.
3105 * gdb.base/solib_threshold.exp: new file.
3106 * gdb.base/solib_threshold.link_opts: new file.
3107 * gdb.base/solib_threshold.mk: new file.
3108 * gdb.base/gen_solib_threshold.c: new file.
3109
3110 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3111 tests. New tests for enums inside classes.
3112
3113 * gdb.c++/compiler.cc: indicate support of template debugging.
3114
3115 * gdb.c++/demangle.exp: run hp style demangling tests.
3116
3117 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3118 tests.
3119
3120 * gdb.c++/misc.cc: changes to support new tests.
3121
3122 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3123 to support new tests.
3124
3125 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3126 gcc, then skip these tests.
3127
3128Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3129
3130 The following files are part of the HP merge; some had longer
3131 names at HP, but have been renamed to be no more than 14
3132 characters in length.
3133
3134 * gdb.hp/ambiguous.cc: new file.
3135 * gdb.hp/ambiguous.exp: new file.
3136 * gdb.hp/attach.exp: new file.
3137 * gdb.hp/attach2.exp: new file.
3138 * gdb.hp/classes-hp.exp: new file.
3139 * gdb.hp/ctti.exp: new file.
3140 * gdb.hp/ctti-add.cc: new file.
3141 * gdb.hp/ctti-add1.cc: new file.
3142 * gdb.hp/ctti-add2.cc: new file.
3143 * gdb.hp/ctti-add3.cc: new file.
3144 * gdb.hp/dbx.exp: new file.
3145 * gdb.hp/exception.cc: new file.
3146 * gdb.hp/exception.exp: new file.
3147 * gdb.hp/foll-exec.c: new file.
3148 * gdb.hp/foll-exec.exp: new file.
3149 * gdb.hp/foll-fork.c: new file.
3150 * gdb.hp/foll-fork.exp: new file.
3151 * gdb.hp/foll-vfork.c: new file.
3152 * gdb.hp/foll-vfork.exp: new file.
3153 * gdb.hp/inherit-hp.exp: new file.
3154 * gdb.hp/more-steps.exp: new file.
3155 * gdb.hp/namespace.cc: new file.
3156 * gdb.hp/namespace.exp: new file.
3157 * gdb.hp/optimize.exp: new file.
3158 * gdb.hp/pxdb.c: new file.
3159 * gdb.hp/pxdb.exp: new file.
3160 * gdb.hp/quicksort.exp: new file.
3161 * gdb.hp/reg-test.exp: new file.
3162 * gdb.hp/reg-test.s: new file.
3163 * gdb.hp/sized-enum.c: new file.
3164 * gdb.hp/sized-enum.exp: new file.
3165 * gdb.hp/start-stop.exp: new file.
3166 * gdb.hp/templ-hp.cc: new file.
3167 * gdb.hp/templ-hp.exp: new file.
3168 * gdb.hp/thr-lib.c: new file.
3169 * gdb.hp/thr-lib.exp: new file.
3170 * gdb.hp/thr-lib.h: new file.
3171 * gdb.hp/thr-liblib.c: new file.
3172 * gdb.hp/virtfun-hp.c: new file.
3173 * gdb.hp/virtfun-hp.exp: new file.
3174 * gdb.hp/watch-cmd.exp: new file.
3175 * gdb.hp/watch-hp.exp: new file.
3176 * gdb.hp/xdb1.exp: new file.
3177 * gdb.hp/xdb2.exp: new file.
3178 * gdb.hp/xdb3.exp: new file.
3179
3180Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3181
3182 The following files are part of the HP merge; some had longer
3183 names at HP, but have been renamed to be no more than 14
3184 characters in length.
3185
3186 * gdb.base/ss.h: new file.
3187 * gdb.base/call-ar-st.c: new file.
3188 * gdb.base/call-ar-st.exp: new file.
3189 * gdb.base/call-rt-st.c: new file.
3190 * gdb.base/call-rt-st-exp: new file.
3191 * gdb.base/call-strs.exp: new file.
3192 * gdb.base/ena-dis-br.exp: new file.
3193 * gdb.base/environ.exp: new file.
3194 * gdb.base/long_long.exp: new file.
3195 * gdb.base/sect-cmd.exp: new file.
3196 * gdb.base/shlib-cl2.exp: new file.
3197 * gdb.base/smoke.exp: new file.
3198 * gdb.base/so-impl-ld.c: new file.
3199 * gdb.base/so-impl-ld.exp: new file.
3200 * gdb.base/so-indr-cl.c: new file.
3201 * gdb.base/so-indr-cl.exp: new file.
3202 * gdb.base/varargs.exp: new file.
3203 * gdb.base/volatile.exp: new file.
3204 * gdb.base/whatis-exp.exp: new file.
7a292a7a 3205 * gdb.base/display.exp: new file.
c906108c
SS
3206 * gdb.c++/derivation.exp: new file.
3207 * gdb.c++/local.exp: new file.
3208 * gdb.c++/member-ptr.exp: new file.
3209 * gdb.c++/overload.exp: new file.
3210 * gdb.c++/ovldbreak.exp: new file.
3211 * gdb.c++/ref-types.exp: new file.
3212 * gdb.c++/ref-types2.exp: new file.
3213 * gdb.c++/userdef.exp: new file.
beb998c6 3214
c906108c
SS
3215Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3216
3217 * gdb.base/default.exp: Reflect wording change in remote.c.
3218
dc96c6c7 3219Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3220
3221 * gdb.base/help.exp: Update to reflect current text.
3222
3223Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3224
3225 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3226 they're stack variables and contain garbage.
3227 * gdb.c++/anon-union.exp: new file.
3228
3229 The following changes were made by David Taylor
3230 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3231 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3232 in changes by HP.
3233
3234 * gdb.base/bitops.exp: new file.
3235 * gdb.base/default.exp: change expected messages for catch and
3236 info catch tests to reflect HP merge changes.
3237 * gdb.base/enable-disable-break.exp
3238 * gdb.base/ending-run.c: new file.
3239 * gdb.base/long_long.c: new file.
3240 * gdb.base/maint.exp: new file.
3241 * gdb.base/pointers2.exp: new file.
3242 * gdb.base/shlib-call2.exp: new file.
3243 * gdb.base/solib.exp: new file.
3244 * gdb.base/step-test.c: new file.
3245 * gdb.c++/anon-union.cc: new file.
3246 * gdb.c++/local.cc: new file.
3247 * gdb.c++/member-pointer.cc: new file.
3248 * gdb.c++/method.cc: new file.
3249 * gdb.c++/ref-types.cc: new file.
3250 * gdb.c++/ref-types2.cc: new file.
3251 * gdb.c++/userdef.cc: new file.
beb998c6 3252
c906108c
SS
3253 * gdb.base/scope.exp: compile one file at a time, then link.
3254 * gdb.base/langs.exp: ditto.
3255 * gdb.base/list.exp: ditto.
beb998c6 3256
c906108c
SS
3257Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3258
3259 The following changes were made by David Taylor
3260 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3261 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3262 in changes by HP.
beb998c6 3263
c906108c
SS
3264 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3265 skip tests. When compiling pass c++ flag to gdb_compile.
3266 * gdb.c++/
beb998c6 3267
c906108c
SS
3268 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3269 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3270 (skip_hp_tests): new function.
3271 (gdb_preprocess): new function.
3272
3273 * configure.in (hpdir): decide whether to configure gdb.hp.
3274 * configure: regenerated.
3275
3276 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3277 to delete on clean.
3278 (EXECUTABLES): update to reflect new additions.
3279 * gdb.base/commands.exp: update message expected.
3280 * gdb.base/default.exp: add copyright notice.
3281 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3282 * gdb.base/help.exp: update messages to reflect current text.
3283 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3284 targets for recurse tests.
3285 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3286 skip this file.
3287
3288 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3289 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3290 compilation.
3291 * gdb.c++/misc.exp: ditto.
3292 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3293 run the tests. tell gdb_compile that it's a c++ compilation.
3294
3295 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 3296
c906108c
SS
3297 * gdb.base/all-bin.exp: new file.
3298 * gdb.base/arithmet.exp: new file.
3299 * gdb.base/assign.exp: new file.
3300 * gdb.base/completion.exp: new file.
3301 * gdb.base/cond-expr.exp: new file.
3302 * gdb.base/condbreak.exp: new file.
3303 * gdb.base/define.exp: new file.
3304 * gdb.base/dollar.exp: new file.
3305 * gdb.base/environment.exp: new file.
3306 * gdb.base/eval-skip.exp: new file.
3307 * gdb.base/jump.exp: new file.
3308 * gdb.base/logical.exp: new file.
3309 * gdb.base/pointers.exp: new file.
3310 * gdb.base/relational.exp: new file.
3311 * gdb.base/section_command.exp: new file.
3312 * gdb.base/whatis-expr.exp: new file.
3313
3314 * gdb.base/all-types.c: new file.
3315 * gdb.base/call-array-struct.c: new file.
3316 * gdb.base/call-return-struct.c: new file.
3317 * gdb.base/call-strings.c: new file.
3318 * gdb.base/callfuncs2.c: new file.
3319 * gdb.base/condbreak.c: new file.
3320 * gdb.base/constvars.c: new file.
3321 * gdb.base/display.c: new file.
3322 * gdb.base/int-type.c: new file.
3323 * gdb.base/jump.c: new file.
3324 * gdb.base/miscexprs.c: new file.
3325 * gdb.base/pointers.c: new file.
3326 * gdb.base/pointers2.c: new file.
3327 * gdb.base/shmain.c: new file.
3328 * gdb.base/shr1.c: new file.
3329 * gdb.base/shr2.c: new file.
3330 * gdb.base/solib.c: new file.
3331 * gdb.base/solib1.c: new file.
3332 * gdb.base/solib2.c: new file.
3333 * gdb.base/varargs.c: new file.
3334 * gdb.c++/derivation.cc: new file.
3335 * gdb.c++/overload.cc: new file.
3336 * gdb.c++/ovldbreak.cc: new file.
3337 * gdb.hp/attach.c: new file.
3338 * gdb.hp/attach2.c: new file.
3339 * gdb.hp/average.c: new file.
3340 * gdb.hp/compiler.c: new file.
3341 * gdb.hp/compiler.cc: new file.
3342 * gdb.hp/execd-program.c: new file.
3343 * gdb.hp/follow-exec.c: new file.
3344 * gdb.hp/follow-fork.c: new file.
3345 * gdb.hp/follow-vfork-and-exec.c: new file.
3346 * gdb.hp/misc-hp.cc: new file.
3347 * gdb.hp/more-steps.c: new file.
3348 * gdb.hp/optimize.c: new file.
3349 * gdb.hp/quicksort.c: new file.
3350 * gdb.hp/run-hp.c: new file.
3351 * gdb.hp/start-stop.c: new file.
3352 * gdb.hp/sum.c: new file.
3353 * gdb.hp/templates-hp.cc: new file.
3354 * gdb.hp/thread-local-in-lib.c: new file.
3355 * gdb.hp/thread-local-in-lib.h: new file.
3356 * gdb.hp/thread-local-in-lib.lib.c: new file.
3357 * gdb.hp/vforked-program.c: new file.
3358 * gdb.hp/virtfunc-hp.cc: new file.
3359 * gdb.hp/watchpoint-hp.c: new file.
3360 * gdb.hp/xdb.c: new file.
3361 * gdb.hp/xdb0.c: new file.
3362 * gdb.hp/xdb0.h: new file.
3363 * gdb.hp/xdb1.c: new file.
3364
3365Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
3366
3367 The following change was made by Edith Epstein
3368 <eepstein@cygnus.com> as part of a project to merge in changes
3369 originally made by HP; HP did not create ChangeLog entries.
3370
3371 * gdb.c++/demangle.exp: changed the expected output for some
3372 ARM-style mangling -- removed second reference to datatype.
3373 For example, maint demangle __dt__11T1__pt__2_cFv
3374 T1<char>::~T1<char>(void)
3375 becomes,
3376 maint demangle __dt__11T1__pt__2_cFv
3377 T1<char>::~T1(void)
3378
3379 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 3380
c906108c
SS
3381Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
3382
3383 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
3384 * gdb.trace/backtrace.exp: Likewise.
3385 * gdb.trace/circ.exp: Likewise.
3386 * gdb.trace/collection.exp: Likewise.
3387 * gdb.trace/deltrace.exp: Likewise.
3388 * gdb.trace/infotrace.exp: Likewise.
3389 * gdb.trace/limits.exp: Likewise.
3390 * gdb.trace/packetlen.exp: Likewise.
3391 * gdb.trace/passc-dyn.exp: Likewise.
3392 * gdb.trace/passcount.exp: Likewise.
3393 * gdb.trace/report.exp: Likewise.
3394 * gdb.trace/save-trace.exp: Likewise.
3395 * gdb.trace/tfind.exp: Likewise.
3396 * gdb.trace/tracecmd.exp: Likewise.
3397 * gdb.trace/while-dyn.exp: Likewise.
3398 * gdb.trace/while-stepping.exp: Likewise.
3399
34001998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3401
3402 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
3403
3404Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
3405
3406 From Brendan Kehoe:
3407 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
3408 int return types.
3409
3410Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
3411
3412 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
3413 remote dos host testing right.
3414
3415Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
3416
3417 * gdb.base/corefile.exp: remove some xfails.
3418
3419Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
3420
3421 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
3422 have different timestamps.
3423
3424Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
3425
3426 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
3427 gdb.base/default.exp: Replace "exec" with "executable".
3428
3429Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
3430
3431 * gdb.base/default.exp: Change else if to elseif from previous
3432 delta.
3433
3434Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
3435
3436 * gdb.base/default.exp: Add brace missing from previous delta.
3437
3438Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
3439
3440 * gdb.base/default.exp: Support test for info float for all
3441 varieties of arm toolchain.
3442
dc96c6c7 3443Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3444
3445 * gdb.trace/*.exp: remove "remote_download" command.
3446
dc96c6c7 3447Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3448
3449 * gdb.trace/*.exp: remove -gdwarf from compile.
3450
3451Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
3452
3453 * gdb.trace/configure.in(AC_INIT): typo
3454 * gdb.trace/configure: regenerated
3455
dc96c6c7 3456Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3457
3458 * config/m68k-emc.exp: New file.
3459 * lib/<emc-support.exp trace-support.exp}: New files.
3460 * configure.in: add new test directory gdb.trace.
3461 * gdb.trace/{configure configure.in Makefile.in}: New files.
3462 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
3463 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
3464 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
3465 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
3466 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
3467 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
3468 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 3469
dc96c6c7 3470Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3471
3472 * gdb.c++/classes.exp: Change all regular expressions to match
3473 arbitrary combinations of newline/carriage-return, so that they
3474 will work equally well on Unix and Windows.
3475 * gdb.c++/inherit.exp: ditto.
3476 * gdb.c++/virtfunc.exp: ditto.
3477
34781998-08-11 Dawn Perchik <dawn@cygnus.com>
3479
3480 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
3481
c2d11a7d
JM
3482Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
3483
3484 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
3485 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
3486 to use a0-a3/d0-d3 as needed.
3487
3488Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
3489
3490 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
3491 * gdb.disasm/am33.exp: Corresponding changes.
3492
c906108c
SS
34931998-07-11 Felix Lee <flee@cygnus.com>
3494
3495 * gdb.base/callfuncs.exp: add cmp10 test.
3496 * gdb.base/callfuncs.c (cmp10): new function.
3497
3498Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
3499
beb998c6 3500 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
3501 into two parts to get around a synchronization problem in expect.
3502
3fc11d3e
JM
3503Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
3504
3505 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
3506
3507 * configure.in: Add options for gdbtk testsuite.
3508
3509 * configure: Regenerate.
3510
3511 * gdb.gdbtk: New directory to hold gdbtk tests.
3512
c906108c
SS
3513Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3514
3515 * gdb.fortran/types.exp: Escape brackets in expect patterns
3516 for test_float_literal_types_accepted tests.
3517 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
3518 before run test.
3519
c2d11a7d
JM
3520Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
3521
3522 * am33.exp: Just compile, do not link the testcase.
3523 * am33.s: Add ".am33" pseudoop to force am33 mode.
3524
c906108c
SS
35251998-06-25 Felix Lee <flee@cygnus.com>
3526
3527 * gdb.base/setshow.exp: make sure $pc is sane.
3528
3529 * gdb.stabs/weird.exp: split expect patterns properly.
3530
c2d11a7d
JM
3531Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
3532
3533 * gdb.disasm/am33.s: New disassembler testfile for the am33.
3534 * gdb.disasm/am33.exp: Run it.
3535
dc96c6c7 3536Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3537
3538 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
3539 match processing (and eliminate spurious timeouts when running).
3540
dc96c6c7 3541Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3542
3543 * gdb.base/signals.exp (test_handle_all_print): put back Mach
3544 exception test, but conditionalize it on target [mach | gnu].
3545
dc96c6c7 3546Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3547
3548 * gdb.base/overlays.exp: fixup compile line for linker script.
3549
3550Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
3551
3552 * gdb.fortran/types.exp: don't guess at float size.
3553
3554Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
3555
3556 * gdb.base/exprs.exp: delete test that depends on int size.
3557
3558Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
3559
3560 * config/sim.exp: Removed checks for target triplets.
3561 (gdb_target_sim): Use gdb,target_sim_options.
3562
3563Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
3564
3565 * gdb.base/reread.exp: New file.
3566 * gdb.base/reread1.c: New file.
3567 * gdb.base/reread2.c: New file.
3568
3569Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
3570
3571 * config/sim.exp: Use 'target sim -sparclite' when running
3572 SPARClite programs.
3573
3574Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
3575
3576 * gdb.base/structs2.exp: New file.
3577 * gdb.base/structs2.c: New file.
3578
3579Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
3580
3581 * gdb.asm/common.inc: New file.
3582 * gdb.asm/d10v.inc: New file.
3583 * asm-source.exp: Pass -I's to gas to find .inc files.
3584 Update line numbers in expected output.
3585 * asmsrc1.s: Rewrite.
3586 * asmsrc2.s: Rewrite.
3587 * configure.in: Create arch.inc symlink.
3588 * configure: Regenerate.
3589 * Makefile.in (distclean): Delete arch.inc.
3590
3591Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
3592
3593 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
3594 (t_enum_value2): ditto
3595 (t_enum_value3): ditto
3596 (main): ditto
3597Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3598
3599 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
3600 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
3601 change.
3602 Use gdb_test instead of send_gdb/gdb_expect sequences.
3603
3604Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
3605
3606 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
3607 not void.
3608
3609Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
3610
3611 * gdb.base/branches.c: Code with lots of loops and
3612 subroutines. Used to test gdbs ability to single step through PC
3613 changes, especially to test mips-tdep.c:mips_next_pc
3614
3615Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
3616
3617 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
3618 more rigorous EGCS C++ error checking.
3619
3620Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3621
3622 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 3623 tests.
c906108c 3624 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 3625 function when asleep.
c906108c 3626 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
3627 for i*86 Linux and SVR4 signal handling problems.
3628 Remove linux xfail for `next to handler in signals_tests_1', fixed
3629 by recent infrun.c change.
c906108c 3630 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 3631 stack backtraces.
c906108c
SS
3632 Adjust expect pattern in `handle all print' test to match Apr 28 1997
3633 target.[ch] change.
3634
3635Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
3636
3637 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
3638 for a newline from gdb before continuing.
3639 (default_gdb_exit): Just look for y or n.
3640 (gdb_test): Detect abnormal exit from GDB running on DOS; if
3641 it does, fail the rests of the tests in the file.
3642
3643Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
3644
3645 * config/cygmon.exp: New file.
3646
3647Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
3648
3649 * gdb.base/list.exp: Fix problem with "list default lines around
3650 main" test on remote targets.
3651
3652 * gdb.base/scope.exp: Fix problem with filelocal_bss before
3653 run test on remote targets.
3654
3655Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
3656
3657 * gdb.asm: New directory.
3658 * configure.in: Configure it.
3659 * configure: Regenerate.
3660 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
3661 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
3662
3663Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
3664
3665 * config/mn10300-eval.exp: New file to support MN10300 eval board.
3666
dc96c6c7 3667Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3668
c906108c
SS
3669 * gdb.base/overlays (several files): Merge the two overlay
3670 managers into one. Change variables (foox, barx, bazx, grbxx)
3671 back into ints but force them to load in their proper sections.
3672
3673Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
3674
3675 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
3676 on-chip insn memory and IMAP1 to upper 128k.
3677 (D10VCopy): Handle memory regions crossing 16k boundaries.
3678 (D10VCopy): Transfer data in 32 bit chunks.
3679
3680Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
3681
3682 * gdb.base/overlays.c (main): Exit normally when result is
3683 correct.
3684
3685 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
3686 map. Include space for printf in .text segment.
3687
3688 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
3689 updated d10v memory VMA/LMA map.
3690 (D10VCopy): Call D10VTranslate.
beb998c6 3691
c906108c
SS
3692Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
3693
3694 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
3695
3696 * gdb.base/bar.c (barx, bar): Change variable to small array so
3697 that it won't be put into the .sdata - small data -
3698 section. Update reference.
3699 * gdb.base/baz.c (bazx, baz): Ditto.
3700 * gdb.base/foo.c (foox, foo): Ditto.
3701 * gdb.base/grbx.c (grbxx, grbx): Ditto.
3702
3703 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
3704 to be arrays.
beb998c6 3705
dc96c6c7 3706Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3707
c906108c
SS
3708 * gdb.base/overlays.exp: fix up and get working again.
3709 Add tests for backtraces from an overlay function.
beb998c6 3710
c906108c
SS
3711Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
3712
3713 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
3714 "calling function with watchpoint enabled".
3715
3716Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
3717
3718 * gdb.base/break.exp (test_next_with_recursion): Remove
3719 gdb_suppress_tests for d10v-*-*.
3720 * lib/gdb.exp (gdb_suppress_tests): Disable this function
3721 pending review of whether it is useful or not.
3722
3723Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
3724
3725 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
3726
3727Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
3728
3729 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
3730 * config/dve.exp: New file to support Densan boards.
3731
3732Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
3733
3734 * gdb.base/interrupt.exp: Document problem of simulators, signals,
3735 reads and BSD.
3736
3737Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
3738
3739 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
3740 response.
3741
3742 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
3743
3744Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
3745
3746 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
3747 test.
3748
3749 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
3750 target_sizeof_long and target_bigendian_p.
3751 (structs_by_value, structs_by_reference): Check values according
3752 to targets word size and endianess.
beb998c6 3753
c906108c
SS
3754Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
3755
3756 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
3757 output.
3758
3759Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
3760
3761 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
3762 Update test of set args help to match source change.
3763
3764Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
3765
3766 * gdb.base/default.exp: Expect help system output to be in
3767 alphabetical order.
3768 * gdb.base/help.exp: Ditto.
3769
3770Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
3771
3772 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
3773 "i*86-pc-linux-gnu*".
3774 * gdb.base/interrupt.exp: Ditto.
3775 * gdb.base/corefile.exp: Ditto.
3776
3777 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
3778 define vxworks when building the testcase.
3779
3780 * gdb.base/ptype.exp: Fix testnames to be unique.
3781 * gdb.base/radix.exp: Ditto.
3782 * gdb.base/term.exp: Ditto.
3783 * gdb.base/whatis.exp: Ditto.
3784 * gdb.c++/classes.exp: Ditto.
3785
3786Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
3787
3788 * gdb.base/callfuncs.exp: Fix indentation.
3789
3790 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
3791 suppress_flag has been set.
3792 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
3793 target feature.
3794
3795Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
3796
3797 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
3798 the testcase.
3799
3800 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
3801 set_debug_traps() and breakpoint().
3802 * gdb.c++/misc.cc (main): Ditto.
3803 * gdb.c++/templates.cc (main): Ditto.
3804 * gdb.c++/virtfunc.cc (main): Ditto.
3805
3806Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
3807
3808 * lib/gdb.exp(gdb_step_for_stub): New function.
3809 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
3810 exists, reload the executable and do a "continue" instead of
3811 doing a jump.
3812 (runto_main): Use gdb_step_for_stub.
beb998c6 3813
c906108c
SS
3814 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
3815 tests to have unique names.
3816 * gdb.base/callfuncs.exp: Ditto.
3817 * gdb.base/commands.exp: Ditto.
3818 * gdb.base/default.exp: Ditto.
3819 * gdb.base/help.exp: Ditto.
3820 * gdb.base/list.exp: Ditto.
3821 * gdb.base/opaque.exp: Ditto.
3822 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
3823 similar tests.
beb998c6 3824
c906108c
SS
3825 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
3826 * gdb.c++/cplusfuncs.cc: Ditto.
3827 * gdb.c++/virtfunc.cc: Ditto.
3828
3829 * config/monitor.exp: Keep track of the last file we saw, rather
3830 than trying to get the info from gdb.
3831
3832 * gdb.fortran/types.exp: Move comment to previous line.
3833
3834Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
3835
3836 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
3837 target mode.
3838
3839Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
3840
3841 From Bob Manson:
3842 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
3843 string from GDB when it connects.
3844
3845 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
3846
3847Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
3848
3849 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
3850 if we can't get a debug format from GDB (we may be testing an
3851 older GDB). Use a 10 second timeout when checking for the format.
3852
3853 * gdb.stabs/weird.exp: Fix quoting.
3854
3855 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
3856
3857Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
3858
3859 * config/arm-ice.exp: New file.
3860
3861Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
3862
3863 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
3864 until it has been modified to work with the new testsuite.
3865
99707966 3866 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
3867 testcase won't compile, cause all of the testcases in the file to
3868 fail instead.
3869
3870 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
3871 (gdb_clear_suppressed): New procedure.
3872 (gdb_stop_suppressing_tests): Only clear suppress_flag if
3873 it contains a positive value.
3874
3875Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
3876
3877 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
3878
3879 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
3880
3881Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
3882
3883 * lib/gdb.exp (setup_xfail_format): New function.
3884 (get_debug_format): New function to get debug format.
3885 (debug_format): New global variable to hold last value set
3886 by get_debug_format.
3887 * gdb.base/list.exp: Call get_debug_format and expect some
3888 tests to fail for DWARF 1 and COFF formats.
3889 * gdb.c++/ptype.exp: Ditto.
3890 * gdb.c++/classes.exp: Ditto.
3891 * gdb.c++/cplusfuncs.exp: Ditto.
3892 * gdb.c++/inherit.exp: Ditto.
3893 * gdb.c++/templates.exp: Ditto.
3894 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 3895
c906108c
SS
3896Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
3897
3898 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
3899 host doesn't have a currently-open connection.
3900
3901 * config/sparclet.exp: Cleanups and fixes to make it generic for
3902 any gdb stub target. Handle cases where gdb doesn't respond when
3903 interrupted in a sane fashion.
3904
3905 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
3906 same thing in a totally different way.
3907
3908 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
3909 setting "timeout".
3910 (gdb_start): We set the global gdb_prompt variable in
3911 default_gdb_init now.
3912
3913Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
3914
3915 * gdb.base/printcmds.exp: Fix "check for floating addition"
3916 regexp to accept results within approx +/- .01 of exact value.
3917 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
3918
3919Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
3920
3921 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
3922 properly.
3923 (gdb_expect): Add optional timeout parameter, and add timeout
3924 value to various calls.
3925 (gdb_suppress_tests): Only give one warning message per group.
3926
3927Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
3928
3929 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
3930 global variables. Handle getting a value for $timeout more
3931 gracefully.
3932
3933Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
3934
3935 * lib/gdb.exp: Close connection to remote host if gdb doesn't
3936 initialize.
3937 (default_gdb_init): New procedure; allow gdb_init to be overridden
3938 by a target configuration file.
3939 (gdb_expect): Pass the timeout to remote_expect.
3940
3941 * config/monitor.exp(gdb_load): Fix typo in regexp.
3942
3943Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
3944
3945 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
3946
3947Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
3948
3949 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
3950 here. Call gdb_target_exec before rebooting the target, to make
3951 sure the connection to the target is closed.
3952 (gdb_load): Pass the name of the executable to gdb_target_monitor.
3953 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
3954 Also detect "Timeout reading from remote" error.
3955
3956 * config/gdbserver.exp: Pass the executable being loaded to
3957 gdb_target_monitor. Don't call gdb_file_cmd here; let
3958 gdb_target_monitor do it.
3959
3960 * gdb.disasm/hppa.exp: Don't use exec_output.
3961
3962Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
3963
3964 * gdb.base/list.exp: If we're debugging a non-native target,
3965 try to set the pc register to point to the start of the
3966 program before doing the first list command.
3967
3968 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
3969 test_calls after restarting.
3970
3971 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
3972 reloading.
3973
3974 * gdb.base/watchpoint.exp: Fix typo.
3975
3976 * gdb.base/setshow.exp: Check for use_gdb_stub.
3977
3978 * gdb.base/break.exp: Fix continue until exit test for the gdb
3979 stub case.
3980 * gdb.base/langs.exp: Ditto.
3981
3982 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
3983 gdb_load_offset. If we weren't given a file to load, figure out
3984 what the current file is and use it.
3985
3986 * config/i386-bozo.exp: New file.
3987
3988Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
3989
3990 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
3991 feature.
3992
3993 * config/proelf.exp: New entry.
3994
3995Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
3996
3997 * lib/gdb.exp: Remove spurious .* patterns at the beginning
3998 of regexps.
3999
4000 * gdb.base/watchpoint.exp: Don't run the test_stepping
4001 tests if gdb can't call functions on the target.
4002
4003 * gdb.base/setshow.exp: Don't run the set prompt tests if
4004 the board has gdb_prompt set.
4005
4006Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4007
4008 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4009 * gdb.base/commands.exp: Likewise.
4010 * gdb.base/setshow.exp: Likewise.
4011
4012Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4013
4014 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4015 feature.
4016
4017 * config/i960.exp: New file.
4018
4019Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4020
4021 * gdb.base/funcargs.exp: Check for gdb,short_int target
4022 feature instead of looking for explicit target triplets.
4023
dc96c6c7 4024Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4025
beb998c6 4026 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4027 "p 123DEADBEEF", to check parse_number.
4028 * top.c: change "to enable to enable" to "to enable" in a couple
4029 of help strings.
4030
4031Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4032
4033 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4034 on the mn10300.
beb998c6 4035
c906108c
SS
4036Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4037
4038 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4039 where the test executable is run with explicit args.
4040 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4041
4042Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4043
4044 * gdb.base/run.c: Use FAKEARGV to build test executable that
4045 does not require a command line arg, since most simulators
4046 don't currently support passing such an arg into the simulated
4047 program.
4048 * gdb.base/commands.exp: Change tests to insert the proper
4049 value as the arg to the first recursive factorial call. Change
4050 compilation line to define FAKEARGV at compile time.
4051
4052Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4053
4054 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4055 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4056 function with watchpoint enabled" test.
4057
4058Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4059
4060 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4061 Don't call gdb_test when the command doesn't return to a gdb prompt.
4062
4063 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4064 "Tests restarted" messages.
4065
4066Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4067
4068 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4069
dc96c6c7 4070Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4071
4072 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4073 for INFO SYMBOL; add help tests for OVERLAY commands.
4074 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4075 add tests for OVERLAY commands
4076 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4077 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4078 * gdb.base/sigall.c: add usestubs code frag
4079 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4080
c906108c
SS
4081Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4082
4083 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4084 failures.
4085 (gdb_stop_suppressing_tests): Note that tests have restarted.
4086
4087Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4088
4089 * config/h8300.exp: New file.
4090
4091Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4092
4093 * gdb.base/setshow.exp: Check for the existence of a
4094 feature, not its value.
4095
4096Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4097
4098 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4099
4100 * gdb.base/scope.exp: It's now init0(), not init().
4101
4102 * gdb.base/scope0.c: For now, change init() to be init0().
4103
4104 * config/monitor.exp: Use gdb_serial in preference to serial
4105 or netport.
4106
4107 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4108 and it's not already set.
4109
4110Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4111
4112 * gdb.base/setshow.exp: Only test the run command if the target
4113 isn't using a stub and if it supports argument passing.
4114
4115Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4116
4117 * config/udi.exp(gdb_start): Make sure UDICONF is set
4118 properly before starting gdb.
4119
4120Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4121
4122 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4123 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4124 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4125
4126Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4127
4128 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4129 specialized code to reboot the board, use remote_reboot instead.
4130
4131 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4132
4133 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4134
4135 * config/monitor.exp: Make sure we disconnect from the target.
4136 Also, try a reboot/reload cycle instead of failing if the
4137 load fails.
4138
4139Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4140
4141 * gdb.base/default.exp: Don't set match_max.
4142 * gdb.base/help.exp: Ditto.
4143 * gdb.base/list.exp: Ditto.
4144 * gdb.base/signals.exp: Ditto.
4145
4146 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4147 set, use remote_ld to download the testcase instead of
4148 the GDB loader.
4149
4150Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4151
4152 * config/vr5000.exp: New file.
4153
4154 * config/monitor.exp(gdb_target_monitor): Add pattern for
4155 "Ending remote" to detect errors in connecting.
4156
4157 * gdb.base/setshow.exp: Add .* within auto language test.
4158
4159 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4160 target feature.
4161
4162 * config/monitor.exp(gdb_load): Check for a failure when loading,
4163 and reboot the board if necessary.
4164
4165 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4166 a set of tests. Remove print.* from the patterns being checked.
4167
4168Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4169
4170 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4171 refer to gdb_spawn_id.
4172
4173 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4174 longer used.
4175 * config/sparclet.exp: Ditto.
4176 * config/sparclet-old.exp: Ditto.
4177 * config/slite.exp: Ditto.
4178 * config/sim.exp: Ditto.
4179 * gdb.base/funcargs.exp: Ditto.
4180
4181 * lib/gdb.exp:Remove references to gdb_spawn_id.
4182 (gdb_expect): Move to remote.exp.
4183
4184Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4185
4186 * config/monitor.exp: Detect the "Couldn't establish connection"
4187 message from GDB.
4188
4189Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4190
4191 * gdb.base/bitfields.exp: Use runto instead of explicit
4192 gdb_run_cmd/gdb_expect sequences.
4193
4194 * gdb.base/break.exp(text_next_with_recursion): Add match for
4195 gdb_expect call.
4196
4197 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4198 We also need to handle the "A program is being debugged already"
4199 prompt from gdb. Use gdb_test to set the baud rate.
4200
4201 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4202 to 20000. Really. I mean it.
4203
4204Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4205
4206 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4207 fails. If suppress_flag is set, skip perror message about not
4208 being able to send to GDB.
4209 (send_gdb): If suppress_flag is set, don't try to send commands to
4210 GDB.
4211 (gdb_expect): If suppress_flag is set, always fail immediately.
4212 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4213 (gdb_init): Call gdb_stop_suppressing_tests.
4214 (default_gdb_exit): Ditto.
4215 (default_gdb_start): Ditto.
4216
4217 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4218 gdb_stop_suppressing_tests as appropriate.
4219 * gdb.base/break.exp: Ditto.
4220 * gdb.base/callfuncs.exp: Ditto.
4221 * gdb.base/commands.exp: Ditto.
4222 * gdb.base/exprs.exp: Ditto.
4223 * gdb.base/funcargs.exp: Ditto.
4224 * gdb.base/list.exp: Ditto.
4225 * gdb.base/recurse.exp: Ditto.
4226 * gdb.base/scope.exp: Ditto.
4227 * gdb.base/structs.exp: Ditto.
4228 * gdb.c++/inherit.exp: Ditto.
4229
4230Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4231
4232 * config/vr4300.exp: New file.
4233
99707966
MC
4234 * gdb.*/*.exp: Call gdb_expect instead of expect.
4235
4236 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
4237
4238Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4239
4240 * lib/gdb.exp(gdb_init): New function.
4241
4242 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4243 for each individual variable set.
4244
4245 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4246 name.
4247
4248 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4249
4250 * gdb.base/scope.exp: Use gdb_test.
4251
4252 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4253 aborting; the testsuite driver will do that for us (see
4254 gdb_finish). Also, use gdb_test in a few more places.
4255
4256Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4257
4258 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4259
4260Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4261
4262 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4263 and "add_tests" are not at the same address.
4264
4265Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4266
4267 * gdb.base/ptype.exp: Use gdb_test.
4268
4269Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4270
4271 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4272 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4273 left in. No longer expect them to fail.
4274
4275 * gdb.stabs/*.mt; Deleted, no longer used.
4276 * gdb.stabs/configure.in: Remove references to target makefile
4277 frags.
4278 * gdb.stabs/configure: Rebuilt.
4279
4280 * gdb.disasm/*.mt: Deleted, no longer used.
4281 * gdb.disasm/configure.in: Remove references to target makefile
4282 frags. Use "sh3.s" as the unique filename for this directory.
4283 * gdb.disasm/configure: Rebuilt.
4284
4285 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4286 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4287 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4288
4289Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4290
4291 * config/udi.exp: Use mondfe,name instead of remote_host.
4292
4293Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4294
4295 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4296 a function with a watchpoint enabled on the mn10200.
4297
4298 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4299 before trying to create it!
4300
4301Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4302
4303 * config/vx.exp: Use hostname instead of netport.
4304
4305 * config/vxworks.exp: New file.
4306
4307 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4308
4309 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4310 gdb before assuming everything worked. Send a ^C if a timeout
4311 occurs.
4312
4313 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4314 $gdb_spawn_id directly.
4315 (gdb_run_cmd): Try _start as well as start. Use the target feature
4316 gdb,start_symbol as the symbol to start from when jumping.
4317
4318Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4319
4320 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4321 redundant) test.
4322
4323 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4324 it doesn't lose for 16bit integer systems.
4325
4326Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4327
4328 * gdb.fortran/types.exp: If the target doesn't support "double"
4329 data types, then expect "real" types to only be 4 bytes.
4330
4331 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4332 call tests if the target doesn't support inferior function calls.
4333
4334 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4335 in printf tests.
4336
4337Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4338
4339 * gdb.base/help.exp: Disable "help set", "help show", and
4340 "help support". Simplify regexp for "help stack".
4341
4342 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4343 to 60 seconds. Temporarily set match_max to 15000 around the
4344 "info copying" test.
4345
4346 * gdb.base/nodebug.exp: Don't try to do an inferior function
4347 call if the target doesn't support them.
4348 * gdb.base/printcmds.exp: Likewise.
4349 * gdb.base/setvar.exp: Likewise.
4350 * gdb.base/structs.exp: Likewise.
4351 * gdb.c++/templates.exp: Likewise.
4352 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
4353
4354 * gdb.base/recurse.exp: Enable for the mn10200.
4355
4356 * configure.in: Do configure gdb.stabs directory for *-*-elf
4357 targets.
4358 * configure: Rebuilt.
4359
4360 * gdb.base/break.exp: Check for gdb,noresults before testing
4361 exit status and/or results from the target.
4362 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
4363 * lib/gdb.exp: Remove old (now bogus) initialization of
4364 noinferior, noargs, noresults and nosignals.
4365
4366Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
4367
4368 * config/sh.exp: New file.
4369
4370 * config/slite.exp: Try to connect multiple times to the board
4371 before rebooting. Only send a "monitor run" if need_monitor_run
4372 is set.
4373
4374 * gdb.base/break.exp: Don't do the "stub continue" test if
4375 the target has gdb_stub set.
4376
4377 * gdb.base/callfuncs.exp: Increase the timeout.
4378
4379 * gdb.base/interrupt.exp: Don't even try to compile the testcase
4380 if the target has gdb,noinferiorio set.
4381
4382 * gdb.base/list.exp: Increase match_max to 10000 characters.
4383
4384 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
4385
4386 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
4387 target.
4388
4389 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
4390
4391Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
4392
4393 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
4394 trying to delete the copy of gdb. Catch the file delete so we
4395 don't die if the delete fails; also, the file should be copied to
4396 the host, not to the build.
4397
4398Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
4399
4400 * lib/gdb.exp(gdb_test): Surround the result pattern with
4401 parenthesis in case it contains multiple regexps separated
4402 with |.
4403
4404 * gdb.base/watchpoint.exp: Use gdb_test.
4405 * gdb.base/default.exp: Ditto.
4406
4407Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
4408
99707966 4409 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 4410
c906108c
SS
4411 * gdb.base/scope.exp: Use gdb_test.
4412 * gdb.c++/classes.exp: Ditto.
4413 * gdb.c++/inherit.exp: Ditto.
4414
4415Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
4416
4417 * gdb.base/crossload.exp: Don't use execute_anywhere, use
4418 remote_exec instead.
4419 * gdb.base/corefile.exp: Don't be ridiculous.
4420 * gdb.base/*.c: Add missing stub invocations.
4421
4422Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
4423
4424 * config/slite.exp: Miscellaneous fixes.
4425
4426 * lib/gdb.exp: Fix runto.
4427
4428 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
4429 the target.
4430
4431 * gdb.base/watchpoint.exp: Fix regexp.
4432
4433 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4434 close and wait commands, as the descriptor may now be
4435 invalid. Always call "remote_close host".
4436
4437Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
4438
4439 Major rewrite for testsuite revision.
beb998c6 4440
c906108c
SS
4441 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
4442 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
4443 instead of relying on spawn_id to always contain a valid
4444 spawn id.
4445 (get_compiler_info): New procedure to build the ${binfile}.ci
4446 file, instead of replicating this in N different places.
4447 (gdb_compile): New procedure.
beb998c6 4448
c906108c
SS
4449 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
4450 appropriate arguments) instead of compile. Use gdb_test in a lot
4451 more places. Use send_gdb instead of send. Always run gdb_start
4452 at the start of a testcase, as this is no longer done magically.
4453
4454 config/*-gdb.exp: Rename without the -gdb suffix.
4455
4456 config/mips.exp: Use remote_close instead of exit_remote_shell.
4457 config/monitor.exp: Use target_info instead of looking at
4458 baud, timeout, etc.
4459 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
4460
4461Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4462
4463 * gdb.c++/templates.exp (test_ptype_of_templates),
4464 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
4465 Update expect patterns for destructors and assignment operators
4466 to match corresponding c-typeprint.c changes.
4467 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
4468 to destructor breakpoint test, GDB should be able to set the
4469 destructor breakpoint without specifying arguments.
4470
4471Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
4472
4473 * gdb.threads/pthreads.exp: Change result for failure to compile due
4474 to lack of pthreads runtime support from an error to simply an
4475 unsupported test, per dejagnu standards.
4476
4477Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4478
4479 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
4480 where GDB exits to reduce pattern match time.
4481 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
4482
4483 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
4484
dc96c6c7 4485Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4486
4487 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
4488 * gdb.base/default.exp: ditto.
4489 * gdb.base/nodebug.exp: ditto.
4490 * gdb.base/printcmds.exp: ditto.
4491 * gdb.base/ptype.exp: ditto.
4492 * gdb.base/setvar.exp: ditto.
4493 * gdb.base/structs.exp: ditto.
4494 * gdb.base/setshow.c: Guard against uninitialized values of argc.
4495
4496Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
4497
4498 * configure, */configure: Rebuild with autoconf 2.12.
4499
4500Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
4501
4502 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
4503 use new i*86-pc-linux*-gnu quads.
4504 * gdb.base/corefile.exp: Ditto.
4505 * gdb.base/signals.exp: Ditto.
4506 * gdb.base/sigall.exp: Ditto.
4507 * gdb.base/interrupt.exp: Ditto.
4508
4509 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
4510 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
4511 RedHat 4.0.
beb998c6 4512
c906108c
SS
4513 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
4514 linux. This allows the test case to at least compile on latest
4515 linux, but still not run due to missing the threads runtime library.
4516
4517Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4518
4519 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
4520 directory to search gdb directory. Accept and step over conditional
4521 stack alignment code. Consume $prompt in failure cases.
4522 Reset timeout to $oldtimeout instead of some arbitrary value.
4523 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
4524 timeout problems with infinite stack backtraces.
4525 * gdb.base/ptype.exp (ptype struct link, union tu_link):
4526 Accept function parameters for linkfunc member.
4527
4528Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
4529
4530 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
4531 (CXXFLAGS): Remove, unreferenced.
4532 (B_OPTIONS): Add for -B options and add code to initialize with
4533 previous -B options and also add -B option to pick up cross compiled
4534 runtime.
4535 (TARGET_INCLUDES): Add for -I options and add code to initialize when
4536 doing cross compiles.
4537 (target_alias): Declare global.
4538 (xgcc): Set variable to full path of gcc in build tree. Use findfile
4539 to verify that gcc exists in build tree, and if so set CC to that
4540 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 4541
c906108c
SS
4542Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
4543
4544 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
4545 ptype test for anonymous union. Fixup testcase to match
4546 current gcc debug output.
4547
4548Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
4549
4550 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
4551 force argument to an unsigned long type.
4552
4553Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
4554
4555 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
4556 tests and anonymous union print/ptype tests.
4557 * gdb.base/list.exp (test_forward-search): Increase timeout by
4558 5 minutes for the "search extremely long line" case.
4559 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
4560 completely optional and that the pass/fail messages use the command as
4561 the message if that third arg is a null string.
4562 (gdb_test_exact): Arrange that a null string pattern means match a
4563 null string output rather than any output, which might include random
4564 errors.
4565 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
4566 backtrace test.
4567 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
4568 always failing and failure is now exposed by gdb.exp changes.
4569
4570Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
4571
4572 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
4573 weren't being noted.
4574
4575Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4576
4577 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
4578 * gdb.stabs/weird.exp: Remove v_comb xfails.
4579
dc96c6c7 4580Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4581
4582 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
4583 list.exp scope.exp watchpoint.exp]
4584 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 4585
dc96c6c7 4586Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4587
4588 * config/monitor.exp: Increase download timeout to 1000 seconds.
4589
dc96c6c7 4590Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4591
4592 * config/m32r.exp: Increase timeout to 120 seconds.
4593
4594Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
4595
4596 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
4597 and accept older ordering as obsolescent gcc or gdb.
4598 * gdb.c++/templates.exp: Ditto.
4599 * gdb.c++/virtfunc.exp: Ditto.
4600
4601Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
4602
4603 * gdb.base/coremaker.c: Add code to mmap some data so we
4604 can check that it ends up in the core file.
4605 * gdb.base/corefile.exp: Add test to read mmapped data
4606 from core file.
4607
dc96c6c7 4608Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4609
4610 * config/m32r.exp: New file.
4611
4612Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
4613
4614 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
4615 that cflags can contains -gstabs, and work correctly for other tests.
4616
dc96c6c7 4617Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4618
4619 * gdb.base/setshow.exp: New file, tests show and set.
4620 * gdb.base/setshow.c: New file, tests show and set.
4621 * gdb.base/help.exp: Add test for help set|show annotate.
4622 * gdb.base/default.exp: Add test for set|show annotate.
4623
4624Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
4625
4626 * testsuite/gdb.base/break.exp: Make backtrace from factorial
4627 errors unique.
4628 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
4629 explicitly.
4630
4631Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
4632
4633 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
4634 and width commands. This is done elsewhere.
4635 * (gdb_start): Don't call gdb_start_sim here. That's already
4636 done in gdb_load. This fixes lots of failures in default.exp.
4637
4638Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
4639
4640 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
4641 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
4642 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
4643 in the same we we treat other failures (since it may be an expected
4644 condition), rather than as an error.
4645 * gdb.base/signals.exp (test_handle_all_print): Revert back to
4646 old test format.
4647
4648Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
4649
4650 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
4651 (distclean maintainer-clean realclean): No need to remove files
4652 twice. Nuke the duplicates.
4653 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 4654 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
4655 Remove config.h along with other config files.
4656
4657Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
4658
4659 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
4660 "p func1 ()" and note that rests of tests are skipped.
4661 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
4662 setup_xfails for "print func2::coremaker_local".
4663 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
4664 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
4665 affected by the previous run test.
4666 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
4667 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
4668 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
4669 "pass int powerset tuple" and "pass modeless int powerset tuple".
4670 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
4671 "real write 4" and "real write 8".
4672 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
4673 setup_xfails for "print vs1 after tuple assign 2",
4674 "print \$i after tuple assign 2", and
4675 "print vs2 after tuple assign 2".
4676 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
4677 meaningful error message and return -1 so the caller can
4678 suppress further tests and avoid a cascade of errors.
beb998c6 4679
c906108c
SS
4680Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
4681
4682 * gdb.base/a1-selftest.exp: Tweak tests to account for new
4683 format for printing version.
4684 * gdb.base/default.exp: Ditto.
4685 * gdb.base/interrupt.exp: Fix problem with cascade of
4686 errors if child process dies while calling a function.
beb998c6 4687
c906108c
SS
4688Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
4689
4690 * Makefile.in (VPATH): Add
4691 * Makefile.in (Makefile, config.status): Fix rules so things get
4692 remade when necessary.
4693
4694Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
4695
4696 * Makefile.in (just-check): Add path to sibling expect dir
4697 to environment variable specified by RPATH_ENVVAR.
4698
4699Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
4700
4701 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
4702 (just-check): Add shared library paths for libstdc++, tk,
4703 tcl, bfd, and opcodes to the environment variable specified
4704 in RPATH_ENVVAR.
4705 * configure.in: Add support to recognize --enable-shared flag
4706 and generate correct value for RPATH_ENVVAR.
4707 * configure: Regenerated with autoconf.
4708
4709Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
4710
4711 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
4712 include all osf versions.
4713 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
4714 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
4715 when target is linux. When failing to build pthreads test
4716 executable, give more meaningful message.
4717 * gdb.threads/pthreads.c: Hpux also uses old definition of second
4718 arg for pthread_create.
beb998c6 4719
c906108c
SS
4720Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
4721
4722 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
4723 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
4724 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
4725 and -lpthreads (everybody else).
4726 (test_startup): Fail gracefully if threads are not supported.
4727 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
4728 "p/c array_index("abcdef",2)" when not gcc compiled.
4729 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
4730 "print func2::coremaker_local" when not gcc compiled.
4731 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
4732 "ptype on opaque struct tagname (statically)",
4733 "ptype on opaque struct tagname (dynamically) 1", and
4734 "ptype on opaque struct tagname (dynamically) 2"
4735 for not compiled with gcc.
4736 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
4737 backtrace when compiled with gcc.
beb998c6 4738 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
4739 than always return success.
4740
4741Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
4742
4743 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
4744
4745Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
4746
4747 * gdb.base/structs.exp: Undo last change.
4748
4749Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
4750
4751 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
4752 encapsulate all the steps/nexts done during self test, starting
4753 at main, and makes them less sensitive to optimization issues.
4754 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
4755 signal handler" test.
4756 * gdb.threads/pthreads.exp: Only run this for native configs.
4757 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
4758 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
4759 tests.
4760 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
4761 for "runto test_calls(void)" test.
beb998c6 4762
c906108c
SS
4763Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
4764
4765 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
4766 and don't expect address info in breakpoint confirmations.
4767
4768Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
4769
4770 * gdb.base/list.exp (test_forward_search): Increase timeout
4771 temporarily by 60 seconds for searching extremely long line,
4772 and then reset to old value when done. Increase expect input
4773 buffer to 10000.
4774
4775Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
4776
4777 * gdb.base/list.exp (test_forward_search): Fix to handle very
4778 long source line without overflowing expect's input buffer.
4779
4780Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
4781
4782 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
4783 "buffer_full".
4784
4785 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
4786 "buffer_full".
4787
4788 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
4789 "buffer_full".
4790
4791 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
4792 "buffer_full".
4793
4794Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
4795
4796 * configure.in (configdirs): Add gdb.threads.
4797 * configure: Regenerated with autoconf.
4798 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
4799 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
4800 * gdb.threads/configure: New, generated with autoconf.
beb998c6 4801
c906108c
SS
4802Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
4803
4804 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
4805
4806Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
4807
4808 * gdb.base/signals.exp (test_handle_all_print): Test separately for
4809 each signal's status in the output of "handle all print".
4810 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
4811 the \r\n sequence that immediately precedes the gdb prompt.
4812 * gdb.base/a1-selftest.exp: Save original timeout and restore
4813 after test.
4814
4815Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
4816
4817 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
4818 symbol.
4819
4820Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4821
4822 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
4823
4824Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
4825
4826 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
4827 timeout by 60 seconds.
4828
4829Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
4830
4831 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
4832 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
4833 error return.
4834
4835Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
4836
4837 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
4838 gdb initialization, also report how long dejagnu waited. Restore
4839 old timeout before doing error return. Temporarily increase timeout
4840 by 3 minutes to allow for slow startups over heavy NFS use.
4841
4842Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
4843
4844 * lib/gdb.exp: Report timeout value for verbosity level 2.
4845 * config/gdbserver.exp: Ditto.
4846 * config/hppro.exp: Ditto.
4847 * config/mips-gdb.exp: Ditto.
4848 * config/monitor.exp: Ditto.
4849 * config/netware.exp: Ditto.
4850 * config/sim-gdb.exp: Ditto.
4851 * config/slite-gdb.exp: Ditto.
4852 * config/udi-gdb.exp: Ditto.
4853 * config/unix-gdb.exp: Ditto.
4854 * config/vx-gdb.exp: Ditto.
4855 * gdb.base/a1-selftest.exp: Ditto.
4856 * gdb.base/a2-run.exp: Ditto.
4857 * gdb.base/break.exp: Ditto.
4858 * gdb.base/corefile.exp: Ditto.
4859 * gdb.base/list.exp: Ditto.
4860 * gdb.base/recurse.exp: Ditto.
4861 * gdb.base/scope.exp: Ditto.
4862 * gdb.base/signals.exp: Ditto.
4863
4864Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
4865
4866 * gdb.threads/Makefile.in (docdir): Removed.
4867
4868Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
4869
4870 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 4871 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 4872 @srcdir@.
beb998c6 4873 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
4874 autoconf 2.5 or higher.
4875 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
4876
4877Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
4878
4879 * configure: Regenerated.
4880 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
4881 avoid name clashes with SunOS headers.
4882
4883Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
4884
4885 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
4886
4887Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
4888
4889 * gdb.base/callfuncs.exp: Finish last change -- make sure the
4890 prototype information ends up in the compiler info file.
4891
4892Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
4893
4894 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
4895 attempting to regenerate it. Eliminate use of a temporary file
4896 and just generate the info file directly. Source it immediately,
4897 for consistency of use.
4898 * gdb.base/corefile.exp: Ditto
4899 * gdb.base/exprs.exp: Ditto.
4900 * gdb.base/funcargs.exp: Ditto.
4901 * gdb.base/langs.exp: Ditto.
4902 * gdb.base/list.exp: Ditto.
4903 * gdb.base/mips_pro.exp: Ditto.
4904 * gdb.base/nodebug.exp: Ditto.
4905 * gdb.base/opaque.exp: Ditto.
4906 * gdb.base/ptype.exp: Ditto.
4907 * gdb.base/scope.exp: Ditto.
4908 * gdb.base/setvar.exp: Ditto.
4909 * gdb.base/signals.exp: Ditto.
4910 * gdb.base/whatis.exp: Ditto.
4911 * gdb.c++/templates.exp: Ditto.
4912 * gdb.c++/virtfunc.exp: Ditto.
4913 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
4914 whether or not to add -lstdc++ to the compile command line args.
4915
4916Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4917
4918 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
4919 it got fixed by the recent lookup_minimal_symbol_by_pc change.
4920 Increase timeout, a lot of single stepping might be needed if the
4921 target has no hardware watchpoints.
4922
4923Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
4924
4925 * gdb.base/break.exp: Ignore compiler warnings when compiling
4926 break.c.
4927 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
4928 * gdb.base/default.exp: Add h8300 xfails. Handle messages
4929 from remote-sim.
4930 * gdb.base/exprs.exp: Add h8300 xfails.
4931 * gdb.base/funcargs.exp: Likewise.
4932 * gdb.base/nodebug.exp: Likewise.
4933 * gdb.base/printcmds.exp: Likewise.
4934 * gdb.base/ptype.exp: Likewise.
4935 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
4936 h8300 xfails.
beb998c6 4937 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
4938 on the h8300.
4939 * gdb.base/funcargs.c: Explicitly make last constant argument to
4940 call_after_alloca_subr an unsigned long type.
4941 * gdb.base/return.c: Include stdio.h.
4942
4943Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
4944
4945 * config/abug.exp: New file for the older Motorola Bug monitor
4946 that runs on the mvme13x series VME boards.
4947 * config/monitor.exp: Use the new config array for target settings
4948 if they exist.
4949
4950Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
4951
4952 * sim-gdb.exp: Make the SH simulator allocate less space when
4953 it is targeted.
4954
4955Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
4956
4957 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
4958 test.
4959
4960Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
4961
4962 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
4963 "rs6000-*-*" for "list function in include file" when gcc compiled.
4964 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
4965 for "p ctable1[120]".
4966 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
4967 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
4968 Remove setup_xfail for "rs6000-*-*" for
4969 "print 'scope0.c'::filelocal before run".
4970 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
4971 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
4972 since some compilers don't allow both options to be given
4973 on the same command line. Create object file and move it.
beb998c6 4974
c906108c
SS
4975Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
4976
4977 * gdb.base/corefile.exp: Always regenerate the core file, since
4978 we always regenerate the coremaker program. Detect special case
4979 where registers cannot be read from core file.
beb998c6 4980
c906108c
SS
4981Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
4982
4983 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
4984 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
4985 * gdb.c++/templates.exp: Only match on basename of file since
4986 some formats like xcoff don't encode directory information.
4987 * gdb.stabs/weird.exp: Use the right sed script for powerpc
4988 and rs6000 AIX xcoff targets.
4989 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
4990 * configure: Regenerate.
4991 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
4992 here, rather than in distclean.
beb998c6 4993
c906108c
SS
4994Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
4995
4996 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
4997 defined, and use it to compile the test case with -O2. The
4998 native compilation still uses no optimization.
4999 * gdb.base/mips_pro.c: Remove inline assembly code since
5000 it is compiled PIC by default, which results in assembler
5001 warnings that make the testsuite think the compilation
5002 was unsuccessful.
5003
5004Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5005
5006 * gdb.c++/misc.exp: Add note to message for
5007 "print s.a for foo struct" that this is a known gcc 2.7.2
5008 and earlier bug.
5009
5010Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5011
5012 * gdb.base/break.exp: Fix pattern for matching "Delete all
5013 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5014 setup_xfail for deleting all breakpoints test. Fix various
5015 timeout messages to include "(timeout)".
5016 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5017 for "p t_float_values2(3.14159,float_val2)".
5018 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5019 for "continue to call2g" when gcc compiled.
5020 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5021 "up to foo in langs.exp", "show language at foo in langs.exp",
5022 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5023 and "show language at fsub in langs.exp".
5024 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5025 "list line 1 in include file", "list message for lines past EOF",
5026 "list function in include file", "list list0.h:foo", and
5027 "list filename:function; nonexistant function".
5028 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5029 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5030 and "ptype t_char_array" to be for native cc only.
beb998c6 5031
c906108c
SS
5032Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5033
beb998c6 5034 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5035 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5036 "print func2::coremaker_local", and "backtrace in corefile.exp".
5037
5038Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5039
5040 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5041 "bt in signals.exp". This problem only appears when running
5042 the testsuite, and then only intermittently.
5043
5044Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5045
5046 * gdb.base/return.exp (return_tests): Differentiate between
5047 two tests of continuing.
5048
5049Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5050
5051 * */Makefile.in (maintainer-clean): Remove config.log.
5052 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5053 * gdb.c++/Makefile.in (PROGS): Add inherit.
5054 (clean): Remove *.ci.
5055
5056Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5057
5058 * gdb.c++/misc.cc: Add test code from Mike Stump.
5059 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5060
5061Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5062
5063 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5064 to "alpha-*-osf2*" and add comment.
5065 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5066 setup_xfail for "step over execarg initialization" and
5067 "step over corearg initialization".
5068 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5069 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5070 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5071 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5072 "print func2::coremaker_local", and "backtrace in corefile.exp".
5073 * gdb.base/signals.exp: Build and source signals.ci.
5074 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5075 to be for gcc only.
5076 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5077
c906108c
SS
5078Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5079
5080 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5081 Feb 3 procfs.c change.
5082
5083Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5084
5085 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5086
5087Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5088
5089 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5090 from dejagnu's apparent default of 10 seconds, which gives random
5091 results when running the tests over NFS on moderately loaded systems.
5092 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5093
5094Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5095
5096 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5097 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5098 result reports.
5099
5100Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5101
5102 * configure.in (CY_AC_PATH_TCLH): Remove.
5103 * configure: Regenerate.
5104
5105Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5106
5107 * gdb.c++/Makefile.in (clean): Add missing '{'.
5108
5109Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5110
5111 * lib/gdb.exp: Provide a default value for noinferior.
5112
5113 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5114 Load libgloss.exp.
5115
5116Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5117
5118 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5119 the executable, not the .o to run the tests from.
5120
5121Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5122
5123 * gdb.base/break.exp: Don't test for program exit or exit status
5124 if $noresults if nonzero.
5125 * gdb.base/langs.exp: Likewise.
5126 * gdb.base/watchpoint.exp: Likewise.
5127
5128 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5129 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5130 trying to compile the testcase.
5131
5132Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5133
5134 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5135 * gdb.base/signals.exp (continue to handler): Likewise.
5136
5137Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5138
5139 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5140
5141 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5142
5143Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5144
5145 * gdb.base/corefile.exp: Recognize "not found" as failure
5146 when trying to determine if a core file was generated.
5147 If no core file was generate the first time, try again without
5148 the ulimit -c to work around braindamaged shells.
5149
5150Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5151
5152 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5153 [] tests with "test" and enclose string in quotes.
5154 * gdb.stabs/configure: Rebuild
beb998c6 5155
c906108c
SS
5156Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5157
5158 Changes in sync with expect:
5159 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5160 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5161 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5162 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5163 argument to AC_REQUIRE.
5164 * configure: Regenerated.
5165
5166Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5167
5168 * gdb.base/corefile.exp: When generating a core, discard any
5169 error messages about ulimit not found and the "core dumped"
5170 message from the shell that runs the coredumper.
5171
5172Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5173
5174 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5175
5176 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5177 which sed script to run. Expect failure for v_comb test
5178 on PA targets too.
beb998c6 5179
c906108c
SS
5180Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5181
5182 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5183 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5184
5185Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5186
5187 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5188 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5189 "sparc-sun-solaris*" xfails for "p v_comb".
5190 * lib/gdb.exp (default_gdb_start): Fix typo.
5191 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5192 messages to not include the full program name that caused
5193 the core dump since some systems (such as solaris) apparently
5194 truncate this path to about 80 characters.
5195 When generating a core file first try increasing the core file
5196 size limit to unlimited since some systems may default it to
5197 zero, and it is harmless to try it. Move the test for failing
5198 to generate a core file to where it will actually get executed.
5199 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5200 new gdb result from g++ debug info improvements and make old
5201 pattern obsolescent. Also account for size_t differences
5202 (may be int or long).
5203 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5204 initialization before function call is placed in the delay slot
5205 and thus appears to be skipped over by commands such as "next".
5206
5207Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5208
5209 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5210
5211Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5212
5213 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5214 input source file; fix code to compile test to deal with this
5215 convention.
5216 * gdb.c++/*.exp: Likewise.
5217
5218Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5219
5220 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5221 "bt in signals.exp".
5222
5223Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5224
5225 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5226 "step over execarg initialization" and
5227 "step over corearg initialization".
5228
5229Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5230
5231 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5232 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5233
5234Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5235
5236 From Rob Savoye (rob@poseidon.cygnus.com)
5237 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5238 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5239 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5240 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5241 configure.in}: Major reworking for autoconfig.
5242 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5243 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5244 New files.
5245 * config/unix-gdb.exp: Make GDB global.
5246 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5247 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5248 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5249 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5250 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5251 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5252 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5253 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5254 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5255 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5256 pr-8136.exp, result.exp, string.exp, tuples.exp},
5257 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5258 to returns as necessary, arrange for test to compile own testcase
5259 executable.
5260 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 5261
c906108c
SS
5262Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5263
5264 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5265 clear_xfail at end of test which might not call either pass or fail.
5266 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5267 "backtrace through signal handler".
5268
5269Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5270
5271 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5272 continuing from a job control stop signal.
5273 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5274
5275Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5276
5277 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5278 * gdb.base/corefile.exp: Likewise.
5279 * gdb.base/funcargs.exp: Likewise.
5280
5281Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5282
5283 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5284 * config/monitor.exp: Add support for setting baud rate.
5285
5286Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5287
5288 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5289 i*86-*-linux* xfails for "backtrace through signal handler".
5290 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5291 "print func2::coremaker_local".
5292 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5293 alpha-dec-osf2* xfail for
5294 "delete all breakpoints when none".
5295
5296Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5297
5298 * gdb.base/break.exp: Change test that deletes all breakpoints
5299 when no user breakpoints are installed. A post 4.15 change
5300 causes gdb to no longer prompt in this case.
5301
5302Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5303
5304 * gdb.base/return.exp (return_tests): Change xfail for test
5305 "correct value returned double test" to stop xfailing at
5306 Solaris 2.5. Apparently the bug has been fixed.
5307
5308Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5309
5310 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5311 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5312
5313Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5314
5315 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5316 * gdb.disasm/hppa.s: Corresponding changes.
5317
5318Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5319
5320 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5321 makefile fragment.
5322 * config/mt-hpux: Deleted.
5323
5324Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5325
beb998c6 5326 * Many files: When warning about suppressed tests due to a
c906108c
SS
5327 nonexistant test binary, avoid incrementing the warning count.
5328
5329Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5330
5331 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 5332
c906108c
SS
5333Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5334
5335 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5336 "sparc-*-solaris2*".
5337
5338Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5339
5340 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5341 Add global and local variables and initialize them.
5342 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5343 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5344 extracts the file name and terminating signal from the core file.
5345 * TODO: Remove note about tests for correct mapping of corefile.
5346 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
5347 from optimizing it away.
5348 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
5349 handles common blocks.
5350
5351Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
5352
5353 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
5354 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
5355
5356Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
5357
5358 * Makefile.in (maintainer-clean): New target, synonym for
5359 realclean.
5360 * gdb.base/Makefile.in (maintainer-clean): Likewise.
5361 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
5362 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
5363 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
5364 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
5365 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
5366
5367Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
5368
5369 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
5370 xfails when not gcc compiled for "print foo::funclocal".
5371 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
5372 "print foo::funclocal at foo",
5373 "print 'scope1.c'::foo::funclocal at foo",
5374 "print foo::funclocal_bss at foo",
5375 "print 'scope1.c'::foo::funclocal_bss at foo",
5376 "print foo::funclocal_ro at foo",
5377 "print 'scope1.c'::foo::funclocal_ro at foo",
5378 "print bar::funclocal at foo" and
5379 "print 'scope1.c'::bar::funclocal at foo".
5380 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
5381 gcc compiled for "print foo::funclocal at bar".
5382 Expand all messages to ensure that they identify that
5383 the test is at bar().
5384 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
5385 gcc compiled for:
5386 "ptype on opaque struct pointer (statically)",
5387 "ptype on opaque struct tagname (statically)",
5388 "ptype on opaque struct pointer (dynamically) 1",
5389 "ptype on opaque struct tagname (dynamically) 1",
5390 "ptype on opaque struct pointer (dynamically) 2" and
5391 "ptype on opaque struct tagname (dynamically) 2
5392 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
5393 gcc compiled for:
5394 "p datalocal"
5395 "whatis datalocal",
5396 "ptype datalocal",
5397 "p bsslocal",
5398 "whatis bsslocal", and
5399 "ptype bsslocal".
5400 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
5401 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
5402 when not gcc compiled.
5403 * gdb.base/funcargs.exp (float_and_integral_args): Add
5404 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
5405 compiled.
5406 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
5407 "backtrace from call6a" when not gcc compiled.
5408 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
5409 "backtrace from call7a" when not gcc compiled.
5410 * gdb.base/callfuncs.exp (do_function_calls):
5411 Add "hppa*-*-hpux*" xfail when not gcc compiled for
5412 "p t_char_array_values(char_array_val2,char_array_val1)",
5413 "p t_char_array_values(char_array_val1,char_array_val2)",
5414 "p t_char_array_values("carray 1","carray 2")",
5415 "p t_char_array_values("carray 1",char_array_val2)",
5416 "p t_char_array_values(char_array_val1,"carray 2")",
5417 "p sum_args(1,{2})",
5418 "p sum_args(2,{2,3})",
5419 "p sum_args(3,{2,3,4})",
5420 "p sum_args(4,{2,3,4,5})"
5421 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
5422 "backtrace in corefile.exp" when not gcc compiled.
5423
5424Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5425
5426 * gdb.base/signals.exp: Rewrite `handle all print' test as
5427 a procedure. Accept blanks or TABs as whitespace, increase
5428 timeout and expect input buffer size for the large output
5429 from the command. Remove "i*86-*-bsdi2.0" xfail.
5430
5431Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5432
5433 * gdb.base/setvar.exp: Add new testcases for truncation when
5434 assigning invalid values to bitfields.
5435
5436Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
5437
beb998c6 5438 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
5439 mips-sgi-irix* xfail for
5440 "call inferior func with struct - returns char *"
5441 and fix test so that an optional (unsigned char *) cast is
5442 accepted in the result.
5443
5444Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
5445
5446 * gdb.base/funcargs.exp (float_and_integral_args): Remove
5447 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5448 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
5449 * gdb.base/signals.exp: Remove duplicate "handle all print" test
5450 that accidentally got checked in.
5451
5452Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
5453
beb998c6 5454 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
5455 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
5456 compiled test.
5457 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
5458 Add mips-sgi-irix5* xfail for not gcc compiled.
5459 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
5460 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
5461 "p top", "whatis top", "p middle", and "whatis middle".
5462 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
5463 "whatis signed char" for not gcc compiled.
5464 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
5465 "set variable signed char=-1 (-1)" and
5466 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
5467 * gdb.base/funcargs.exp (float_and_integral_args):
5468 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
5469 Add mips-sgi-irix* xfail when not gcc compiled for
5470 "continue to call2b".
5471 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
5472 "continue to call2g".
5473 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
5474 "backtrace from call6a"
5475 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
5476 "backtrace from call7k".
5477 Add mips-sgi-irix5* xfail when not gcc compiled for
5478 "backtrace from call7a".
5479 (localvars_after_alloca): Fix gdb_test cmds for
5480 "print * after runto ...".
5481 Remove rs6000-*-* xfails for
5482 "print i after runto localvars_after_alloca" and
5483 "print l after runto localvars_after_alloca"
5484 for all compilers.
5485 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
5486 when not compiled with gcc, for:
5487 "print signed char == (minus)",
5488 "print signed char != (minus)",
5489 "print signed char < (minus)",
5490 "print signed char > (minus)".
5491 * gdb.base/callfuncs.exp (do_function_calls):
5492 Add mips-sgi-irix* xfail, when compiled with native compiler, for
5493 "call inferior func with struct - returns char *".
beb998c6 5494 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
5495 "correct value returned double test" to include Solaris 2.4.
5496 * gdb.base/funcargs.exp (float_and_integral_args):
5497 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 5498
c906108c
SS
5499Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5500
5501 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
5502 enumeration bitfields if compiling with GNU C.
5503 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
5504 to empty' prompt.
5505
5506Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
5507
5508 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
5509 test for PRO targets.
5510
5511 * gdb.base/funcargs.exp: Avoid ever setting more than 8
5512 breakpoints in the inferior at any given time by making
5513 two groups of breakpoints for call2*, call6* and call7*
5514 tests.
5515
5516Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5517
5518 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
5519 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
5520 from optimizing it away.
5521 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
5522 "call inferior func with struct".
5523
5524Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
5525
5526 * configure.in: Only configure gdb.chill for particular targets.
5527
5528Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
5529
5530 * gdb.base/Makefile.in: Add action to .c.o transformation
5531 rule that generates a .ci file for each .o file and remove
5532 explicit .c.o rules except for callfuncs.o.
5533 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
5534 generates a .ci file for each .o file and remove explicit
5535 .cc.o rules.
5536 (clean): Remove *.tmp *.ci files.
5537 (EXECUTABLES): Remove templ-info.exp.
5538 * gdb.base/compiler.c: New file.
5539 * gdb.c++/compiler.cc: New file
5540 * gdb.base/scope.exp: Source gdb.base/scope.ci.
5541 Change rs6000-*-* xfail for
5542 "print 'scope0.c'::filelocal_ro" and
5543 "print 'scope1.c'::filelocal" and
5544 "print 'scope1.c'::filelocal_bss" and
5545 "print 'scope1.c'::filelocal_ro" and
5546 "print 'scope1.c'::foo::funclocal" and
5547 "print 'scope1.c'::foo::funclocal_ro" and
5548 "print 'scope1.c'::bar::funclocal" and
5549 "print 'scope0.c'::filelocal_ro" and
5550 "print 'scope1.c'::filelocal at foo" and
5551 "print 'scope1.c'::filelocal_bss at foo" and
5552 "print 'scope1.c'::filelocal_ro at foo" and
5553 "print 'scope1.c'::foo::funclocal at foo" and
5554 "print 'scope1.c'::foo::funclocal_bss at foo" and
5555 "print 'scope1.c'::foo::funclocal_ro at foo" and
5556 "print 'scope1.c'::bar::funclocal at foo" and
5557 "print 'scope0.c'::filelocal_ro" and
5558 "print 'scope1.c'::filelocal" and
5559 "print 'scope1.c'::filelocal_bss" and
5560 "print 'scope1.c'::filelocal_ro" and
5561 "print 'scope1.c'::foo::funclocal" and
5562 "print 'scope1.c'::foo::funclocal_bss" and
5563 "print 'scope1.c'::foo::funclocal_ro" and
5564 "print 'scope1.c'::bar::funclocal" and
5565 "print 'scope1.c'::bar::funclocal_bss"
5566 to only be xfail'd when not compiled with gcc.
beb998c6 5567 Add rs6000-*-* xfail for
c906108c
SS
5568 "print 'scope0.c'::filelocal_bss before run"
5569 when compiled with gcc.
5570 (test_at_main): Add rs6000-*-* xfail for
5571 "print filelocal_ro in test_at_main"
5572 when compiled with gcc.
5573 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 5574 Add rs6000-*-aix* xfail for
c906108c
SS
5575 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
5576 "ptype t_char_array", not compiled with gcc.
5577 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
5578 xfail for "list foo (in include file)" when gcc compiled.
5579 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
5580 (integral_args): Add rs6000-*-* xfail for
5581 "run to call0a" if not compiled with gcc.
5582 (unsigned_integral_args): Add rs6000-*-* xfail for
5583 "run to call1a" if not compiled with gcc.
5584 (float_and_integral_args): Add rs6000-*-* xfail for
5585 "run to call2a" if not compiled with gcc and for
5586 "continue to call2b" for any compiler.
5587 Add rs6000-*-* xfail to
5588 "print f1 after run to call2a" for gcc compiled.
5589 (discard_and_shuffle): Add rs6000-*-* xfail for
5590 "run to call6a".
5591 (shuffle_round_robin): Add rs6000-*-* xfail for
5592 "backtrace from call7a" if not compiled with gcc.
5593 Add rs6000-*-* xfail for
5594 "backtrace from call7b" if compiled with gcc.
5595 (call_after_alloca): Add rs6000-*-* xfail for
5596 "print c in call_after_alloca" and
5597 "print s in call_after_alloca" and
5598 "backtrace from call_after_alloca_subr"
5599 if not compiled with gcc.
5600 (localvars_in_indirect_call): Add rs6000-*-* xfail for
5601 "print c in localvars_in_indirect_call" and
5602 "print c in localvars_in_indirect_call" and
5603 "backtrace in indirectly called function" and
5604 "stepping into indirectly called function"
5605 if not compiled with gcc.
5606 (localvars_after_alloca): Add rs6000-*-* xfail for
5607 "print c after runto localvars_after_alloca" and
5608 "print s after runto localvars_after_alloca" and
5609 "print i after runto localvars_after_alloca" and
5610 "print l after runto localvars_after_alloca"
5611 for all compilers.
5612 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
5613 than whatis-info.exp.
5614 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
5615 than opaque-info.exp.
5616 Setup rs6000-*-* xfail for
beb998c6 5617 "ptype on opaque struct pointer (statically)" and
c906108c
SS
5618 "ptype on opaque struct pointer (dynamically)" when
5619 not compiled with gcc.
5620 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
5621 rather than callf-info.exp.
5622 (do_function_calls): Add clear_xfail for rs6000-*-* for
5623 "p t_float_values2(3.14159,float_val2)". Seems to work
5624 fine there, both with xlc and gcc. Need to find out what
5625 it is doing right and fix other platforms.
5626 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
5627 "call inferior func with struct - returns int",
5628 "call inferior func with struct - returns long",
5629 "call inferior func with struct - returns float",
5630 "call inferior func with struct - returns double",
5631 "call inferior func with struct - returns char *",
5632 but only if not gcc compiled (presumes xlc compiled).
5633 Change rs6000-*-* xfails for
5634 "call inferior func with struct - returns char" and
5635 " call inferior func with struct - returns short" to only
5636 xfail if not using gcc.
5637 (clean mostlyclean): Remove *.ci and *.tmp files.
5638 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
5639 than templ-info.exp.
5640 * gdb.base/langs.exp: Source gdb.base/langs.ci.
5641 Add rs6000-*-* xfail for "up to foo in langs.exp"
5642 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
5643 when not gcc compiled.
beb998c6 5644
c906108c
SS
5645Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5646
5647 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
5648 * gdb.base/corefile.exp: Likewise.
5649 * gdb.base/list.exp: Likewise.
5650 * gdb.base/scope.exp: Likewise.
5651 * gdb.base/siganls.exp: Likewise.
5652
5653 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
5654 compiler output.
5655 * gdb.base/whatis.exp: Likewise.
5656
5657Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
5658
5659 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
5660 failure (opcode table has been fixed to match reality).
5661
5662Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
5663
5664 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
5665 "call inferior func with struct - returns char",
5666 "call inferior func with struct - returns short"
5667
5668 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
5669 "print 'scope0.c'::filelocal at main",
5670 "print 'scope0.c'::filelocal_bss in test_at_main",
5671 "print 'scope0.c'::filelocal at foo",
5672 "print 'scope0.c'::filelocal_bss in test_at_foo",
5673 "print 'scope0.c'::filelocal at bar",
5674 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 5675
c906108c
SS
5676 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
5677 in source file 1". This bug seems to have been fixed with both
5678 gcc and native cc (was native assembler bug?).
5679
5680Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
5681
5682 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
5683 "backtrace through signal handler" to "i*86-*-sysv4*".
5684 * gdb.base/signals.exp: Add xfail for "'next' behaved as
5685 continue" case. Add "known SVR4 bug" to fail message.
5686 Add "i*86-*-bsdi2.0" xfail for "handle all print".
5687 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
5688 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
5689 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
5690 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
5691 "up to foo in langs.exp", "show language at foo in
5692 langs.exp", "up to cppsub_ in langs.exp", "show
5693 language at cppsub_ in langs.exp", "up to fsub in
5694 langs.exp", and "show language at fsub in langs.exp".
5695 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
5696 "bactrace in corefile.exp".
5697 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
5698 "call inferior function with struct - returns float" and
5699 "call inferior function with struct - returns double".
beb998c6 5700
c906108c
SS
5701Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
5702
5703 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
5704 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
5705 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
5706 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
5707
5708Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
5709
5710 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
5711 (or overriden) "CHILL" macro rather then bare "gcc".
5712 Also look for ../../gcc/xgcc since that is what we will
5713 actually need, not "Makefile". Remove following assignment
5714 of CHILL to CHILL_FOR_TARGET because that results in
5715 recursive definition.
5716
5717Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
5718
5719 * gdb.base/corefile.exp: Change xfail for backtrace in
5720 corefile.exp from linuxaout to all linux.
5721 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
5722 cases where we miss the breakpoint at the signal handler
5723 for some reason. Setup xfail for linuxoldld/linuxaout and
5724 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
5725 hitting SIGURG breakpoint.
5726 * gdb.base/signals.exp: Setup xfail for "next" acting like
5727 continue to add linuxoldld. Setup xfail for all linux for
5728 "next to handler in signals_tests_1", "backtrace in
5729 signals_tests_1", "continue to func1", "pass SIGUSR1",
5730 and continue to handler".
5731
5732Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
5733
5734 * Update all FSF addresses except those in COPYING* files.
5735
5736Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
5737
5738 * gdb.base/a2-run.exp: Change messages to be more explicit about
5739 the status of args, and quote binfile in results.
5740
5741Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
5742
5743 * gdb.base/callfuncs.exp: Add tests for passing structs to
5744 inferior functions and return various types.
5745 * gdb.base/callfuncs.c: Add functions to receive a struct
5746 and return a member of the struct, in various types.
5747
5748Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5749
5750 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
5751
5752Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
5753
5754 * config/vxworks29k.exp: New file, sources vxworks.exp.
5755
5756Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5757
5758 * config/gdbremote.exp: New file. Testing framework using
5759 gdbserver.
5760
5761Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
5762
5763 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
5764 "call function when asleep" and "send end of file".
5765 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
5766 for "backtrace in corefile.exp".
5767 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
5768 for "backtrace through signal handler".
5769 * gdb.base/corefile.exp: Make sure we actually generate a core file
5770 before trying the core tests. Some systems allow the user to suppress
5771 generation of core files and default to that (linux for example).
5772 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
5773 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
5774
5775Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5776
5777 * gdb.threads: New directory with some crude multi-threaded
5778 gdb tests (step.exp and step2.exp).
5779 * config/mt-lynx (STEP_EXECUTABLE): Define.
5780 (THREADFLAGS): Define.
5781
5782Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
5783
5784 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
5785
5786 * gdb.base/signals.exp: Disable whole file for lynx until
5787 further notice.
5788
5789 * gdb.base/signals.exp: xfail test where "next" acts like
5790 "continue" for lynx.
5791
5792 * gdb.base/interrupt.exp: xfail test for calling function while
5793 inferior is asleep for lynx.
5794
5795 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
5796 than one cr-lf after each command.
5797
5798Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5799
5800 * configure.in: Reinstate setting of stabsdirs variable, fix
5801 typo in setting up configdirs for native builds.
5802
5803 * gdb.base/return.exp: Fix typo in return double test.
5804 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
5805 compiler from optimizing them away.
5806
5807Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
5808
5809 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
5810 sequences to be echo'd by gdb when using gdb_test.
5811 * gdb.chill/chexp.exp: Likewise.
5812 * gdb.fortran/exprs.exp: Likewise
5813
5814Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5815
5816 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
5817 after the inferior gdb has started.
5818
5819 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
5820 after each command.
5821 * gdb.base/funcargs.exp: Likewise.
5822 * gdb.base/gdbvars.exp: Likewise.
5823 * gdb.base/interrupt.exp: Likewise.
5824 * gdb.base/list.exp: Likewise.
5825 * gdb.base/watchpoint.exp: Likewise.
5826 * gdb.c++/demangle.exp: Likewise.
5827 * gdb.c++/inherit.exp: Likewise.
5828 * gdb.chill/chexp.exp: Likewise.
5829 * gdb.fortran/exprs.exp: Likewise.
5830
5831 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
5832 test if we can't handle IO to/from the inferior.
5833
5834 * gdb.c++/misc.exp: Always check for a program already being
5835 started after sending a "run" command to gdb.
5836
5837 * gdb.base/twice.exp: Start with a fresh gdb.
5838
5839 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
5840 only depend on gdb's expression code, not the chill runtime.
5841
5842 * gdb.base/return.c: Put return values into variables so we
5843 can have gdb print them rather than depending on the program
5844 to print them.
5845 * gdb.base/return.exp: Corresponding changes.
5846
5847 * lib/gdb.exp: Provide default value for noinferiorio.
5848 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
5849 the inferior.
5850
5851 * gdb.base/break.exp: Always check for a program already being
5852 started after sending a "run" command to gdb.
5853 (text_next_with_recursion): Don't check the output from the
5854 program's printf statement. Instead just make sure the program
5855 exited.
5856
5857 * gdb.base/commands.exp: Protect tests which need arguments with
5858 $noargs conditionals.
5859
5860Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5861
5862 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
5863 of structure member arrays to match gdb/valops.c:value_addr change.
5864
5865Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
5866
5867 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
5868 cases.
5869
5870Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
5871
5872 * configure.in (configdirs): Remove gdb.chill from default list
5873 of subdirs and then add it back in only if doing a native build.
5874 The current chill compiler does not yet work in any cross build.
5875 * Revert all signal changes from Jul 6.
5876 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
5877 for sh-hms targets, allowing these tests to link, with no other
5878 changes. Testing is suppressed by setting "nosignals" in site.exp.
5879
5880Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
5881
5882 * configure.in (signaldirs): Define and add to configdirs for all
5883 targets except some specific ones that are known to not support signals.
5884 Also clean up formatting.
5885 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
5886 (signals, sigall): Remove rules to build.
5887 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
5888 Moved to new gdb.signals directory.
5889 * gdb.signals: New test directory.
5890 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
5891 signals.c signals.exp}: New or moved files.
5892
5893Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
5894
5895 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
5896
5897Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
5898
5899 * gdb.base/return.exp: Xfail `return double' test failure
5900 on at least Solaris 2.3 and handle future/past versions on
5901 a case by case basis as appropriate. Also update message
5902 to include i*86 failures.
5903
5904Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5905
5906 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
5907
5908 * lib/gdb.exp: Fix comment which erroneously identified
5909 gdb_file_cmd as gdb_load (the 19 May change was in fact to
5910 gdb_file_cmd not gdb_load).
5911 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
5912
5913 * gdb.base/setvar.exp: Make test names consistent between pass and
5914 fail cases. Use gdb_test more.
5915
5916Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5917
5918 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
5919
5920Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5921
5922 * gdb.base/help.exp: Fix expected help string for `show commands'.
5923
5924Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
5925
5926 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
5927
5928 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
5929 of a text section.
5930
5931Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
5932
5933 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
5934 that loop eventually terminates. Fix Connection refused logic so
5935 that testsuite will expire nicely.
5936
5937Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
5938
5939 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
5940 config/rom68k.exp: New tcl glue for the appropriate monitors.
5941 These all just end up calling monitor.exp.
5942 * config/monitor.exp (gdb_target_monitor): Handle `Connection
5943 refused' by retrying. Cleanup some timeout issues.
5944 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
5945 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
5946 callers don't have to set/restore global timeout variable.
5947
5948 * The following set of changes centralizes management of the global
5949 timeout variable. This way, it can be set in one target dependent
5950 place instead of dozens of places scattered throughout the test suite.
5951 If you need to lengthen a timeout, then you should either set timeout
5952 in one of the config/{target}.exp files, or multiply it by a factor.
5953 Setting it to an absolute value is always going to lose for some
5954 targets.
5955 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
5956 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
5957 * gdb.base/funcargs.exp: Don't set timeout.
5958 * gdb.base/list.exp (test_forward_search): Only use local timeout.
5959 * gdb.base/printcmds.exp (test_print_string_constants
5960 test_print_array_constants): Don't set timeout.
5961 * gdb.base/ptype.exp: Don't set timeout.
5962 * gdb.base/recurse.exp: Don't set timeout.
5963 * gdb.base/return.exp: Don't set timeout.
5964 * gdb.base/watchpoint.exp: Don't set timeout.
5965 * gdb.c++/classes.exp (do_tests): Don't set timeout.
5966 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
5967
5968Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
5969
5970 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
5971
5972Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5973
5974 * lib/gdb.exp: Disable chill tests for irix5.
5975
5976Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5977
5978 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
5979 each test pass or fail.
5980
5981Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5982
5983 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
5984 xlc not gcc.
5985
5986Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
5987
5988 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
5989
5990Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
5991
5992 * config/est.exp: Fix copyright and comments. Remove dead code.
5993 Use targetname, serialport and baud variables instead of fixed
5994 constants.
5995 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
5996 * config/cpu32bug.exp: New file to support cpu32bug monitors.
5997
5998Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5999
6000 * gdb.base/watchpoint.exp: Don't run
6001 test_watchpoint_triggered_in_syscall for sunos.
6002
6003Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6004
6005 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6006 they don't seem to exist. Do include stdio.h.
6007
6008Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6009
6010 * gdb.base/a1-selftest.exp: Add alpha xfail.
6011
6012Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6013
6014 * gdb.base/watchpoint.c (main): Prompt before calling read().
6015 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6016 Revise accordingly. Remove cruft about sending "123" several
6017 times, until it gets noticed. Clean up the "print buf[0]" stuff
6018 so that it passes or fails, and waits for prompts in the usual way.
6019
6020Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6021
6022 * gdb.base/recurse.exp: Fix comment.
6023
6024 * TODO: Remove item about printing variables in nodebug.exp. Add
6025 item about enabling tests which are only run on some targets.
6026
6027 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6028 fail, make test names unique, use new gdb_test convention
6029 regarding pattern, use gdb_test more, etc.).
6030
6031 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6032 fail, make test names unique, etc.).
6033
6034Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6035
6036 * gdb.base/nodebug.c: Change return type of top and middle to
6037 short.
6038 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6039 are fixed by the recent mdebugread.c changes. Allow `short ()'
6040 as type for top and middle.
6041
6042Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6043
6044 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6045 nearly as I can tell, the whole thing was an accident in Stu's
6046 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6047 to replace a send/expect pair with gdb_test, but ended up only
6048 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6049 of 30 Mar 1995 took care of it, but left this vestigial comment
6050 which I am now nuking.
6051
6052Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6053
6054 * gdb.base/break.exp: Look for different line number for
6055 breakpoint at main depending on usestubs.
6056
6057Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6058
6059 * gdb.base/list.exp: Adjust some alternate expect patterns to
6060 match recent list0.c change. Add alternate expect pattern for
6061 output from `list default lines around main' for optimizing
6062 compilers.
6063
6064Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6065
6066 * lib/gdb.exp: If nosignals is not set, set it to 0.
6067
6068Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6069
6070 * config/slite-gdb.exp: Responds to load symbol table prompt.
6071 * gdb.base/break.exp: Adjust line number, fix rerun.
6072 * gdb.base/langs0.c: Add #ifdef usestubs.
6073
6074Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6075
6076 * gdb.base/list.exp: Adjust line contents after adding new lines in
6077 list0.c. Also fix a syntax error.
6078
6079 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6080 * gdb.base/break.exp: ditto.
6081 * gdb.base/list.exp: ditto.
6082 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6083 * gdb.base/run.c: ditto.
6084 * gdb.base/list0.c: ditto.
6085 * gdb.base/funcargs.c: ditto.
6086
6087Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6088
6089 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6090 $targetname, $serialport and $baud instead of hardwired variables.
6091 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6092 target doesn't support signals.
6093
6094Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6095
6096 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6097
6098Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6099
6100 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6101 Don't rely on the value of an auto variable before it has been
6102 initialized. Use gdb_test more.
6103
6104Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6105
6106 * lib/gdb.exp (default_gdb_version): A version number must start
6107 with a digit, but other than that contains all characters up to
6108 the first whitespace character.
6109
6110Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6111
6112 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6113
6114Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6115
6116 * gdb.c++/*.exp: Warn if executable does not exist. The original
6117 reason for skipping the warning was that configure.in sometimes
6118 intentionally skipped building the executables but the tcl code
6119 had no way of knowing. That (a) was always bogus with respect to
6120 error handling, (b) is no longer true (right now there is no way
6121 to skip C++ tests).
6122
6123 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6124
6125Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6126
6127 * gdb.base/list.exp: Add expect patterns for output from
6128 SunPRO compiled executables.
6129 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6130 types.
6131
6132Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6133
6134 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6135 number (we are already testing that the correct source line text
6136 gets printed).
6137
6138 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6139 that is what is intended, but something needed to be done to get
6140 sunos4 native working again.
6141
6142 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6143
6144 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6145 apparently went with a (very) old xfail.
6146
6147Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6148
6149 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6150 runto_main is a proc in gdb.exp that will do 'step' for target use
6151 stubs.
6152 * gdb.base/exprs.exp: ditto.
6153 * gdb.base/interrupt.exp: ditto.
6154 * gdb.base/opaque.exp: ditto.
6155 * gdb.base/printcmds.exp: ditto.
6156 * gdb.base/ptype.exp: ditto.
6157 * gdb.base/scope.exp: ditto.
6158 * gdb.base/setvar.exp: ditto.
6159 * gdb.base/signals.exp: ditto.
6160 * gdb.base/twice.exp: ditto.
6161 * gdb.c++/classes.exp: ditto.
6162 * gdb.c++/inherit.exp: ditto.
6163 * gdb.c++/templates.exp: ditto.
6164 * gdb.base/break.exp: no run and hit main for stubs. Change line
6165 numbers for breakpoints and info breakpoint.
6166 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6167 breakpoint().
6168 * gdb.base/callfuncs.c: ditto.
6169 * gdb.base/exprs: ditto.
6170 * gdb.base/interrupt.c: ditto.
6171 * gdb.base/opaque0.c: ditto.
6172 * gdb.base/printcmds.c: ditto.
6173 * gdb.base/ptype.c: ditto.
6174 * gdb.base/scope0.c: ditto.
6175 * gdb.base/setvar.c: ditto.
6176 * gdb.base/signals.c: ditto.
6177 * gdb.base/twice.c: ditto.
6178 * gdb.c++/misc.cc: ditto.
6179 * gdb.c++/templates.cc: ditto.
6180
6181Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6182
6183 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6184
6185 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6186 somewhere between `read' and `main.c'. I'm pretty sure the
6187 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6188 and it isn't particularly useful.
6189
6190 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6191
6192Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6193
6194 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6195
6196Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6197
6198 * config/mt-slite: add LIBS and -nostdlib.
6199 * config/slite-gdb.exp: add this new file to support sparclite target.
6200
6201Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6202
6203 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6204
6205 * gdb.base/a2-run.exp: Change argument to istarget from
6206 "*-*-vxworks" to "*-*-vxworks*".
6207 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6208
6209Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6210
6211 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6212 will not runto main but do a 'step' to step out of breakpoint().
6213 * config/mt-slite: add -Dusestubs.
6214
6215Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6216
6217 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6218 instead of just @.
6219
6220 * gdb.base/signals.exp: Add test for "handle all print".
6221 * TODO: Remove "handle all print". Also remove item about
6222 checking copyright date (I don't like the idea of a spurious FAIL
6223 based on when we run the tests).
6224
6225 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6226 for SunOS4 (reason for failure not investigated). Remove
6227 redundant test for $binfile.
6228
6229 * gdb.base/nodebug.c (array_index): Call malloc.
6230
6231 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6232
6233Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6234
6235 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6236 conventions and slightly simplify the matching regexp.
6237
6238Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6239
6240 * gdb.base/break.exp: Update gdb_test invocation to use new
6241 convention.
6242
6243 * lib/gdb.exp: If noargs is not set, set it to 0.
6244
6245 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6246 tests unique.
6247
6248 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6249
6250Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6251
6252 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6253 one argument of type "<non-float parameter>".
6254
6255Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6256
6257 * config/rom68k.exp: New file to support Motorola IDP board.
6258 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6259 * gdb.base/break.c: Change things around so that this program
6260 doesn't depend upon args. This is necessary to make remote
6261 targets work (in general, they can't take args).
6262 * gdb.base/break.exp: Don't try to send args to program. Don't
6263 expect output. Also, replace lots of code with gdb_test.
6264
6265Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6266
6267 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6268 printing of '\'' (which is what the comment says we are testing,
6269 even though we were not), not '''.
6270 (test_integer_literals_rejected): Test that printing ''' is an error.
6271
6272 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6273 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6274 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6275 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6276 Use gdb_test not test_print_accept.
6277 * lib/gdb.exp: Remove test_print_accept.
6278
6279 * gdb.base/signals.exp (signal_tests_1): Make pass message
6280 consistent with fail message.
6281
6282 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6283 unsigned char; the bug (PR 1821) is fixed.
6284
6285 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6286
6287 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6288 successful tests--makes xfailing them work right.
6289
6290Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6291
6292 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6293 only \r\n, not .*. The test can pass .* as the last thing in
6294 $pattern if that is what it wants. In addition to providing this
6295 flexibility, this change should speed up pattern matching in cases
6296 where the pattern already ended with .* (there were a number of
6297 them). This change also helps catch bad patterns--in the old
6298 scheme the typo "char \*" instead of "char \\*" would pass. Now
6299 it is caught.
6300 * Many .exp files: Update callers.
6301
6302 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6303 clearer and does not spuriously match multiple ('s. Likewise for
6304 ) and *.
6305
6306 * gdb.base/nodebug.exp: Test ability to call a function and pass
6307 it a string (even with no debugging info).
6308
6309 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6310 "p '\'", which is the same as "p ''" once tcl gets done with
6311 quoting, to "p '\\'", which I suspect is what is intended (one
6312 backslash gets sent to GDB).
6313
6314 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6315
6316Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6317
6318 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6319 1817) was fixed literally years ago.
6320
6321Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6322
6323 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6324 test, it causes stepping out of call_after_alloca_subr with
6325 optimizing compilers.
6326 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6327 fails.
6328
6329 * gdb.c++/templates.exp: Source templ-info.exp only if
6330 the templates executable exists.
6331
6332 * gdb.c++/misc.cc (class Contains_static_instance,
6333 class Contains_nested_static_instance),
6334 gdb.c++/classes.exp (test_static_members): Test printing of
6335 a class that contains a static instance of the class.
6336
6337Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6338
6339 * gdb.base/langs2.c (cppsub_): Don't prototype.
6340 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6341 only, I believe).
6342
6343Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6344
6345 * lib/gdb.exp (skip_chill_tests): New procedure.
6346
6347 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
6348
6349Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
6350
6351 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
6352 each expect pattern. Cuts runtime from 12 to about 4 seconds.
6353
6354Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6355
6356 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
6357
6358 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
6359 disassemble 8, not 16, instructions for part 4.
6360
6361 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
6362 support the latter anymore.
6363
6364 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
6365 -DNO_PROTOTYPES.
6366 * gdb.base/callfuncs.c: Control use of prototypes based on
6367 NO_PROTOTYPES, not __STDC__.
6368 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
6369 t_float_values2 tests if prototypes in use.
6370
6371 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
6372 t_double_values): When checking differences against DELTA, check
6373 that difference is within the range (-DELTA,DELTA), not just
6374 (-infinity,DELTA).
6375
6376Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
6377
6378 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
6379 'file' command firts, then 'target', then 'load', this is due to gdb
6380 target set up.
6381 * config/mips-gdb.exp: Fix a couple regular exp bugs.
6382
6383Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
6384
6385 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
6386 FP load/store variants.
6387 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
6388
6389Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6390
6391 * gdb.base/term.exp: Do not give a warning if not native, it is
6392 not an abnormal condition.
6393
6394Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
6395
6396 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
6397 t_char_array".
6398
6399Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6400
6401 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
6402 are getting the version number.
6403
6404 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
6405 if not native, it is not an abnormal condition.
6406
6407Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6408
6409 * lib/gdb.exp: Just use "file exists", rather than undocumented
6410 dejagnu procedure "findfile".
6411
6412Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6413
6414 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
6415 (LDFLAGS): Set to -Xlinker -Ur.
6416
6417 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
6418 Removed, these values are set by lib/gdb.exp.
6419
6420 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
6421
6422Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6423
6424 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
6425 of replicating gdb startup code.
6426
6427 * config/mt-vxworks (LDFLAGS): Set to -r.
6428 (CFLAGS_FOR_TARGET): Removed.
6429
6430 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
6431 (gdb) and gdb for vxworks uses (vxgdb).
6432
6433 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
6434 executable is not in the tree and host != target, use sed and
6435 program_transform_name to determine the gdb name used by the
6436 target.
6437
6438 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
6439 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
6440
6441Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6442
6443 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
6444 floats, chars, and shorts where there are ANSI-style function
6445 definitions.
6446
6447 * gdb.base/langs.exp, gdb.base/langs*: New test.
6448 * gdb.base/Makefile.in: Build it.
6449 * TODO: Remove item about checking that C names don't get C++
6450 demangling applied; this test tests it.
6451
6452Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6453
6454 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
6455 went with the const70 xfail. The xfail went away a year ago.
6456
6457 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
6458
6459 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
6460 for hp300.
6461
6462 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
6463
6464 * gdb.base/a1-selftest.exp: Don't run on hp300.
6465
6466Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6467
6468 * Makefile.in (site.exp): Set host_alias and target_alias as well
6469 as host_triplet and target_triplet.
6470
6471Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6472
6473 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
6474
6475 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
6476 places as other ecoff systems).
6477
6478 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
6479 ultrix.
6480
6481Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6482
6483 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
6484 remove them.
6485 * gdb.base/nodebug.exp: Accept "function" in addition to "text
6486 variable and "variable" in addition to "data variable".
6487 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
6488
6489 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
6490 2.
6491 * gdb.base/list1.c (long_line): Add additional statement at start
6492 of function.
6493 * gdb.base/list.exp (test_forward_search): Update line number to
6494 reflect new statement.
6495
6496Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6497
6498 * gdb.base/signals.exp: Reinitialize searched source directories
6499 after gdb_start call.
6500
6501Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
6502
6503 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
6504 * gdb.stabs/Makefile.in: Likewise.
6505
6506 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
6507 change. Instead split the tests into smaller pieces.
6508 * gdb.disasm/hppa.s: Corresponding changes.
6509
6510Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6511
6512 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6513 Quote ^C when passing it to stty. For some shells ^ is a pipe.
6514
6515 * gdb.base/funcargs.exp: Modify many tests so that every test
6516 either passes or fails. Make some test names unique.
6517
6518Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6519
6520 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6521 Call stty to set interrupt character.
6522
6523 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
6524 for HP assembler versus GNU assembler based on actual behavior of
6525 $(CC), rather than assuming that $(AS) is always the GNU assembler.
6526
6527 * TODO: Suggest a few more stepping tests.
6528
6529Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
6530
6531 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
6532 restart GDB for h8300 after a continue.
6533 (return): Add pattern to match a29k-udi behavior.
6534 * gdb.base/nodebug.exp: Remove obsolete comment.
6535 * gdb.base/regs.exp: New file, testing of register displays.
6536 * gdb.base/return.exp: Fix typo in reference to $objdir.
6537 * gdb.base/whatis.exp: Always start with a fresh GDB.
6538
6539Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6540
6541 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
6542 higher, these tests generate a lot of output.
6543
6544Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6545
6546 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
6547 code following the catch silently ignored some errors; without the
6548 catch they should be thrown like any other tcl error. Also, the
6549 catch used "" instead of {} which meant all the callers who wanted
6550 to include one of the characters "[]$ had to quote it an extra time.
6551 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
6552 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
6553 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
6554 Remove extra quoting.
6555
6556Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
6557
6558 * gdb.base/commands.exp: Make test names unique; every test either
6559 passes or fails. Update some comments.
6560
6561 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
6562
6563Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6564
6565 The following fixes a FAIL caused by the fact that the alpha stabs
6566 configuration didn't use the ".if alpha" code in weird.def.
6567 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
6568 bit pointer, so the 32 bit version works even on the alpha.
6569 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
6570 Remove the stuff which allowed us to have separate versions for
6571 alpha and everything else.
6572
6573 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
6574 regexp which "info func operator\[\](" is supposed to match. Fix
6575 string to send to GDB. Note that GDB still doesn't work right. Add a
6576 new test for "info func .perator\[\](" which GDB does handle correctly.
6577
6578 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
6579
6580Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6581
6582 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
6583 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
6584 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
6585 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
6586 it makes the tests harder to understand and confuses test-o-matic.
6587 The preferred style is that each test provides a PASS or a FAIL,
6588 and has a unique message (e.g. "continue #54" not just "continue")
6589 which is the same for the pass and the fail.
6590 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6591 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
6592 to lib/gdb.exp.
6593 * gdb.base/printcmds.exp: Use test_print_accept. Remove
6594 prt_accept which was basically the same thing. Likewise for
6595 test_print_reject and prt_reject.
6596 * lib/gdb.exp (test_print_reject): Add some more error message
6597 patterns to match from the former printcmds.exp (prt_reject).
6598 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
6599 One defect of the passcount stuff is that some of it failed to
6600 report XPASS where appropriate.
6601 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
6602 stuff before and after arg in expected pattern.
6603 (test_paddr_operator_functions): Re-do test without print_addr_of;
6604 this is the only test which seems to want extra stuff there.
6605
6606Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6607
6608 * gdb.base/nodebug.exp: Update new tests to reflect improved
6609 wording of gdb output.
6610
6611 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
6612 and "ptype" work on variables in files compiled without -g.
6613 Replaces commented out "maint print msymbol" tests.
6614
6615Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6616
6617 * gdb.base/setvar.c (dummy): Call malloc.
6618
6619 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
6620 losing with the irix4 sed.
6621
6622 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
6623 ALRM" on irix4.
6624
6625Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6626
6627 * TODO: Remove items about corefile.exp testing new exec-file and
6628 backtrace; both are now done. Add items about printing enums.
6629
6630Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6631
6632 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
6633 "get signal $thissig" test fails.
6634
6635 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
6636
6637Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6638
6639 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
6640 compiler warning with dec alpha compiler.
6641
6642 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
6643 extra \n from gdb_test call (this explains why the prompt test
6644 that I removed yesterday was there).
6645 (user_defined_command_test): Remove extra \n and prompt test.
6646
6647 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
6648 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
6649 doesn't exist.
6650 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
6651 Also remove alpha workaround, which turns out to be because
6652 SIGABRT == SIGLOST.
6653
6654 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
6655
6656 * gdb.base/help.exp: Don't test "help show".
6657
6658Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6659
6660 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
6661 "set print address" is on.
6662 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
6663 pass prompt to gdb_test; gdb_test already looks for the prompt.
6664
6665 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
6666
6667 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
6668 was a vestige of the manual TESTSTRATEGY, and the purpose of it
6669 was to make sure that gdb can read a core file. But (a) the "read
6670 the corefile" part didn't make it to a1-selftest.exp, we just
6671 delete the corefile after creating it, and (b) we test reading
6672 corefiles in corefile.exp anyway. Also, this test left around a
6673 xgdb process on Solaris.
6674
6675 * gdb.base/corefile.exp: Also test backtrace.
6676
6677Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
6678
6679 * gdb.base/commands.exp: Test a simple user defined command with
6680 arguments and if/while statements; verify the full user command is
6681 printed by "show user".
6682
6683 * gdb.base/commands.exp: Test if/while commands as part of a
6684 breakpoint command list; verify they appear in breakpoint
6685 information.
6686
6687Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6688
6689 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
6690 than by dividing by zero.
6691
6692Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
6693
6694 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
6695 performing an inferior call with watchpoints enabled.
6696 * gdb.base/watchpoint.c (main): Delete second unnecessary read
6697 call.
6698
6699Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6700
6701 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
6702 of "file" command.
6703
6704 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
6705 Add additional pattern for when "int operator int(void);" appears
6706 in a different order.
6707
6708Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6709
6710 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
6711
6712 * gdb.base/help.exp: Replace most of docstrings for "info signals"
6713 and "signal" with ".*".
6714
6715Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6716
6717 * TODO: Add note about "handle all nostop".
6718
6719 * gdb.base/{sigall.c, sigall.exp}: New test.
6720 * gdb.base/Makefile.in: Add it.
6721
6722Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
6723
6724 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
6725 when invoking GDB, suppresses any windowing interface.
6726
6727Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
6728
6729 * config/sim-gdb: New file, simulator testing support.
6730
6731Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
6732
6733 * gdb.base/interrupt.exp: Test calling func1 twice.
6734
6735Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
6736
6737 * gdb.base/list.exp (test_forward_search): Set timeout higher
6738 when we'll be getting lots of output from gdb.
6739
6740 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
6741 "init_malloc" to after the expect statement. Run it if that
6742 regexp is taken, but also for two others which happen if source
6743 cannot be found.
6744
6745Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6746
6747 * gdb.base/printcmds.exp: New test, for printing register before
6748 program is running.
6749
6750Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6751
6752 * gdb.base/list.exp: Correct some alternate expect patterns
6753 to reflect changes in list1.c.
6754
6755Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6756
6757 * TODO: Add item regarding large frames.
6758
6759 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
6760
6761 * TODO: Remove item about enabling return.exp; it
6762 is enabled. Suggest a few more "return" tests.
6763
6764Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6765
6766 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
6767 anonymous unions.
6768
6769Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6770
6771 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
6772 and pr-5646.o, so "make" is the same as "make all", not "make
6773 pr-4975.o".
6774
6775Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
6776
6777 * gdb.base/list.exp: Adjust expectations to reflect changes in
6778 list1.c.
6779 (test_forward_search): New test proc.
6780 * gdb.base/list1.c (long_line): New function, has long source line.
6781
6782Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
6783
6784 * gdb.base/a1-selftest.exp: Change initial stepping to know about
6785 additional line of code that was added.
6786
6787Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
6788
6789 * gdb.disasm/hppa.s: Break the large branching tests into smaller
6790 tests so as not to overflow expect's input buffers.
6791 * gdb.disasm/hppa.exp: Corresponding changes.
6792
6793Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6794
6795 Beginnings of template debugging tests.
6796 * gdb.c++/templ-info.cc: New file to test for template
6797 debugging capability of the compiler.
6798 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
6799 templ-info.cc.
6800 * gdb.c++/templates.cc: Add explicit template instantiations
6801 to enable compiling with -fno-implicit-templates. Add destructor
6802 and 'value' method to T5 class for template tests.
6803 * gdb.c++/templates.exp: Add testcases for printing of template
6804 types, setting breakpoints on template methods and calling a
beb998c6 6805 template method.
c906108c
SS
6806
6807Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
6808
6809 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
6810 branch target since some assemblers (gas-2.5) may emit a
6811 relocation for the branch instead of resolving it in the
6812 assembler.
6813
6814Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6815
6816 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
6817 through signal handler.
6818
6819Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6820
6821 * configure.in (*-*-netware): Use config/mt-netware.
6822
6823 * config/mt-netware: New file.
6824 * config/mt-i386-netware: Removed, separate configs for different
6825 netware architectures are no longer needed now that we have
6826 --with-headers.
6827
6828Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6829
6830 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
6831 by the recent changes to use ANSI C arithmetic conversions.
6832
6833Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6834
6835 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
6836 bug involving using inferior_pid to figure out whether to select a
6837 frame.
6838
6839Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
6840
6841 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
6842 match the current disassembler output.
6843
6844Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
6845
6846 * gdb.fortran/exprs.exp: Expect VOID instead of void.
6847 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
6848 types, expect "int" as type of integer values (for now).
6849
6850Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
6851
6852 * gdb.base/commands.exp: New tests for if/while commands.
6853
6854Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
6855
6856 * lib/gdb.exp (runto): Replace sub-pattern for hex value
6857 by .*, since hex values have different syntax in Chill mode.
6858
6859Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6860
6861 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
6862 linefeed from expect pattern for repeated types with indices > 9.
6863
6864Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
6865
6866 First part of Fortran test suite.
6867 * gdb.fortran: New directory.
6868 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
6869
6870Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6871
6872 * gdb.base/default.exp: Update expect pattern for load command
6873 without arguments.
6874
6875Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6876
6877 * configure.in: Change i386 to i[345]86.
6878 * gdb.base/configure.in: Likewise.
6879 * gdb.c++/configure.in: Likewise.
6880 * gdb.chill/configure.in: Likewise.
6881
6882Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
6883
6884 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
6885 patterns, since that is not a valid context for comments.
6886
6887Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
6888
6889 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
6890 repeated types and repeated types with indices > 9.
6891
6892Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
6893
6894 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
6895 2417; old bug has been fixed.
6896
6897Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
6898
6899 * gdb.base/interrupt.exp: When trying to wake up the inferior,
6900 send the newline ourselves instead of assuming gdb_test will do
6901 so when passed an empty input string.
6902
6903 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
6904 stabs testcode.
6905
6906Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6907
6908 * lib/gdb.exp (gdb_test): Don't send anything if the first
6909 argument is an empty string. This makes cases where we want to
6910 match output that is already in expect's buffers (for example,
6911 matching a breakpoint after gdb_run_cmd has been called) work
6912 reliably.
6913
6914Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6915
6916 * config/netware.exp: New file.
6917
6918Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6919
6920 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
6921 the -B and -L prefixes so we can find the debugging stub.
6922
6923 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
6924 there and we are using the gcc from the tree.
6925
6926 * gdb.base/types.c: Removed.
6927
6928 * gdb.base/configure.in: Look for makefile fragments in ../config.
6929 Recognize i386-*-netware.
6930 * gdb.c++/configure.in: Likewise.
6931
6932Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6933
6934 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
6935 the correct TCL syntax.
6936
6937Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6938
6939 * gdb.base/opaque.exp: use runto instead of messing around with
6940 breakpoints. Simplify by using gdb_test.
6941
6942 * gdb.base/bitfields.exp: restart between tests on netware targets
6943 because breakpoints aren't relocated after target death. Run
6944 processes to completion.
6945
6946 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
6947
6948Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
6949
6950 * Makefile.in: Remove extra tabs that confuse some versions
6951 of "make". Use the newly built gdb to test with by default,
6952 rather than the first one in the tester's search path.
6953
6954Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
6955
6956 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
6957
6958 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
6959 condition help.
6960
6961Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6962
6963 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
6964
6965 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
6966 running.
6967 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
6968 * gdb.base/funcargs.exp: Likewise.
6969
6970 * gdb.base/bitfields.exp: Simplify by using gdb_test.
6971 * gdb.base/funcargs.exp: Likewise.
6972
6973 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
6974 message is "".
6975
6976Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6977
6978 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
6979 return,signals,twice}.exp: Handle non-existant binaries
6980 consistantly.
6981
6982 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
6983 * gdb.base/Makefile.in: Don't try to generate a core dump, we
6984 might testing a cross development system.
6985
6986Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6987
6988 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
6989 runtest script is relative to ${srcdir}, not ${rootdir}.
6990
6991Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
6992
6993 * gdb.base/signals.exp: Allow for optionality of breakpoint
6994 address.
6995
6996Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6997
6998 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
6999
7000Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7001
7002 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7003 for size_t definition.
7004 * gdb.c++/templates.cc: Likewise
7005
7006 * config/mt-i386-netware: New file.
7007
7008 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7009 defined.
7010
7011 * gdb.base/Makefile.in: Added support for systems that name core
7012 files by appending "core" to the program name.
7013 * gdb.base/a1-selftest.exp: Likewise.
7014
7015Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7016
7017 * gdb.base/return.exp: Add comment and message for `return double'
7018 test failure on Sparc Solaris.
7019
7020Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7021
7022 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7023
7024Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7025
7026 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7027 from optimizing them away.
7028 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7029 patterns to include default constructors and assignment operators,
7030 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7031 character in the output of the virtual base pointer.
7032
7033Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7034
7035 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7036 expression match in print_addr_of to avoid unintented matches.
7037 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7038 versions up to 2.5.8.
7039
7040Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7041
7042 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7043 included file to run under newer versions of expect.
7044 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7045 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7046 Remove xfail for the virtual table of BDDHookV.
7047
7048Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7049
7050 * lib/gdb.exp (string_to_regexp): Set a default result.
7051 (default_gdb_start): Fix misleading message.
7052
7053Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7054
7055 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7056 Remove all CC, etc definitions.
7057 * config/mt-hpux: New file.
7058 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7059 (CFLAGS, LDFLAGS): Define.
7060 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7061
7062 * Makefile.in (site.exp): Don't insert host_os, etc.
7063 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7064 (distclean): Check existence of subdir.
7065 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7066 * gdb.base/Makefile.in: General cleanup and simplification.
7067 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7068 to build executables. Use default rule to build .o files.
7069 (EXPECT, RUNTEST, CC): Fix relative pathname.
7070 (site.exp): Don't insert host_os, etc.
7071 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7072 and/or SIGUSR1 defined.
7073 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7074 * gdb.c++/Makefile.in: General cleanup and simplification.
7075 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7076 (CFLAGS): Remove.
7077 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7078
7079Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7080
7081 * gdb.base/recurse.exp: Misc changes to get tests running again
7082 after Kung's changes to the watchpoint code.
7083 * gdb.base/watchpoint.exp: Likewise.
7084
7085Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7086
7087 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7088
7089Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7090
7091 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7092 * lib/gdb.exp (default_gdb_start): Define.
7093 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7094 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7095 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7096 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7097 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7098 Don't call gdb_target_udi in between tests.
7099
7100Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7101
7102 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7103 (which was basically just a local version of the same thing). In
7104 addition to avoiding duplication, gdb_test_exact is faster.
7105 * lib/gdb.exp (gdb_test_exact): Fix typo.
7106
7107 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7108 don't give an error.
7109
7110 * gdb.base/term.exp: Call delete_breakpoints before starting.
7111
7112 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7113 (t10): Add comment.
7114
7115Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7116
7117 Reorganization of the GDB Test Suite.
7118
7119 * gdb.base: New directory, contains all the basic tests.
7120 * gdb.c++: New directory, tests specific to C++.
7121 * gdb.chill: New directory, tests specific to Chill.
7122 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7123 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7124 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7125 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7126 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7127 t30-31 to chill).
7128 * */gdbme.*: Rename to match appropriate expect scripts.
7129 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7130 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7131 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7132 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7133 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7134 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7135 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7136 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7137 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7138 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7139 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7140 gdb.c++/virtfunc.cc: New names of C++ files.
7141 * gdb.chill/chillvars.ch: New name of Chill file.
7142 * gdb.base/configure.in, gdb.c++/configure.in,
7143 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7144 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7145 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7146 * configure.in (configdirs): Update to reflect directory changes.
7147 (target_abbrev): No longer define for any configuration.
7148 * Makefile.in: Cosmetic improvements to header comments.
7149
7150Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7151
7152 Various changes to gdb.t31:
7153
7154 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7155 * gdbme.ch: Make all key-words and predefineds be upper-case.
7156 * chillvars.exp: Expect key-words and predefinds in upper-case.
7157
7158 * chillvars.exp: Use gdb_test_exact many places.
7159 Change expected output for arrays (which now includes index labels).
7160
7161 * pr-5020.exp, gdme.ch (module PR_5020):
7162 New test, for PR-5020.
7163
7164Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7165
7166 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7167 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7168
7169Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7170
7171 * Makefile.in: Fix bit-rot in definitions of CHILL,
7172 CHILL_FOR_TARGET and Chill_LIB.
7173 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7174 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7175 CHILL, and CHILL_LIB.
7176
7177Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7178
7179 * Revert the previous changes. Please see Rob's directory
7180 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7181
7182Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7183
7184 * Makefile.in, configure.in, config/mips-gdb.exp,
7185 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7186 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7187 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7188 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7189 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7190 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7191 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7192 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7193 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7194 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7195 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7196 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7197 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7198 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7199 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7200 changes from 94Q1.
7201
7202Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7203
7204 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7205 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7206 Rob's new testing fragments.
7207
7208Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7209
7210 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7211 lib/gdb.exp: Replace error proc calls with perror.
7212
7213Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7214
7215 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7216 version also, match on casted version strings, and match on
7217 gdb startup case where the line numbers might be messed up.
7218
7219Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7220
7221 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7222 (CFLAGS): Delete it from here.
7223
7224Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7225
7226 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7227
7228Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7229
7230 * Makefile.in (RUNTEST): Default to just "runtest".
7231
7232Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7233
7234 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7235 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7236 the code has been restructured.
7237
7238Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7239
7240 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7241 \n, not just one of each.
7242
7243 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7244 /bin/cc gives a warning if you do.
7245
7246Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7247
beb998c6 7248 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
7249 __t10ListS_link1ZUiRCUiPT0
7250
7251Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7252
7253 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7254 on local variables in recursive functions.
7255
7256 * gdb.t07/Makefile.in: Build the new test.
7257
7258Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7259
7260 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7261 directly. Instead compare the return values from actual calls.
7262
7263Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7264
7265 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7266
7267Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7268
7269 * From Peter Schauer with minor modifications.
7270 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7271 stops in mid-line in the caller. Add xfail for returning a float
7272 value on X86 targets.
7273
7274Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7275
7276 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7277 to avoid expect lossage.
7278 (fmem_LRbug_tests): Likewise.
7279 * gdb.disasm/hppa.s: Corresponding changes.
7280
7281 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7282 conditions to work with latest dejagnu/expect.
7283
7284 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7285 expected to fail on the PA.
7286 (backtrace in call with trampolines): Explicitly require main
7287 to be frame #1 (no trampolines should show up in backtrace).
7288
7289 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7290 "continue -expect".
7291 * gdb.t06/break.exp: Likewise.
7292 * gdb.t07/watchpoint.exp: Likewise.
7293 * gdb.t13/bitfields.exp: Likewise.
7294 * gdb.t15/{funcargs,return}.exp: Likewise.
7295 * gdb.stabs/weird.exp: Likewise.
7296 * config/{mips,udi}-gdb.exp: Likewise.
7297
7298 * hppa.sed: Enclose comments within a sed command to avoid
7299 losing with the old OSF1 sed.
7300
7301Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7302
7303 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7304 sequent dynix.
7305 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7306 * gdb.t15/funcargs.exp: Conditionally step again to really
7307 finish from marker_call_with_trampolines. Handle the case where
7308 the first step from within call_with_trampolines already steps
7309 us back to main.
7310 * gdb.t15/gdbme.c: Add comment to closing brace of
7311 call_with_trampolines for funcargs.exp.
7312
7313Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7314
beb998c6 7315 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
7316 Fix typo(s).
7317
7318Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7319
7320 * gdb.t07/gdbme.c: More code for watchpoint testing.
7321
7322 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7323 "Hardware watchpoint" throughout file.
7324 (test_watchpoint_triggered_in_syscall): New test.
7325 (test_complex_watchpoint): New test.
7326
7327Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7328
7329 * gdbme.c (call_with_trampolines): New function to try and step
7330 into. Tests trampoline problems on the PA.
7331
7332 * funcargs.exp (localvars_in_indirect_call): No longer expect
7333 stepping into indirect call to fail on PAs.
7334 (test_stepping_over_trampolines): New test.
7335
7336Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7337
7338 * TODO: Add suggestions for static member function tests, and
7339 completion tests.
7340
7341Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7342
7343 * TODO: Add suggestions for "p/a" tests.
7344
7345 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
7346 (default_gdb_exit): Replace all the hair with sending "quit" to
7347 the process with a simple close.
7348
7349Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7350
7351 * TODO: Add suggestions for shared library tests.
7352
7353Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7354
7355 * TODO: Add suggestions for x/s tests.
7356
7357Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7358
7359 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
7360 "enable once", and "enable breakpoints once" with ".*".
7361
7362Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7363
7364 * TODO: Add suggestions about structure passing tests.
7365
7366Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7367
7368 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
7369 the primary1 test, use work around if __GNUC__ < 2.
7370 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
7371 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
7372 Test for bad output rather than waiting for timeout. Issue
7373 second continue only if first continue failed.
7374
7375Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7376
7377 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
7378 operator[] test with gdb_test because the old code didn't seem to
7379 be getting the quoting right with the new dejagnu.
7380
7381Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
7382
7383 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
7384 one from the path.
7385 * Makefile.in: Use a fresh expect if there is one, use runtest
7386 from the src tree if there is one.
beb998c6 7387
c906108c
SS
7388Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7389
7390 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
7391 next over recursive call. Revise the tests from that point on
7392 (which had been skipped) to match GDB's actual (correct) output.
7393
7394 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
7395 with next over a breakpoint whose condition is false.
7396
7397 * gdb.t00/help.exp: Comment out "help set print" tests just like
7398 (and for same reason as) "help set" test.
7399
7400Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7401
7402 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
7403 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
7404
7405Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7406
7407 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
7408 necessary gdb_target_udi.
7409
7410 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
7411
7412 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
7413 1838 and 2417; they are fixed.
7414
7415 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
7416 gdb.t03/ptype.exp (ptype structure, ptype union):
7417 Remove xfails; the test is looser than when the xfails were added.
7418
7419 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
7420 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
7421
7422 * gdb.t01/run.exp: Only run shell test if isnative.
7423
7424 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
7425 since "run" automatically loads if necessary. Call gdb_target_udi
7426 after the "file" since "file" kills any execution target.
7427
7428 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
7429 GDB. GDB doesn't work that way (not anymore at least) on UDI.
7430 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
7431 argument for UDI.
7432
7433Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7434
7435 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
7436
7437 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
7438
7439Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7440
7441 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
7442 properly quoting regexps. This makes the second argument to
7443 demangle a fixed string, which matches the callers, instead of a
7444 shell-style pattern which is what the previous implementation
7445 used. Update some of the callers.
7446
7447Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7448
7449 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
7450 (comib_nullified_tests): Fix typo.
7451 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
7452 strings. No longer expected to fail.
7453
7454 * gdb.disasm/hppa.s (addib_tests): Fix typo.
7455 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
7456 strings. No longer expected to fail.
7457
7458 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
7459 string. No longer expected to fail.
7460
7461Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7462
7463 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
7464 No longer expected to fail.
7465
7466 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
7467 string. No longer expected to fail.
7468
7469Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7470
7471 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
7472 only in the names (I probably got most of them). I was even
7473 generous with some which differed in underscores in names, and
7474 probably missed a few, and I *still* was able to remove almost a
7475 third of the file with almost no impact on testsuite coverage.
7476
7477Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7478
7479 * gdb.t00/default.exp: Match udi_attach error message as well as
7480 the one from child_attach.
7481
7482 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
7483
7484 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
7485
7486 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
7487 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
7488
7489 * Move test with enums and partial symbols back to
7490 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
7491 Reverts the change of 26 May 93. Per today's change to
7492 stabs.texinfo, the behavior that weird.exp was expecting was
7493 unreasonable; what is important is that the compiler+gdb get
7494 things right, which happens with a recent gcc. Also fix the test
7495 to deal with native compilers which put out the stab gdb can't
7496 deal with.
7497
7498Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7499
7500 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
7501 in the names. The main thing these accomplish is to slow things down.
7502 Many more such duplicates surely remain.
7503
7504 * gdb.t00/help.exp: Comment out "help support" test just like
7505 (and for same reason as) "help set" test.
7506
7507Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
7508
7509 * gdb.t06/break.exp: Remove setup_xfails for
7510 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
7511 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
7512 about known bug in gcc to include up through 2.5.8.
7513 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
7514 well as "_vb$".
7515 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
7516 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
7517 with latest gcc and gdb.
7518 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
7519 well as "_vb$".
7520
7521Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7522
7523 * configure.in (hppa*-*-*): Also configure and build stabs-only
7524 tests.
7525
7526Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7527
7528 * gdb.t10/hppa.mt: A makefile fragment for the PA.
7529 * gdb.t10/configure.in (hppa*-*-*): Use it.
7530
7531Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7532
7533 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
7534
7535Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7536
7537 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
7538 versions prior to 1.13.5.
7539
7540Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7541
7542 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
7543 the prompt is at the start of a line.
7544
7545Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7546
7547 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
7548 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
7549 in the copr tests now.
7550 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
7551 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
7552 expected to fail.
7553
7554Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
7555
7556 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
7557 gdb.t31/chillvars.exp, lib/gdb.exp:
7558 Tweak to run under either version of expect.
7559 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
7560 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
7561 * gdb.t11/list.exp: Remove extraneous whitespace.
7562
7563Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7564
7565 * gdb.t16/printcmds.exp (test_print_strings): Accept
7566 "(unsigned char *) " before the string.
7567
7568 * TODO: Add notes about printing of fancy types and GDB expressions.
7569
7570Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
7571
7572 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
7573 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 7574 if doing mips-idt-ecoff.
c906108c
SS
7575
7576Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
7577
7578 * Most .exp files: Tweak to run under either version of expect.
7579
7580Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7581
7582 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
7583 xfails; I'm not sure why they are failing, but not because of PR 1806.
7584
7585Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
7586
7587 * config/unix-gdb.exp: Remove gdb_unload cause it's already
7588 defined in lib/gdb.exp.
7589
7590Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7591
7592 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
7593 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
7594 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
7595 have to be typeless.
7596
7597Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7598
7599 * TODO: Add suggestion for copyright year test.
7600
7601Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
7602
7603 * configure.in (*-*-lynxos*): Add stabs tests.
7604
7605Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7606
7607 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
7608 so insert a tab before any assembler directive in column zero.
7609
7610 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
7611 stores.
7612 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
7613 stores.
7614 (fpu_short_memory_tests): Likewise.
7615
7616Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7617
7618 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
7619 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
7620 .stabs directives in comments.
7621
7622Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7623
7624 * TODO: New file, describing tests we could write.
7625 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
7626
7627Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7628
7629 * gdb.t06/signals.exp: Add kludge to force re-sync.
7630
7631 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
7632 to xgdb instead of gdb, get out of gdb.
7633
7634Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
7635
7636 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
7637 for info.
7638
7639Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7640
7641 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
7642 * gdb.stabs/configure.in (hppa*-*-*): Use it.
7643 * gdb.stabs/hppa.sed: New sed script for the PA.
7644
7645Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7646
7647 * gdb.stabs: Re-write weird.def and configuration to use sed
7648 instead of cpp. sed is portable and POSIX; cpp is neither.
7649
7650Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7651
7652 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
7653
7654Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7655
7656 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
7657
7658Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7659
7660 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
7661 "_vb$".
7662 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
7663 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
7664
7665Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7666
7667 * lib/gdb.exp: Comment out code which depends on non-existent
7668 `transform' procedure.
7669
7670Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
7671
7672 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
7673 * lib/gdb.exp: Transform tool name.
7674 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
7675 1.1's new error handling system.
7676
7677Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7678
7679 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
7680
7681Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7682
7683 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
7684 They made pattern matching so slow that timeouts happened on
7685 heavily loaded systems. Now any output from "show print" which
7686 gets us back to the GDB prompt is a PASS.
7687
7688Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
7689
7690 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
7691
7692Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7693
7694 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
7695
7696 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
7697 It is not from PR 3220.
7698
7699Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7700
7701 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
7702 just started failing because they depended on the order the
7703 subcommands are presented, or exact docstring text. This kind of
7704 test is a pain and has minimal benefit.
7705
7706Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7707
7708 * gdb.t09/corefile.exp: At end of test, use "core" command with
7709 no arguments.
7710
7711Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
7712
7713 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
7714 17}/Makefile.in: Make it possible to run the testsuite with Sun
7715 make and CC = cross gcc by adding explicit build rules for .o
7716 files.
7717
7718Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7719
7720 * gdb.t15/funcargs.exp: Don't put comments on same line as
7721 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 7722
c906108c
SS
7723Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7724
7725 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
7726
7727Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
7728
7729 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
7730 * gdb.t20/inherit.exp: remove three dumplicate entries.
7731
7732Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7733
7734 * gdb.t06/break.exp: For "next over recursive call", fail on any
7735 incorrect output, not just on "factorial (value=2)".
7736
7737Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7738
7739 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
7740 working now. Add an xfail if accesing a bss variable causes
7741 a memory error if the target is not yet run.
7742
7743Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7744
7745 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
7746 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
7747 name of __st* demangling (2 strings). Did Kung really get the
7748 more than 95 others right without testing them?
7749
7750Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
7751
7752 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
7753
7754Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
7755
7756 * configure.in (configdirs): Add gdb.disasm
7757 * gdb.disasm: New directory for GDB disassembler tests.
7758 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
7759
7760Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7761
7762 * gdb.t00/help.exp: Don't test "help set".
7763
7764 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
7765 from within expect statements. None of these happen anymore and
7766 they cause regressions to be silently unnoticed.
7767
7768 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
7769 messages) about known failures with gcc cygnus-2.4.5-930417.
7770
7771 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
7772 comp-info.exp so it gets built if it doesn't exist.
7773
7774 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
7775 it is no longer used.
7776 * gdb.t13/comp-info.c: Removed.
7777
7778Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
7779
7780 * gdb.t06/signals.exp: Add xfail for sun3.
7781
7782Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7783
7784 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
7785 relevant because ^C doesn't get sent but failure can be reproduced
7786 interactively).
7787
7788Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7789
7790 * gdb.stabs/alpha.mt: New configuration file for alpha.
7791 * gdb.stabs/configure.in: Use it.
7792 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
7793 sharing with alpha.mt, redefine long to word via preprocessor.
7794 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
7795 for alpha.
7796 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
7797 native cc.
7798 * gdb.t00/teststrategy.exp: Change expect string so that we
7799 consume the `(xgdb)' from the command echo and from the gdb prompt.
7800 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
7801 gdb currently compares all values as long, so this failure probably
7802 applies to any configuration where LONGEST is bigger than a target int.
7803 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
7804 with gcc.
7805 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
7806 to handle opaque pointers, gcc is.
7807 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
7808 as first argument. Include <sys/types.h> and change all operator
7809 new definitions to use size_t.
7810 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
7811 now that we use size_t.
7812
7813Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7814
7815 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
7816 a long or float array cast all array members to the same type.
7817 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
7818 with 64 bit longs.
7819 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
7820 on alpha.
7821 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
7822
7823Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7824
7825 * gdb.t24 (demangle.exp): Constructors of templates have names like
7826 vector<int>::vector(int) not vector<int>::vector<int>(int). See
7827 section 14.6 of the ARM.
7828
7829 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
7830 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
7831 accomplish little and slow down the testsuite.
7832
7833 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
7834 Accept spaces various places.
7835
7836Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7837
7838 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
7839 with watchpoint enabled.
7840
7841 * Makefile.in: Remove definition of CC and remove the second
7842 definition of CXX (the "CXX = gcc" one remains). These definitions
7843 were causing backquotes to be expanded within backquotes, which
7844 doesn't work.
7845
7846Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
7847
7848 * gdb.t17/callfuncs.exp: Add "return 0" to end.
7849
7850Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7851
7852 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
7853 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
7854 by mips cc and contains no stabs entries.
7855
7856Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
7857
7858 * config/vx-gdb.exp: Use fake device to load files rather than
7859 NFS.
7860 * lib/gdb.exp: New proc to do "file" command.
7861 * config/unix-gdb.exp: Use new "file" proc.
7862
7863Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7864
7865 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
7866 Rework board rebooting slightly.
7867 (gdb_exit): Don't exit from the remote shell; there isn't one.
7868 * gdb.stabs/weird.exp: If a program is being debugged already,
7869 kill it.
7870 * gdb.t04/setvar.exp: Stop and restart gdb.
7871 * gdb.t05/expr.exp: Likewise.
7872 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
7873 restart gdb and reload the program.
7874 * gdb.t08/opaque.exp: Likewise.
7875 * gdb.t12/scope.exp: Likewise.
7876 * gdb.t13/bitfields.exp: Likewise.
7877 * gdb.t15/funcargs.exp: Likewise.
7878 * gdb.t20/classes.exp: Likewise.
7879 * gdb.t03/ptype.exp: Increase timeout.
7880 * gdb.t16/printcmds.exp (test_print_string_constants,
7881 test_print_array_constants): Likewise.
7882 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
7883 * gdb.t20/classes.exp (do_tests): Likewise.
7884 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
7885
7886Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
7887
7888 * gdb.stabs: Renamed *wierd* to *weird*.
7889
7890Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
7891
7892 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
7893 for timeout. Add "known gcc 2.4.5 bug" to failure message.
7894
7895Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
7896
7897 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
7898 (do_tests): Remove xfail for whatis on one_var and two_var.
7899
7900Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
7901
7902 * Makefile.in: Made cross building work better by adding
7903 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
7904
7905Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7906
7907 * gdb.t15/{return.c,return.exp,Makefile.in}:
7908 New test, currently commented out.
7909
7910Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
7911
7912 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
7913 still running and removes the leftover named socket so GDb can do
7914 clean restarts.
7915
7916Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
7917
7918 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
7919 console, not GDB.
7920 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
7921 cross testing works better with "make check"
7922 * config/unix-gdb: Use default procedures for exit and version.
7923 * config/vx-gdb.exp: Cleaned up and massaged back to working order
7924 with the newest VxWorks.
7925
7926Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7927
7928 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
7929 old form.
7930
7931 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
7932 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
7933
7934 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
7935
7936 * config/unix-gdb.exp: Remove this version of gdb_exit
7937 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
7938 Rob says he'll look at it when he gets back to testing boards.
7939
7940Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
7941
7942 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
7943 an expected fail for certain ptype commands.
7944
7945 * gdb.t20/classes.exp: Update expected results of "ptype class
7946 Base1" to account for the constructor that now appears in the type.
7947
7948Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
7949
7950 * configure.in (configdirs): Restore gdb.t04, which mysteriously
7951 disappeared from list.
7952 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
7953 "alldone" proc with call to cleanup and exit.
7954 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
7955 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
7956 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
7957 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
7958 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
7959 "alldone" proc with simple returns that suppress remaining
7960 tests. The alldone proc went away many months ago.
7961
7962Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7963
7964 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
7965
7966 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
7967
7968Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7969
7970 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
7971 as vax gdb will display them.
7972
7973Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7974
7975 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
7976 optimizers.
7977
7978 * scope.exp: Change "bad value for localval" messages so each one
7979 is unique.
7980
7981 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
7982 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
7983
7984 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
7985
7986Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7987
7988 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
7989 doesn't exist (due to optimization).
7990
7991Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7992
7993 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
7994 contains \r because the filename is long.
7995
7996 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
7997 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
7998
7999Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8000
8001 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8002 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8003 Ultrix.
8004 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8005 int tests.
8006 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8007
8008Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8009
8010 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8011
8012 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8013 to match does not match the passing case but still matches the
c906108c
SS
8014 failing case.
8015
8016Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8017
8018 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8019
8020Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8021
8022 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8023 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8024 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8025 Remove various versions of gdb_exit.
8026 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8027 gdb_exit.
8028 * config/unix-gdb.exp: gdb_exit remains here, and should override
8029 the generic version, since it's doing a lot of wierd stuff that
8030 the other versions aren't. FIXME, fold it in, or abandon this
8031 version.
8032
8033Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8034
8035 * gdb.t24/demangle.exp: Add tests for PR 3220.
8036
8037Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8038
8039 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8040
8041Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8042
8043 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8044 "i386-*-*". Works for i486 as well.
8045
8046 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8047 bug, and expand domain of xfail to all SVR4 systems, since the
8048 actual problem is likely to be in generic SVR4 /proc support.
8049
8050Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8051
8052 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8053
8054Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8055
8056 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8057 xfails for other systems. Match a missing 'Continuing.' as an
8058 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8059
8060 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8061 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8062 Only issue warning for missing executables if -all option is used.
8063
8064 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8065 file if -all option is used. It's like an unpredictable XFAIL.
8066
8067Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8068
8069 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8070 for dynamically linked binaries.
8071
8072 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8073
8074Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8075
8076 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8077 to state that this is a known bug in old versions of g++.
8078
8079Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8080
8081 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8082 while waiting for `Continuing'.
8083
8084Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8085
8086 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8087 in text, data, and bss.
8088 * gdb.t10/nodebug.c: Add local and global test variables for
8089 initialized and uninitialized data.
8090
8091Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8092
8093 * config/unix-gdb.exp (gdb_exit): Add "wait".
8094
8095Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8096
8097 * gdb.t06/signals.exp: xfail the continue from the handler for all
8098 targets.
8099
8100 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8101 function with watchpoints enabled, the i386 call dummy starts with
8102 a call.
8103
8104 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8105 386 bsd names its corefiles.
8106
8107Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8108
8109 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8110 compilers don't grok it.
8111 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8112 with small octal ints rather than character constants, which
8113 are signed and might not fit if first promoted to int.
8114
8115Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8116
8117 * gdb.t09/Makefile.in (clean): Remove corefile.
8118
8119Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8120
8121 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8122
8123Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8124 and Jim Kingdon (kingdon@cygnus.com)
8125
8126 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8127 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8128 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8129
8130Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8131
8132 * gdb.t17/interrupt.exp: Add xfail for hppa.
8133
8134Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8135
8136 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8137 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8138 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8139 to determine signed-ness of bitfields and use the result to setup
8140 the xfail.
8141 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8142 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8143 call line is reached if necessary.
8144
8145Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8146
8147 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8148
8149Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8150
8151 * gdb.t06/break.exp: Also test `clear' command.
8152
8153Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8154
8155 * gdb.t00/teststrategy.exp: Remove extra quote.
8156
8157 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8158 watchpoint enabled to be for all non-68k machines.
8159
8160 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8161
8162Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8163
8164 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8165 targets use aout.mt instead of ecoff.mt as gas understands
8166 standard aout format.
8167
8168Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8169
8170 * lib/gdb.exp (runto): Don't insist that function we are running to
8171 was compiled with -g.
8172
8173 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8174
8175 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8176 to get back into the read system call.
8177 Accept leading newline in case where we woke it up.
8178
8179Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8180
8181 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8182 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8183 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8184 enable ecoff configuration.
8185
8186Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8187
8188 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8189
8190Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8191
8192 * gdb.t16/printcmds.exp: Add another printf test.
8193
8194Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8195
8196 * configure.in: If configured -with-stabs on any target, add
8197 stabsdirs to configdirs.
8198
8199Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8200
8201 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8202 fun" so pattern does not match the command itself.
8203
8204Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8205
8206 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8207
8208Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8209
8210 * gdb.t17/interrupt.exp: Test for more things.
8211
8212Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8213
8214 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8215 compiler arranges the code and line numbers.
8216
8217 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8218
8219Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8220
8221 * gdb.t00/help.exp: Increase expect input buffer size.
8222
8223Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8224
8225 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8226
8227 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8228
8229 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8230
8231 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8232 [0-9]*, not just [0-9].
8233
8234Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8235
8236 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8237
8238 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8239
8240Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8241
8242 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8243
8244Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8245
8246 * gdb.t06/signals.c: Add xfails for sun3.
8247
8248 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8249
8250 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8251 test_stepping tests.
8252
8253Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8254
8255 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8256
8257 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8258
8259 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8260 rather than actually putting it through cpp twice.
8261
8262 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8263
8264Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8265
8266 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8267 no longer needed.
8268
8269Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8270
8271 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8272
8273 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8274 C++ features prints as "struct", make it a pass, not an xfail.
8275
8276Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8277
8278 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8279 Don't require VA to print as "class" rather than "struct".
8280
8281Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8282
8283 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8284
8285Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8286
8287 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8288
8289Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8290
8291 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8292 order.
8293
8294Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8295
8296 * gdb.t16/printcmds.exp: Add printf tests.
8297
8298 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8299
8300 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8301
8302Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8303
8304 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8305 pass counts, to counteract any existing or future setup_xfails.
8306
8307Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8308
8309 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8310 {BEGIN,END}_COMMON for common block instead of STAB.
8311 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8312
8313 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8314 intp_var should be N_GSYM not N_LSYM.
8315 wierd-aout.S: Use a label for the value of the N_SO.
8316 wierd.def: Remove all backslashes.
8317 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8318
8319Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8320
8321 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8322 get the expected next to inheritance3.
8323
8324Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8325
8326 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8327 now that gcc-2.4 gets it right.
8328
8329Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8330
8331 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8332
8333 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8334 generating comp-info.exp which works for cross-compilation.
8335
8336Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8337
8338 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8339 "*-*-sysv4.*".
8340
8341Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8342
8343 * gdb.t01/run.exp: Start with a fresh gdb.
8344 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8345 SVR4.x.
8346
8347Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
8348
8349 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
8350 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
8351 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
8352 Makefile.in (distclean, realclean): Remove gdbme.c from list of
8353 things to remove.
8354
8355Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
8356
8357 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
8358 test cases from bug reports.
8359
8360Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
8361
8362 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
8363 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
8364 avoid spurious xfails.
8365 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
8366 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
8367 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
8368
8369Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
8370
8371 * gdb.t00/teststrategy.exp: Rework to provide more useful
8372 description of each test, fix problem with systems that define
8373 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
8374 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
8375 results for "next over recursive call" so timeouts aren't taken
8376 by error.
8377
8378Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
8379
8380 * gdb.t12/scope.exp: Test printing of variables before run.
8381
8382 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
8383 printed in wrong order due to sorting.
8384
8385Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
8386
8387 * gdb.t00/teststrategy.exp: Fix expected results for printing
8388 user entered string constant. Is array of char, prints with no
8389 address.
8390
8391 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
8392 commands.
8393 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
8394 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
8395 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
8396 of struct of char arrays.
8397 * gdb.t00/radix.exp: New tests for radix commands.
8398
8399Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
8400
8401 * gdb.t16/printcmd.exp: Print a variable before running program
8402 (with xfail for AIX).
8403
8404Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
8405
8406 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
8407
8408 * gdb.t16/printcmd.exp: Don't print variables before running program.
8409
8410 * gdb.t06/break.exp: Don't require envp argument to main.
8411
8412 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
8413
8414 * gdb.t02/whatis.exp, gdb.t11/list.exp:
8415 Add xfails for rs6000.
8416
8417 * gdb.t02/whatis.exp: Change other tests not to re-test something
8418 we already tested.
8419
8420 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
8421 each type used has a variable of that type.
8422
8423Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
8424
8425 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
8426
8427Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8428
8429 * configure.in: change srctrigger to be a file, not a directory
8430
8431Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
8432
8433 * configure.in (mips-idt-ecoff*): Added trailing '*'.
8434
8435 * gdb.t11/list.exp: Fixed a couple of typos.
8436
8437Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
8438
8439 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
8440 is fixed and PR is closed.
8441 * gdb.t16 (gdbme.c): Add simple test string variable.
8442 * gdb.t16 (printcmds.exp): Add tests with simple test string
8443 variable, primarily for boundaries on "set print elements".
8444
8445Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
8446
8447 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
8448 Make leading 0's optional and don't expect a tab in the middle
8449 of the number.
8450
8451 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
8452
8453 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
8454 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
8455 don't end command passed to gdb_test with newline.
8456
8457 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
8458 signed keyword away, don't expect signed bitfields to be signed.
8459
8460 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
8461 printing with only as many 1's as are in the field as well as printing
8462 with 32 1's (see comment).
8463
8464Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
8465
8466 * gdb.t00/default.exp: Start with a fresh gdb.
8467 * configure.in (configdirs): Remove gdb.t31 until the chill
8468 compiler works again. It no longer is able to find chillrt0
8469 since it isn't in libchill.a anymore.
8470 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
8471 wierd.o, make more modular.
8472 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
8473 spurious newlines that caused problems.
8474
8475Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8476
8477 * Move test with enums and partial symbols from gdb.t03/ptype.exp
8478 to gdb.stabs/wierd.exp since GCC has worked around the bug.
8479 gdb.stabs/wierd.{exp,def}: Many new tests.
8480
8481 * gdb.t00/default.exp: update info line for new message.
8482
8483 * gdb.t02/{whatis.exp,gdbme.c}:
8484 Test that "char *" doesn't print as "caddr_t".
8485
8486Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8487
8488 * gdb.t00/help.exp: Use .* in place of some help messages which
8489 just changed.
8490 gdb.t00/default.exp: Update "info frame" test for new message.
8491 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
8492 Remove some xfails
8493
8494Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8495
8496 * gdb.t03/{gdbme.c,ptype.exp}:
8497 Add tests for typedef'd struct and union without tags.
8498 Also check "whatis" on a variable of a typedef'd enum without a tag.
8499
8500 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
8501 PRMS 1823; the bug still exists but isn't reproduced by this test
8502 anymore), and remove rs6000 XFAIL (the bug is fixed).
8503
8504 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
8505 duplicated from whatis.exp. For those that are left, accept
8506 "long", "long int", or "int" for long variables (whatis.exp already
8507 has an XFAIL for "int", so no need to fail it here).
8508
8509 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
8510 Deal with GCC's names for types now that GDB uses the compiler's names.
8511
8512 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
8513 setup_xfail's for sunos4. If we #defined the signed keyword away,
8514 don't expect GDB to know that char it is signed.
8515
8516 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
8517
8518Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
8519
8520 * configure.in (configdirs): Add gdb.t24 for C++ tests that
8521 should work on any system, regardless of debugging format.
8522 * gdb.t21/demangle.exp: Move to gdb.t24.
8523 * gdb.t24/demangle.exp: Move from gdb.t21.
8524 * gdb.t24/{Makefile.in, configure.in}: New files.
8525
8526Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8527
8528 * configure.in: Do gdb.stabs and C++ tests only for stabs.
8529 * gdb.stabs: New directory.
8530
8531Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8532
8533 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
8534 not just "Quit anyway?".
8535
8536Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
8537
8538 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
8539 that all setup_xfails are immediately followed by clear_xfails.
8540
8541Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
8542
8543 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
8544 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
8545 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
8546 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
8547 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
8548 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8549 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8550 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
8551 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
8552 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
8553 gdb.t31/chillvars.exp, lib/gdb.exp:
8554 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
8555 bug-gdb@prep.ai.mit.edu.
8556
8557Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
8558
8559 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
8560 with 0.0, not integer 0.
8561
8562Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
8563
8564 * gdb.t06/break.exp: Update for "Kill the program" message change.
8565
8566Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
8567
8568 * Makefile.in (GDBFLAGS): Set to -nx.
8569 * Makefile.in (site.exp): Use GDBFLAGS.
8570
8571Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8572
8573 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
8574 Makefiles.
8575 (check): depend on just-check.
8576 (just-check): added so that tests can be run without a noop
8577 build pass.
8578
8579Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8580
8581 Switch to using configure's configdirs.
8582 * Makefile.in (Makefile): add configure.in dependency.
8583 (SUBDIRS): removed redundant assignment.
8584 * configure.in: switch subdirs assignment to configdirs.
8585 * gdb.t*/configure.in: new files.
8586
8587Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
8588
8589 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
8590 works.
8591
8592Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
8593
8594 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
8595 in explicit rules. Apparently this is not supported by some makes.
8596
8597Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
8598
8599 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
8600
8601Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8602
8603 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
8604 disappeared.
8605
8606Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
8607
8608 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
8609
8610Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
8611
8612 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
8613 watchpoint problem that is now fixed.
8614 * gdb.t30/chexp.exp: Remove setup_xfail for printing
8615 uninitialized convenience variables.
8616 * gdb.t31/chillvars.exp: Fix expected patterns for printing
8617 structures.
8618
8619Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8620
8621 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
8622 which causes expect to get out of sync with gdb on long output
8623 from help set.
8624 * gdb.t09/corefile.exp: Make expected pattern for core file
8625 failing signal and frame output format less sun specific.
8626
8627Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
8628
8629 * gdb.t31/chillvars.exp: Add and remove initial dummy
8630 breakpoint, so that symbol table is forced in.
8631 (Needed at least on Sunos4, though it seems not SVR4.)
8632 * gdb.t31/chillvars.exp: Update for changed output format.
8633
8634Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
8635
8636 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
8637
8638Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
8639
8640 * Makefile.in: Added --srcdir when invoking runtest, removed the
8641 need for a local config file. (optional now)
8642
8643Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
8644
8645 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
8646 failure count used to force early termination. Add some more
8647 expected failures for gnu style demangling.
8648
8649Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8650
8651 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
8652 pmi variable from gdb.t20/gdbme to get optimized away.
8653 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
8654 Check for written corefile upon timeout _and_ eof.
8655
8656Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8657
8658 * config/unix-gdb.exp: Add missing return 0.
8659
8660Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8661
8662 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
8663 test termination.
8664
8665Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
8666
8667 * configure.in (subdirs): Put back gdb.t17 which mysteriously
8668 disappeared.
8669
8670Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
8671
8672 * gdb.t10/crossload.exp: Disable the i860-elf test until such
8673 time as i860 support works.
8674
beb998c6 8675 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
8676 "backtrace 100\r" rather than just "backtrace\r", to match last
8677 change.
8678
8679Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
8680
8681 * config/udi-gdb.exp (gdb_exit): Remove close command.
8682 (gdb_target_udi): New procedure to set the UDI target.
8683 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
8684 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
8685 Added waits for prompts after several question responses. Added
8686 some more responses used by a29k-amd-udi-gdb.
8687 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
8688 pass different arguments, restart UDI connection after program
8689 completion.
8690 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
8691 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8692 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
8693 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
8694 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
8695 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
8696 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8697 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
8698 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
8699 after program completion.
8700 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
8701 compiled with a SELECT_VECS setting.
8702 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
8703 infinite recursion.
8704
8705 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
8706 Added checks for COFF results, and made them expected failures for
8707 all targets. It would be better to make them expected failures
8708 for COFF targets only.
8709
8710Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
8711
8712 * Makefile.in: add null dvi target, don't bother to recurse
8713 through test directories for info and install-info; rename
8714 $(datadir) to be dejagnu instead of deja-gnu
8715
8716Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
8717
8718 * gdb.t31/gdbme.ch: Re-enable code that previously caused
8719 compiler to coredump.
8720 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
8721 code.
8722
8723Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
8724
8725 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
8726 coredump.
8727 * gdb.t31/chillvars.exp: Comment out tests that depend on that
8728 code.
8729
8730Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
8731
8732 * gdb.t03/ptype.exp: tests for return code from gdb_test.
8733 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
8734 which in a shell. Deletes xgdb when done.
8735 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
8736 Tests the return from the "set height" or "set width" commands.
8737 Added a few return codes where needed.
8738
8739Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
8740
8741 * Makefile.in (SUBDIRS): Add gdb.t17.
8742 * configure.in (subdirs): Add gdb.t17.
8743 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
8744 files to test gdb's calling of functions in the inferior with
8745 the correct arguments and gdb's ability to retrieve any
8746 result returned.
8747
8748Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
8749
8750 * config/unix-gdb.exp (gdb_exit): Remove close commands that
8751 may be called after gdb goes away. Previous versions of expect
8752 needed these to avoid file descriptor leaks, but they cause
8753 errors with the current revision of expect.
8754 * gdb.t00/gdbvars.exp: Use -re on expected output after
8755 setting sevenbit-strings.
8756 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
8757 to set sevenbit-strings consistent across tests.
8758 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
8759 set sevenbit-strings consistent across tests.
8760
8761Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
8762
8763 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
8764 expected output to match current "expect" expectations.
8765
8766Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
8767
8768 * gdb.t00/default.exp: Change expected output for default "source"
8769 command, to match new gdb behavior which requires a filename to
8770 source.
8771
8772Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
8773
8774 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
8775 expected fail for i486-*-* that misses the marker2 function.
8776 * gdb.t10/crossload.exp (bfddefault): Allow successful
8777 recognition of a format to pass even if no symbols are found.
8778 Explicitly catch failures where the format is not recognized
8779 or is ambiguous, and add the reason to the fail message.
8780 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
8781 the cause is and invalid target and add reason to failure message.
8782 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
8783 elf32-i386, elf32-sparc, and elf32-i860.
8784 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
8785 Set up expected failure for 'filename'::variable scope resolution,
8786 which is now apparently broken on all targets.
8787 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
8788 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
8789 gdb.t23/templates.exp: Change failure for missing binfile into
8790 just a warning.
8791 gdb.t21/demangle.exp: Change all cfront references to 'arm'
8792 references.
8793
8794Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
8795
8796 * gdb.t00/default.exp: Add expected output for default "source"
8797 command, to match new gdb behavior.
8798 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
8799
8800Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
8801
8802 * config/*-gdb.exp: returns an error, rather than exiting on
8803 internal errors.
8804
8805Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
8806
8807 * gdb.t03/gdbme.c: Add pointer to struct variable.
8808 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
8809 referencing struct members.
8810
8811Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
8812
8813 * configure.in (mips-idt-ecoff): New target.
8814 * config/mips-gdb.exp: New file for remote board using MIPS remote
8815 debugging protocol.
8816
8817 * Redid configuration scheme. Removed gdb.t*/configure.in.
8818 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
8819 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
8820 distclean targets. Built executables via .o files. Adjusted
8821 tests to account for source files in $(srcdir) rather than
8822 $(objdir).
8823 * lib/gdb.exp (runto): Don't expect () after the function name,
8824 because it may have arguments.
8825
8826Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
8827
8828 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
8829 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
8830 expected failures for mips-idt-* and mips-sgi-*.
8831 * gdb.t00/default.exp (attach): Kill process if requested.
8832 * gdb.t00/help.exp (help target core, help target): Accept a gdb
8833 that does not read core files.
8834 * gdb.t01/run.exp: Removed checks for exit status code.
8835 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
8836 it is linked in.
8837 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
8838 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
8839 appropriate, rather than doing it by hand.
8840 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
8841 execution.
8842 * gdb.t10/crossload.exp: Kill existing program if needed.
8843 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
8844 appropriate, rather than doing it by hand. Always increase
8845 timeout for this test, not just for VxWorks.
8846
8847Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
8848
8849 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
8850 of Chill STRUCT types and STRUCT values.
8851 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
8852 than "char".
8853 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 8854 struct2): New struct definitions and initializations to test
c906108c
SS
8855 simple Chill STRUCT types.
8856
8857Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
8858
8859 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
8860 the null byte at the end of strings.
8861 * gdb.t00/default.exp: Make show version insensitive to copyright
8862 date.
8863 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
8864 to avoid dependencies on target char signedness.
8865 * gdb.t16/printcmds.exp: Update expected results for explicitly
8866 unsigned char.
8867 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
8868 now work.
8869 * gdb.t21/demangle.exp: Add many more patterns for template
8870 demangling, most of them being expected failures.
8871 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
8872 string we are matching for, to match on the whole string.
8873 * gdb.t21/demangle.exp: Add many new test strings to demangle,
8874 and fix a whole bunch that had incorrect expected output but were
8875 passing anyway because of the bug in "proc demangle".
8876 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
8877 type.
8878 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
8879
8880Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
8881
8882 * gdb/testsuite: made modifications to testcases, etc., to allow
8883 them to work properly given the reorganization of deja-gnu and the
8884 relocation of the testcases from deja-gnu to a "tool" subdirectory.
8885
8886Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
8887
8888 * gdb/testsuite: Initial creation of gdb/testsuite.
8889 Migrated dejagnu testcases and support files for testing nm to
8890 gdb/testsuite from deja-gnu. These files were moved "as is"
8891 with no modifications. This migration is part of a major overhaul
8892 of dejagnu. The modifications to these testcases, etc., which
8893 will allow them to work with the new version of dejagnu will be
8894 made in a future update.
8895\f
8896Local Variables:
8897mode: indented-text
8898left-margin: 8
8899fill-column: 74
8900version-control: never
8901End: