Add WS_CAPTION dialog style if CAPTION is specified.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3a63e3f9
MC
12002-04-08 Michael Chastain <mec@shout.net>
2
3 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4 in a const method. Add some xfail and fail cases for configurations
5 that do not emit the "const ...".
6
f18dabd2
MC
72002-04-07 Michael Chastain <mec@shout.net>
8
9 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
10 Accept "A * const" and "const A * const" as type of "this".
11 Fix spelling of getFunky throughout. Make messages uniform.
12
0fcddd82
EZ
132002-04-07 Elena Zannoni <ezannoni@redhat.com>
14
15 Work around for PR gdb/285:
16 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17
16a8534a
EZ
182002-04-07 Elena Zannoni <ezannoni@redhat.com>
19
20 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
21 instructions file at run time instead of configure time.
22 Sometimes we run the test in a directory that is not the one we
23 configured in.
24 * gdb.asm/configure.in: Delete creation of symlink.
25 * gdb.asm/configure: Regenerate.
26
24181d81
JB
272002-04-05 J. Brobecker <brobecker@gnat.com>
28
29 * gdb.gdb/xfullpath.exp: New test, to exercise the new
30 xfullpath () function.
31
7cdb7107
DJ
322002-04-04 Daniel Jacobowitz <drow@mvista.com>
33
34 * gdb.asm/Makefile.in: Correct dependencies.
35
36 * gdb.asm/powerpc.inc: New file.
37 * gdb.asm/asm-source.exp: Add PowerPC.
38 * gdb.asm/configure.in: Likewise.
39 * gdb.asm/configure: Regenerated.
40
a7d17088
DJ
412002-04-04 Daniel Jacobowitz <drow@mvista.com>
42
43 * gdb.base/relocate.exp: New file.
44 * gdb.base/relocate.c: New file.
45
cd721503
FF
462002-04-04 Fred Fish <fnf@redhat.com>
47
48 * gdb.base/step-test.exp: Update comment regarding stopping in
49 memcpy/bcopy calls inserted as part of the compiler runtime.
50
b22ad7a7
MS
512002-04-04 Michael Snyder <msnyder@redhat.com>
52
53 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
54
5f279fa6
DJ
552002-04-03 Daniel Jacobowitz <drow@mvista.com>
56
57 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
58 (gdb_expect): Remove $notransfer hack.
59
dd0fd3ce
DJ
602002-04-02 Daniel Jacobowitz <drow@mvista.com>
61
62 * gdb.c++/classes.exp ("calling method for small class"): Match
63 updated register output.
64
1e50cda1
DJ
652002-03-30 Daniel Jacobowitz <drow@mvista.com>
66
67 Fix PR gdb/452
68 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
69 when finished. Make gdb_file_cmd send "exec-file" when
70 appropriate.
71
24015922
DJ
722002-03-30 Daniel Jacobowitz <drow@mvista.com>
73
74 * gdb.base/attach.exp: Remove extra setup_xfail.
75
dd7dfd64
MS
762002-03-26 Michael Snyder <msnyder@redhat.com>
77
78 * gdb.base/default.exp: Add tests for dump, append, and restore.
79 * gdb.base/help.exp: Add tests for dump, append, and restore.
80 * gdb.base/dump.exp: New file, test dump, append and restore.
81 * gdb.base/dump.c: New file.
82
48b2f8d7
MS
832002-03-27 Michael Snyder <msnyder@redhat.com>
84
85 * gdb.base/help.exp: Modify expect strings to reflect
86 clean-ups in help messages.
87
05b4d525
FF
882002-03-26 Fred Fish <fnf@redhat.com>
89
90 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
91 have debugging info for those functions and the compiler uses them
92 internally to copy structs around.
93
d7679631
FF
942002-03-26 Fred Fish <fnf@redhat.com>
95
96 * gdb.base/list.exp: Revert the change made yesterday and add note
97 about why we don't list the default lines for remote targets.
98
523ac3f9
MS
992002-03-25 Michael Snyder <msnyder@redhat.com>
100
101 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
102
754b2b8d
FF
1032002-03-25 Fred Fish <fnf@redhat.com>
104
105 * gdb.base/list.exp: This test works on remote targets so remove
106 the short circuit for remote targets. Update copyright.
107
33c3e192
FF
1082002-03-25 Fred Fish <fnf@redhat.com>
109
110 * gdb.base/attach.exp: Fix logic error that was suppressing this
111 test for all non hppa*-*-hpux* targets, instead of the hp target.
112 Move comments closer to the suppression point. Also now need to
113 check that we are running natively.
114
d43e73ee
MS
1152002-03-22 Michael Snyder <msnyder@redhat.com>
116
882c8f02
MS
117 * gdb.base/default.exp: Add test for gcore. Update copyright.
118 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 119
04c12f60
FF
1202002-03-06 Fred Fish <fnf@redhat.com>
121
122 * gdb.base/funcargs.c: Remove extraneous ';' character.
123 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
124
b43df995
MC
1252002-03-04 Michael Chastain <mec@shout.net>
126
127 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
128 accommodate gcc v3 function signature.
129 * gdb.mi/mi0-var-cmd-exp: Ditto.
130
92362027
AC
1312002-02-24 Andrew Cagney <ac131313@redhat.com>
132
133 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
134 ``GNU/Linux'' or ``Linux kernel''
135 * testsuite/gdb.threads/pthreads.c: Ditto.
136
258ad32d
MC
1372002-02-24 Michael Chastain <mec@shout.net>
138
139 * gdb.threads/pthreads.c (thread1): Add a return statement.
140 (thread2): Likewise.
141 (foo): Likewise.
142
04c3b3d4
MC
1432002-02-23 Michael Chastain <mec@shout.net>
144
145 * gdb.threads/linux-dp.c (philosopher): Add a return statement
146 to placate gcc.
147
5a2a0a20
MC
1482002-02-23 Michael Chastain <mec@shout.net>
149
150 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
151 test "ptype bint". The test passes on all my stabs configurations.
152
a640f7fc
JB
1532002-02-21 Jim Blandy <jimb@redhat.com>
154
27924826
JB
155 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
156 filename at a time, and watch for the ones we want to see.
157
a640f7fc
JB
158 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
159 types of pointers to prototyped functions.
160
edcc8c75
AC
1612002-02-20 Andrew Cagney <ac131313@redhat.com>
162
163 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
164 signed, unsigned and straight char.
165 (padding_char, padding_short, padding_int, padding_long,
166 padding_long_long, padding_float, padding_double,
167 padding_long_double): New global variables.
168 (fill, fill_structs): New functions.
169
170 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
171 for correctly sized writes. Update copyright.
172 (get_valueof): New procedure.
173 (get_sizeof): Call get_valueof.
174 (check_valueof): New procedure.
175 (check_padding): New procedure.
176
ac57ea44
MC
1772002-02-20 Michael Chastain <mec@shout.net>
178
179 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
180 to setup_xfail. Document some of the remaining calls.
181
7a10c941
MC
1822002-02-18 Michael Chastain <mec@shout.net>
183
184 * gdb.c++/userdef.exp: Update copyright year.
185
fb8acdcc
DJ
1862002-02-18 Daniel Jacobowitz <drow@mvista.com>
187
188 * gdb.c++/userdef.exp: Test overloaded operators properly.
189 Remove xfails.
190
676a0442
DJ
1912002-02-14 Daniel Jacobowitz <drow@mvista.com>
192
193 * gdb.base/a2-run.exp: Check for a remote target properly.
194 * gdb.base/annota1.exp: Likewise.
195 * gdb.base/list.exp: Likewise.
196 * gdb.base/reread.exp: Likewise.
197 * gdb.base/scope.exp: Likewise.
198 * gdb.base/shlib-call.exp: Likewise.
199 * gdb.base/term.exp: Likewise.
200 * gdb.c++/annota2.exp: Likewise.
201
78b4f468
RE
2022002-02-13 Richard Earnshaw <rearnsha@arm.com>
203
204 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
205
9a81ba51
MC
2062002-02-10 Michael Chastain <mec@shout.net>
207
208 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
209 (call_after_alloca): Ditto.
210
004af6c7
DJ
2112002-02-10 Daniel Jacobowitz <drow@mvista.com>
212
213 * gdb.base/ending-run.exp: Guard "cont" test with
214 gdb_skip_stdio_test.
215
37225f62
JB
2162002-02-06 Jim Blandy <jimb@redhat.com>
217
218 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
219 from here...
220 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
221 To here. Disable this test on non-HP platforms. Add big comment.
222
fe6fdd96
MS
2232002-02-04 Michael Snyder <msnyder@redhat.com>
224
225 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
226 other than d10v and m32r.
227
036fad3f
RE
2282002-02-02 Richard Earnshaw <rearnsha@arm.com>
229
230 * gdb.base/default.exp: Rewrite test patterns to reduce time
231 taken to match them.
232
7148ab62
DJ
2332002-01-30 Daniel Jacobowitz <drow@mvista.com>
234
235 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
236 Allow a start function above main.
237 * gdb.threads/linux-dp.exp: Fix copyright date.
238
396cc255
DJ
2392002-01-30 Daniel Jacobowitz <drow@mvista.com>
240
241 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
242 (check_philosopher_stack): Check for manager thread before checking
243 for a just-starting thread.
244
f038d31b
DJ
2452002-01-30 Daniel Jacobowitz <drow@mvista.com>
246
247 From Neil Booth <neil@daikokuya.demon.co.uk>:
248 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
249 warnings.
250
b3ff9d9a
FF
2512002-01-21 Fred Fish <fnf@redhat.com>
252
253 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
254 not caller.
255
39ad761d
JB
2562002-01-21 Jim Blandy <jimb@redhat.com>
257
258 * gdb.base/reread.exp: Check that GDB properly re-reads the
259 executable file when it changes while no inferior is running.
260
aaf320fa
FF
2612002-01-21 Fred Fish <fnf@redhat.com>
262
263 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
264 optionally accept the "shlib events" variation.
265
808a31f5
JB
2662002-01-21 Jim Blandy <jimb@redhat.com>
267
268 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
269 call `fflush' after every `printf', so that the output is produced
270 at predictable points, regardless of whatever buffering does (or
271 doesn't) take place.
272 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
273 at different points.
274
4420d5e2
DJ
2752002-01-20 Daniel Jacobowitz <drow@mvista.com>
276
277 * gdb.c++/inherit.exp: Update copyright years.
278 * gdb.c++/method.exp: Likewise.
279
3e36a0f4
DJ
2802002-01-20 Daniel Jacobowitz <drow@mvista.com>
281
282 * gdb.c++/classes.exp: Update for improved v3 support and skipping
283 artificial methods/arguments.
284 * gdb.c++/derivation.exp: Likewise.
285 * gdb.c++/inherit.exp: Likewise.
286 * gdb.c++/method.exp: Likewise.
287 * gdb.c++/virtfunc.exp: Likewise.
288
b4ceaee6
AC
2892002-01-18 Andrew Cagney <ac131313@redhat.com>
290
291 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
292 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
293 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
294 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
295 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
296 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
297
ecace851
JB
2982002-01-17 Jim Blandy <jimb@redhat.com>
299
300 * gdb.asm/asm-source.exp (info symbol): Take another shot at
301 anchoring the pattern matching the entry point symbol's name.
302
375fc983
AC
3032002-01-17 Andrew Cagney <ac131313@redhat.com>
304
305 * gdb.base/maint.exp: Update ``maint internal-error'' to match
306 continue/quit query. Update copyright.
307
fe6fdd96
MS
3082002-01-14 Michael Snyder <msnyder@redhat.com>
309
310 * gdb.base/gcore.exp: Remove extra debugging output.
311
e017c81f
DJ
3122002-01-13 Daniel Jacobowitz <drow@mvista.com>
313
314 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
315 for slightly dubious v2 mangled string.
316
37ab3bf8
DJ
3172002-01-13 Daniel Jacobowitz <drow@mvista.com>
318
319 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
320
1bc05c3a 3212002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 322
1bc05c3a 323 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 324
1bc05c3a
JM
325 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
326 constructors.
327 * gdb.c++/derivation.exp: Likewise.
328 * gdb.c++/templates.exp: Likewise.
329 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 330
1bc05c3a
JM
3312002-01-10 Michael Snyder <msnyder@redhat.com>
332
333 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 334
a911c360
MS
3352002-01-08 Michael Snyder <msnyder@redhat.com>
336
337 * gdb.base/gcore.exp: New test for generate-core-file command.
338 * gdb.base/gcore.c: Testcase for above.
339 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
340
ea2119ec
JM
3412002-01-08 Jason Merrill <jason@redhat.com>
342
343 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
344
68203136
FF
3452002-01-07 Fred Fish <fnf@redhat.com>
346
347 * gdb.c++/overload.exp: Remove unconditional xfails for:
348 print foo_instance1.overloadargs(1)
349 print foo_instance1.overloadargs(1, 2)
350 print foo_instance1.overloadargs(1, 2, 3)
351 print foo_instance1.overloadargs(1, 2, 3, 4)
352 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
353 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
354 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
355 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
356 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
357 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
358 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
359 print foo_instance1.overload1arg()
360 print foo_instance1.overload1arg((char)arg2)
361 print foo_instance1.overload1arg((signed char)arg3)
362 print foo_instance1.overload1arg((unsigned char)arg4)
363 print foo_instance1.overload1arg((int)arg7)
364 print foo_instance1.overload1arg((unsigned int)arg8)
365 print foo_instance1.overload1arg((float)arg11)
366 print foo_instance1.overload1arg((double)arg12)
367
21b9b5b1
MS
3682002-01-07 Michael Snyder <msnyder@redhat.com>
369
370 * gdb.base/huge.exp: New test. Print a very large target data object.
371 (skip_huge_test): New test variable. Define if you want to skip this
372 test. The test reads an 8 megabyte data object from the target, so it
373 might be very time consuming on remote targets with a slow connection.
374 * gdb.base/huge.c: New file. Test case for above.
375
725f922e
FF
3762002-01-07 Fred Fish <fnf@redhat.com>
377
378 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
379 g_instance.bfoo, and g_instance.cfoo.
380
634d57ec
JL
381Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
382
f286b2c3
JL
383 * gdb.base/break.c (multi_line_if_conditional): New function.
384 (multi_ilne_while_conditional): Likewise.
385 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
386 IF or WHILE condition puts the breakpoint at the start of
387 the condition.
388
634d57ec
JL
389 * gdb.base/selftest.exp (backtrace through signal handler): Remove
390 hppa*-*-hpux* expected failure.
391 * gdb.base/structs.exp (do_function_calls): Similarly.
392
393 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
394 watchpoints.
395
9fbfe2dc
AC
3962002-01-06 Andrew Cagney <ac131313@redhat.com>
397
398 Fix PR gdb/66.
399 * gdb.base/structs.exp: Replace skip for a29k with skip for
400 gdb,cannot_call_functions.
401 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
402 * gdb.base/callfuncs.exp: Ditto.
403 * gdb.base/call-rt-st.exp: Ditto.
404 * gdb.base/call-strs.exp: Ditto.
405 * gdb.base/callfwmall.exp: Ditto.
406 * gdb.base/scope.exp: Obsolete xfail a29k.
407 * gdb.c++/misc.exp: Ditto.
408 * gdb.c++/cplusfuncs.exp: Ditto.
409 * gdb.base/ptype.exp: Ditto.
410 * gdb.base/printcmds.exp: Ditto.
411 * gdb.base/opaque.exp: Ditto.
412 * gdb.base/list.exp: Ditto.
413 * gdb.base/funcargs.exp: Ditto.
414 * gdb.base/default.exp: Ditto.
415
8ddad156
MS
4162002-01-04 Michael Snyder <msnyder@redhat.com>
417
ca4976a6 418 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
419 * gdb.base/maint.exp: Add tests for maint info sections options.
420
1b074332
JL
421Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
422
423 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
424
7d159115
CV
4252001-12-20 Corinna Vinschen <vinschen@redhat.com>
426
427 * gdb.asm/arm.inc: New file.
428 * gdb.asm/asm-source.exp: Add arm targets.
429 * gdb.asm/configure.in: Ditto.
430 * gdb.asm/configure: Recreated from configure.in.
431
8fb87725
JL
432Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
433
afabe08c
JL
434 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
435 with HP's compiler.
436 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
437 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
438 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
439 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
440
441 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
442 either HP's compilers or GCC.
443
db521deb
JL
444 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
445 a SIGBUS or SIGSEGV.
446
447 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
448
449 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
450 can be compiled with either HP's compiler or GCC.
451
cfa88ab7
JL
452 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
453 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
454 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
455
ca344dff
JL
456 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
457 to match current gdb output. Update due to using auto-solib-limit
458 for limiting instead of overloading auto-solib-add.
459 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
460 test program.
461
3f3c6e55 462 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
463 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
464 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
465 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
466 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
467 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
468 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
469 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
470 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
471 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
472 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
473 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
474 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 475
8fb87725
JL
476 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
477 a SIGTRAP to the inferior.
478
cf599fa7
CV
4792001-12-19 Corinna Vinschen <vinschen@redhat.com>
480
481 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
482 Substitute call to target_link by call to gdb_compile.
483
2cd045cd
JL
484Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
485
486 * gdb.base/break.exp: Fix HP specific search string when testing
487 backtracing in a called function.
488
489 * gdb.base/constvars.exp: Only set lang to C++ if we're
490 compiling the test with HP's compilers.
491 * gdb.base/volatile.exp: Similarly.
492
99ebe9ac
JB
4932001-12-19 Jim Blandy <jimb@redhat.com>
494
495 * gdb.base/printcmds.exp: Expect the null character to be printed
496 as '\0', and the '\013' to be printed as '\v'.
497 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
498 * gdb.base/setvar.exp: Same.
499
b9891b29
JB
5002001-12-17 Jim Blandy <jimb@redhat.com>
501
0eba65ab
JB
502 * gdb.base/completion.exp: Rather than completing very long
503 filenames, which can make the readline library produce output we
504 don't recognize, cd to the directory first, and then complete
505 using nice, short relative paths.
506
6970b5b1
JB
507 * gdb.base/completion.exp: On some systems, there is, in fact, a
508 variable named `b' in scope, since GDB treats all static
509 variables as being in scope. So use `no_var_named_this'
510 instead of `b'.
511
b9891b29
JB
512 * gdb.base/corefile.exp: Recognize the message saying that GDB
513 can't find the core file's registers as a failure.
514
e6ccd35f
JSC
5152001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
516
517 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
518 test expect string more specific.
519
105ba819
CV
5202001-12-13 Corinna Vinschen <vinschen@redhat.com>
521
522 * gdb.asm/asm-source.exp: Add support for xstormy16.
523 * gdb.asm/configure.in: Ditto.
524 * gdb.asm/configure: Rebuild.
525 * gdb.asm/xstormy16.inc: New file.
526
e9e79dd9
FF
5272001-12-10 Fred Fish <fnf@redhat.com>
528
529 * gdb.base/maint.exp: Update to match changes in type dumping code.
530
347dc97d
JB
5312001-12-10 Jim Blandy <jimb@redhat.com>
532
533 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
534 matching the entry point symbol's name at the beginning of the
535 line.
536
5178b9d6
DJ
5372001-12-07 Daniel Jacobowitz <drow@mvista.com>
538
539 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
540 gdb.c++/inherit.exp, gdb.c++/method.exp,
541 gdb.c++/namespace.exp, gdb.c++/templates.exp,
542 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
543 and class layout support.
544
af890c52
DJ
5452001-12-07 Daniel Jacobowitz <drow@mvista.com>
546
547 * gdb.c++/classes.exp: Add test for static member function.
548 * gdb.c++/misc.cc: Add class with static member function.
549
7a345fb3
JB
5502001-12-07 Jim Blandy <jimb@redhat.com>
551
f2e54a80 552 If GDB says it can't find the struct the function returned, report
8032bf31
JB
553 those tests as `unsupported'.
554 * gdb.base/call-rt-st.exp (print_struct_call): New function.
555 Rewrite subsequent tests to use it.
556
557 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
558 those tests as `unsupported'.
559 * gdb.base/structs.exp (call_struct_func): New function.
560 (do_function_calls): Use call_struct_func to call the functions
561 returning structs.
562
0bc69509
JB
563 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
564 whether functions are prototyped or not, so we can't possibly pass
565 arguments to t_float_values2 properly.
566
7a345fb3
JB
567 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
568 value of `timeout' for targets other than the mips*tx39-*.
569
edb6ede1
MS
5702001-12-06 Michael Snyder <msnyder@redhat.com>
571
572 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
573 and detect whether the start symbol has a leading underscore.
574
2d842f13
JB
5752001-12-04 Jim Blandy <jimb@redhat.com>
576
577 * gdb.base/completion.exp: Clarify indentation.
578
68550daf
JB
5792001-12-03 Jim Blandy <jimb@redhat.com>
580
581 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
582 variables on the S/390, not `.word'.
583
cd5195a8
JB
5842001-11-30 Jim Blandy <jimb@redhat.com>
585
586 Add assembly-source tests for s390-ibm-linux.
587 * gdb.asm/s390.inc: New file.
588 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
589 the S/390 architecture.
590 * gdb.asm/configure: Regenerated.
591
ca9efc90
MS
5922001-11-30 Michael Snyder <msnyder@redhat.com>
593
594 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
595 next, info source, info sources, info line, global and static
596 variables, and static functions.
597 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
598 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
599 * gdb.asm/asmsrc1.s: Add a static function and some variables.
600 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
601 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
602 (gdbasm_leave): Restore frame pointer.
603 (gdbasm_startup): Copy stack set-up from crt0.S.
604
d0e66976
FN
6052001-11-26 Fernando Nasser <fnasser@redhat.com>
606
607 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
608 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
609 to a local (non-static) variable. Copy tstruct.a to a static buffer
610 and return a pointer to that buffer.
611 * gdb.base/callfwmall.c (t_structs_a): Ditto.
612
e2334072
MK
6132001-11-24 Mark Kettenis <kettenis@gnu.org>
614
615 * gdb.asm/configure.in: Fix recognition of ix86 target.
616 * gdb.asm/configure: Regenerate.
617
756caa3d
MS
6182001-11-21 Michael Snyder <msnyder@redhat.com>
619
620 * gdb.asm/sparc.inc: New file.
621 * gdb.asm/asm-source.exp: Recognize sparc target.
622 * gdb.asm/configure.in: Recognize sparc target.
623 * gdb.asm/configure: Regenerate.
624
9a4d72d5
MS
6252001-11-21 Michael Snyder <msnyder@redhat.com>
626
627 * gdb.asm/m32r.inc: New file.
628 * gdb.asm/asm-source.exp: Recognize m32r target.
629 * gdb.asm/configure.in: Recognize m32r target.
630 * gdb.asm/configure: Regenerate.
631
a773d1cd
MS
6322001-11-20 Michael Snyder <msnyder@redhat.com>
633
017ac23d
MS
634 * gdb.asm/i386.inc: New file.
635 * gdb.asm/asm-source.exp: Recognize ix86 target.
636 * gdb.asm/configure.in: Recognize ix86 target.
637 * gdb.asm/configure: Regenerate.
638
a773d1cd
MS
639 * gdb.c++/namespace.exp: Fix quotes in output messages.
640
bb632afb
MS
6412001-11-14 Michael Snyder <msnyder@redhat.com>
642
25d559ca 643 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
644 qualifier in a type cast expression, to designate an address
645 in the instruction space (Harvard architecture).
646
4749e309
MS
6472001-11-13 Michael Snyder <msnyder@redhat.com>
648
649 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
650 Tests for expressions using 'const' and 'volatile'.
651
25050984
CV
6522001-11-13 Corinna Vinschen <vinschen@redhat.com>
653
654 * gdb.asm/asm-sources.exp: Allow defining linker flags.
655
1902c51f
DJ
6562001-11-12 Daniel Jacobowitz <drow@mvista.com>
657
658 * lib/mi-support.exp (mi_run_to_helper): Move comments
659 outside of gdb_expect.
660
dcf95b47
DJ
6612001-11-11 Daniel Jacobowitz <drow@mvista.com>
662
663 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
664 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
665 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
666 mi0_run_to): New functions.
667 * gdb.mi/mi-simplerun.exp: Use them.
668 * gdb.mi/mi0-simplerun.exp: Likewise.
669 * gdb.mi/mi-var-cmd.exp: Likewise.
670 * gdb.mi/mi0-var-cmd.exp: Likewise.
671
45b074e1
AC
6722001-11-10 Andrew Cagney <ac131313@redhat.com>
673
674 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
675 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
676
bf50d346
AC
6772001-11-09 Andrew Cagney <ac131313@redhat.com>
678
679 * gdb.base/restore.exp: Include $expected value in restored test
680 message.
681
9383332c
AC
6822001-11-09 Andrew Cagney <ac131313@redhat.com>
683
684 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
685 implemented.
686
db62520a
MS
6872001-11-08 Michael Snyder <msnyder@redhat.com>
688
689 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
690 Add pass/fail message for stop at breakpoint in call dummy function.
691
b5703437
MS
6922001-11-07 Michael Snyder <msnyder@redhat.com>
693
760f6330
MS
694 * gdb.c++/templates.exp (test_template_breakpoints):
695 If we get an overload menu, but it does not match what
696 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
697 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
698 making the whitespace optional. Argument for "new" may be
699 "unsigned" as well as "unsigned int/long".
eef747c0
MS
700 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
701 making the whitespace optional. Also replace "(void) with
702 "((void|)), making the keyword "void" optional.
63f50499
MS
703 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
704 making the whitespace optional. Also replace "(void) with
705 "((void|)), making the keyword "void" optional.
3bf40917
MS
706 * gdb.base/callfuncs.c (t_float_values): This function must
707 _not_ be prototyped, and the following function (t_float_values2)
708 must be prototyped (if the compiler supports it), so that GDB
709 can be tested against both cases. Usually one case involves
710 promotion of float to double, while the other does not.
711 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
712 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
713 includes a stack frame for "start".
714
c8ab4e6d
JB
7152001-11-05 Jim Blandy <jimb@redhat.com>
716
717 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
718 pointers are 32 bits long, and that offsets of relocs are always
719 stored in the data (REL-style), and not in the reloc entry itself
720 (RELA-style).
721 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
722 stabs.
723
3f08ced9
MS
7242001-11-01 Michael Snyder <msnyder@redhat.com>
725
726 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
727 and regular expression operators by using quoting.
728
cbfa24cd
MS
7292001-10-31 Michael Snyder <msnyder@redhat.com>
730
731 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
732 depending on what the symbol table contains.
733 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
734 the output of the ptype command. Similarly, accept both "const &"
735 and "const&".
736
aaa68313
CV
7372001-10-31 Corinna Vinschen <vinschen@redhat.com>
738
739 * gdb.base/miscexprs.c (main): Add usage of preprocessor
740 symbol `STORAGE' to allow to choose the storage class of
741 the local datastructures.
742 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
743 compiler directive.
744
91740388
MS
7452001-10-30 Michael Snyder <msnyder@redhat.com>
746
747 * gdb.base/jump.exp: Allow it to run for all targets.
748
1b7c05e7
CV
7492001-10-29 Corinna Vinschen <vinschen@redhat.com>
750
751 * gdb.base/call-ar-st.c (print_double_array): Match for loop
752 with new double_array size.
753 (main): Change storage class of all local variables to static.
754 Reduce size of double_array to 9.
755 * gdb.base/call-ar-st.exp: Increase timeout value.
756 Change expected output for double array to match new size in
757 call-ar-st.c.
758
36a22261
CV
7592001-10-29 Corinna Vinschen <vinschen@redhat.com>
760
761 * gdb.base/ending-run.exp: Create identical output when passing
762 `step to end of run' case. Add regular expression branch satisfying
763 Stormy16 target.
764
92b8ae91
MK
7652001-10-28 Mark Kettenis <kettenis@gnu.org>
766
767 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
768 that we catch the expected failure under Linux/x86.
769
cb135b83
OF
7702001-10-29 Orjan Friberg <orjanf@axis.com>
771
772 * gdb.base/setvar.exp: Escape curly braces.
773 * gdb.stabs/weird.exp: Ditto.
774
6884aa54
DJ
7752001-10-27 Daniel Jacobowitz <drow@mvista.com>
776
777 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
778 * gdm.mi/mi0-hack-cli.exp: Likewise.
779
0398c9aa
AC
7802001-10-25 Andrew Cagney <ac131313@redhat.com>
781
782 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
783 messages.
784
d20bf2e8
AC
7852001-10-21 Andrew Cagney <ac131313@redhat.com>
786
787 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
788 checking MI enabled.
789
03dd63aa
CV
7902001-10-09 Corinna Vinschen <vinschen@redhat.com>
791
792 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
793
1d9d99f3
FCE
7942001-10-04 Frank Ch. Eigler <fche@redhat.com>
795
796 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
797 if gdb child process crashes, just signal an error.
798
838ae6c4
JB
7992001-10-02 Jim Blandy <jimb@redhat.com>
800
801 * lib/gdb.exp (test_xfail_format): Simplify.
802
803 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
804 front of the variable name `format'. Simplify `if'.
805
8f0cbc1c
DJ
8062001-10-01 Daniel Jacobowitz <drow@mvista.com>
807
808 * gdb.threads/pthreads.exp: Wait for output and delay
809 before sending ^C.
810
1f08dafd
DJ
8112001-10-01 Daniel Jacobowitz <drow@mvista.com>
812
813 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
814 some incorrect output instead of timing out.
815 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
816
674f90ff
CV
8172001-09-28 Corinna Vinschen <vinschen@redhat.com>
818
819 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
820 check to allow additional `int'.
821
9b284272
DJ
8222001-09-27 Daniel Jacobowitz <drow@mvista.com>
823
824 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
825 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
826
b55a4771
MS
8272001-09-27 Michael Snyder <msnyder@redhat.com>
828
829 * lib/gdb.exp (test_debug_format): New proc.
830 (setup_xfail_format): Use new proc test_debug_format.
831 * gdb.base/constvars.exp (local_compiler_xfail_check): New
832 proc; use new service proc test_debug_format.
833 Replace all other "gcc_compiled" tests with this test.
834 * gdb.base/volatile.exp (local_compiler_xfail_check): New
835 proc; use new service proc test_debug_format.
836 Replace all other "gcc_compiled" tests with this test.
837
8382001-09-27 Michael Snyder <msnyder@redhat.com>
839
840 * gdb.base/cvexpr.exp: New file.
841 * gdb.base/cvexpr.c: New file
842 Test for expressions using const and volatile keywords.
843
4e6667ac
CV
8442001-09-26 Corinna Vinschen <vinschen@redhat.com>
845
846 * gdb.base/constvars.exp: Check for different orders of keywords
847 and additional "int" strings in output.
848
4f337972
AC
8492001-09-22 Andrew Cagney <ac131313@redhat.com>
850
851 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
852 responses from "help maint".
853
2015650d
FCE
8542001-09-19 Frank Ch. Eigler <fche@redhat.com>
855
856 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
857 to localhost:NNN instead of :NNN, in case Xvfb is listening
858 only on TCP.
859
f3bcedc1
CV
8602001-09-19 Corinna Vinschen <vinschen@redhat.com>
861
862 * gdb.base/recurse.exp: When checking leaving the watchpoint
863 scope, recognize when gdb is in function's epilogue and pass.
864
6b819c92
KS
8652001-09-18 Keith Seitz <keiths@redhat.com>
866
867 * lib/insight-support.exp (_gdbtk_export_target_info): Add
868 support for running tests against sid targets.
869 (gdbtk_done): Ditto.
870
a10c9419
CV
8712001-09-18 Corinna Vinschen <vinschen@redhat.com>
872
873 * gdb.base/ending-run.c (main): Set stdout buffersize
874 to the same reasonable value for any target.
875 * gdb.base/ending-run.exp: Add a regular expression
876 to make testsuite happy on Sanyo Stormy16 target.
877
739d0d99
CV
8782001-09-17 Corinna Vinschen <vinschen@redhat.com>
879
880 * gdb.base/display.c (do_loops): Add float variable `f'.
881 Increment f in loop.
882 * gdb.base/display.exp: Increment timeout by 60 seconds.
883 Change float display test to use variable `f'.
884
1b8947f0
JB
8852001-09-17 Jim Blandy <jimb@redhat.com>
886
887 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
888 overflowing the limited breakpoint tables on some ROM monitors
889 (like the ROM68K).
890
9890ac81
FCE
8912001-09-15 Frank Ch. Eigler <fche@redhat.com>
892
893 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
894 the "-ac" (disable access control) flag.
895
6db765ea
JH
8962001-08-30 Jeff Holcomb <jeffh@redhat.com>
897
898 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
899 ints.
900
4c32cc04
KS
9012001-08-30 Keith Seitz <keiths@redhat.com>
902
903 * lib/gdb.exp: Move all insight-related functionality into
904 separate file.
905 * lib/insight-support.exp: New file.
906
8d6e6f81
FCE
9072001-08-29 Frank Ch. Eigler <fche@redhat.com>
908
909 * config/sid.exp (sid_start): Never set sid verbosity; disable
910 expect_background {} that consumed its stdout; tolerate </dev/null.
911 Attempt to set endianness override in "sid" protocol mode. Cleanup.
912
6a90e1d0
AC
9132001-08-18 Andrew Cagney <ac131313@redhat.com>
914
915 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
916 CLI jump command to start it.
917 (mi_run_to_main): Fail immediatly when unexpected output.
918
1759b3c3
AC
9192001-08-18 Andrew Cagney <ac131313@redhat.com>
920
921 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
922 beginning of function. Fix PR gdb/191.
923
61d11d80
FCE
9242001-08-16 Frank Ch. Eigler <fche@redhat.com>
925
926 * config/sid.exp (sid_start): Don't warn if we cannot figure out
927 what to force sid endianness to.
928
942a4df2
KS
9292001-08-15 Keith Seitz <keiths@redhat.com>
930
931 * lib/gdb.exp (gdbtk_start): Don't set environment
932 variables for TCL_LIBRARY and friends. Insight will
933 now figure these out for itself.
934
0521c418
MS
9352001-08-02 Michael Snyder <msnyder@redhat.com>
936
937 * gdb.base/completion.exp: Remove the symbol "a64l" from
938 the expect string; this is target-specific, and not related
939 to what is being tested.
940
74a9a58a
DB
9412001-08-02 Dave Brolley <brolley@redhat.com>
942
943 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
944
c70819fa
MS
9452001-07-25 Michael Snyder <msnyder@redhat.com>
946
c2b8fa57
MS
947 * gdb.base/consecutive.exp: New file. Test stepping over
948 breakpoints on consecutive instructions.
949 * gdb.base/consecutive.c: New file.
950
c70819fa
MS
951 * gdb.base/call-rt-st.exp: Use double-backslash to quote
952 curly braces in regular expressions.
953
2b1a1355
MS
9542001-07-25 Michael Snyder <msnyder@redhat.com>
955
956 * gdb.base/ending-run.exp: Accept "Program exited normally" as
957 legitimate output from stepping out of main.
958
413eca6f
KS
9592001-07-22 Keith Seitz <keiths@redhat.com>
960
961 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
962 the empty string, do not run the tests.
963
7e5a9322
SC
9642001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
965
966 * gdb.base/long_long.exp: Detect size of pointer. Take into
967 account 2-byte pointers when testing for p/a results.
968
de58f10f
SC
9692001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
970
971 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
972 and defined to 1K for m68hc11.
973 (random_data): Reduce table to 1K for embedded platforms (68hc11).
974 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
975 (sizeof_random_data): New variable to tell the size of the data table;
976 don't test past this size; always run to main.
977
d6f5fea1
SC
9782001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
979
980 * gdb.base/return2.exp: return of long long and double fails for
981 68HC11; don't execute these tests on that platform.
982 * gdb.base/return.exp: Return of a double fails for 68hc11.
983
c477543d
SC
9842001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
985
986 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
987 tests that print a float.
988 * call-rt-st.exp: Likewise.
989
63cf1c79
MK
9902001-07-12 Mark Kettenis <kettenis@gnu.org>
991
992 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
993 running this test on Linux.
994
112f9ab5
MC
9952001-06-24 Michael Chastain <chastain@redhat.com>
996
997 * gdb.base/arithmet.exp: Remove some tests to make all test names
998 unique.
999
4970cb0f
MS
10002001-07-03 Michael Snyder <msnyder@redhat.com>
1001
1002 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1003 the output of the ptype command.
1004
d85da69f
MS
10052001-07-02 Michael Snyder <msnyder@redhat.com>
1006
4c8a82de
MS
1007 * gdb.base/completion.exp: Don't assume that break.c is the only
1008 source file that may contain functions named "marker".
d85da69f
MS
1009 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1010
8afc772b
AC
10112001-06-28 Andrew Cagney <ac131313@redhat.com>
1012
1013 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1014 of files to delete.
1015
1016 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1017 * gdb.disasm/h8300s.exp: New file.
1018 gdb.disasm/h8300s.s: Likewise.
1019
cff22675
AC
10202001-06-27 Andrew Cagney <ac131313@redhat.com>
1021
1022 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1023 empty breakpoint tables.
1024
68c81b54
AC
10252001-06-25 Andrew Cagney <ac131313@redhat.com>
1026
1027 * lib/mi-support.exp: Update args=... part of stop-reason
1028 patterns. Accept either a list or a tuple.
1029
2dd62704
AC
10302001-06-23 Andrew Cagney <ac131313@redhat.com>
1031
1032 * lib/mi-support.exp: Remove local emacs variable defining
1033 change-log-default-name.
1034
b4127474
MC
10352001-06-22 Michael Chastain <chastain@redhat.com>
1036
1037 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1038 This is operationally compatible with the previous version.
1039
8dbfb380
JB
10402001-06-13 Jim Blandy <jimb@redhat.com>
1041
1042 * lib/gdb.exp (gdb_test): Doc fix.
1043
f2d8c86d
MC
10442001-06-10 Michael Chastain <chastain@redhat.com>
1045
1046 * gdb.base/exprs.exp: Remove a duplicate test.
1047
81564d34
JB
10482001-06-06 Jim Blandy <jimb@redhat.com>
1049
1050 * gdb.base/return2.exp (main): Use values to test float and double
1051 returns that are not NaN's, to avoid being confused by IEEE
1052 comparison rules.
1053
da55addb
MS
10542001-06-04 Michael Snyder <msnyder@redhat.com>
1055
1056 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1057 non-zero if control_c fails. Terminate the test on failure,
1058 rather than wait for 12 more tests to time out.
1059
42c65987
JB
10602001-06-06 Jim Blandy <jimb@redhat.com>
1061
b18bced9
JB
1062 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1063 Don't forget to match the GDB prompt.
1064
42c65987
JB
1065 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1066
5b41e5f0
JB
10672001-06-04 Jim Blandy <jimb@redhat.com>
1068
1069 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1070 command.
1071
015e046f
KB
10722001-05-31 Kevin Buettner <kevinb@redhat.com>
1073
1074 * gdb.base/annota1.exp (info break): Match four or more spaces
1075 after "Address".
1076
fb1ffbbe
MC
10772001-05-31 Michael Chastain <chastain@redhat.com>
1078
1079 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1080 (dm_type_int_star): Likewise.
1081 (dm_type_long_star): Likewise.
1082 (dm_type_void_star): Likewise.
1083
5ea2a32c
KB
10842001-05-29 Kevin Buettner <kevinb@redhat.com>
1085
1086 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1087 to a known value in order to get consistent results regardless
1088 of the setting of INPUTRC or the presence or contents of .inputrc.
1089
ae23c492
MS
10902001-05-24 Michael Snyder <msnyder@redhat.com>
1091
ac55707e
MS
1092 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1093 Don't require that the main thread and the manager thread are the
1094 first in the list.
1095
ae23c492
MS
1096 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1097 debugging. If test fails, issue an "unsupported" not a "fail".
1098
400071f1
JB
10992001-05-24 Jim Blandy <jimb@redhat.com>
1100
1101 Don't assume that short is shorter than int.
1102 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1103 assume that shorts are smaller than ints. On a 16-bit machine,
1104 this isn't true.
1105 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1106 an int, is not equal to ~0 stored in an unsigned char. This tests
1107 the same thing that the previous test meant to, but works on
1108 16-bit machines, too.
1109 ("print unsigned char != (~0)"): Same test, complemented.
1110
0816a3e5
MS
11112001-05-24 Michael Snyder <msnyder@redhat.com>
1112
1113 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1114 test for (full_coverage == 0). This makes the test run faster,
1115 and prevents dejagnu getting out of step.
1116
f6dc23a9
KB
11172001-05-23 Kevin Buettner <kevinb@redhat.com>
1118
1119 * gdb.base/finish.exp (finish_void): Revise pattern for
1120 stopping on the call statement to not permit stopping at
1121 the start of the instructions comprising the call sequence.
1122
7dbd117d
MC
11232001-05-19 Michael Chastain <chastain@redhat.com>
1124
1125 * gdb.base/callfuncs.exp: Make all test names unique.
1126 * gdb.base/commands.exp: Make all test names unique.
1127 * gdb.base/condbreak.exp: Make all test names unique.
1128 * gdb.base/dbx.exp: Make all test names unique.
1129 * gdb.base/default.exp: Make all test names unique.
1130 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1131 and TIMEOUT messages to their corresponding PASS message.
1132 * gdb.base/ending-run.exp: Make all test names unique.
1133 * gdb.base/long_long.exp: Remove duplicate test.
1134
6b0b0a9e
KB
11352001-05-21 Kevin Buettner <kevinb@redhat.com>
1136
1137 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1138 stop on the call statement as well as the statement after the
1139 call.
1140
2caa35cb
MS
11412001-05-21 Michael Snyder <msnyder@redhat.com>
1142
1143 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1144
40713331
EZ
11452001-05-10 Elena Zannoni <ezannoni@redhat.com>
1146
1147 * gdb.base/completion.exp: Revamp test. Make it execute on all
1148 platforms.
1149
c2c1be8d
EZ
11502001-05-10 Elena Zannoni <ezannoni@redhat.com>
1151
2c9cd303
EZ
1152 * config/gdbserver.exp (gdb_load): Handle the case
1153 in which the arguments to gdbserver are given in the
1154 baseboard configuration file.
1155 Also handle the case in which the server needs to do a
1156 load.
1157
9671de48
KS
11582001-05-07 Keith Seitz <keiths@cygnus.com>
1159
1160 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1161 set up the display for testing.
1162 (gdbtk_start): Convert all paths to paths that tcl will like.
1163 Export target information to environment.
1164 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1165 necessary.
1166 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1167 (to_tcl_path): New proc to convert a given pathname into
1168 a path acceptible as an argument to a tcl command.
1169 (_gdbtk_export_target_info): New proc to export target info
1170 into the environment for gdbtk testing.
1171 (gdbtk_done): New proc to signal end-of-test.
1172
5a360f47
JB
11732001-05-06 Jim Blandy <jimb@redhat.com>
1174
1175 * restore.c: Make the code of caller0 correspond to its comment.
1176
66c756c6
MS
11772001-05-03 Michael Snyder <msnyder@redhat.com>
1178
1179 * config/sid.exp (gdb_target_sid): Check for error messages.
1180 On error or timeout, don't make expect exit (which will terminate
1181 all subsequent tests); instead just make gdb exit.
1182 (gdb_load): Check for error messages. On error or timeout,
1183 return a negative value.
1184
a966fde5
JB
11852001-04-24 Jim Blandy <jimb@redhat.com>
1186
851c18e0
JB
1187 * gdb.c++/templates.exp: If we see the prompt for the overload
1188 list, but we haven't recognized any of the longer patterns,
1189 arrange for this test to fail, not hang.
1190
a966fde5
JB
1191 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1192 variations.
1193
db144853
MC
11942001-04-22 Michael Chastain <chastain@redhat.com>
1195
1196 * gdb.c++/local.exp: Use the 'runto' library function.
1197 * gdb.c++/namespace.exp: Likewise.
1198 * gdb.c++/overload.exp: Likewise.
1199
3207ec21
KB
12002001-03-26 Kevin Buettner <kevinb@redhat.com>
1201
1202 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1203 * gdb.base/step-line.exp: New file. Test step/next in presence of
1204 #line directives.
1205 * gdb.base/step-line.c: New file. Test program for the above.
1206 * gdb.base/step-line.inp: New file. We pretend that this file has
1207 been transformed by some other tool into step-line.c.
1208
13b57657
JB
12092001-03-21 Jim Blandy <jimb@redhat.com>
1210
1211 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1212 unmangled operator names.
1213
754cbe1c
JB
12142001-03-20 Jim Blandy <jimb@redhat.com>
1215
1216 * gdb.threads/linux-dp.exp: Recognize an additional message
1217 generated by GDB when it doesn't understand how to debug threads
1218 on the target system.
1219
177495c9
AC
12202001-03-19 Andrew Cagney <ac131313@redhat.com>
1221
1222 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1223
f266096b
MC
12242001-03-12 Michael Chastain <chastain@redhat.com>
1225
1226 * gdb.c++/derivation.exp: Use the 'runto' library function.
1227
cac3c2ff
MC
12282001-03-12 Michael Chastain <chastain@redhat.com>
1229
1230 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1231
b6c11a24
MC
12322001-02-24 Michael Chastain <chastain@redhat.com>
1233
1234 * gdb.c++/ref-types.exp: Change handwritten code to library
1235 function 'runto'.
1236
6bae5bce
OF
12372001-03-16 Orjan Friberg <orjanf@axis.com>
1238
1239 * gdb.base/signals.exp: Set count to 0 explicitly.
1240
0015fd9a
MS
12412001-03-15 Mark Salter <msalter@redhat.com>
1242
1243 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1244 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
1245 (gdb_load): Add support for additional target_info: gdb_download_size
1246 and gdb_load_timeout.
0015fd9a 1247
fc33412a
DT
1248Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1249
1250 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1251 file -- to prevent failing when the compile fails but we have no
1252 intention of running the tests anyway.
1253
1254 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1255 tests if set.
1256
1257 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1258 integers.
1259
1260 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1261 * gdb.c++/namespace.exp: Ditto.
1262
115f06de
OF
12632001-03-07 Orjan Friberg <orjanf@axis.com>
1264
1265 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
1266 * gdb.base/pointers.exp: Relax pattern match of decimals.
1267
b6ba6518
KB
12682001-03-06 Kevin Buettner <kevinb@redhat.com>
1269
1270 * Makefile.in, config/abug.exp, config/cfdbug.exp,
1271 config/cpu32bug.exp, config/dve.exp, config/est.exp,
1272 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
1273 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
1274 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
1275 config/sh.exp, config/sid.exp, config/slite.exp,
1276 config/sparclet.exp, config/udi.exp, config/unknown.exp,
1277 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
1278 config/vxworks.exp, config/vxworks29k.exp,
1279 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
1280 gdb.base/all-bin.exp, gdb.base/annota1.exp,
1281 gdb.base/arithmet.exp, gdb.base/assign.exp,
1282 gdb.base/async.exp, gdb.base/attach.exp,
1283 gdb.base/bitfields.exp, gdb.base/bitops.exp,
1284 gdb.base/break.exp, gdb.base/call-ar-st.exp,
1285 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
1286 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
1287 gdb.base/commands.exp, gdb.base/completion.exp,
1288 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
1289 gdb.base/constvars.exp, gdb.base/corefile.exp,
1290 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1291 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
1292 gdb.base/ending-run.exp, gdb.base/environ.exp,
1293 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
1294 gdb.base/finish.exp, gdb.base/foll-exec.exp,
1295 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
1296 gdb.base/funcargs.exp, gdb.base/help.exp,
1297 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
1298 gdb.base/logical.exp, gdb.base/long_long.exp,
1299 gdb.base/maint.exp, gdb.base/mips_pro.exp,
1300 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
1301 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
1302 gdb.base/pointers.exp, gdb.base/printcmds.exp,
1303 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
1304 gdb.base/regs.exp, gdb.base/relational.exp,
1305 gdb.base/remote.exp, gdb.base/reread.exp,
1306 gdb.base/restore.exp, gdb.base/return2.exp,
1307 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
1308 gdb.base/selftest.exp, gdb.base/setshow.exp,
1309 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1310 gdb.base/sigall.exp, gdb.base/signals.exp,
1311 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
1312 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
1313 gdb.base/step-test.exp, gdb.base/structs.c,
1314 gdb.base/structs.exp, gdb.base/structs2.exp,
1315 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
1316 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
1317 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
1318 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1319 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
1320 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
1321 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
1322 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
1323 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
1324 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
1325 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
1326 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
1327 gdb.fortran/types.exp, gdb.java/jmisc.exp,
1328 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
1329 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
1330 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1331 gdb.trace/circ.exp, gdb.trace/collection.exp,
1332 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1333 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1334 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
1335 gdb.trace/report.exp, gdb.trace/save-trace.exp,
1336 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1337 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
1338 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
1339 notices.
1340
dc96c6c7 13412001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
1342
1343 * gdb.base/varargs.c (find_max_double): Fix printf format string:
1344 first arg is int not float.
1345
dc96c6c7 13462001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
1347
1348 * gdb.base/reread.exp: Unsupported for non-native targets;
1349 doesn't work for remote debugging.
1350
9b0c4aeb
FN
13512001-02-19 Fernando Nasser <fnasser@redhat.com>
1352
1353 From Drew Moseley <dmoseley@redhat.com>
1354 * gdb.base/ending-run.exp: Properly handle the BSP state when
1355 stepping past the end of main.
1356
02aa71d5
MC
13572001-02-19 John Moore <jmoore@redhat.com>
1358
1359 * gdb.base/commands.exp (infrun_breakpoint_command_test):
1360 Converted HPUX fix for non-expected items following multiple
1361 step commands into general solution for all platforms.
1362
1fa449a4
MC
13632001-02-18 Michael Chastain <chastain@redhat.com>
1364
1365 * gdb.c++/classes.exp (do_tests): Change runto statements
1366 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1367 statements demangler agnostic.
1368 * gdb.c++/virtfunc.exp (do_tests): Likewise.
1369 (gdb_virtfunc_restart): Likewise.
1370
b2f9ec70
MC
13712001-02-14 Michael Chastain <chastain@redhat.com>
1372
1373 * gdb.c++/inherit.exp (do_tests): Change runto statements
1374 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1375 statements demangler agnostic.
1376
cf74b8ca
AC
1377Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
1378
1379 * gdb.threads/pthreads.exp: Unify pass/fail messages for
1380 ``continue to bkpt at common_routine in thread 2'' and ``stopped
1381 before calling common_routine 15 times'' tests.
1382
99f78f56
MC
13832001-02-11 Michael Chastain <chastain@redhat.com>
1384
1385 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
1386 Helps the test script figure out which demangler is in use.
1387 (dm_type_foo_ref): Ditto.
1388 (dm_type_int_star): Ditto.
1389 (dm_type_long_star): Ditto.
1390 (dm_type_unsigned_int): Ditto.
1391 (dm_type_void): Ditto.
1392 (dm_type_void_star): Ditto.
99707966 1393 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
1394 Probe the gdb demangler and set variables to accommodate
1395 formatting differences.
1396 (info_func_regexp): New function. Same as info_func, but
1397 matches against a regexp.
1398 (info_func): Match against a literal string.
1399 (print_addr_2): New function. Match against a literal string,
1400 which can be different from the input to gdb.
1401 (print_addr): Simply call print_addr_2 with the same argument twice.
1402 (test_lookup_operator_functions): Use demangler formatting variables.
1403 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
1404 the tests in the same order as the C++ class declaration.
1405 (test_paddr_operator_functions): Ditto.
1406 (test_paddr_overloaded_functions): Ditto.
1407 (test_paddr_hairy_functions): Use demangler formatting variables.
1408 Add reference to gdb/19 for related tests.
1409 (do_tests): Call probe_demangler.
1410
1de8f023
KB
14112001-01-30 Kevin Buettner <kevinb@redhat.com>
1412
1413 * gdb.c++/templates.cc (printf): Remove unused function definition.
1414
ca3f91ed
MS
14152001-01-26 Felix Lee <flee@redhat.com>
1416
1417 * sid.exp (sid_exit): Pass host, not target, to remote_close.
1418
14192001-01-25 matthew green <mrg@redhat.com>
1420
1421 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
1422 up sid.
1423 (sid_exit): Call `remote_pop_conn' after GDB is gone.
1424
14252001-01-25 matthew green <mrg@redhat.com>
1426
1427 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
1428 Deprecate $sid_spawn_id.
1429 (sid_exit): Remove code necessary only for `spawn.'
1430
14312001-01-25 matthew green <mrg@redhat.com>
1432
1433 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
1434
fb18ec4a
MC
14352001-01-28 Michael Chastain <chastain@redhat.com>
1436
1437 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
1438 to call when tests fail. It takes gdb out of the overloaded
1439 function choice menu back to the main prompt, so that the test
1440 program stays synchronized.
1441 (set_bp_overloaded): New proc to collect all the common
1442 code for setting a breakpoint on an overloaded name. Calls
1443 take_gdb_out_of_choice_menu when needed.
1444 (menu_overload1arg): New variable to collect the repeated
1445 instances of the expected menu for an overloaded name. Change
1446 the regular expression to handle changes in g++ type encoding:
1447 "void" can be either "void" or "", and "unsigned int" can be
1448 either "unsigned int" or "unsigned".
1449 (continue_to_bp_overloaded): Change regular expressions to handle
1450 changes in g++ type encoding.
1451 (no proc): Call take_gdb_out_of_choice_menu when needed.
1452 Remove redundant calls to "info break". Accept either "canceled"
1453 or "cancelled". Change regular expressions in "info break"
1454 calls to handle changes in g++ type encoding. Give all tests
1455 unique strings.
1456
9c646a6e
BE
14572001-01-17 Ben Elliston <bje@redhat.com>
1458
1459 * config/sid.exp: New file.
1460
9549d9c1
AC
1461Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
1462
1463 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
1464
dc96c6c7 14652000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
1466
1467 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
1468 Add a RE to accept a non-ascii char if one is ever presented.
1469
b4df4f68
FN
14702000-12-20 Fernando Nasser <fnasser@redhat.com>
1471
297dd0fd 1472 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 1473
dc96c6c7 14742000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
1475
1476 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
1477 in regexp. One '\' does not suffice on Linux.
1478
4a7bddb6
MC
14792000-12-09 Michael Chastain <chastain@redhat.com>
1480
1481 * gdb.base/break.exp (test_clear_command): Use a marker function
1482 rather than 'main' for the test function. Also move this
1483 test to an execution point where the marker function names are
1484 guaranteed to be bound to functions. (Executing tests after a
1485 'finish' from main runs into name conflicts with local names
1486 in __libc_start_main).
1487
dc96c6c7 14882000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
1489
1490 * gdb.base/finish.exp: New test for gdb's "finish" command.
1491 * gdb.base/return2.exp: New test for gdb's "return" command.
1492 * gdb.base/return2.c: New source file for above.
1493
dc96c6c7 14942000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
1495
1496 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
1497 * gdb.base/miscexprs.exp: Ditto.
1498 * gdb.base/pointers.exp: Ditto.
1499 * gdb.c++/derivation.exp: Ditto.
1500 * gdb.c++/local.exp: Ditto.
1501 * gdb.c++/namespace.exp: Ditto.
1502 * gdb.c++/overload.exp: Ditto.
1503 * gdb.c++/ref-types.exp: Ditto.
1504
dc96c6c7 15052000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
1506
1507 * gdb.base/constvars.exp: Test result of "up" command.
1508 * gdb.base/miscexprs.exp: Ditto.
1509 * gdb.base/pointers.exp: Ditto.
1510 * gdb.base/scope.exp: Ditto.
1511 * gdb.c++/derivation.exp: Ditto.
1512 * gdb.c++/local.exp: Ditto.
1513 * gdb.c++/namespace.exp: Ditto.
1514 * gdb.c++/overload.exp: Ditto.
1515 * gdb.c++/ref-types.exp: Ditto.
1516
44097287
FN
15172000-11-22 Michael Chastain <chastain@redhat.com>
1518
1519 * mips_pro.exp: Accept either "middle -> top -> main" or
1520 "middle -> main" in the backtrace, because gcc can optimize
1521 tail calls to jumps. Remove setup_xfail for the hppa case.
1522 Add a comment with the original warning messages from PR 3016,
1523 which was filed in 1993, to preserve them for posterity.
1524
9d2e1bab
ND
15252000-11-17 Nick Duffek <nsd@redhat.com>
1526
1527 * lib/gdb.exp (gdb_test): Override timeout with board info.
1528
1aca8eb7
ND
15292000-11-17 Nick Duffek <nsd@redhat.com>
1530
1531 * gdb.base/display.exp: Don't kill running stub. Add "again" to
1532 the second kill and detach messages.
1533
93076499
ND
15342000-11-17 Nick Duffek <nsd@redhat.com>
1535
1536 * configure.in: Add AC_EXEEXT.
1537 * configure: Regenerate.
1538 * Makefile.in (just-check): Export EXEEXT.
1539 * lib/gdb.exp ($EXEEXT): Import from environment.
1540 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
1541 expect "maint dump-me" on Cygwin.
1542 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
1543 $EXEEXT.
1544
30e87cd3
ND
15452000-11-17 Nick Duffek <nsd@redhat.com>
1546
1547 * gdb.base/break.exp: Test backtrace and finish from called
1548 function on all platforms, not just HP-UX.
1549
dc96c6c7 15502000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
1551
1552 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
1553 code from gdb_target_monitor, so it can be used independantly
1554 for gdbserver. Also comment out an unnecessary PUTS.
1555
dc96c6c7 15562000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
1557
1558 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
1559 * gdb.base/corefile.exp: Expect the message "Program is being
1560 debugged already" when we send the "corefile" command, since
1561 the preceeding gdb_load may have connected gdb to a remote target.
1562 * gdb.base/display.exp: Disable hardware watchpoints if new
1563 board info variable "no_hardware_watchpoints" is true.
1564 Replace single-letter commands with more readable ones.
1565 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
1566 if new board info variable "no_hardware_watchpoints" is true.
1567 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
1568 to see if stdio (printf) testing is possible.
1569 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
1570 board info variable "no_hardware_watchpoints" is true. Use new
1571 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
1572
39124dea
FN
15732000-11-13 Fernando Nasser <fnasser@redhat.com>
1574
1575 From Orjan Friberg <orjanf@axis.com>:
1576 * gdb.base/printcmds.exp: Escape curly braces followed by a number
1577 in array print pattern match.
1578
a9e2e984
FN
15792000-11-09 Fernando Nasser <fnasser@redhat.com>
1580
1581 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
1582 spelling "cancelled" to U.S. spelling "canceled" to match changes
1583 made to gdb.
1584 * gdb.c++/ovldbreak.exp: Ditto.
1585
c7db355b
PS
15862000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1587
1588 * gdb.base/callfuncs.c (main): Moved to end of file, call
1589 t_double_values to initialize the FPU before inferior calls are made.
1590 * gdb.base/callfuncs.exp: Test for register preservation after calling
1591 inferior functions. Add tests for continuining, finishing and
1592 returning from a stop in a call dummy.
1593
dc96c6c7 15942000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
1595
1596 * gdb.base/commands.exp: Break up long lines, and re-indent.
1597
dc96c6c7 15982000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
1599
1600 * config/gdbserver.exp: Rewritten from the ground up, to make it
1601 compatible with the current dejagnu tree, and to make it work with
1602 the new "gdbserver" in libremote.
1603
dc96c6c7 16042000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1605
1606 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
1607 * gdb.base/varargs.exp: Skip entire test if no printf support.
1608 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
1609 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
1610
dc96c6c7 16112000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1612
1613 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
1614 no floating point support.
1615 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
1616 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
1617 * gdb.base/call-rt-st.exp: Ditto.
1618 * gdb.base/call-strs.exp: Ditto.
1619
bac5fc66
JG
16202000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
1621
1622 * gdb.base/sizeof.c: include <stdio.h>.
1623
1624 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
1625 'finish', otherwise uncaptured gdb_prompt would potentially
1626 throw remaining test points out of sync.
1627
b22a6027
SB
16282000-07-26 Scott Bambrough <scottb@netwinder.org>
1629
1630 * gdb.base/recurse.exp: Run tests for all targets.
1631 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
1632 gnu-oldld case on ARM.
1633 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
1634 for ARM targets.
1635
d8231941
AG
1636Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
1637
1638 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
1639 * gdb.java/configure: Rebuild.
1640
8caabe69
AG
1641Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
1642
1643 * gdb.java/jv-exp.exp: New file.
1644
9d273ca3
AG
1645Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
1646
1647 * configure: Rebuilt.
1648 * configure.in (configdirs): Add gdb.java.
1649 * gdb.java/jmisc.java: New file.
1650 * gdb.java/jmisc.exp: New file.
1651 * gdb.java/Makefile.in: New file.
1652 * gdb.java/configure: Rebuilt.
1653 * gdb.java/configure.in: New file.
1654 * lib/java.exp: New file.
1655
4f823a66
AC
1656Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
1657
1658 * gdb.base/exprs.exp: Test casts to a pointer including over and
1659 underflow.
1660
2391e11d
AC
1661Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
1662
1663 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
1664 and the compilers sizes.
1665
54602222
ND
16662000-07-09 Nick Duffek <nsd@redhat.com>
1667
1668 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
1669 (use_methods): New function.
1670 (main): Call use_methods().
1671 * gdb.c++/classes.exp (test_method_param_class): New procedure.
1672 (do_tests): Call test_method_param_class.
1673
2bec0572
ND
16742000-07-09 Nick Duffek <nsd@redhat.com>
1675
1676 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
1677 spelling.
1678 (test_enums): New procedure. Move enum tests from end of script
1679 to here. Set breakpoint on function name instead of line number.
1680 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
1681 (enums2): New marker function.
1682 (enums1): New function.
1683 (main): Call enums1(). Move enum tests to enums1().
1684
78492fde
AC
1685Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
1686
1687 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
1688 compile/link program. Update line numbers.
1689 * gdb.asm/d10v.inc: Define ``startup''.
1690 * gdb.asm/asmsrc1.s: Add definition of _start.
1691
49a2cef8
AC
1692Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1693
1694 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
1695
3e6c8688
EZ
16962000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1697
1698 * gdb.base/maint.exp: Add 'maint print architecture' item to output
1699 of 'help maint print' command.
1700
9ff5cbe9
AC
1701Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
1702
1703 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
1704 they use gdb_expect_list.
1705
17c579bd
AC
1706Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
1707
1708 * gdb.base/commands.exp: Use ``set remote
1709 memory-read-packet-size'' instead of ``set endian big'' to test
1710 long commands.
1711
e6d71bf3
DB
17122000-06-03 Daniel Berlin <dan@cgsoftware.com>
1713
1714 * gdb.c++/templates.exp (do_tests): Make all of these work under
1715 g++, and stop skipping them.
1716
1717 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
1718 work under g++.
1719
e5f9ba7b
MS
1720 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
1721 initialization.
1722
dc96c6c7 17232000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
1724
1725 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
1726 the regular expression: accept an (almost) arbitrary sequence of
1727 "frames-invalid" and "breakpoints-invalid" messages both before
1728 and after the "starting" message.
1729
dc96c6c7 17302000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
1731
1732 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 1733
dc96c6c7 17342000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
1735
1736 * gdb.base/annota1.exp (annotate-signal-handler-caller):
1737 Relax the regular expression a little, make it pass on Solaris 8.
1738
8216cda9
KB
17392000-05-12 Kevin Buettner <kevinb@redhat.com>
1740
1741 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
1742 a call, do not require that gdb stop on the line after the call.
1743 Instead, it is permissible for gdb to stop on the line of the
1744 call itself.
1745
1a570b2f
MS
17462000-05-12 Michael Snyder <msnyder@.cygnus.com>
1747
1748 * gdb.base/break.exp (bp on small function, optimized file):
1749 Add a second pass pattern. The behavior differs here between stabs
1750 and dwarf for one-line functions. Stabs preserves two line symbols
1751 (one before the prologue and one after) with the same line number,
1752 but dwarf regards these as duplicates and discards one of them.
1753 Therefore the address after the prologue (where the breakpoint is)
1754 has no exactly matching line symbol, and GDB reports the breakpoint
1755 as if it were in the middle of a line rather than at the beginning.
1756
dc96c6c7 17572000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
1758
1759 * gdb.base/interrupt.exp: Make "pass" message say "send"
1760 rather than "send_gdb" (for consistancy).
1761
7d418785
AC
1762Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
1763
1764 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
1765 * gdb.c++/templates.cc: Properly check for GCC version number.
1766 * lib/compiler.cc: Likewise
1767
dc96c6c7 17682000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
1769
1770 * gdb.base/break.exp: When compiled with -O2 optimization,
1771 gdb may not stop at the first line of main, due to code motion.
1772
dc96c6c7 17732000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
1774
1775 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
1776 This test depends on parsing the printf output from the target.
1777 Since the sparclet stub doesn't do stdio, this will never work.
1778 * gdb.base/call-rt-st.exp: ditto.
1779 * gdb.base/call-strs: ditto.
1780
dc96c6c7 17812000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
1782
1783 * gdb.base/miscexprs.exp: make sizeof long array test portable.
1784
1785 * gdb.base/ending-run.exp: After connecting to a remote target,
1786 but before running, the target will appear to be in a random
1787 location. Specify both a file and a line for breakpoints.
1788 Also, the function that calls main may be called 'init'
1789 rather than 'start'.
1790
a5a51225
EZ
17912000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1792
1793 * gdb.base/help.exp: Update output for add-symbol-file command.
1794
7930cc7c
FN
17952000-04-10 Fernando Nasser <fnasser@cygnus.com>
1796
1797 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1798 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
1799
23e37ab1
C
18002000-04-07 J.T. Conklin <jtc@redback.com>
1801
e93c542c
C
1802 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
1803
23e37ab1
C
1804 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
1805
591b8fa3
PDM
1806Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
1807
1808 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
1809 values that can be represented exactly.
1810 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
1811 above change, and to not check against the directory part of the source
1812 file name.
1813 (step into print_long_arg_list): Likewise.
1814 (print print_small_structs from print_long_arg_list): Likewise.
1815 (print print_long_arg_list): Likewise.
1816
7a495180
EZ
18172000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1818
30b53638 1819 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 1820
beb998c6
AC
1821Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
1822
1823 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
1824
1c689132
DB
18252000-03-25 Daniel Berlin <dan@cgsoftware.com>
1826
1827 * gdb.base/commands.exp (deprecated_command_test): Add test for
1828 deprecate with no arguments.
1829
c1790a9d
JL
18302000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
1831
1832 * gdb.base/break.exp: Add new test for setting breakpoints on
1833 optimized code so we can test breakpoints work even when function
1834 prologues may be optimized away
1835
003ba290
FN
18362000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
1837
1838 From David Whedon <dwhedon@gordian.com>
1839 * gdb.base/commands.exp : Added command deprecator tests.
1840
6837a0a2
DB
18412000-03-22 Daniel Berlin <dan@cgsoftware.com>
1842
1843 * gdb.base/help.exp: Added test for new apropos command.
1844
b9593231
KB
18452000-03-21 Kevin Buettner <kevinb@redhat.com>
1846
1847 * gdb.base/pointers.c (usevar): New function.
1848 (main): Make sure that global variables v_int_pointer2, rptr,
1849 and y are all referenced someplace in the program by calling
1850 usevar() on them. [Some linkers delete symbols which are
1851 never referenced. The space remains, but there's no way to
1852 get a (symbolic) handle on the variable from the debugger.]
1853
751a959b
EZ
18542000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1855
1856 * gdb.base/printcmds.c: Add typedeffed arrays.
1857
1858 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
1859 procedure to test arrays that are typedef'd.
1860
73a93a32
JI
18612000-03-13 James Ingham <jingham@leda.cygnus.com>
1862
1863 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 1864 the library directories.
73a93a32 1865
fb40c209
AC
1866Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
1867
1868 * configure.in (configdirs): Add sub directory gdb.mi.
1869 * configure: Re-generate.
1870
1871 * gdb.mi: New directory.
beb998c6 1872
ee4dd2c9
AC
18732000-02-25 Scott Bambrough <scottb@netwinder.org>
1874
1875 * gdb.base/long_long.exp: Correct test suite failure when printing
1876 a long long value as a double on ARM platforms.
1877
70f0cc22
JB
18782000-02-16 Jim Blandy <jimb@redhat.com>
1879
1880 * gdb.base/break.exp ("breakpoint line number"): Make sure the
1881 default source file is set properly before running this test.
1882
853819b8
EZ
18832000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1884
1885 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
1886 gdbtk/library directory, not in gdbtcl2.
1887
dfcd3bfb
JM
18882000-02-04 Jim Blandy <jimb@redhat.com>
1889
1890 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
1891 backslash from regexp pattern.
1892
1893 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
1894 procedure. Use it to run all the "continue to bp overloaded"
1895 tests. Note that this changes the names of the tests slightly.
1896 If the breakpoint hit message includes a hex PC value, because
1897 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
1898 from the real source code, still consider that a pass.
1899
1900 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
1901 XFAIL here if the breakpoint message contains a hex address. Note
1902 similar change on 1999-11-02.
1903
1904 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
1905
1906 * gdb.base/ptype.exp: Establish a default source file before
1907 calling get_debug_format.
1908
19092000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
1910
1911 * gdb.base/watchpoint.exp: Remove duplication of test messages.
1912
8b93c638
JM
19132000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1914
1915 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
1916 of successive stepi commands -- while in the prologue we should see
1917 the function entry bracket.
1918
19192000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1920
1921 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
1922 reach __change_mode() when stepping through the end of main().
1923
c5394b80
JM
19242000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
1925
1926 * gdb.base/default.exp: Fix expected pattern.
1927 * gdb.base/help.exp: Same.
1928
0d06e24b
JM
19292000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1930
1931 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
1932 Don't use xfail's because that affects only the following test.
beb998c6 1933
0d06e24b
JM
1934 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
1935 solaris or linux.
1936
1937 * gdb.base/selftest.exp: Update to reflect changes to main.c.
1938
dc96c6c7 19392000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 1940
beb998c6 1941 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
1942 "A syntax error" rather than "A parse error". Accept both.
1943
19442000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
1945
1946 * gdb.base/default.exp: Remove OS dependent string from "target
1947 remote" test.
1948 * gdb.base/help.exp: Same for "help target remote" test.
1949
c3f6f71d
JM
19502000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1951
1952 From Jim Kingdon <kingdon@redhat.com>:
1953
1954 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
1955 prompt (cleanup rather than necessity, but still might keep output
1956 from spilling to next test).
1957
19582000-01-02 Fred Fish <fnf@cygnus.com>
1959
1960 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
1961 AIX, which defines them in <sys/types.h>.
1962
ed9a39eb 19631999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 1964
ed9a39eb
JM
1965 * gdb.base/default.exp: Match arm* etc instead of arm in "info
1966 float" test.
1967
19681999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 1969
ed9a39eb 1970 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
1971
1972 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
1973 outermost frame disallowed".
1974
19751999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
1976
1977 * gdb.base/setvar.exp: New tests for setting the value of a struct
1978 with a constant list.
1979
19801999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
1981
1982 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
1983 require the user to type a cast before setting the value of a struct.
1984
de57eccd
JM
19851999-12-06 Jim Blandy <jimb@cygnus.com>
1986
1987 * gdb.base/default.exp: Expect the new 'info float' command on
1988 all i386 platforms.
1989
1990 * gdb.threads/linux-dp.exp: Expand our ability to recognize
1991 LinuxThreads libraries that don't support debugging.
1992
c2d11a7d
JM
1993Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
1994
1995 * gdb.base/remote.c: Fill the buffer with truely random data.
1996 Change the buffer type to ``unsigned char'' to simplify size
1997 arithmetic.
1998
1999 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2000 stub only handles 400-1 byte packets. Verify that the download
2001 worked.
2002
20031999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2004
2005 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2006 tests, using UNRESOLVED for the untested cases. Also, does not wait
2007 for a timeout if the prompt was received before a recognizable pattern.
2008
20091999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2010
2011 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2012
20131999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2014
2015 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2016 watchpoints.
2017
20181999-11-24 Jason Merrill <jason@casey.cygnus.com>
2019
2020 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2021
2022 * gdb.c++/local.exp: Be more flexible in recognizing local class
2023 name mangling. Don't allow horribly truncated method names.
2024 * gdb.c++/derivation.exp: Expect protected inheritance.
2025 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2026 * gdb.c++/virtfunc.exp: Likewise.
2027 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2028 when printing a nested enum.
2029
20301999-11-22 Jim Blandy <jimb@cygnus.com>
2031
2032 * gdb.base/step-test.exp: Properly await GDB's response to setting
2033 a breakpoint on the call to large_struct_by_value.
2034
2035 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2036 just because we have debug info for the `start' function.
2037
20381999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2039
2040 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2041 "Unknown signal" messages, which indicate (on LinuxThreads) that
2042 GDB doesn't know how to debug threads on this system. This is
2043 better than hanging while philosopher 0 dumps chatter into gdb.log.
2044
20451999-11-18 Tom Tromey <tromey@cygnus.com>
2046
2047 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2048
20491999-11-18 Fred Fish <fnf@cygnus.com>
2050
2051 * gdb.base/coremaker2.c: Add sample program for generating
2052 cores that is more self contained than coremaker.c. Eventually
2053 I'll add more code to this and tie it into the testsuite.
2054
4ce44c66
JM
20551999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2056
2057 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2058
20591999-11-10 Jimmy Guo <guo@cup.hp.com>
2060
2061 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2062 from $srcdir/lib/.
2063 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2064 and gdb.c++/.
2065
2066 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2067
beb998c6 2068 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
2069 'continue with watch' test point.
2070
20711999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2072
2073 Merged from p2linux-990323-branch:
beb998c6 2074
4ce44c66
JM
2075 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2076
11cf8741
JM
2077Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2078
2079 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2080 {limit,fixed}''. Test ``set download-write-size''.
2081
2082Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2083
2084 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2085 gdb_expect_list.
2086
2087Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2088
2089 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2090
20911999-11-03 Mark Salter <msalter@cygnus.com>
2092
2093 * gdb.base/break.exp: Fix "stub continue" pattern.
2094
20951999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2096
2097 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2098
20991999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2100
2101 * gdb.base/display.exp ("finish"): Add timeout clause.
2102
2103 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2104 plain prompt clause, so this doesn't have to time out in order to
2105 fail.
2106
2107 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2108 breakpoint hit messages include an address.
2109
2110 * gdb.base/display.exp: Don't forget to escape parens in regular
2111 expressions. Unix regexp notatation sucks.
2112
21131999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2114
2115 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2116 order for 'signalled' message.
2117
5c44784c
JM
21181999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2119
2120 From Jimmy Guo <guo@cup.hp.com>:
2121 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2122 * gdb.base/annota1.c: Add code for tests to work with.
2123
21241999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2125
2126 * gdb.base/remote.exp: New test for remote downloading settings.
2127 * gdb.base/remote.c: New file with large .data.
2128
917317f4
JM
21291999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2130
2131 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2132 for LinuxThreads support, merged from the Code Fusion branch.
2133
2134Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2135
2136 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2137 containing exp_continue into a while within an expect. Don't
2138 attempt a start more than three times. Check return value from
2139 gdb_load.
beb998c6 2140
2df3850c
JM
2141Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2142
2143 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2144 a pass case.
2145
2acceee2
JM
21461999-10-01 Kevin Buettner <kevinb@cygnus.com>
2147
2148 * gdb.base/break.c (main): Added a statement that we can step
2149 off of.
2150 * gdb.base/break.exp: Added tests for setting a breakpoint
2151 at an offset and stepping onto a breakpoint.
2152
21531999-10-01 Fred Fish <fnf@cygnus.com>
2154
beb998c6 2155 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
2156 gdb output.
2157
c2c6d25f
JM
21581999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2159
2160 * gdb.base/break.exp: Code locations are in hex, don't forget!
2161 (For HP-UX.)
2162
21631999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2164
2165 * condbreak.exp: Use break.c as test program.
2166 * condbreak.c: Remove, redundant with break.c.
2167
21681999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2169
2170 * config/monitor.exp (gdb_target_monitor): Disable X- and
2171 Z-packets if the target needs it.
2172
21731999-09-13 James Ingham <jingham@leda.cygnus.com>
2174
2175 * gdb.c++/overload.exp: Added tests for listing overloaded
2176 functions with function pointers in the arg, explicitly calling
2177 out the version you want.
2178
cff3e48b
JM
21791999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2180
2181 * long_long.exp: Add variations of test cases that work for
2182 targets with 16-bit ints and 32-bit doubles.
2183
d4f3574e
SS
21841999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2185
2186 * break.c (main): Compare a possibly-uninitialized argc with an
2187 unlikely value that fits in 16 bits.
2188
21891999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2190
2191 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2192 0xfeeb, don't want negative numbers if ints are 16 bits.
2193
2194 * lib/gdb.exp (skip_cplus_tests): New proc.
2195 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2196 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2197 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2198 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2199 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2200 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2201 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2202 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2203
2204 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2205
2206Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2207
2208 * gdb.base/corefile.exp (up): Allow a parameter to appear
2209 in the frame that we're going up to.
2210
2211 From Jim Blandy <jimb@cygnus.com>:
2212
2213 * gdb.base/default.exp (info float): Expect some output now.
2214
2215 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2216 returning floating-point values to fail on the x86.
2217 * gdb.base/callfwmall.exp (do_function_calls): Same.
2218
2219 * gdb.base/list.exp (test_listsize): Correct expectations for
2220 listing line 1 with listsize 2. Also, listing a single line
2221 works now, as does listing three lines. [Kevin's note: There
2222 were a number of other cases fixed too where the expectations
2223 differed...]
2224
22251999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2226
2227 * gdb.base/selftest.exp: Add case for when version prints as
2228 constant string instead of char pointer.
2229
104c1213
JM
22301999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2231
2232 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2233 stepping out of main.
2234
2235 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2236 G++ used.
2237
2238 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2239 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2240
2241 * gdb.c++/ovldbreak.exp: Update match string in test that
2242 includes a warning of multiple breakpoints.
2243
22441999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2245
2246 * gdb.base/display.exp: Improve precision of step-after-finish
2247 added yesterday.
2248
2249 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2250 test.
2251
2252 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2253 configs when using G++, not just hppa*.
2254
22551999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2256
2257 * gdb.base/async.c: New file.
2258 * gdb.base/async.exp: New file.
2259
2260Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2261
2262 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2263 PA64.
2264
53a5351d
JM
2265Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
2266
104c1213
JM
2267 * gdb.base/display.exp: "finish" can leave us mid-line on many
2268 targets, deal with it. Add a small constant to main, instead of
2269 1000 since main+1000 may not be a valid address in the target.
2270
53a5351d
JM
2271 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
2272 on hpux11.
2273
2274 * gdb.base/attach.exp: Handle another hpux11 error message variant
2275 when attaching to a process that does not exist.
2276
22771999-08-19 J.T. Conklin <jtc@redback.com>
2278
2279 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
2280 characters in 'continue to 1241' test.
2281
22821999-08-17 Stan Shebs <shebs@andros.cygnus.com>
2283
2284 * gdb.base/call-ar-st.exp: Add a shorter match case for the
2285 stop in print_long_arg_list, define and use a whitespace
2286 variable in print_small_structs test, add an XFAIL for Solaris.
2287 * gdb.base/dbx.exp: XFAIL func commands until somebody is
2288 interested enough to fix.
2289
7be570e7
JM
22901999-08-13 Keith Seitz <keiths@cygnus.com>
2291
2292 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
2293 (dbx_gdb_load): Remove. Use gdb_load instead, since that
2294 proc knows about targets other than the natives.
2295 (test_assign): Use "gdb_run_cmd" to "run" the target.
2296 Check that we've actually hit the breakpoint at main.
2297 When we attempt to assign a value to a local variable, check
2298 that the variable is in the current scope, i.e., don't use
2299 a test with an empty result.
2300
2301Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2302
2303 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
2304 command.
2305
23061999-08-09 Stan Shebs <shebs@andros.cygnus.com>
2307
2308 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2309 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
2310 gdb.compat, gdb.threads-hp.
2311 gdb.hp/configure, gdb.hp/configure.in: New files.
2312 gdb.hp/Makefile.in: Recurse into new subdirs.
2313 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
2314 gdb.hp/gdb.objdbg: New directory, tests for debugging info
2315 in object files.
2316 gdb.hp/tools: New directory, aux tools for HP-specific tests.
2317
96baa820
JM
23181999-08-05 Stan Shebs <shebs@andros.cygnus.com>
2319
2320 * gdb.base/display.exp: Help expect by putting a newline in the
2321 funky printf, remove a bogus p/a test.
2322
23231999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2324
2325 * gdb.base/display.exp: Make sure that when we say 'run', we are
2326 connected to the target. This is necessary when running not
2327 natively.
2328
23291999-08-03 Stan Shebs <shebs@andros.cygnus.com>
2330
2331 * gdb.base/step-test.exp: Removed some extraneous messages.
2332
2333 * gdb.base/long_long.exp: Don't run memory examination tests
2334 on little-endian targets (they will need a different set of
2335 results to match).
2336
23371999-08-02 Stan Shebs <shebs@andros.cygnus.com>
2338
2339 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
2340 until somebody decides to fix GDB.
2341
2342 * gdb.base/long_long.c: Stop compiler complaint by specifying long
2343 constant as "ULL".
2344 * gdb.base/long_long.exp: Loosen x/c test, add partial result
2345 matches for a couple x/2 commands.
2346
a0b3c4fd
JM
23471999-07-30 Stan Shebs <shebs@andros.cygnus.com>
2348
2349 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
2350 by merging in ref-types2 tests.
2351 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
2352
2353 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2354 * gdb.c++/Makefile.in: Add standard actions.
2355 (EXECUTABLES): Rename from PROGS, update list.
2356 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
2357 from gdb.hp.
2358 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
2359 foo and bar locals.
2360 * gdb.c++/anon-union.exp: Fix tests to match.
2361 * gdb.c++/classes.exp: Run if HP compiler used, add extra
2362 expect matches to handle output variations.
2363 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
2364 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
2365 output, add HP alternatives for new and delete prints.
2366 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
2367 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
2368 * gdb.c++/demangle.exp: Use $style when reporting failure.
2369 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
2370 * gdb.c++/inherit.exp: Run if HP compiler used, add some
2371 match alternatives.
2372 * gdb.c++/local.exp: Add match alternatives or xfails for HP
2373 compilers.
2374 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
2375 * gdb.c++/method.exp: Add match alternatives.
2376 * gdb.c++/misc.cc: Add bool types.
2377 * gdb.c++/misc.exp: Add tests for bool types.
2378 * gdb.c++/overload.exp: Add xfails.
2379 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
2380 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
2381 add some more template parameter tests (only for HP currently).
2382 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
2383 * gdb.c++/virtfunc.cc: Add return type and value for main.
2384 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
2385 match alternatives.
beb998c6 2386
a0b3c4fd
JM
23871999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2388
2389 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
2390
23911999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
2392
2393 * gdb.base/signals.exp: Don't expect getting a backtrace from
2394 within a signal handler to fail on Linux.
2395
23961999-07-29 Stan Shebs <shebs@andros.cygnus.com>
2397
2398 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2399 * lib/gdb.exp: Remove some gratuitious semicolons.
2400 (delete_breakpoints): Increase timeout.
2401 (gdb_expect): Add -notransfer option.
2402 (gdb_test): Use -notransfer option.
2403 (get_compiler_info): Add f77 case.
2404 (get_compiler): New proc, split out from gdb_preprocess, add f77
2405 case.
2406 (gdb_preprocess): Call get_compiler.
2407
2408 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
2409 * gdb.base/attach.exp, gdb.base/display.exp,
2410 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
2411 gdb.base/long_long.exp, gdb.base/printcmds.exp,
2412 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
2413 third arg to gdb_test.
2414 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
2415 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
2416 HP-UX xfails, add others.
2417 * gdb.base/completion.exp: Reflect name change of self-test.
2418 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
2419 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
2420 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
2421 HP failure number.
2422 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
2423 useless HP-UX 10.30 references.
2424 * gdb.base/maint.exp: Loosen matches.
2425 * gdb.base/pointers.c (main): Declare more_code.
2426 * gdb.base/pointers.exp: Match on output of a `next'.
2427 * gdb.base/structs.c: Add prototypes.
2428 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
2429 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
2430
24311999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2432
2433 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
2434 command.
2435
24361999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2437
2438 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
2439 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
2440
2441 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
2442 debug info. Deal with lack of signal hanlder info in stack.
2443
2444 From Jim Kingdon <kingdon@redhat.com>:
2445 * gdb.base/annota1.exp: If printf has debug info, deal with it.
2446
5a2468f5
JM
24471999-07-19 Stan Shebs <shebs@andros.cygnus.com>
2448
2449 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
2450 gdb.base/foll-vfork.exp: Don't run for crosses.
2451
adf40b2e
JM
2452Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2453
2454 * gdb.base/configure.in: Check for gdbvars.exp instead of
2455 a1-selftest.exp.
2456 * gdb.base/configure: Re-generate.
2457
24581999-07-12 Stan Shebs <shebs@andros.cygnus.com>
2459
2460 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
2461 in trying to run first and name is too long.
2462
2463 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
2464 pointers2.c and pointers2.exp, respectively.
2465 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
2466 doschk happier.
2467
43e526b9
JM
24681999-07-08 Stan Shebs <shebs@andros.cygnus.com>
2469
2470 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
2471 callfuncs2.c and callfuncs2.exp.
2472
2473 * gdb.base/list.exp: Remove mistaken xfails.
2474 * gdb.base/list0.h: Add optional prototypes.
2475
9846de1b
JM
2476Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
2477
2478 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
2479 calling malloc.
2480 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
2481 * ptype.exp: Move test for get_debug_format to before its first
2482 use.
2483
24841999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2485
2486 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
2487 * gdb.base/annota2.cc, annota2.exp: Move from here.
2488 * gdb.c++/annota2.cc, annota2.exp: To here.
2489 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
2490
43ff13b4
JM
2491Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
2492
2493 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
2494 a consistent format.
2495
085dd6e6
JM
24961999-06-25 Stan Shebs <shebs@andros.cygnus.com>
2497
2498 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2499 * lib/gdb.exp (get_compiler_info): Add detection for assorted
2500 HP compilers, also set the globals $true and $false.
2501
2502 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
2503 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
2504 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
2505 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
2506 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
2507 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
2508 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
2509 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
2510 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
2511 whatis.c} Add C++ compatible function definitions and return
2512 types, add includes for library functions.
2513 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
2514 * gdb.base/step-test.c (myglob): Rename from glob.
2515 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
2516 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
2517 files, move here from gdb.hp.
2518 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
2519 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
2520 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
2521 Adjust line numbers in regexps.
2522
2523 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
2524 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
2525 instead of 0/1.
2526
2527 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
2528 foll-vfork.exp: New files, move here from gdb.hp.
2529 * gdb.base/page.exp: New file, test of pagination command.
2530
2531 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
2532 recursion test.
2533 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
2534
2535 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
2536 gdb.base/solib.exp: Fix compiler invocation process.
2537
2538 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
2539 HP-UX 11, turn off overload resolution explicitly.
2540 * gdb.base/commands.exp: Set argument list explicitly, add
2541 watchpoint test.
2542 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
2543 them work.
2544 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
2545 expressions properly.
2546 * gdb.base/corefile.exp: Loosen the match slightly.
2547 * gdb.base/default.exp: Allow "Error accessing memory" message
2548 also.
2549 * gdb.base/display.exp: Skip over x/0 j if PA64.
2550 * gdb.base/funcargs.exp: Add xfails for HP-UX.
2551 * gdb.base/interrupt.exp: Ditto.
2552 * gdb.base/langs.exp: Add symbolic matches governed by compiler
2553 in use.
2554 * gdb.base/list.exp: Add xfails for HP-UX.
2555 * gdb.base/long_long.exp: Refine some of the numeric matches.
2556 * gdb.base/mips_pro.exp: Xfail on HP-UX.
2557 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
2558 * gdb.base/nodebug.exp: Succeed on more varieties of output.
2559 * gdb.base/opaque.exp: Remove some HP-UX xfails.
2560 * gdb.base/ptype.exp: Succeed on more varieties of output.
2561 * gdb.base/scope.exp: Add xfails for HP-UX.
2562 * gdb.base/sect-cmd.exp: Add more cases.
2563 * gdb.base/setvar.exp: Add xfails for HP-UX.
2564 * gdb.base/shlib-call.exp: Loosen some matches slightly.
2565 * gdb.base/signals.exp: Match on void symbolically.
2566 * gdb.base/step-test.exp: Add case for PA64.
2567 * gdb.base/term.exp: Add exit and restart.
2568 * gdb.base/twice.exp: Clean up after self.
2569 * gdb.base/varargs.exp: Disable overload resolution explicitly.
2570 * gdb.base/whatis.exp: Allow more ways to pass tests.
2571
2572 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
2573 no longer useful.
2574
2575Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
2576
2577 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
2578 list of patterns.
2579 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
2580 print_double_array(double_array)", "continuing to breakpoint
2581 1018", "print print_double_array(array_d)" and "continuing to
2582 1034" tests.
beb998c6 2583
085dd6e6
JM
25841999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
2585
2586 * Makefile.in: Add empty html and install-html targets.
2587
25881999-06-24 Stan Shebs <shebs@andros.cygnus.com>
2589
2590 * config/mt-*: Remove, these haven't been used since 1996.
2591
25921999-06-22 Stan Shebs <shebs@andros.cygnus.com>
2593
2594 * gdb.base/call-strs.c, gdb.base/ending-run.c,
2595 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
2596 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
2597
9e0b60a8
JM
25981999-06-18 Stan Shebs <shebs@andros.cygnus.com>
2599
2600 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
2601 simpler match case for the ptype of the big class.
2602
26031999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2604
2605 * gdb.exp: Fix test for gdb_prompt existence.
2606
26071999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2608
2609 * gdb.exp (gdb_test): Add fail after calls to perror.
2610
26111999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2612
2613 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
2614
26151999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2616
2617 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
2618
0f71a2f6
JM
2619Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
2620
2621 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
2622 malloc() is linked in.
2623
26241999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2625
2626 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
2627 step at end.
2628
2629 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
2630
26311999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
2632
2633 * gdb.java/jv-print.exp: New file. (Our first Java test!)
2634
cce74817
JM
2635Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
2636
2637 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
2638 * gdb.base/mips_pro.exp: Likewise.
2639
26401999-06-02 Keith Seitz <keiths@cygnus.com>
2641
2642 * gdb.c++/templates.cc: Change all "new" operators to throw
2643 an exception.
2644 * gdb.c++/cplusfuncs.cc: Likewise.
2645
2646 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
2647
2648Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
2649
2650 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
2651 * gdb.base/ending-run.exp: When stepping out of main, accept a
2652 step into an arbitrary assembler file.
2653
392a587b
JM
26541999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2655
beb998c6 2656 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 2657 "breakpoint-invalid" to be printed.
beb998c6 2658 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
2659 number of "frames-invalid" and "breakpoint-invalid" to be printed.
2660 * gdb.base/annota2.cc: Initialize a.x to 0.
2661
9e086581
JM
26621999-05-17 Keith Seitz <keiths@cygnus.com>
2663
2664 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
2665 when "skip_float_tests" set.
2666 Ditto for "print print_double_array(array_d)", "print print_small_structs",
2667 "print print_ten_doubles", and "step into print_long_arg_list".
2668 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
2669 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
2670 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
2671 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
2672 "skip_float_tests" is set.
2673 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
2674 when "skip_float_tests" set.
beb998c6 2675
cd0fc7c3
SS
26761999-05-06 Keith Seitz <keiths@cygnus.com>
2677
2678 * gdb.base/annota2.cc: Include stdio.h.
2679
2680Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
2681
2682 * gdb.base/crossload.exp: Remove, this has been disabled ever
2683 since BFD stopped including all targets, and cross-GDB gets
2684 plenty of testing anyway.
2685 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
2686 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
2687 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
2688 * gdb.base/README: Remove, was doc for this.
2689 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
2690 needed.
2691
b83266a0
SS
26921999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2693
2694 * gdb.base/call-ar-st.exp: Fix one regular expression in test
2695 output.
2696
2697 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
2698 * gdb.base/annota2.exp: New file. More annotation tests.
2699 * gdb.base/annota1.c: New file. Source file for annota1.exp.
2700 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
2701
27021999-04-23 Angela Marie Thomas <angela@cygnus.com>
2703
2704 * config/cfdbug.exp: New file.
2705
7a292a7a
SS
27061999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2707
2708 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
2709 Marcus Daniel's and Dale Hawkins's demangler crashes.
2710
2711 * gdb.c++/demangle.exp (test_gnu_style_demangling,
2712 test_lucid_style_demangling, test_arm_style_demangling,
2713 test_hp_style_demangling): Try Tom Tromey's core-dumping
2714 identifier under each demangling style.
2715
27161999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
2717
2718 * gdb.c++/demangle.exp: Include the current demangling style
2719 in all test names.
2720 (current_demangling_style): New global variable.
2721 (set_demangling_style, test_demangling_core, test_demangling,
2722 test_demangling_exact): New functions.
2723 (test_gnu_style_demangling, test_lucid_style_demangling,
2724 test_arm_style_demangling, test_hp_style_demangling): Use those,
2725 instead of calling gdb_test and gdb_test_exact directly.
2726 (catch_demangling_errors): New function, which reports errors
2727 signalled by the demangling test functions in an orderly way.
2728 (do_tests): Use catch_demangling_errors.
2729
27301999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
2731
2732 * gdb.base/signals.exp (test_handle_all_print): Use () for
2733 grouping in expressions, not {}.
2734
2735 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
2736 initialized yet.
2737
27381999-04-01 Stan Shebs <shebs@andros.cygnus.com>
2739
2740 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
2741 are listed.
2742
27431999-03-26 Stan Shebs <shebs@andros.cygnus.com>
2744
2745 * gdb.stabs/weird.exp: Test for CC being defined before
2746 looking at its value.
2747
27481999-03-25 Stan Shebs <shebs@andros.cygnus.com>
2749
2750 * gdb.base/call-ar-st.exp: Remove stray '#'.
2751 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
2752 "short int" and "long int".
2753 * gdb.c++/overload.cc: Cast the string added in the previous
2754 change, to mollify finicky HP compiler.
2755 * gdb.hp/reg-test.exp (testfile): Fix file name.
2756 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 2757
7a292a7a
SS
2758 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
2759 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
2760 alternate form of enum ptype.
2761
c906108c
SS
27621999-03-23 Stan Shebs <shebs@andros.cygnus.com>
2763
7a292a7a
SS
2764 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
2765 * gdb.hp/*.exp: Change all to run compiler probe only after
2766 passing skip_hp_tests, so as not to waste time on guaranteed
2767 failure.
2768
c906108c
SS
2769 * gdb.c++/overload.cc: Pass string instead of char addr, always
2770 init ccpfoo.
2771 * gdb.c++/templates.cc: Fix syntax error.
2772
7a292a7a
SS
2773Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2774
2775 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 2776 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
2777 command.
2778
27791999-03-18 James Ingham <jingham@cygnus.com>
2780
2781 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
2782
2783 * gdb.c++/method.exp: It was testing an uninitialized int on the
2784 stack and assuming it was positive.
2785
2786 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
2787
2788 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 2789 keep it from killing the rest of the tests.
7a292a7a
SS
2790 Use gdb_continue_to_end.
2791
2792 * gdb.base/sigall.exp: use gdb_continue_to_end.
2793
2794 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
2795
2796 * gdb.base/display.exp: use runto_main, not run.
2797
beb998c6
AC
2798 * gdb.base/default.exp: Check for the current error message in the
2799 r abbreviation test.
7a292a7a
SS
2800 Add strongarm to the targets that know info float.
2801
beb998c6 2802 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
2803 run which doesn't work with monitors.
2804
2805 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
2806
2807 * gdb.base/break.exp: use the gdb_continue_to_end proc.
2808
2809 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
2810 program. Traps the case (in Cygmon) when the program never really
2811 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
2812 more places, so I used my name. Sorry Mark...
2813
2814 * config/monitor.exp (gdb_target_monitor): added another
2815 target_info parameter: remotebinarydownload. This will set the
2816 remotebinarydownload flag if this is causing some boards trouble.
2817
28181999-03-18 Mark Salter <msalter@cygnus.com>
2819
2820 * lib/gdb.exp (continue_to_exit): New function.
2821
2822 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
2823 * gdb.base/ending-run.exp: Ditto.
2824 * gdb.base/step-test.exp: Ditto.
2825
28261999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2827
2828 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
2829 (suggested by Art Haas <ahaas@neosoft.com>).
2830
28311999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
2832
2833 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
2834
2835Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
2836
2837 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
2838 descriptions of types (short unsigned int vs unsigned short, etc).
2839
28401999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
2841
2842 * gdb.base/call-strs.exp: Don't assume that `step' will step over
2843 a call to strlen; sometimes we do have sources.
2844
28451999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
2846
2847 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
2848 character, so GDB won't print garbage after its end.
beb998c6 2849
c906108c
SS
2850 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
2851 breakpoint there instead. Sometimes GCC emits memcpy to handle
2852 the large structures being passed by value, so we step into that
2853 instead of sum_array_print, which obscures what we're really testing.
2854 * gdb.base/step-test.exp: However, we do want a test that notices
2855 the bizarre steps into memcpy, so do that here. Add check for
2856 stepping into function calls that pass large structures by value.
2857 ("Is that a noun clause, or are you just happy to see me?")
2858 Remove all references to specific line numbers.
2859 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
2860 New type and function.
2861 (main): Call large_struct_by_value, passing it a large struct by value.
2862 * lib/gdb.exp (gdb_get_line_number): New function.
2863
2864 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
2865 more portable.
2866
7a292a7a
SS
28671999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
2868
c906108c
SS
2869 * lib/gdb.exp: Doc fixes.
2870
7a292a7a
SS
28711999-03-05 Nick Clifton <nickc@cygnus.com>
2872
beb998c6 2873 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
2874
28751999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
2876
c906108c
SS
2877 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
2878 commands. They're not germane to this test, and they don't work
2879 that way on remote targets.
2880
3fc11d3e
JM
28811999-03-01 James Ingham <jingham@cygnus.com>
2882
2883 * Changelog entries merged over from gdb development branch.
2884
3fc11d3e
JM
2885 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
2886
2887 * lib/gdb.exp (gdbtk_analyze_results): Generic function
2888 for outputting results of test run.
2889
2d4a1622 2890 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
2891
2892 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 2893
7a292a7a
SS
28941999-02-25 Felix Lee <flee@cygnus.com>
2895
2896 * lib/gdb.exp (debug_format): initialize
2897
c906108c
SS
28981999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
2899
2900 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
2901 * gdb.base/call-rt-st.c: Ditto.
2902
c906108c
SS
29031999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
2904
2905 * gdb.threads/pthreads.exp (horiz): New variable.
2906 (test_startup): Fix regexps that capture thread numbers.
2907
29081999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
2909
2910 * gdb.base/smoke.exp: Disambiguate two test case names (both
2911 called ``print'').
2912
2913Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
2914
2915 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
2916 compilation.
2917
29181999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
2919
2920 * gdb.base/miscexprs.exp: Change patterns to match GDB's
2921 actual output formatting.
2922 * gdb.base/smoke.exp: GDB removes leading 0's.
2923 * gdb.base/volatile.exp: Don't check type of remuneration;
2924 that variable is no longer defined in constvars.c.
2925 * gdb.base/step-test.c (main): Exit with explicit exit code.
2926 * gdb.base/step-test.exp: Remove two nexti checks--they are
2927 not portable.
2928
29291999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
2930
2931 * gdb.base/help.exp ("help delete display"): Fix test to match
2932 gdb's output.
2933
2934 * gdb.base/long_long.c (known_types): Initialize values to zero.
2935 * gdb.base/long_long.exp: Step one more line
2936 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 2937 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
2938 unique test case names.
2939
2940Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2941
beb998c6 2942 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
2943
2944 * gdb.c++/method.exp: Add missing close brace.
2945
29461999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
2947
2948 * gdb.base/maint.exp: Use 'set height 0' to disable page
2949 prompting, not 'set height 400'.
2950
2951 Fix a bunch of timeouts.
2952 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
2953 four separate tests, so expect doesn't take forever to match a ton
2954 of text against a regexp with lots of .* forms.
2955 ("maint print psymbols", "maint print symbols"): Make some of
2956 these greps more selective, so that expect doesn't try to wade
2957 through huge piles of output and time out.
2958
2959 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
2960
2961 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
2962 tests: one which doesn't expect shlib events to be reported, and
2963 another which does, but is XFAIL for all platforms other than
2964 HP/UX.
2965
2966 * gdb.base/break.exp: Teach the test suite that the `catch
2967 fork', `catch vfork', and `catch exec' commands produce error
2968 messages on platforms that don't provide these features.
2969
2970Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
2971
2972 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
2973 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
2974 (shortening names from solib_threshold.exp etc), won't run on
2975 anything but HP-UX for the foreseeable future.
2976 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
2977 reflect move.
2978
2979Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
2980
2981 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
2982 gdb.trace/Makefile.in (clean): Remove all test executables.
2983
2984Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
2985
2986 * gdb.base/shlib-call.exp: add test cases to verify that gdb
2987 successfully re-sets breakpoints in shared libraries.
2988 * gdb.base/shmain.c (main): return 0, don't fall off the end.
2989
2990Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2991
beb998c6
AC
2992 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
2993 and compiled w/o GCC.
c906108c
SS
2994
2995 * gdb.hp/watch-cmd.exp: ditto.
2996
2997 * gdb.hp/watch-hp.exp: ditto.
2998
2999 * gdb.hp/xdb1.exp: ditto.
3000
3001 * gdb.hp/xdb2.exp: ditto.
3002
3003 * gdb.hp/dbx.exp: ditto.
3004
3005Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3006
3007 * constvars.c: Remove C++-isms.
3008 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3009 with GCC.
3010
3011Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3012
3013 The following changes are part of the HP merge.
3014
3015 * gdb.base/break.exp: new tests to verify that catchpoints for
3016 fork, vfork, and exec don't trigger inappropriately.
3017
3018 * gdb.base/opaque.exp: compile one file at a time, then link.
3019
3020 * gdb.base/signals.exp: be more restrictive about which hppa
3021 systems receive a setup_xfail. new tests.
3022
3023 * gdb.base/solib_threshold.build: new file.
3024 * gdb.base/solib_threshold.exp: new file.
3025 * gdb.base/solib_threshold.link_opts: new file.
3026 * gdb.base/solib_threshold.mk: new file.
3027 * gdb.base/gen_solib_threshold.c: new file.
3028
3029 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3030 tests. New tests for enums inside classes.
3031
3032 * gdb.c++/compiler.cc: indicate support of template debugging.
3033
3034 * gdb.c++/demangle.exp: run hp style demangling tests.
3035
3036 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3037 tests.
3038
3039 * gdb.c++/misc.cc: changes to support new tests.
3040
3041 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3042 to support new tests.
3043
3044 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3045 gcc, then skip these tests.
3046
3047Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3048
3049 The following files are part of the HP merge; some had longer
3050 names at HP, but have been renamed to be no more than 14
3051 characters in length.
3052
3053 * gdb.hp/ambiguous.cc: new file.
3054 * gdb.hp/ambiguous.exp: new file.
3055 * gdb.hp/attach.exp: new file.
3056 * gdb.hp/attach2.exp: new file.
3057 * gdb.hp/classes-hp.exp: new file.
3058 * gdb.hp/ctti.exp: new file.
3059 * gdb.hp/ctti-add.cc: new file.
3060 * gdb.hp/ctti-add1.cc: new file.
3061 * gdb.hp/ctti-add2.cc: new file.
3062 * gdb.hp/ctti-add3.cc: new file.
3063 * gdb.hp/dbx.exp: new file.
3064 * gdb.hp/exception.cc: new file.
3065 * gdb.hp/exception.exp: new file.
3066 * gdb.hp/foll-exec.c: new file.
3067 * gdb.hp/foll-exec.exp: new file.
3068 * gdb.hp/foll-fork.c: new file.
3069 * gdb.hp/foll-fork.exp: new file.
3070 * gdb.hp/foll-vfork.c: new file.
3071 * gdb.hp/foll-vfork.exp: new file.
3072 * gdb.hp/inherit-hp.exp: new file.
3073 * gdb.hp/more-steps.exp: new file.
3074 * gdb.hp/namespace.cc: new file.
3075 * gdb.hp/namespace.exp: new file.
3076 * gdb.hp/optimize.exp: new file.
3077 * gdb.hp/pxdb.c: new file.
3078 * gdb.hp/pxdb.exp: new file.
3079 * gdb.hp/quicksort.exp: new file.
3080 * gdb.hp/reg-test.exp: new file.
3081 * gdb.hp/reg-test.s: new file.
3082 * gdb.hp/sized-enum.c: new file.
3083 * gdb.hp/sized-enum.exp: new file.
3084 * gdb.hp/start-stop.exp: new file.
3085 * gdb.hp/templ-hp.cc: new file.
3086 * gdb.hp/templ-hp.exp: new file.
3087 * gdb.hp/thr-lib.c: new file.
3088 * gdb.hp/thr-lib.exp: new file.
3089 * gdb.hp/thr-lib.h: new file.
3090 * gdb.hp/thr-liblib.c: new file.
3091 * gdb.hp/virtfun-hp.c: new file.
3092 * gdb.hp/virtfun-hp.exp: new file.
3093 * gdb.hp/watch-cmd.exp: new file.
3094 * gdb.hp/watch-hp.exp: new file.
3095 * gdb.hp/xdb1.exp: new file.
3096 * gdb.hp/xdb2.exp: new file.
3097 * gdb.hp/xdb3.exp: new file.
3098
3099Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3100
3101 The following files are part of the HP merge; some had longer
3102 names at HP, but have been renamed to be no more than 14
3103 characters in length.
3104
3105 * gdb.base/ss.h: new file.
3106 * gdb.base/call-ar-st.c: new file.
3107 * gdb.base/call-ar-st.exp: new file.
3108 * gdb.base/call-rt-st.c: new file.
3109 * gdb.base/call-rt-st-exp: new file.
3110 * gdb.base/call-strs.exp: new file.
3111 * gdb.base/ena-dis-br.exp: new file.
3112 * gdb.base/environ.exp: new file.
3113 * gdb.base/long_long.exp: new file.
3114 * gdb.base/sect-cmd.exp: new file.
3115 * gdb.base/shlib-cl2.exp: new file.
3116 * gdb.base/smoke.exp: new file.
3117 * gdb.base/so-impl-ld.c: new file.
3118 * gdb.base/so-impl-ld.exp: new file.
3119 * gdb.base/so-indr-cl.c: new file.
3120 * gdb.base/so-indr-cl.exp: new file.
3121 * gdb.base/varargs.exp: new file.
3122 * gdb.base/volatile.exp: new file.
3123 * gdb.base/whatis-exp.exp: new file.
7a292a7a 3124 * gdb.base/display.exp: new file.
c906108c
SS
3125 * gdb.c++/derivation.exp: new file.
3126 * gdb.c++/local.exp: new file.
3127 * gdb.c++/member-ptr.exp: new file.
3128 * gdb.c++/overload.exp: new file.
3129 * gdb.c++/ovldbreak.exp: new file.
3130 * gdb.c++/ref-types.exp: new file.
3131 * gdb.c++/ref-types2.exp: new file.
3132 * gdb.c++/userdef.exp: new file.
beb998c6 3133
c906108c
SS
3134Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3135
3136 * gdb.base/default.exp: Reflect wording change in remote.c.
3137
dc96c6c7 3138Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3139
3140 * gdb.base/help.exp: Update to reflect current text.
3141
3142Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3143
3144 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3145 they're stack variables and contain garbage.
3146 * gdb.c++/anon-union.exp: new file.
3147
3148 The following changes were made by David Taylor
3149 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3150 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3151 in changes by HP.
3152
3153 * gdb.base/bitops.exp: new file.
3154 * gdb.base/default.exp: change expected messages for catch and
3155 info catch tests to reflect HP merge changes.
3156 * gdb.base/enable-disable-break.exp
3157 * gdb.base/ending-run.c: new file.
3158 * gdb.base/long_long.c: new file.
3159 * gdb.base/maint.exp: new file.
3160 * gdb.base/pointers2.exp: new file.
3161 * gdb.base/shlib-call2.exp: new file.
3162 * gdb.base/solib.exp: new file.
3163 * gdb.base/step-test.c: new file.
3164 * gdb.c++/anon-union.cc: new file.
3165 * gdb.c++/local.cc: new file.
3166 * gdb.c++/member-pointer.cc: new file.
3167 * gdb.c++/method.cc: new file.
3168 * gdb.c++/ref-types.cc: new file.
3169 * gdb.c++/ref-types2.cc: new file.
3170 * gdb.c++/userdef.cc: new file.
beb998c6 3171
c906108c
SS
3172 * gdb.base/scope.exp: compile one file at a time, then link.
3173 * gdb.base/langs.exp: ditto.
3174 * gdb.base/list.exp: ditto.
beb998c6 3175
c906108c
SS
3176Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3177
3178 The following changes were made by David Taylor
3179 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3180 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3181 in changes by HP.
beb998c6 3182
c906108c
SS
3183 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3184 skip tests. When compiling pass c++ flag to gdb_compile.
3185 * gdb.c++/
beb998c6 3186
c906108c
SS
3187 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3188 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3189 (skip_hp_tests): new function.
3190 (gdb_preprocess): new function.
3191
3192 * configure.in (hpdir): decide whether to configure gdb.hp.
3193 * configure: regenerated.
3194
3195 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3196 to delete on clean.
3197 (EXECUTABLES): update to reflect new additions.
3198 * gdb.base/commands.exp: update message expected.
3199 * gdb.base/default.exp: add copyright notice.
3200 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3201 * gdb.base/help.exp: update messages to reflect current text.
3202 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3203 targets for recurse tests.
3204 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3205 skip this file.
3206
3207 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3208 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3209 compilation.
3210 * gdb.c++/misc.exp: ditto.
3211 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3212 run the tests. tell gdb_compile that it's a c++ compilation.
3213
3214 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 3215
c906108c
SS
3216 * gdb.base/all-bin.exp: new file.
3217 * gdb.base/arithmet.exp: new file.
3218 * gdb.base/assign.exp: new file.
3219 * gdb.base/completion.exp: new file.
3220 * gdb.base/cond-expr.exp: new file.
3221 * gdb.base/condbreak.exp: new file.
3222 * gdb.base/define.exp: new file.
3223 * gdb.base/dollar.exp: new file.
3224 * gdb.base/environment.exp: new file.
3225 * gdb.base/eval-skip.exp: new file.
3226 * gdb.base/jump.exp: new file.
3227 * gdb.base/logical.exp: new file.
3228 * gdb.base/pointers.exp: new file.
3229 * gdb.base/relational.exp: new file.
3230 * gdb.base/section_command.exp: new file.
3231 * gdb.base/whatis-expr.exp: new file.
3232
3233 * gdb.base/all-types.c: new file.
3234 * gdb.base/call-array-struct.c: new file.
3235 * gdb.base/call-return-struct.c: new file.
3236 * gdb.base/call-strings.c: new file.
3237 * gdb.base/callfuncs2.c: new file.
3238 * gdb.base/condbreak.c: new file.
3239 * gdb.base/constvars.c: new file.
3240 * gdb.base/display.c: new file.
3241 * gdb.base/int-type.c: new file.
3242 * gdb.base/jump.c: new file.
3243 * gdb.base/miscexprs.c: new file.
3244 * gdb.base/pointers.c: new file.
3245 * gdb.base/pointers2.c: new file.
3246 * gdb.base/shmain.c: new file.
3247 * gdb.base/shr1.c: new file.
3248 * gdb.base/shr2.c: new file.
3249 * gdb.base/solib.c: new file.
3250 * gdb.base/solib1.c: new file.
3251 * gdb.base/solib2.c: new file.
3252 * gdb.base/varargs.c: new file.
3253 * gdb.c++/derivation.cc: new file.
3254 * gdb.c++/overload.cc: new file.
3255 * gdb.c++/ovldbreak.cc: new file.
3256 * gdb.hp/attach.c: new file.
3257 * gdb.hp/attach2.c: new file.
3258 * gdb.hp/average.c: new file.
3259 * gdb.hp/compiler.c: new file.
3260 * gdb.hp/compiler.cc: new file.
3261 * gdb.hp/execd-program.c: new file.
3262 * gdb.hp/follow-exec.c: new file.
3263 * gdb.hp/follow-fork.c: new file.
3264 * gdb.hp/follow-vfork-and-exec.c: new file.
3265 * gdb.hp/misc-hp.cc: new file.
3266 * gdb.hp/more-steps.c: new file.
3267 * gdb.hp/optimize.c: new file.
3268 * gdb.hp/quicksort.c: new file.
3269 * gdb.hp/run-hp.c: new file.
3270 * gdb.hp/start-stop.c: new file.
3271 * gdb.hp/sum.c: new file.
3272 * gdb.hp/templates-hp.cc: new file.
3273 * gdb.hp/thread-local-in-lib.c: new file.
3274 * gdb.hp/thread-local-in-lib.h: new file.
3275 * gdb.hp/thread-local-in-lib.lib.c: new file.
3276 * gdb.hp/vforked-program.c: new file.
3277 * gdb.hp/virtfunc-hp.cc: new file.
3278 * gdb.hp/watchpoint-hp.c: new file.
3279 * gdb.hp/xdb.c: new file.
3280 * gdb.hp/xdb0.c: new file.
3281 * gdb.hp/xdb0.h: new file.
3282 * gdb.hp/xdb1.c: new file.
3283
3284Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
3285
3286 The following change was made by Edith Epstein
3287 <eepstein@cygnus.com> as part of a project to merge in changes
3288 originally made by HP; HP did not create ChangeLog entries.
3289
3290 * gdb.c++/demangle.exp: changed the expected output for some
3291 ARM-style mangling -- removed second reference to datatype.
3292 For example, maint demangle __dt__11T1__pt__2_cFv
3293 T1<char>::~T1<char>(void)
3294 becomes,
3295 maint demangle __dt__11T1__pt__2_cFv
3296 T1<char>::~T1(void)
3297
3298 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 3299
c906108c
SS
3300Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
3301
3302 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
3303 * gdb.trace/backtrace.exp: Likewise.
3304 * gdb.trace/circ.exp: Likewise.
3305 * gdb.trace/collection.exp: Likewise.
3306 * gdb.trace/deltrace.exp: Likewise.
3307 * gdb.trace/infotrace.exp: Likewise.
3308 * gdb.trace/limits.exp: Likewise.
3309 * gdb.trace/packetlen.exp: Likewise.
3310 * gdb.trace/passc-dyn.exp: Likewise.
3311 * gdb.trace/passcount.exp: Likewise.
3312 * gdb.trace/report.exp: Likewise.
3313 * gdb.trace/save-trace.exp: Likewise.
3314 * gdb.trace/tfind.exp: Likewise.
3315 * gdb.trace/tracecmd.exp: Likewise.
3316 * gdb.trace/while-dyn.exp: Likewise.
3317 * gdb.trace/while-stepping.exp: Likewise.
3318
33191998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3320
3321 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
3322
3323Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
3324
3325 From Brendan Kehoe:
3326 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
3327 int return types.
3328
3329Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
3330
3331 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
3332 remote dos host testing right.
3333
3334Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
3335
3336 * gdb.base/corefile.exp: remove some xfails.
3337
3338Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
3339
3340 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
3341 have different timestamps.
3342
3343Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
3344
3345 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
3346 gdb.base/default.exp: Replace "exec" with "executable".
3347
3348Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
3349
3350 * gdb.base/default.exp: Change else if to elseif from previous
3351 delta.
3352
3353Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
3354
3355 * gdb.base/default.exp: Add brace missing from previous delta.
3356
3357Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
3358
3359 * gdb.base/default.exp: Support test for info float for all
3360 varieties of arm toolchain.
3361
dc96c6c7 3362Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3363
3364 * gdb.trace/*.exp: remove "remote_download" command.
3365
dc96c6c7 3366Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3367
3368 * gdb.trace/*.exp: remove -gdwarf from compile.
3369
3370Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
3371
3372 * gdb.trace/configure.in(AC_INIT): typo
3373 * gdb.trace/configure: regenerated
3374
dc96c6c7 3375Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3376
3377 * config/m68k-emc.exp: New file.
3378 * lib/<emc-support.exp trace-support.exp}: New files.
3379 * configure.in: add new test directory gdb.trace.
3380 * gdb.trace/{configure configure.in Makefile.in}: New files.
3381 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
3382 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
3383 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
3384 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
3385 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
3386 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
3387 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 3388
dc96c6c7 3389Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3390
3391 * gdb.c++/classes.exp: Change all regular expressions to match
3392 arbitrary combinations of newline/carriage-return, so that they
3393 will work equally well on Unix and Windows.
3394 * gdb.c++/inherit.exp: ditto.
3395 * gdb.c++/virtfunc.exp: ditto.
3396
33971998-08-11 Dawn Perchik <dawn@cygnus.com>
3398
3399 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
3400
c2d11a7d
JM
3401Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
3402
3403 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
3404 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
3405 to use a0-a3/d0-d3 as needed.
3406
3407Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
3408
3409 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
3410 * gdb.disasm/am33.exp: Corresponding changes.
3411
c906108c
SS
34121998-07-11 Felix Lee <flee@cygnus.com>
3413
3414 * gdb.base/callfuncs.exp: add cmp10 test.
3415 * gdb.base/callfuncs.c (cmp10): new function.
3416
3417Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
3418
beb998c6 3419 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
3420 into two parts to get around a synchronization problem in expect.
3421
3fc11d3e
JM
3422Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
3423
3424 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
3425
3426 * configure.in: Add options for gdbtk testsuite.
3427
3428 * configure: Regenerate.
3429
3430 * gdb.gdbtk: New directory to hold gdbtk tests.
3431
c906108c
SS
3432Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3433
3434 * gdb.fortran/types.exp: Escape brackets in expect patterns
3435 for test_float_literal_types_accepted tests.
3436 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
3437 before run test.
3438
c2d11a7d
JM
3439Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
3440
3441 * am33.exp: Just compile, do not link the testcase.
3442 * am33.s: Add ".am33" pseudoop to force am33 mode.
3443
c906108c
SS
34441998-06-25 Felix Lee <flee@cygnus.com>
3445
3446 * gdb.base/setshow.exp: make sure $pc is sane.
3447
3448 * gdb.stabs/weird.exp: split expect patterns properly.
3449
c2d11a7d
JM
3450Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
3451
3452 * gdb.disasm/am33.s: New disassembler testfile for the am33.
3453 * gdb.disasm/am33.exp: Run it.
3454
dc96c6c7 3455Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3456
3457 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
3458 match processing (and eliminate spurious timeouts when running).
3459
dc96c6c7 3460Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3461
3462 * gdb.base/signals.exp (test_handle_all_print): put back Mach
3463 exception test, but conditionalize it on target [mach | gnu].
3464
dc96c6c7 3465Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3466
3467 * gdb.base/overlays.exp: fixup compile line for linker script.
3468
3469Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
3470
3471 * gdb.fortran/types.exp: don't guess at float size.
3472
3473Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
3474
3475 * gdb.base/exprs.exp: delete test that depends on int size.
3476
3477Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
3478
3479 * config/sim.exp: Removed checks for target triplets.
3480 (gdb_target_sim): Use gdb,target_sim_options.
3481
3482Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
3483
3484 * gdb.base/reread.exp: New file.
3485 * gdb.base/reread1.c: New file.
3486 * gdb.base/reread2.c: New file.
3487
3488Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
3489
3490 * config/sim.exp: Use 'target sim -sparclite' when running
3491 SPARClite programs.
3492
3493Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
3494
3495 * gdb.base/structs2.exp: New file.
3496 * gdb.base/structs2.c: New file.
3497
3498Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
3499
3500 * gdb.asm/common.inc: New file.
3501 * gdb.asm/d10v.inc: New file.
3502 * asm-source.exp: Pass -I's to gas to find .inc files.
3503 Update line numbers in expected output.
3504 * asmsrc1.s: Rewrite.
3505 * asmsrc2.s: Rewrite.
3506 * configure.in: Create arch.inc symlink.
3507 * configure: Regenerate.
3508 * Makefile.in (distclean): Delete arch.inc.
3509
3510Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
3511
3512 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
3513 (t_enum_value2): ditto
3514 (t_enum_value3): ditto
3515 (main): ditto
3516Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3517
3518 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
3519 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
3520 change.
3521 Use gdb_test instead of send_gdb/gdb_expect sequences.
3522
3523Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
3524
3525 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
3526 not void.
3527
3528Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
3529
3530 * gdb.base/branches.c: Code with lots of loops and
3531 subroutines. Used to test gdbs ability to single step through PC
3532 changes, especially to test mips-tdep.c:mips_next_pc
3533
3534Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
3535
3536 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
3537 more rigorous EGCS C++ error checking.
3538
3539Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3540
3541 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 3542 tests.
c906108c 3543 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 3544 function when asleep.
c906108c 3545 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
3546 for i*86 Linux and SVR4 signal handling problems.
3547 Remove linux xfail for `next to handler in signals_tests_1', fixed
3548 by recent infrun.c change.
c906108c 3549 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 3550 stack backtraces.
c906108c
SS
3551 Adjust expect pattern in `handle all print' test to match Apr 28 1997
3552 target.[ch] change.
3553
3554Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
3555
3556 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
3557 for a newline from gdb before continuing.
3558 (default_gdb_exit): Just look for y or n.
3559 (gdb_test): Detect abnormal exit from GDB running on DOS; if
3560 it does, fail the rests of the tests in the file.
3561
3562Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
3563
3564 * config/cygmon.exp: New file.
3565
3566Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
3567
3568 * gdb.base/list.exp: Fix problem with "list default lines around
3569 main" test on remote targets.
3570
3571 * gdb.base/scope.exp: Fix problem with filelocal_bss before
3572 run test on remote targets.
3573
3574Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
3575
3576 * gdb.asm: New directory.
3577 * configure.in: Configure it.
3578 * configure: Regenerate.
3579 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
3580 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
3581
3582Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
3583
3584 * config/mn10300-eval.exp: New file to support MN10300 eval board.
3585
dc96c6c7 3586Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3587
c906108c
SS
3588 * gdb.base/overlays (several files): Merge the two overlay
3589 managers into one. Change variables (foox, barx, bazx, grbxx)
3590 back into ints but force them to load in their proper sections.
3591
3592Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
3593
3594 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
3595 on-chip insn memory and IMAP1 to upper 128k.
3596 (D10VCopy): Handle memory regions crossing 16k boundaries.
3597 (D10VCopy): Transfer data in 32 bit chunks.
3598
3599Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
3600
3601 * gdb.base/overlays.c (main): Exit normally when result is
3602 correct.
3603
3604 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
3605 map. Include space for printf in .text segment.
3606
3607 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
3608 updated d10v memory VMA/LMA map.
3609 (D10VCopy): Call D10VTranslate.
beb998c6 3610
c906108c
SS
3611Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
3612
3613 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
3614
3615 * gdb.base/bar.c (barx, bar): Change variable to small array so
3616 that it won't be put into the .sdata - small data -
3617 section. Update reference.
3618 * gdb.base/baz.c (bazx, baz): Ditto.
3619 * gdb.base/foo.c (foox, foo): Ditto.
3620 * gdb.base/grbx.c (grbxx, grbx): Ditto.
3621
3622 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
3623 to be arrays.
beb998c6 3624
dc96c6c7 3625Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3626
c906108c
SS
3627 * gdb.base/overlays.exp: fix up and get working again.
3628 Add tests for backtraces from an overlay function.
beb998c6 3629
c906108c
SS
3630Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
3631
3632 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
3633 "calling function with watchpoint enabled".
3634
3635Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
3636
3637 * gdb.base/break.exp (test_next_with_recursion): Remove
3638 gdb_suppress_tests for d10v-*-*.
3639 * lib/gdb.exp (gdb_suppress_tests): Disable this function
3640 pending review of whether it is useful or not.
3641
3642Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
3643
3644 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
3645
3646Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
3647
3648 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
3649 * config/dve.exp: New file to support Densan boards.
3650
3651Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
3652
3653 * gdb.base/interrupt.exp: Document problem of simulators, signals,
3654 reads and BSD.
3655
3656Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
3657
3658 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
3659 response.
3660
3661 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
3662
3663Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
3664
3665 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
3666 test.
3667
3668 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
3669 target_sizeof_long and target_bigendian_p.
3670 (structs_by_value, structs_by_reference): Check values according
3671 to targets word size and endianess.
beb998c6 3672
c906108c
SS
3673Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
3674
3675 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
3676 output.
3677
3678Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
3679
3680 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
3681 Update test of set args help to match source change.
3682
3683Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
3684
3685 * gdb.base/default.exp: Expect help system output to be in
3686 alphabetical order.
3687 * gdb.base/help.exp: Ditto.
3688
3689Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
3690
3691 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
3692 "i*86-pc-linux-gnu*".
3693 * gdb.base/interrupt.exp: Ditto.
3694 * gdb.base/corefile.exp: Ditto.
3695
3696 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
3697 define vxworks when building the testcase.
3698
3699 * gdb.base/ptype.exp: Fix testnames to be unique.
3700 * gdb.base/radix.exp: Ditto.
3701 * gdb.base/term.exp: Ditto.
3702 * gdb.base/whatis.exp: Ditto.
3703 * gdb.c++/classes.exp: Ditto.
3704
3705Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
3706
3707 * gdb.base/callfuncs.exp: Fix indentation.
3708
3709 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
3710 suppress_flag has been set.
3711 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
3712 target feature.
3713
3714Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
3715
3716 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
3717 the testcase.
3718
3719 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
3720 set_debug_traps() and breakpoint().
3721 * gdb.c++/misc.cc (main): Ditto.
3722 * gdb.c++/templates.cc (main): Ditto.
3723 * gdb.c++/virtfunc.cc (main): Ditto.
3724
3725Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
3726
3727 * lib/gdb.exp(gdb_step_for_stub): New function.
3728 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
3729 exists, reload the executable and do a "continue" instead of
3730 doing a jump.
3731 (runto_main): Use gdb_step_for_stub.
beb998c6 3732
c906108c
SS
3733 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
3734 tests to have unique names.
3735 * gdb.base/callfuncs.exp: Ditto.
3736 * gdb.base/commands.exp: Ditto.
3737 * gdb.base/default.exp: Ditto.
3738 * gdb.base/help.exp: Ditto.
3739 * gdb.base/list.exp: Ditto.
3740 * gdb.base/opaque.exp: Ditto.
3741 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
3742 similar tests.
beb998c6 3743
c906108c
SS
3744 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
3745 * gdb.c++/cplusfuncs.cc: Ditto.
3746 * gdb.c++/virtfunc.cc: Ditto.
3747
3748 * config/monitor.exp: Keep track of the last file we saw, rather
3749 than trying to get the info from gdb.
3750
3751 * gdb.fortran/types.exp: Move comment to previous line.
3752
3753Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
3754
3755 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
3756 target mode.
3757
3758Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
3759
3760 From Bob Manson:
3761 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
3762 string from GDB when it connects.
3763
3764 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
3765
3766Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
3767
3768 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
3769 if we can't get a debug format from GDB (we may be testing an
3770 older GDB). Use a 10 second timeout when checking for the format.
3771
3772 * gdb.stabs/weird.exp: Fix quoting.
3773
3774 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
3775
3776Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
3777
3778 * config/arm-ice.exp: New file.
3779
3780Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
3781
3782 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
3783 until it has been modified to work with the new testsuite.
3784
99707966 3785 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
3786 testcase won't compile, cause all of the testcases in the file to
3787 fail instead.
3788
3789 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
3790 (gdb_clear_suppressed): New procedure.
3791 (gdb_stop_suppressing_tests): Only clear suppress_flag if
3792 it contains a positive value.
3793
3794Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
3795
3796 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
3797
3798 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
3799
3800Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
3801
3802 * lib/gdb.exp (setup_xfail_format): New function.
3803 (get_debug_format): New function to get debug format.
3804 (debug_format): New global variable to hold last value set
3805 by get_debug_format.
3806 * gdb.base/list.exp: Call get_debug_format and expect some
3807 tests to fail for DWARF 1 and COFF formats.
3808 * gdb.c++/ptype.exp: Ditto.
3809 * gdb.c++/classes.exp: Ditto.
3810 * gdb.c++/cplusfuncs.exp: Ditto.
3811 * gdb.c++/inherit.exp: Ditto.
3812 * gdb.c++/templates.exp: Ditto.
3813 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 3814
c906108c
SS
3815Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
3816
3817 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
3818 host doesn't have a currently-open connection.
3819
3820 * config/sparclet.exp: Cleanups and fixes to make it generic for
3821 any gdb stub target. Handle cases where gdb doesn't respond when
3822 interrupted in a sane fashion.
3823
3824 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
3825 same thing in a totally different way.
3826
3827 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
3828 setting "timeout".
3829 (gdb_start): We set the global gdb_prompt variable in
3830 default_gdb_init now.
3831
3832Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
3833
3834 * gdb.base/printcmds.exp: Fix "check for floating addition"
3835 regexp to accept results within approx +/- .01 of exact value.
3836 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
3837
3838Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
3839
3840 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
3841 properly.
3842 (gdb_expect): Add optional timeout parameter, and add timeout
3843 value to various calls.
3844 (gdb_suppress_tests): Only give one warning message per group.
3845
3846Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
3847
3848 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
3849 global variables. Handle getting a value for $timeout more
3850 gracefully.
3851
3852Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
3853
3854 * lib/gdb.exp: Close connection to remote host if gdb doesn't
3855 initialize.
3856 (default_gdb_init): New procedure; allow gdb_init to be overridden
3857 by a target configuration file.
3858 (gdb_expect): Pass the timeout to remote_expect.
3859
3860 * config/monitor.exp(gdb_load): Fix typo in regexp.
3861
3862Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
3863
3864 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
3865
3866Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
3867
3868 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
3869 here. Call gdb_target_exec before rebooting the target, to make
3870 sure the connection to the target is closed.
3871 (gdb_load): Pass the name of the executable to gdb_target_monitor.
3872 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
3873 Also detect "Timeout reading from remote" error.
3874
3875 * config/gdbserver.exp: Pass the executable being loaded to
3876 gdb_target_monitor. Don't call gdb_file_cmd here; let
3877 gdb_target_monitor do it.
3878
3879 * gdb.disasm/hppa.exp: Don't use exec_output.
3880
3881Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
3882
3883 * gdb.base/list.exp: If we're debugging a non-native target,
3884 try to set the pc register to point to the start of the
3885 program before doing the first list command.
3886
3887 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
3888 test_calls after restarting.
3889
3890 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
3891 reloading.
3892
3893 * gdb.base/watchpoint.exp: Fix typo.
3894
3895 * gdb.base/setshow.exp: Check for use_gdb_stub.
3896
3897 * gdb.base/break.exp: Fix continue until exit test for the gdb
3898 stub case.
3899 * gdb.base/langs.exp: Ditto.
3900
3901 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
3902 gdb_load_offset. If we weren't given a file to load, figure out
3903 what the current file is and use it.
3904
3905 * config/i386-bozo.exp: New file.
3906
3907Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
3908
3909 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
3910 feature.
3911
3912 * config/proelf.exp: New entry.
3913
3914Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
3915
3916 * lib/gdb.exp: Remove spurious .* patterns at the beginning
3917 of regexps.
3918
3919 * gdb.base/watchpoint.exp: Don't run the test_stepping
3920 tests if gdb can't call functions on the target.
3921
3922 * gdb.base/setshow.exp: Don't run the set prompt tests if
3923 the board has gdb_prompt set.
3924
3925Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
3926
3927 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
3928 * gdb.base/commands.exp: Likewise.
3929 * gdb.base/setshow.exp: Likewise.
3930
3931Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
3932
3933 * config/monitor.exp(gdb_start): Look for gdb_prompt target
3934 feature.
3935
3936 * config/i960.exp: New file.
3937
3938Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
3939
3940 * gdb.base/funcargs.exp: Check for gdb,short_int target
3941 feature instead of looking for explicit target triplets.
3942
dc96c6c7 3943Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 3944
beb998c6 3945 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
3946 "p 123DEADBEEF", to check parse_number.
3947 * top.c: change "to enable to enable" to "to enable" in a couple
3948 of help strings.
3949
3950Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
3951
3952 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
3953 on the mn10300.
beb998c6 3954
c906108c
SS
3955Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
3956
3957 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
3958 where the test executable is run with explicit args.
3959 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
3960
3961Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
3962
3963 * gdb.base/run.c: Use FAKEARGV to build test executable that
3964 does not require a command line arg, since most simulators
3965 don't currently support passing such an arg into the simulated
3966 program.
3967 * gdb.base/commands.exp: Change tests to insert the proper
3968 value as the arg to the first recursive factorial call. Change
3969 compilation line to define FAKEARGV at compile time.
3970
3971Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
3972
3973 * gdb.base/recurse.exp: Enable these tests for the mn10300.
3974 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
3975 function with watchpoint enabled" test.
3976
3977Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
3978
3979 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
3980 Don't call gdb_test when the command doesn't return to a gdb prompt.
3981
3982 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
3983 "Tests restarted" messages.
3984
3985Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
3986
3987 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
3988
dc96c6c7 3989Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3990
3991 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
3992 for INFO SYMBOL; add help tests for OVERLAY commands.
3993 * gdb.base/default.exp: add tests for INFO SYMBOL command;
3994 add tests for OVERLAY commands
3995 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
3996 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
3997 * gdb.base/sigall.c: add usestubs code frag
3998 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 3999
c906108c
SS
4000Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4001
4002 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4003 failures.
4004 (gdb_stop_suppressing_tests): Note that tests have restarted.
4005
4006Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4007
4008 * config/h8300.exp: New file.
4009
4010Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4011
4012 * gdb.base/setshow.exp: Check for the existence of a
4013 feature, not its value.
4014
4015Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4016
4017 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4018
4019 * gdb.base/scope.exp: It's now init0(), not init().
4020
4021 * gdb.base/scope0.c: For now, change init() to be init0().
4022
4023 * config/monitor.exp: Use gdb_serial in preference to serial
4024 or netport.
4025
4026 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4027 and it's not already set.
4028
4029Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4030
4031 * gdb.base/setshow.exp: Only test the run command if the target
4032 isn't using a stub and if it supports argument passing.
4033
4034Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4035
4036 * config/udi.exp(gdb_start): Make sure UDICONF is set
4037 properly before starting gdb.
4038
4039Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4040
4041 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4042 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4043 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4044
4045Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4046
4047 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4048 specialized code to reboot the board, use remote_reboot instead.
4049
4050 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4051
4052 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4053
4054 * config/monitor.exp: Make sure we disconnect from the target.
4055 Also, try a reboot/reload cycle instead of failing if the
4056 load fails.
4057
4058Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4059
4060 * gdb.base/default.exp: Don't set match_max.
4061 * gdb.base/help.exp: Ditto.
4062 * gdb.base/list.exp: Ditto.
4063 * gdb.base/signals.exp: Ditto.
4064
4065 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4066 set, use remote_ld to download the testcase instead of
4067 the GDB loader.
4068
4069Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4070
4071 * config/vr5000.exp: New file.
4072
4073 * config/monitor.exp(gdb_target_monitor): Add pattern for
4074 "Ending remote" to detect errors in connecting.
4075
4076 * gdb.base/setshow.exp: Add .* within auto language test.
4077
4078 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4079 target feature.
4080
4081 * config/monitor.exp(gdb_load): Check for a failure when loading,
4082 and reboot the board if necessary.
4083
4084 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4085 a set of tests. Remove print.* from the patterns being checked.
4086
4087Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4088
4089 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4090 refer to gdb_spawn_id.
4091
4092 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4093 longer used.
4094 * config/sparclet.exp: Ditto.
4095 * config/sparclet-old.exp: Ditto.
4096 * config/slite.exp: Ditto.
4097 * config/sim.exp: Ditto.
4098 * gdb.base/funcargs.exp: Ditto.
4099
4100 * lib/gdb.exp:Remove references to gdb_spawn_id.
4101 (gdb_expect): Move to remote.exp.
4102
4103Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4104
4105 * config/monitor.exp: Detect the "Couldn't establish connection"
4106 message from GDB.
4107
4108Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4109
4110 * gdb.base/bitfields.exp: Use runto instead of explicit
4111 gdb_run_cmd/gdb_expect sequences.
4112
4113 * gdb.base/break.exp(text_next_with_recursion): Add match for
4114 gdb_expect call.
4115
4116 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4117 We also need to handle the "A program is being debugged already"
4118 prompt from gdb. Use gdb_test to set the baud rate.
4119
4120 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4121 to 20000. Really. I mean it.
4122
4123Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4124
4125 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4126 fails. If suppress_flag is set, skip perror message about not
4127 being able to send to GDB.
4128 (send_gdb): If suppress_flag is set, don't try to send commands to
4129 GDB.
4130 (gdb_expect): If suppress_flag is set, always fail immediately.
4131 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4132 (gdb_init): Call gdb_stop_suppressing_tests.
4133 (default_gdb_exit): Ditto.
4134 (default_gdb_start): Ditto.
4135
4136 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4137 gdb_stop_suppressing_tests as appropriate.
4138 * gdb.base/break.exp: Ditto.
4139 * gdb.base/callfuncs.exp: Ditto.
4140 * gdb.base/commands.exp: Ditto.
4141 * gdb.base/exprs.exp: Ditto.
4142 * gdb.base/funcargs.exp: Ditto.
4143 * gdb.base/list.exp: Ditto.
4144 * gdb.base/recurse.exp: Ditto.
4145 * gdb.base/scope.exp: Ditto.
4146 * gdb.base/structs.exp: Ditto.
4147 * gdb.c++/inherit.exp: Ditto.
4148
4149Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4150
4151 * config/vr4300.exp: New file.
4152
99707966
MC
4153 * gdb.*/*.exp: Call gdb_expect instead of expect.
4154
4155 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
4156
4157Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4158
4159 * lib/gdb.exp(gdb_init): New function.
4160
4161 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4162 for each individual variable set.
4163
4164 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4165 name.
4166
4167 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4168
4169 * gdb.base/scope.exp: Use gdb_test.
4170
4171 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4172 aborting; the testsuite driver will do that for us (see
4173 gdb_finish). Also, use gdb_test in a few more places.
4174
4175Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4176
4177 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4178
4179Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4180
4181 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4182 and "add_tests" are not at the same address.
4183
4184Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4185
4186 * gdb.base/ptype.exp: Use gdb_test.
4187
4188Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4189
4190 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4191 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4192 left in. No longer expect them to fail.
4193
4194 * gdb.stabs/*.mt; Deleted, no longer used.
4195 * gdb.stabs/configure.in: Remove references to target makefile
4196 frags.
4197 * gdb.stabs/configure: Rebuilt.
4198
4199 * gdb.disasm/*.mt: Deleted, no longer used.
4200 * gdb.disasm/configure.in: Remove references to target makefile
4201 frags. Use "sh3.s" as the unique filename for this directory.
4202 * gdb.disasm/configure: Rebuilt.
4203
4204 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4205 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4206 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4207
4208Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4209
4210 * config/udi.exp: Use mondfe,name instead of remote_host.
4211
4212Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4213
4214 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4215 a function with a watchpoint enabled on the mn10200.
4216
4217 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4218 before trying to create it!
4219
4220Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4221
4222 * config/vx.exp: Use hostname instead of netport.
4223
4224 * config/vxworks.exp: New file.
4225
4226 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4227
4228 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4229 gdb before assuming everything worked. Send a ^C if a timeout
4230 occurs.
4231
4232 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4233 $gdb_spawn_id directly.
4234 (gdb_run_cmd): Try _start as well as start. Use the target feature
4235 gdb,start_symbol as the symbol to start from when jumping.
4236
4237Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4238
4239 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4240 redundant) test.
4241
4242 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4243 it doesn't lose for 16bit integer systems.
4244
4245Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4246
4247 * gdb.fortran/types.exp: If the target doesn't support "double"
4248 data types, then expect "real" types to only be 4 bytes.
4249
4250 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4251 call tests if the target doesn't support inferior function calls.
4252
4253 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4254 in printf tests.
4255
4256Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4257
4258 * gdb.base/help.exp: Disable "help set", "help show", and
4259 "help support". Simplify regexp for "help stack".
4260
4261 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4262 to 60 seconds. Temporarily set match_max to 15000 around the
4263 "info copying" test.
4264
4265 * gdb.base/nodebug.exp: Don't try to do an inferior function
4266 call if the target doesn't support them.
4267 * gdb.base/printcmds.exp: Likewise.
4268 * gdb.base/setvar.exp: Likewise.
4269 * gdb.base/structs.exp: Likewise.
4270 * gdb.c++/templates.exp: Likewise.
4271 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
4272
4273 * gdb.base/recurse.exp: Enable for the mn10200.
4274
4275 * configure.in: Do configure gdb.stabs directory for *-*-elf
4276 targets.
4277 * configure: Rebuilt.
4278
4279 * gdb.base/break.exp: Check for gdb,noresults before testing
4280 exit status and/or results from the target.
4281 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
4282 * lib/gdb.exp: Remove old (now bogus) initialization of
4283 noinferior, noargs, noresults and nosignals.
4284
4285Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
4286
4287 * config/sh.exp: New file.
4288
4289 * config/slite.exp: Try to connect multiple times to the board
4290 before rebooting. Only send a "monitor run" if need_monitor_run
4291 is set.
4292
4293 * gdb.base/break.exp: Don't do the "stub continue" test if
4294 the target has gdb_stub set.
4295
4296 * gdb.base/callfuncs.exp: Increase the timeout.
4297
4298 * gdb.base/interrupt.exp: Don't even try to compile the testcase
4299 if the target has gdb,noinferiorio set.
4300
4301 * gdb.base/list.exp: Increase match_max to 10000 characters.
4302
4303 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
4304
4305 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
4306 target.
4307
4308 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
4309
4310Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
4311
4312 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
4313 trying to delete the copy of gdb. Catch the file delete so we
4314 don't die if the delete fails; also, the file should be copied to
4315 the host, not to the build.
4316
4317Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
4318
4319 * lib/gdb.exp(gdb_test): Surround the result pattern with
4320 parenthesis in case it contains multiple regexps separated
4321 with |.
4322
4323 * gdb.base/watchpoint.exp: Use gdb_test.
4324 * gdb.base/default.exp: Ditto.
4325
4326Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
4327
99707966 4328 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 4329
c906108c
SS
4330 * gdb.base/scope.exp: Use gdb_test.
4331 * gdb.c++/classes.exp: Ditto.
4332 * gdb.c++/inherit.exp: Ditto.
4333
4334Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
4335
4336 * gdb.base/crossload.exp: Don't use execute_anywhere, use
4337 remote_exec instead.
4338 * gdb.base/corefile.exp: Don't be ridiculous.
4339 * gdb.base/*.c: Add missing stub invocations.
4340
4341Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
4342
4343 * config/slite.exp: Miscellaneous fixes.
4344
4345 * lib/gdb.exp: Fix runto.
4346
4347 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
4348 the target.
4349
4350 * gdb.base/watchpoint.exp: Fix regexp.
4351
4352 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4353 close and wait commands, as the descriptor may now be
4354 invalid. Always call "remote_close host".
4355
4356Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
4357
4358 Major rewrite for testsuite revision.
beb998c6 4359
c906108c
SS
4360 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
4361 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
4362 instead of relying on spawn_id to always contain a valid
4363 spawn id.
4364 (get_compiler_info): New procedure to build the ${binfile}.ci
4365 file, instead of replicating this in N different places.
4366 (gdb_compile): New procedure.
beb998c6 4367
c906108c
SS
4368 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
4369 appropriate arguments) instead of compile. Use gdb_test in a lot
4370 more places. Use send_gdb instead of send. Always run gdb_start
4371 at the start of a testcase, as this is no longer done magically.
4372
4373 config/*-gdb.exp: Rename without the -gdb suffix.
4374
4375 config/mips.exp: Use remote_close instead of exit_remote_shell.
4376 config/monitor.exp: Use target_info instead of looking at
4377 baud, timeout, etc.
4378 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
4379
4380Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4381
4382 * gdb.c++/templates.exp (test_ptype_of_templates),
4383 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
4384 Update expect patterns for destructors and assignment operators
4385 to match corresponding c-typeprint.c changes.
4386 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
4387 to destructor breakpoint test, GDB should be able to set the
4388 destructor breakpoint without specifying arguments.
4389
4390Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
4391
4392 * gdb.threads/pthreads.exp: Change result for failure to compile due
4393 to lack of pthreads runtime support from an error to simply an
4394 unsupported test, per dejagnu standards.
4395
4396Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4397
4398 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
4399 where GDB exits to reduce pattern match time.
4400 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
4401
4402 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
4403
dc96c6c7 4404Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4405
4406 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
4407 * gdb.base/default.exp: ditto.
4408 * gdb.base/nodebug.exp: ditto.
4409 * gdb.base/printcmds.exp: ditto.
4410 * gdb.base/ptype.exp: ditto.
4411 * gdb.base/setvar.exp: ditto.
4412 * gdb.base/structs.exp: ditto.
4413 * gdb.base/setshow.c: Guard against uninitialized values of argc.
4414
4415Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
4416
4417 * configure, */configure: Rebuild with autoconf 2.12.
4418
4419Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
4420
4421 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
4422 use new i*86-pc-linux*-gnu quads.
4423 * gdb.base/corefile.exp: Ditto.
4424 * gdb.base/signals.exp: Ditto.
4425 * gdb.base/sigall.exp: Ditto.
4426 * gdb.base/interrupt.exp: Ditto.
4427
4428 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
4429 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
4430 RedHat 4.0.
beb998c6 4431
c906108c
SS
4432 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
4433 linux. This allows the test case to at least compile on latest
4434 linux, but still not run due to missing the threads runtime library.
4435
4436Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4437
4438 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
4439 directory to search gdb directory. Accept and step over conditional
4440 stack alignment code. Consume $prompt in failure cases.
4441 Reset timeout to $oldtimeout instead of some arbitrary value.
4442 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
4443 timeout problems with infinite stack backtraces.
4444 * gdb.base/ptype.exp (ptype struct link, union tu_link):
4445 Accept function parameters for linkfunc member.
4446
4447Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
4448
4449 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
4450 (CXXFLAGS): Remove, unreferenced.
4451 (B_OPTIONS): Add for -B options and add code to initialize with
4452 previous -B options and also add -B option to pick up cross compiled
4453 runtime.
4454 (TARGET_INCLUDES): Add for -I options and add code to initialize when
4455 doing cross compiles.
4456 (target_alias): Declare global.
4457 (xgcc): Set variable to full path of gcc in build tree. Use findfile
4458 to verify that gcc exists in build tree, and if so set CC to that
4459 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 4460
c906108c
SS
4461Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
4462
4463 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
4464 ptype test for anonymous union. Fixup testcase to match
4465 current gcc debug output.
4466
4467Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
4468
4469 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
4470 force argument to an unsigned long type.
4471
4472Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
4473
4474 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
4475 tests and anonymous union print/ptype tests.
4476 * gdb.base/list.exp (test_forward-search): Increase timeout by
4477 5 minutes for the "search extremely long line" case.
4478 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
4479 completely optional and that the pass/fail messages use the command as
4480 the message if that third arg is a null string.
4481 (gdb_test_exact): Arrange that a null string pattern means match a
4482 null string output rather than any output, which might include random
4483 errors.
4484 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
4485 backtrace test.
4486 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
4487 always failing and failure is now exposed by gdb.exp changes.
4488
4489Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
4490
4491 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
4492 weren't being noted.
4493
4494Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4495
4496 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
4497 * gdb.stabs/weird.exp: Remove v_comb xfails.
4498
dc96c6c7 4499Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4500
4501 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
4502 list.exp scope.exp watchpoint.exp]
4503 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 4504
dc96c6c7 4505Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4506
4507 * config/monitor.exp: Increase download timeout to 1000 seconds.
4508
dc96c6c7 4509Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4510
4511 * config/m32r.exp: Increase timeout to 120 seconds.
4512
4513Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
4514
4515 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
4516 and accept older ordering as obsolescent gcc or gdb.
4517 * gdb.c++/templates.exp: Ditto.
4518 * gdb.c++/virtfunc.exp: Ditto.
4519
4520Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
4521
4522 * gdb.base/coremaker.c: Add code to mmap some data so we
4523 can check that it ends up in the core file.
4524 * gdb.base/corefile.exp: Add test to read mmapped data
4525 from core file.
4526
dc96c6c7 4527Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4528
4529 * config/m32r.exp: New file.
4530
4531Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
4532
4533 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
4534 that cflags can contains -gstabs, and work correctly for other tests.
4535
dc96c6c7 4536Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4537
4538 * gdb.base/setshow.exp: New file, tests show and set.
4539 * gdb.base/setshow.c: New file, tests show and set.
4540 * gdb.base/help.exp: Add test for help set|show annotate.
4541 * gdb.base/default.exp: Add test for set|show annotate.
4542
4543Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
4544
4545 * testsuite/gdb.base/break.exp: Make backtrace from factorial
4546 errors unique.
4547 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
4548 explicitly.
4549
4550Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
4551
4552 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
4553 and width commands. This is done elsewhere.
4554 * (gdb_start): Don't call gdb_start_sim here. That's already
4555 done in gdb_load. This fixes lots of failures in default.exp.
4556
4557Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
4558
4559 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
4560 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
4561 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
4562 in the same we we treat other failures (since it may be an expected
4563 condition), rather than as an error.
4564 * gdb.base/signals.exp (test_handle_all_print): Revert back to
4565 old test format.
4566
4567Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
4568
4569 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
4570 (distclean maintainer-clean realclean): No need to remove files
4571 twice. Nuke the duplicates.
4572 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 4573 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
4574 Remove config.h along with other config files.
4575
4576Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
4577
4578 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
4579 "p func1 ()" and note that rests of tests are skipped.
4580 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
4581 setup_xfails for "print func2::coremaker_local".
4582 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
4583 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
4584 affected by the previous run test.
4585 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
4586 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
4587 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
4588 "pass int powerset tuple" and "pass modeless int powerset tuple".
4589 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
4590 "real write 4" and "real write 8".
4591 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
4592 setup_xfails for "print vs1 after tuple assign 2",
4593 "print \$i after tuple assign 2", and
4594 "print vs2 after tuple assign 2".
4595 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
4596 meaningful error message and return -1 so the caller can
4597 suppress further tests and avoid a cascade of errors.
beb998c6 4598
c906108c
SS
4599Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
4600
4601 * gdb.base/a1-selftest.exp: Tweak tests to account for new
4602 format for printing version.
4603 * gdb.base/default.exp: Ditto.
4604 * gdb.base/interrupt.exp: Fix problem with cascade of
4605 errors if child process dies while calling a function.
beb998c6 4606
c906108c
SS
4607Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
4608
4609 * Makefile.in (VPATH): Add
4610 * Makefile.in (Makefile, config.status): Fix rules so things get
4611 remade when necessary.
4612
4613Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
4614
4615 * Makefile.in (just-check): Add path to sibling expect dir
4616 to environment variable specified by RPATH_ENVVAR.
4617
4618Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
4619
4620 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
4621 (just-check): Add shared library paths for libstdc++, tk,
4622 tcl, bfd, and opcodes to the environment variable specified
4623 in RPATH_ENVVAR.
4624 * configure.in: Add support to recognize --enable-shared flag
4625 and generate correct value for RPATH_ENVVAR.
4626 * configure: Regenerated with autoconf.
4627
4628Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
4629
4630 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
4631 include all osf versions.
4632 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
4633 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
4634 when target is linux. When failing to build pthreads test
4635 executable, give more meaningful message.
4636 * gdb.threads/pthreads.c: Hpux also uses old definition of second
4637 arg for pthread_create.
beb998c6 4638
c906108c
SS
4639Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
4640
4641 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
4642 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
4643 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
4644 and -lpthreads (everybody else).
4645 (test_startup): Fail gracefully if threads are not supported.
4646 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
4647 "p/c array_index("abcdef",2)" when not gcc compiled.
4648 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
4649 "print func2::coremaker_local" when not gcc compiled.
4650 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
4651 "ptype on opaque struct tagname (statically)",
4652 "ptype on opaque struct tagname (dynamically) 1", and
4653 "ptype on opaque struct tagname (dynamically) 2"
4654 for not compiled with gcc.
4655 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
4656 backtrace when compiled with gcc.
beb998c6 4657 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
4658 than always return success.
4659
4660Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
4661
4662 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
4663
4664Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
4665
4666 * gdb.base/structs.exp: Undo last change.
4667
4668Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
4669
4670 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
4671 encapsulate all the steps/nexts done during self test, starting
4672 at main, and makes them less sensitive to optimization issues.
4673 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
4674 signal handler" test.
4675 * gdb.threads/pthreads.exp: Only run this for native configs.
4676 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
4677 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
4678 tests.
4679 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
4680 for "runto test_calls(void)" test.
beb998c6 4681
c906108c
SS
4682Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
4683
4684 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
4685 and don't expect address info in breakpoint confirmations.
4686
4687Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
4688
4689 * gdb.base/list.exp (test_forward_search): Increase timeout
4690 temporarily by 60 seconds for searching extremely long line,
4691 and then reset to old value when done. Increase expect input
4692 buffer to 10000.
4693
4694Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
4695
4696 * gdb.base/list.exp (test_forward_search): Fix to handle very
4697 long source line without overflowing expect's input buffer.
4698
4699Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
4700
4701 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
4702 "buffer_full".
4703
4704 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
4705 "buffer_full".
4706
4707 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
4708 "buffer_full".
4709
4710 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
4711 "buffer_full".
4712
4713Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
4714
4715 * configure.in (configdirs): Add gdb.threads.
4716 * configure: Regenerated with autoconf.
4717 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
4718 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
4719 * gdb.threads/configure: New, generated with autoconf.
beb998c6 4720
c906108c
SS
4721Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
4722
4723 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
4724
4725Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
4726
4727 * gdb.base/signals.exp (test_handle_all_print): Test separately for
4728 each signal's status in the output of "handle all print".
4729 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
4730 the \r\n sequence that immediately precedes the gdb prompt.
4731 * gdb.base/a1-selftest.exp: Save original timeout and restore
4732 after test.
4733
4734Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
4735
4736 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
4737 symbol.
4738
4739Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4740
4741 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
4742
4743Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
4744
4745 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
4746 timeout by 60 seconds.
4747
4748Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
4749
4750 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
4751 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
4752 error return.
4753
4754Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
4755
4756 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
4757 gdb initialization, also report how long dejagnu waited. Restore
4758 old timeout before doing error return. Temporarily increase timeout
4759 by 3 minutes to allow for slow startups over heavy NFS use.
4760
4761Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
4762
4763 * lib/gdb.exp: Report timeout value for verbosity level 2.
4764 * config/gdbserver.exp: Ditto.
4765 * config/hppro.exp: Ditto.
4766 * config/mips-gdb.exp: Ditto.
4767 * config/monitor.exp: Ditto.
4768 * config/netware.exp: Ditto.
4769 * config/sim-gdb.exp: Ditto.
4770 * config/slite-gdb.exp: Ditto.
4771 * config/udi-gdb.exp: Ditto.
4772 * config/unix-gdb.exp: Ditto.
4773 * config/vx-gdb.exp: Ditto.
4774 * gdb.base/a1-selftest.exp: Ditto.
4775 * gdb.base/a2-run.exp: Ditto.
4776 * gdb.base/break.exp: Ditto.
4777 * gdb.base/corefile.exp: Ditto.
4778 * gdb.base/list.exp: Ditto.
4779 * gdb.base/recurse.exp: Ditto.
4780 * gdb.base/scope.exp: Ditto.
4781 * gdb.base/signals.exp: Ditto.
4782
4783Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
4784
4785 * gdb.threads/Makefile.in (docdir): Removed.
4786
4787Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
4788
4789 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 4790 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 4791 @srcdir@.
beb998c6 4792 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
4793 autoconf 2.5 or higher.
4794 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
4795
4796Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
4797
4798 * configure: Regenerated.
4799 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
4800 avoid name clashes with SunOS headers.
4801
4802Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
4803
4804 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
4805
4806Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
4807
4808 * gdb.base/callfuncs.exp: Finish last change -- make sure the
4809 prototype information ends up in the compiler info file.
4810
4811Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
4812
4813 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
4814 attempting to regenerate it. Eliminate use of a temporary file
4815 and just generate the info file directly. Source it immediately,
4816 for consistency of use.
4817 * gdb.base/corefile.exp: Ditto
4818 * gdb.base/exprs.exp: Ditto.
4819 * gdb.base/funcargs.exp: Ditto.
4820 * gdb.base/langs.exp: Ditto.
4821 * gdb.base/list.exp: Ditto.
4822 * gdb.base/mips_pro.exp: Ditto.
4823 * gdb.base/nodebug.exp: Ditto.
4824 * gdb.base/opaque.exp: Ditto.
4825 * gdb.base/ptype.exp: Ditto.
4826 * gdb.base/scope.exp: Ditto.
4827 * gdb.base/setvar.exp: Ditto.
4828 * gdb.base/signals.exp: Ditto.
4829 * gdb.base/whatis.exp: Ditto.
4830 * gdb.c++/templates.exp: Ditto.
4831 * gdb.c++/virtfunc.exp: Ditto.
4832 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
4833 whether or not to add -lstdc++ to the compile command line args.
4834
4835Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4836
4837 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
4838 it got fixed by the recent lookup_minimal_symbol_by_pc change.
4839 Increase timeout, a lot of single stepping might be needed if the
4840 target has no hardware watchpoints.
4841
4842Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
4843
4844 * gdb.base/break.exp: Ignore compiler warnings when compiling
4845 break.c.
4846 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
4847 * gdb.base/default.exp: Add h8300 xfails. Handle messages
4848 from remote-sim.
4849 * gdb.base/exprs.exp: Add h8300 xfails.
4850 * gdb.base/funcargs.exp: Likewise.
4851 * gdb.base/nodebug.exp: Likewise.
4852 * gdb.base/printcmds.exp: Likewise.
4853 * gdb.base/ptype.exp: Likewise.
4854 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
4855 h8300 xfails.
beb998c6 4856 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
4857 on the h8300.
4858 * gdb.base/funcargs.c: Explicitly make last constant argument to
4859 call_after_alloca_subr an unsigned long type.
4860 * gdb.base/return.c: Include stdio.h.
4861
4862Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
4863
4864 * config/abug.exp: New file for the older Motorola Bug monitor
4865 that runs on the mvme13x series VME boards.
4866 * config/monitor.exp: Use the new config array for target settings
4867 if they exist.
4868
4869Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
4870
4871 * sim-gdb.exp: Make the SH simulator allocate less space when
4872 it is targeted.
4873
4874Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
4875
4876 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
4877 test.
4878
4879Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
4880
4881 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
4882 "rs6000-*-*" for "list function in include file" when gcc compiled.
4883 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
4884 for "p ctable1[120]".
4885 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
4886 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
4887 Remove setup_xfail for "rs6000-*-*" for
4888 "print 'scope0.c'::filelocal before run".
4889 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
4890 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
4891 since some compilers don't allow both options to be given
4892 on the same command line. Create object file and move it.
beb998c6 4893
c906108c
SS
4894Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
4895
4896 * gdb.base/corefile.exp: Always regenerate the core file, since
4897 we always regenerate the coremaker program. Detect special case
4898 where registers cannot be read from core file.
beb998c6 4899
c906108c
SS
4900Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
4901
4902 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
4903 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
4904 * gdb.c++/templates.exp: Only match on basename of file since
4905 some formats like xcoff don't encode directory information.
4906 * gdb.stabs/weird.exp: Use the right sed script for powerpc
4907 and rs6000 AIX xcoff targets.
4908 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
4909 * configure: Regenerate.
4910 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
4911 here, rather than in distclean.
beb998c6 4912
c906108c
SS
4913Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
4914
4915 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
4916 defined, and use it to compile the test case with -O2. The
4917 native compilation still uses no optimization.
4918 * gdb.base/mips_pro.c: Remove inline assembly code since
4919 it is compiled PIC by default, which results in assembler
4920 warnings that make the testsuite think the compilation
4921 was unsuccessful.
4922
4923Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
4924
4925 * gdb.c++/misc.exp: Add note to message for
4926 "print s.a for foo struct" that this is a known gcc 2.7.2
4927 and earlier bug.
4928
4929Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
4930
4931 * gdb.base/break.exp: Fix pattern for matching "Delete all
4932 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
4933 setup_xfail for deleting all breakpoints test. Fix various
4934 timeout messages to include "(timeout)".
4935 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
4936 for "p t_float_values2(3.14159,float_val2)".
4937 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
4938 for "continue to call2g" when gcc compiled.
4939 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
4940 "up to foo in langs.exp", "show language at foo in langs.exp",
4941 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
4942 and "show language at fsub in langs.exp".
4943 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
4944 "list line 1 in include file", "list message for lines past EOF",
4945 "list function in include file", "list list0.h:foo", and
4946 "list filename:function; nonexistant function".
4947 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
4948 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
4949 and "ptype t_char_array" to be for native cc only.
beb998c6 4950
c906108c
SS
4951Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
4952
beb998c6 4953 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
4954 setup_xfail for "print coremaker_bss", "print coremaker_ro",
4955 "print func2::coremaker_local", and "backtrace in corefile.exp".
4956
4957Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
4958
4959 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
4960 "bt in signals.exp". This problem only appears when running
4961 the testsuite, and then only intermittently.
4962
4963Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
4964
4965 * gdb.base/return.exp (return_tests): Differentiate between
4966 two tests of continuing.
4967
4968Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
4969
4970 * */Makefile.in (maintainer-clean): Remove config.log.
4971 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
4972 * gdb.c++/Makefile.in (PROGS): Add inherit.
4973 (clean): Remove *.ci.
4974
4975Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
4976
4977 * gdb.c++/misc.cc: Add test code from Mike Stump.
4978 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
4979
4980Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
4981
4982 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
4983 to "alpha-*-osf2*" and add comment.
4984 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
4985 setup_xfail for "step over execarg initialization" and
4986 "step over corearg initialization".
4987 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
4988 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
4989 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
4990 gcc compiled for "print coremaker_bss", "print coremaker_ro",
4991 "print func2::coremaker_local", and "backtrace in corefile.exp".
4992 * gdb.base/signals.exp: Build and source signals.ci.
4993 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
4994 to be for gcc only.
4995 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 4996
c906108c
SS
4997Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4998
4999 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5000 Feb 3 procfs.c change.
5001
5002Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5003
5004 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5005
5006Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5007
5008 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5009 from dejagnu's apparent default of 10 seconds, which gives random
5010 results when running the tests over NFS on moderately loaded systems.
5011 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5012
5013Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5014
5015 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5016 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5017 result reports.
5018
5019Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5020
5021 * configure.in (CY_AC_PATH_TCLH): Remove.
5022 * configure: Regenerate.
5023
5024Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5025
5026 * gdb.c++/Makefile.in (clean): Add missing '{'.
5027
5028Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5029
5030 * lib/gdb.exp: Provide a default value for noinferior.
5031
5032 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5033 Load libgloss.exp.
5034
5035Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5036
5037 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5038 the executable, not the .o to run the tests from.
5039
5040Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5041
5042 * gdb.base/break.exp: Don't test for program exit or exit status
5043 if $noresults if nonzero.
5044 * gdb.base/langs.exp: Likewise.
5045 * gdb.base/watchpoint.exp: Likewise.
5046
5047 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5048 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5049 trying to compile the testcase.
5050
5051Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5052
5053 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5054 * gdb.base/signals.exp (continue to handler): Likewise.
5055
5056Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5057
5058 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5059
5060 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5061
5062Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5063
5064 * gdb.base/corefile.exp: Recognize "not found" as failure
5065 when trying to determine if a core file was generated.
5066 If no core file was generate the first time, try again without
5067 the ulimit -c to work around braindamaged shells.
5068
5069Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5070
5071 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5072 [] tests with "test" and enclose string in quotes.
5073 * gdb.stabs/configure: Rebuild
beb998c6 5074
c906108c
SS
5075Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5076
5077 Changes in sync with expect:
5078 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5079 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5080 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5081 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5082 argument to AC_REQUIRE.
5083 * configure: Regenerated.
5084
5085Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5086
5087 * gdb.base/corefile.exp: When generating a core, discard any
5088 error messages about ulimit not found and the "core dumped"
5089 message from the shell that runs the coredumper.
5090
5091Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5092
5093 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5094
5095 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5096 which sed script to run. Expect failure for v_comb test
5097 on PA targets too.
beb998c6 5098
c906108c
SS
5099Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5100
5101 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5102 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5103
5104Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5105
5106 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5107 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5108 "sparc-sun-solaris*" xfails for "p v_comb".
5109 * lib/gdb.exp (default_gdb_start): Fix typo.
5110 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5111 messages to not include the full program name that caused
5112 the core dump since some systems (such as solaris) apparently
5113 truncate this path to about 80 characters.
5114 When generating a core file first try increasing the core file
5115 size limit to unlimited since some systems may default it to
5116 zero, and it is harmless to try it. Move the test for failing
5117 to generate a core file to where it will actually get executed.
5118 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5119 new gdb result from g++ debug info improvements and make old
5120 pattern obsolescent. Also account for size_t differences
5121 (may be int or long).
5122 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5123 initialization before function call is placed in the delay slot
5124 and thus appears to be skipped over by commands such as "next".
5125
5126Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5127
5128 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5129
5130Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5131
5132 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5133 input source file; fix code to compile test to deal with this
5134 convention.
5135 * gdb.c++/*.exp: Likewise.
5136
5137Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5138
5139 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5140 "bt in signals.exp".
5141
5142Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5143
5144 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5145 "step over execarg initialization" and
5146 "step over corearg initialization".
5147
5148Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5149
5150 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5151 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5152
5153Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5154
5155 From Rob Savoye (rob@poseidon.cygnus.com)
5156 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5157 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5158 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5159 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5160 configure.in}: Major reworking for autoconfig.
5161 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5162 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5163 New files.
5164 * config/unix-gdb.exp: Make GDB global.
5165 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5166 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5167 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5168 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5169 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5170 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5171 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5172 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5173 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5174 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5175 pr-8136.exp, result.exp, string.exp, tuples.exp},
5176 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5177 to returns as necessary, arrange for test to compile own testcase
5178 executable.
5179 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 5180
c906108c
SS
5181Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5182
5183 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5184 clear_xfail at end of test which might not call either pass or fail.
5185 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5186 "backtrace through signal handler".
5187
5188Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5189
5190 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5191 continuing from a job control stop signal.
5192 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5193
5194Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5195
5196 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5197 * gdb.base/corefile.exp: Likewise.
5198 * gdb.base/funcargs.exp: Likewise.
5199
5200Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5201
5202 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5203 * config/monitor.exp: Add support for setting baud rate.
5204
5205Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5206
5207 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5208 i*86-*-linux* xfails for "backtrace through signal handler".
5209 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5210 "print func2::coremaker_local".
5211 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5212 alpha-dec-osf2* xfail for
5213 "delete all breakpoints when none".
5214
5215Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5216
5217 * gdb.base/break.exp: Change test that deletes all breakpoints
5218 when no user breakpoints are installed. A post 4.15 change
5219 causes gdb to no longer prompt in this case.
5220
5221Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5222
5223 * gdb.base/return.exp (return_tests): Change xfail for test
5224 "correct value returned double test" to stop xfailing at
5225 Solaris 2.5. Apparently the bug has been fixed.
5226
5227Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5228
5229 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5230 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5231
5232Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5233
5234 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5235 * gdb.disasm/hppa.s: Corresponding changes.
5236
5237Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5238
5239 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5240 makefile fragment.
5241 * config/mt-hpux: Deleted.
5242
5243Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5244
beb998c6 5245 * Many files: When warning about suppressed tests due to a
c906108c
SS
5246 nonexistant test binary, avoid incrementing the warning count.
5247
5248Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5249
5250 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 5251
c906108c
SS
5252Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5253
5254 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5255 "sparc-*-solaris2*".
5256
5257Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5258
5259 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5260 Add global and local variables and initialize them.
5261 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5262 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5263 extracts the file name and terminating signal from the core file.
5264 * TODO: Remove note about tests for correct mapping of corefile.
5265 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
5266 from optimizing it away.
5267 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
5268 handles common blocks.
5269
5270Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
5271
5272 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
5273 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
5274
5275Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
5276
5277 * Makefile.in (maintainer-clean): New target, synonym for
5278 realclean.
5279 * gdb.base/Makefile.in (maintainer-clean): Likewise.
5280 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
5281 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
5282 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
5283 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
5284 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
5285
5286Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
5287
5288 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
5289 xfails when not gcc compiled for "print foo::funclocal".
5290 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
5291 "print foo::funclocal at foo",
5292 "print 'scope1.c'::foo::funclocal at foo",
5293 "print foo::funclocal_bss at foo",
5294 "print 'scope1.c'::foo::funclocal_bss at foo",
5295 "print foo::funclocal_ro at foo",
5296 "print 'scope1.c'::foo::funclocal_ro at foo",
5297 "print bar::funclocal at foo" and
5298 "print 'scope1.c'::bar::funclocal at foo".
5299 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
5300 gcc compiled for "print foo::funclocal at bar".
5301 Expand all messages to ensure that they identify that
5302 the test is at bar().
5303 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
5304 gcc compiled for:
5305 "ptype on opaque struct pointer (statically)",
5306 "ptype on opaque struct tagname (statically)",
5307 "ptype on opaque struct pointer (dynamically) 1",
5308 "ptype on opaque struct tagname (dynamically) 1",
5309 "ptype on opaque struct pointer (dynamically) 2" and
5310 "ptype on opaque struct tagname (dynamically) 2
5311 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
5312 gcc compiled for:
5313 "p datalocal"
5314 "whatis datalocal",
5315 "ptype datalocal",
5316 "p bsslocal",
5317 "whatis bsslocal", and
5318 "ptype bsslocal".
5319 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
5320 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
5321 when not gcc compiled.
5322 * gdb.base/funcargs.exp (float_and_integral_args): Add
5323 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
5324 compiled.
5325 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
5326 "backtrace from call6a" when not gcc compiled.
5327 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
5328 "backtrace from call7a" when not gcc compiled.
5329 * gdb.base/callfuncs.exp (do_function_calls):
5330 Add "hppa*-*-hpux*" xfail when not gcc compiled for
5331 "p t_char_array_values(char_array_val2,char_array_val1)",
5332 "p t_char_array_values(char_array_val1,char_array_val2)",
5333 "p t_char_array_values("carray 1","carray 2")",
5334 "p t_char_array_values("carray 1",char_array_val2)",
5335 "p t_char_array_values(char_array_val1,"carray 2")",
5336 "p sum_args(1,{2})",
5337 "p sum_args(2,{2,3})",
5338 "p sum_args(3,{2,3,4})",
5339 "p sum_args(4,{2,3,4,5})"
5340 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
5341 "backtrace in corefile.exp" when not gcc compiled.
5342
5343Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5344
5345 * gdb.base/signals.exp: Rewrite `handle all print' test as
5346 a procedure. Accept blanks or TABs as whitespace, increase
5347 timeout and expect input buffer size for the large output
5348 from the command. Remove "i*86-*-bsdi2.0" xfail.
5349
5350Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5351
5352 * gdb.base/setvar.exp: Add new testcases for truncation when
5353 assigning invalid values to bitfields.
5354
5355Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
5356
beb998c6 5357 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
5358 mips-sgi-irix* xfail for
5359 "call inferior func with struct - returns char *"
5360 and fix test so that an optional (unsigned char *) cast is
5361 accepted in the result.
5362
5363Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
5364
5365 * gdb.base/funcargs.exp (float_and_integral_args): Remove
5366 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5367 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
5368 * gdb.base/signals.exp: Remove duplicate "handle all print" test
5369 that accidentally got checked in.
5370
5371Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
5372
beb998c6 5373 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
5374 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
5375 compiled test.
5376 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
5377 Add mips-sgi-irix5* xfail for not gcc compiled.
5378 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
5379 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
5380 "p top", "whatis top", "p middle", and "whatis middle".
5381 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
5382 "whatis signed char" for not gcc compiled.
5383 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
5384 "set variable signed char=-1 (-1)" and
5385 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
5386 * gdb.base/funcargs.exp (float_and_integral_args):
5387 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
5388 Add mips-sgi-irix* xfail when not gcc compiled for
5389 "continue to call2b".
5390 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
5391 "continue to call2g".
5392 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
5393 "backtrace from call6a"
5394 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
5395 "backtrace from call7k".
5396 Add mips-sgi-irix5* xfail when not gcc compiled for
5397 "backtrace from call7a".
5398 (localvars_after_alloca): Fix gdb_test cmds for
5399 "print * after runto ...".
5400 Remove rs6000-*-* xfails for
5401 "print i after runto localvars_after_alloca" and
5402 "print l after runto localvars_after_alloca"
5403 for all compilers.
5404 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
5405 when not compiled with gcc, for:
5406 "print signed char == (minus)",
5407 "print signed char != (minus)",
5408 "print signed char < (minus)",
5409 "print signed char > (minus)".
5410 * gdb.base/callfuncs.exp (do_function_calls):
5411 Add mips-sgi-irix* xfail, when compiled with native compiler, for
5412 "call inferior func with struct - returns char *".
beb998c6 5413 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
5414 "correct value returned double test" to include Solaris 2.4.
5415 * gdb.base/funcargs.exp (float_and_integral_args):
5416 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 5417
c906108c
SS
5418Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5419
5420 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
5421 enumeration bitfields if compiling with GNU C.
5422 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
5423 to empty' prompt.
5424
5425Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
5426
5427 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
5428 test for PRO targets.
5429
5430 * gdb.base/funcargs.exp: Avoid ever setting more than 8
5431 breakpoints in the inferior at any given time by making
5432 two groups of breakpoints for call2*, call6* and call7*
5433 tests.
5434
5435Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5436
5437 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
5438 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
5439 from optimizing it away.
5440 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
5441 "call inferior func with struct".
5442
5443Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
5444
5445 * configure.in: Only configure gdb.chill for particular targets.
5446
5447Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
5448
5449 * gdb.base/Makefile.in: Add action to .c.o transformation
5450 rule that generates a .ci file for each .o file and remove
5451 explicit .c.o rules except for callfuncs.o.
5452 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
5453 generates a .ci file for each .o file and remove explicit
5454 .cc.o rules.
5455 (clean): Remove *.tmp *.ci files.
5456 (EXECUTABLES): Remove templ-info.exp.
5457 * gdb.base/compiler.c: New file.
5458 * gdb.c++/compiler.cc: New file
5459 * gdb.base/scope.exp: Source gdb.base/scope.ci.
5460 Change rs6000-*-* xfail for
5461 "print 'scope0.c'::filelocal_ro" and
5462 "print 'scope1.c'::filelocal" and
5463 "print 'scope1.c'::filelocal_bss" and
5464 "print 'scope1.c'::filelocal_ro" and
5465 "print 'scope1.c'::foo::funclocal" and
5466 "print 'scope1.c'::foo::funclocal_ro" and
5467 "print 'scope1.c'::bar::funclocal" and
5468 "print 'scope0.c'::filelocal_ro" and
5469 "print 'scope1.c'::filelocal at foo" and
5470 "print 'scope1.c'::filelocal_bss at foo" and
5471 "print 'scope1.c'::filelocal_ro at foo" and
5472 "print 'scope1.c'::foo::funclocal at foo" and
5473 "print 'scope1.c'::foo::funclocal_bss at foo" and
5474 "print 'scope1.c'::foo::funclocal_ro at foo" and
5475 "print 'scope1.c'::bar::funclocal at foo" and
5476 "print 'scope0.c'::filelocal_ro" and
5477 "print 'scope1.c'::filelocal" and
5478 "print 'scope1.c'::filelocal_bss" and
5479 "print 'scope1.c'::filelocal_ro" and
5480 "print 'scope1.c'::foo::funclocal" and
5481 "print 'scope1.c'::foo::funclocal_bss" and
5482 "print 'scope1.c'::foo::funclocal_ro" and
5483 "print 'scope1.c'::bar::funclocal" and
5484 "print 'scope1.c'::bar::funclocal_bss"
5485 to only be xfail'd when not compiled with gcc.
beb998c6 5486 Add rs6000-*-* xfail for
c906108c
SS
5487 "print 'scope0.c'::filelocal_bss before run"
5488 when compiled with gcc.
5489 (test_at_main): Add rs6000-*-* xfail for
5490 "print filelocal_ro in test_at_main"
5491 when compiled with gcc.
5492 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 5493 Add rs6000-*-aix* xfail for
c906108c
SS
5494 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
5495 "ptype t_char_array", not compiled with gcc.
5496 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
5497 xfail for "list foo (in include file)" when gcc compiled.
5498 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
5499 (integral_args): Add rs6000-*-* xfail for
5500 "run to call0a" if not compiled with gcc.
5501 (unsigned_integral_args): Add rs6000-*-* xfail for
5502 "run to call1a" if not compiled with gcc.
5503 (float_and_integral_args): Add rs6000-*-* xfail for
5504 "run to call2a" if not compiled with gcc and for
5505 "continue to call2b" for any compiler.
5506 Add rs6000-*-* xfail to
5507 "print f1 after run to call2a" for gcc compiled.
5508 (discard_and_shuffle): Add rs6000-*-* xfail for
5509 "run to call6a".
5510 (shuffle_round_robin): Add rs6000-*-* xfail for
5511 "backtrace from call7a" if not compiled with gcc.
5512 Add rs6000-*-* xfail for
5513 "backtrace from call7b" if compiled with gcc.
5514 (call_after_alloca): Add rs6000-*-* xfail for
5515 "print c in call_after_alloca" and
5516 "print s in call_after_alloca" and
5517 "backtrace from call_after_alloca_subr"
5518 if not compiled with gcc.
5519 (localvars_in_indirect_call): Add rs6000-*-* xfail for
5520 "print c in localvars_in_indirect_call" and
5521 "print c in localvars_in_indirect_call" and
5522 "backtrace in indirectly called function" and
5523 "stepping into indirectly called function"
5524 if not compiled with gcc.
5525 (localvars_after_alloca): Add rs6000-*-* xfail for
5526 "print c after runto localvars_after_alloca" and
5527 "print s after runto localvars_after_alloca" and
5528 "print i after runto localvars_after_alloca" and
5529 "print l after runto localvars_after_alloca"
5530 for all compilers.
5531 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
5532 than whatis-info.exp.
5533 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
5534 than opaque-info.exp.
5535 Setup rs6000-*-* xfail for
beb998c6 5536 "ptype on opaque struct pointer (statically)" and
c906108c
SS
5537 "ptype on opaque struct pointer (dynamically)" when
5538 not compiled with gcc.
5539 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
5540 rather than callf-info.exp.
5541 (do_function_calls): Add clear_xfail for rs6000-*-* for
5542 "p t_float_values2(3.14159,float_val2)". Seems to work
5543 fine there, both with xlc and gcc. Need to find out what
5544 it is doing right and fix other platforms.
5545 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
5546 "call inferior func with struct - returns int",
5547 "call inferior func with struct - returns long",
5548 "call inferior func with struct - returns float",
5549 "call inferior func with struct - returns double",
5550 "call inferior func with struct - returns char *",
5551 but only if not gcc compiled (presumes xlc compiled).
5552 Change rs6000-*-* xfails for
5553 "call inferior func with struct - returns char" and
5554 " call inferior func with struct - returns short" to only
5555 xfail if not using gcc.
5556 (clean mostlyclean): Remove *.ci and *.tmp files.
5557 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
5558 than templ-info.exp.
5559 * gdb.base/langs.exp: Source gdb.base/langs.ci.
5560 Add rs6000-*-* xfail for "up to foo in langs.exp"
5561 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
5562 when not gcc compiled.
beb998c6 5563
c906108c
SS
5564Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5565
5566 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
5567 * gdb.base/corefile.exp: Likewise.
5568 * gdb.base/list.exp: Likewise.
5569 * gdb.base/scope.exp: Likewise.
5570 * gdb.base/siganls.exp: Likewise.
5571
5572 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
5573 compiler output.
5574 * gdb.base/whatis.exp: Likewise.
5575
5576Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
5577
5578 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
5579 failure (opcode table has been fixed to match reality).
5580
5581Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
5582
5583 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
5584 "call inferior func with struct - returns char",
5585 "call inferior func with struct - returns short"
5586
5587 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
5588 "print 'scope0.c'::filelocal at main",
5589 "print 'scope0.c'::filelocal_bss in test_at_main",
5590 "print 'scope0.c'::filelocal at foo",
5591 "print 'scope0.c'::filelocal_bss in test_at_foo",
5592 "print 'scope0.c'::filelocal at bar",
5593 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 5594
c906108c
SS
5595 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
5596 in source file 1". This bug seems to have been fixed with both
5597 gcc and native cc (was native assembler bug?).
5598
5599Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
5600
5601 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
5602 "backtrace through signal handler" to "i*86-*-sysv4*".
5603 * gdb.base/signals.exp: Add xfail for "'next' behaved as
5604 continue" case. Add "known SVR4 bug" to fail message.
5605 Add "i*86-*-bsdi2.0" xfail for "handle all print".
5606 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
5607 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
5608 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
5609 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
5610 "up to foo in langs.exp", "show language at foo in
5611 langs.exp", "up to cppsub_ in langs.exp", "show
5612 language at cppsub_ in langs.exp", "up to fsub in
5613 langs.exp", and "show language at fsub in langs.exp".
5614 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
5615 "bactrace in corefile.exp".
5616 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
5617 "call inferior function with struct - returns float" and
5618 "call inferior function with struct - returns double".
beb998c6 5619
c906108c
SS
5620Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
5621
5622 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
5623 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
5624 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
5625 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
5626
5627Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
5628
5629 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
5630 (or overriden) "CHILL" macro rather then bare "gcc".
5631 Also look for ../../gcc/xgcc since that is what we will
5632 actually need, not "Makefile". Remove following assignment
5633 of CHILL to CHILL_FOR_TARGET because that results in
5634 recursive definition.
5635
5636Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
5637
5638 * gdb.base/corefile.exp: Change xfail for backtrace in
5639 corefile.exp from linuxaout to all linux.
5640 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
5641 cases where we miss the breakpoint at the signal handler
5642 for some reason. Setup xfail for linuxoldld/linuxaout and
5643 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
5644 hitting SIGURG breakpoint.
5645 * gdb.base/signals.exp: Setup xfail for "next" acting like
5646 continue to add linuxoldld. Setup xfail for all linux for
5647 "next to handler in signals_tests_1", "backtrace in
5648 signals_tests_1", "continue to func1", "pass SIGUSR1",
5649 and continue to handler".
5650
5651Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
5652
5653 * Update all FSF addresses except those in COPYING* files.
5654
5655Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
5656
5657 * gdb.base/a2-run.exp: Change messages to be more explicit about
5658 the status of args, and quote binfile in results.
5659
5660Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
5661
5662 * gdb.base/callfuncs.exp: Add tests for passing structs to
5663 inferior functions and return various types.
5664 * gdb.base/callfuncs.c: Add functions to receive a struct
5665 and return a member of the struct, in various types.
5666
5667Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5668
5669 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
5670
5671Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
5672
5673 * config/vxworks29k.exp: New file, sources vxworks.exp.
5674
5675Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5676
5677 * config/gdbremote.exp: New file. Testing framework using
5678 gdbserver.
5679
5680Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
5681
5682 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
5683 "call function when asleep" and "send end of file".
5684 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
5685 for "backtrace in corefile.exp".
5686 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
5687 for "backtrace through signal handler".
5688 * gdb.base/corefile.exp: Make sure we actually generate a core file
5689 before trying the core tests. Some systems allow the user to suppress
5690 generation of core files and default to that (linux for example).
5691 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
5692 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
5693
5694Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5695
5696 * gdb.threads: New directory with some crude multi-threaded
5697 gdb tests (step.exp and step2.exp).
5698 * config/mt-lynx (STEP_EXECUTABLE): Define.
5699 (THREADFLAGS): Define.
5700
5701Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
5702
5703 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
5704
5705 * gdb.base/signals.exp: Disable whole file for lynx until
5706 further notice.
5707
5708 * gdb.base/signals.exp: xfail test where "next" acts like
5709 "continue" for lynx.
5710
5711 * gdb.base/interrupt.exp: xfail test for calling function while
5712 inferior is asleep for lynx.
5713
5714 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
5715 than one cr-lf after each command.
5716
5717Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5718
5719 * configure.in: Reinstate setting of stabsdirs variable, fix
5720 typo in setting up configdirs for native builds.
5721
5722 * gdb.base/return.exp: Fix typo in return double test.
5723 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
5724 compiler from optimizing them away.
5725
5726Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
5727
5728 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
5729 sequences to be echo'd by gdb when using gdb_test.
5730 * gdb.chill/chexp.exp: Likewise.
5731 * gdb.fortran/exprs.exp: Likewise
5732
5733Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5734
5735 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
5736 after the inferior gdb has started.
5737
5738 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
5739 after each command.
5740 * gdb.base/funcargs.exp: Likewise.
5741 * gdb.base/gdbvars.exp: Likewise.
5742 * gdb.base/interrupt.exp: Likewise.
5743 * gdb.base/list.exp: Likewise.
5744 * gdb.base/watchpoint.exp: Likewise.
5745 * gdb.c++/demangle.exp: Likewise.
5746 * gdb.c++/inherit.exp: Likewise.
5747 * gdb.chill/chexp.exp: Likewise.
5748 * gdb.fortran/exprs.exp: Likewise.
5749
5750 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
5751 test if we can't handle IO to/from the inferior.
5752
5753 * gdb.c++/misc.exp: Always check for a program already being
5754 started after sending a "run" command to gdb.
5755
5756 * gdb.base/twice.exp: Start with a fresh gdb.
5757
5758 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
5759 only depend on gdb's expression code, not the chill runtime.
5760
5761 * gdb.base/return.c: Put return values into variables so we
5762 can have gdb print them rather than depending on the program
5763 to print them.
5764 * gdb.base/return.exp: Corresponding changes.
5765
5766 * lib/gdb.exp: Provide default value for noinferiorio.
5767 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
5768 the inferior.
5769
5770 * gdb.base/break.exp: Always check for a program already being
5771 started after sending a "run" command to gdb.
5772 (text_next_with_recursion): Don't check the output from the
5773 program's printf statement. Instead just make sure the program
5774 exited.
5775
5776 * gdb.base/commands.exp: Protect tests which need arguments with
5777 $noargs conditionals.
5778
5779Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5780
5781 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
5782 of structure member arrays to match gdb/valops.c:value_addr change.
5783
5784Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
5785
5786 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
5787 cases.
5788
5789Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
5790
5791 * configure.in (configdirs): Remove gdb.chill from default list
5792 of subdirs and then add it back in only if doing a native build.
5793 The current chill compiler does not yet work in any cross build.
5794 * Revert all signal changes from Jul 6.
5795 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
5796 for sh-hms targets, allowing these tests to link, with no other
5797 changes. Testing is suppressed by setting "nosignals" in site.exp.
5798
5799Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
5800
5801 * configure.in (signaldirs): Define and add to configdirs for all
5802 targets except some specific ones that are known to not support signals.
5803 Also clean up formatting.
5804 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
5805 (signals, sigall): Remove rules to build.
5806 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
5807 Moved to new gdb.signals directory.
5808 * gdb.signals: New test directory.
5809 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
5810 signals.c signals.exp}: New or moved files.
5811
5812Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
5813
5814 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
5815
5816Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
5817
5818 * gdb.base/return.exp: Xfail `return double' test failure
5819 on at least Solaris 2.3 and handle future/past versions on
5820 a case by case basis as appropriate. Also update message
5821 to include i*86 failures.
5822
5823Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5824
5825 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
5826
5827 * lib/gdb.exp: Fix comment which erroneously identified
5828 gdb_file_cmd as gdb_load (the 19 May change was in fact to
5829 gdb_file_cmd not gdb_load).
5830 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
5831
5832 * gdb.base/setvar.exp: Make test names consistent between pass and
5833 fail cases. Use gdb_test more.
5834
5835Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5836
5837 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
5838
5839Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5840
5841 * gdb.base/help.exp: Fix expected help string for `show commands'.
5842
5843Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
5844
5845 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
5846
5847 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
5848 of a text section.
5849
5850Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
5851
5852 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
5853 that loop eventually terminates. Fix Connection refused logic so
5854 that testsuite will expire nicely.
5855
5856Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
5857
5858 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
5859 config/rom68k.exp: New tcl glue for the appropriate monitors.
5860 These all just end up calling monitor.exp.
5861 * config/monitor.exp (gdb_target_monitor): Handle `Connection
5862 refused' by retrying. Cleanup some timeout issues.
5863 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
5864 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
5865 callers don't have to set/restore global timeout variable.
5866
5867 * The following set of changes centralizes management of the global
5868 timeout variable. This way, it can be set in one target dependent
5869 place instead of dozens of places scattered throughout the test suite.
5870 If you need to lengthen a timeout, then you should either set timeout
5871 in one of the config/{target}.exp files, or multiply it by a factor.
5872 Setting it to an absolute value is always going to lose for some
5873 targets.
5874 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
5875 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
5876 * gdb.base/funcargs.exp: Don't set timeout.
5877 * gdb.base/list.exp (test_forward_search): Only use local timeout.
5878 * gdb.base/printcmds.exp (test_print_string_constants
5879 test_print_array_constants): Don't set timeout.
5880 * gdb.base/ptype.exp: Don't set timeout.
5881 * gdb.base/recurse.exp: Don't set timeout.
5882 * gdb.base/return.exp: Don't set timeout.
5883 * gdb.base/watchpoint.exp: Don't set timeout.
5884 * gdb.c++/classes.exp (do_tests): Don't set timeout.
5885 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
5886
5887Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
5888
5889 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
5890
5891Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5892
5893 * lib/gdb.exp: Disable chill tests for irix5.
5894
5895Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5896
5897 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
5898 each test pass or fail.
5899
5900Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5901
5902 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
5903 xlc not gcc.
5904
5905Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
5906
5907 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
5908
5909Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
5910
5911 * config/est.exp: Fix copyright and comments. Remove dead code.
5912 Use targetname, serialport and baud variables instead of fixed
5913 constants.
5914 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
5915 * config/cpu32bug.exp: New file to support cpu32bug monitors.
5916
5917Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5918
5919 * gdb.base/watchpoint.exp: Don't run
5920 test_watchpoint_triggered_in_syscall for sunos.
5921
5922Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5923
5924 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
5925 they don't seem to exist. Do include stdio.h.
5926
5927Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5928
5929 * gdb.base/a1-selftest.exp: Add alpha xfail.
5930
5931Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5932
5933 * gdb.base/watchpoint.c (main): Prompt before calling read().
5934 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
5935 Revise accordingly. Remove cruft about sending "123" several
5936 times, until it gets noticed. Clean up the "print buf[0]" stuff
5937 so that it passes or fails, and waits for prompts in the usual way.
5938
5939Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5940
5941 * gdb.base/recurse.exp: Fix comment.
5942
5943 * TODO: Remove item about printing variables in nodebug.exp. Add
5944 item about enabling tests which are only run on some targets.
5945
5946 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
5947 fail, make test names unique, use new gdb_test convention
5948 regarding pattern, use gdb_test more, etc.).
5949
5950 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
5951 fail, make test names unique, etc.).
5952
5953Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5954
5955 * gdb.base/nodebug.c: Change return type of top and middle to
5956 short.
5957 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
5958 are fixed by the recent mdebugread.c changes. Allow `short ()'
5959 as type for top and middle.
5960
5961Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5962
5963 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
5964 nearly as I can tell, the whole thing was an accident in Stu's
5965 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
5966 to replace a send/expect pair with gdb_test, but ended up only
5967 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
5968 of 30 Mar 1995 took care of it, but left this vestigial comment
5969 which I am now nuking.
5970
5971Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5972
5973 * gdb.base/break.exp: Look for different line number for
5974 breakpoint at main depending on usestubs.
5975
5976Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5977
5978 * gdb.base/list.exp: Adjust some alternate expect patterns to
5979 match recent list0.c change. Add alternate expect pattern for
5980 output from `list default lines around main' for optimizing
5981 compilers.
5982
5983Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5984
5985 * lib/gdb.exp: If nosignals is not set, set it to 0.
5986
5987Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
5988
5989 * config/slite-gdb.exp: Responds to load symbol table prompt.
5990 * gdb.base/break.exp: Adjust line number, fix rerun.
5991 * gdb.base/langs0.c: Add #ifdef usestubs.
5992
5993Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
5994
5995 * gdb.base/list.exp: Adjust line contents after adding new lines in
5996 list0.c. Also fix a syntax error.
5997
5998 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
5999 * gdb.base/break.exp: ditto.
6000 * gdb.base/list.exp: ditto.
6001 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6002 * gdb.base/run.c: ditto.
6003 * gdb.base/list0.c: ditto.
6004 * gdb.base/funcargs.c: ditto.
6005
6006Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6007
6008 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6009 $targetname, $serialport and $baud instead of hardwired variables.
6010 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6011 target doesn't support signals.
6012
6013Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6014
6015 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6016
6017Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6018
6019 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6020 Don't rely on the value of an auto variable before it has been
6021 initialized. Use gdb_test more.
6022
6023Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6024
6025 * lib/gdb.exp (default_gdb_version): A version number must start
6026 with a digit, but other than that contains all characters up to
6027 the first whitespace character.
6028
6029Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6030
6031 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6032
6033Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6034
6035 * gdb.c++/*.exp: Warn if executable does not exist. The original
6036 reason for skipping the warning was that configure.in sometimes
6037 intentionally skipped building the executables but the tcl code
6038 had no way of knowing. That (a) was always bogus with respect to
6039 error handling, (b) is no longer true (right now there is no way
6040 to skip C++ tests).
6041
6042 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6043
6044Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6045
6046 * gdb.base/list.exp: Add expect patterns for output from
6047 SunPRO compiled executables.
6048 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6049 types.
6050
6051Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6052
6053 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6054 number (we are already testing that the correct source line text
6055 gets printed).
6056
6057 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6058 that is what is intended, but something needed to be done to get
6059 sunos4 native working again.
6060
6061 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6062
6063 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6064 apparently went with a (very) old xfail.
6065
6066Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6067
6068 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6069 runto_main is a proc in gdb.exp that will do 'step' for target use
6070 stubs.
6071 * gdb.base/exprs.exp: ditto.
6072 * gdb.base/interrupt.exp: ditto.
6073 * gdb.base/opaque.exp: ditto.
6074 * gdb.base/printcmds.exp: ditto.
6075 * gdb.base/ptype.exp: ditto.
6076 * gdb.base/scope.exp: ditto.
6077 * gdb.base/setvar.exp: ditto.
6078 * gdb.base/signals.exp: ditto.
6079 * gdb.base/twice.exp: ditto.
6080 * gdb.c++/classes.exp: ditto.
6081 * gdb.c++/inherit.exp: ditto.
6082 * gdb.c++/templates.exp: ditto.
6083 * gdb.base/break.exp: no run and hit main for stubs. Change line
6084 numbers for breakpoints and info breakpoint.
6085 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6086 breakpoint().
6087 * gdb.base/callfuncs.c: ditto.
6088 * gdb.base/exprs: ditto.
6089 * gdb.base/interrupt.c: ditto.
6090 * gdb.base/opaque0.c: ditto.
6091 * gdb.base/printcmds.c: ditto.
6092 * gdb.base/ptype.c: ditto.
6093 * gdb.base/scope0.c: ditto.
6094 * gdb.base/setvar.c: ditto.
6095 * gdb.base/signals.c: ditto.
6096 * gdb.base/twice.c: ditto.
6097 * gdb.c++/misc.cc: ditto.
6098 * gdb.c++/templates.cc: ditto.
6099
6100Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6101
6102 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6103
6104 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6105 somewhere between `read' and `main.c'. I'm pretty sure the
6106 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6107 and it isn't particularly useful.
6108
6109 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6110
6111Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6112
6113 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6114
6115Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6116
6117 * config/mt-slite: add LIBS and -nostdlib.
6118 * config/slite-gdb.exp: add this new file to support sparclite target.
6119
6120Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6121
6122 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6123
6124 * gdb.base/a2-run.exp: Change argument to istarget from
6125 "*-*-vxworks" to "*-*-vxworks*".
6126 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6127
6128Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6129
6130 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6131 will not runto main but do a 'step' to step out of breakpoint().
6132 * config/mt-slite: add -Dusestubs.
6133
6134Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6135
6136 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6137 instead of just @.
6138
6139 * gdb.base/signals.exp: Add test for "handle all print".
6140 * TODO: Remove "handle all print". Also remove item about
6141 checking copyright date (I don't like the idea of a spurious FAIL
6142 based on when we run the tests).
6143
6144 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6145 for SunOS4 (reason for failure not investigated). Remove
6146 redundant test for $binfile.
6147
6148 * gdb.base/nodebug.c (array_index): Call malloc.
6149
6150 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6151
6152Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6153
6154 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6155 conventions and slightly simplify the matching regexp.
6156
6157Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6158
6159 * gdb.base/break.exp: Update gdb_test invocation to use new
6160 convention.
6161
6162 * lib/gdb.exp: If noargs is not set, set it to 0.
6163
6164 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6165 tests unique.
6166
6167 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6168
6169Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6170
6171 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6172 one argument of type "<non-float parameter>".
6173
6174Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6175
6176 * config/rom68k.exp: New file to support Motorola IDP board.
6177 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6178 * gdb.base/break.c: Change things around so that this program
6179 doesn't depend upon args. This is necessary to make remote
6180 targets work (in general, they can't take args).
6181 * gdb.base/break.exp: Don't try to send args to program. Don't
6182 expect output. Also, replace lots of code with gdb_test.
6183
6184Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6185
6186 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6187 printing of '\'' (which is what the comment says we are testing,
6188 even though we were not), not '''.
6189 (test_integer_literals_rejected): Test that printing ''' is an error.
6190
6191 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6192 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6193 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6194 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6195 Use gdb_test not test_print_accept.
6196 * lib/gdb.exp: Remove test_print_accept.
6197
6198 * gdb.base/signals.exp (signal_tests_1): Make pass message
6199 consistent with fail message.
6200
6201 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6202 unsigned char; the bug (PR 1821) is fixed.
6203
6204 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6205
6206 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6207 successful tests--makes xfailing them work right.
6208
6209Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6210
6211 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6212 only \r\n, not .*. The test can pass .* as the last thing in
6213 $pattern if that is what it wants. In addition to providing this
6214 flexibility, this change should speed up pattern matching in cases
6215 where the pattern already ended with .* (there were a number of
6216 them). This change also helps catch bad patterns--in the old
6217 scheme the typo "char \*" instead of "char \\*" would pass. Now
6218 it is caught.
6219 * Many .exp files: Update callers.
6220
6221 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6222 clearer and does not spuriously match multiple ('s. Likewise for
6223 ) and *.
6224
6225 * gdb.base/nodebug.exp: Test ability to call a function and pass
6226 it a string (even with no debugging info).
6227
6228 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6229 "p '\'", which is the same as "p ''" once tcl gets done with
6230 quoting, to "p '\\'", which I suspect is what is intended (one
6231 backslash gets sent to GDB).
6232
6233 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6234
6235Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6236
6237 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6238 1817) was fixed literally years ago.
6239
6240Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6241
6242 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6243 test, it causes stepping out of call_after_alloca_subr with
6244 optimizing compilers.
6245 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6246 fails.
6247
6248 * gdb.c++/templates.exp: Source templ-info.exp only if
6249 the templates executable exists.
6250
6251 * gdb.c++/misc.cc (class Contains_static_instance,
6252 class Contains_nested_static_instance),
6253 gdb.c++/classes.exp (test_static_members): Test printing of
6254 a class that contains a static instance of the class.
6255
6256Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6257
6258 * gdb.base/langs2.c (cppsub_): Don't prototype.
6259 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6260 only, I believe).
6261
6262Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6263
6264 * lib/gdb.exp (skip_chill_tests): New procedure.
6265
6266 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
6267
6268Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
6269
6270 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
6271 each expect pattern. Cuts runtime from 12 to about 4 seconds.
6272
6273Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6274
6275 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
6276
6277 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
6278 disassemble 8, not 16, instructions for part 4.
6279
6280 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
6281 support the latter anymore.
6282
6283 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
6284 -DNO_PROTOTYPES.
6285 * gdb.base/callfuncs.c: Control use of prototypes based on
6286 NO_PROTOTYPES, not __STDC__.
6287 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
6288 t_float_values2 tests if prototypes in use.
6289
6290 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
6291 t_double_values): When checking differences against DELTA, check
6292 that difference is within the range (-DELTA,DELTA), not just
6293 (-infinity,DELTA).
6294
6295Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
6296
6297 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
6298 'file' command firts, then 'target', then 'load', this is due to gdb
6299 target set up.
6300 * config/mips-gdb.exp: Fix a couple regular exp bugs.
6301
6302Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
6303
6304 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
6305 FP load/store variants.
6306 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
6307
6308Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6309
6310 * gdb.base/term.exp: Do not give a warning if not native, it is
6311 not an abnormal condition.
6312
6313Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
6314
6315 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
6316 t_char_array".
6317
6318Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6319
6320 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
6321 are getting the version number.
6322
6323 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
6324 if not native, it is not an abnormal condition.
6325
6326Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6327
6328 * lib/gdb.exp: Just use "file exists", rather than undocumented
6329 dejagnu procedure "findfile".
6330
6331Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6332
6333 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
6334 (LDFLAGS): Set to -Xlinker -Ur.
6335
6336 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
6337 Removed, these values are set by lib/gdb.exp.
6338
6339 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
6340
6341Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6342
6343 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
6344 of replicating gdb startup code.
6345
6346 * config/mt-vxworks (LDFLAGS): Set to -r.
6347 (CFLAGS_FOR_TARGET): Removed.
6348
6349 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
6350 (gdb) and gdb for vxworks uses (vxgdb).
6351
6352 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
6353 executable is not in the tree and host != target, use sed and
6354 program_transform_name to determine the gdb name used by the
6355 target.
6356
6357 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
6358 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
6359
6360Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6361
6362 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
6363 floats, chars, and shorts where there are ANSI-style function
6364 definitions.
6365
6366 * gdb.base/langs.exp, gdb.base/langs*: New test.
6367 * gdb.base/Makefile.in: Build it.
6368 * TODO: Remove item about checking that C names don't get C++
6369 demangling applied; this test tests it.
6370
6371Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6372
6373 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
6374 went with the const70 xfail. The xfail went away a year ago.
6375
6376 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
6377
6378 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
6379 for hp300.
6380
6381 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
6382
6383 * gdb.base/a1-selftest.exp: Don't run on hp300.
6384
6385Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6386
6387 * Makefile.in (site.exp): Set host_alias and target_alias as well
6388 as host_triplet and target_triplet.
6389
6390Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6391
6392 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
6393
6394 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
6395 places as other ecoff systems).
6396
6397 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
6398 ultrix.
6399
6400Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6401
6402 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
6403 remove them.
6404 * gdb.base/nodebug.exp: Accept "function" in addition to "text
6405 variable and "variable" in addition to "data variable".
6406 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
6407
6408 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
6409 2.
6410 * gdb.base/list1.c (long_line): Add additional statement at start
6411 of function.
6412 * gdb.base/list.exp (test_forward_search): Update line number to
6413 reflect new statement.
6414
6415Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6416
6417 * gdb.base/signals.exp: Reinitialize searched source directories
6418 after gdb_start call.
6419
6420Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
6421
6422 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
6423 * gdb.stabs/Makefile.in: Likewise.
6424
6425 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
6426 change. Instead split the tests into smaller pieces.
6427 * gdb.disasm/hppa.s: Corresponding changes.
6428
6429Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6430
6431 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6432 Quote ^C when passing it to stty. For some shells ^ is a pipe.
6433
6434 * gdb.base/funcargs.exp: Modify many tests so that every test
6435 either passes or fails. Make some test names unique.
6436
6437Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6438
6439 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6440 Call stty to set interrupt character.
6441
6442 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
6443 for HP assembler versus GNU assembler based on actual behavior of
6444 $(CC), rather than assuming that $(AS) is always the GNU assembler.
6445
6446 * TODO: Suggest a few more stepping tests.
6447
6448Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
6449
6450 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
6451 restart GDB for h8300 after a continue.
6452 (return): Add pattern to match a29k-udi behavior.
6453 * gdb.base/nodebug.exp: Remove obsolete comment.
6454 * gdb.base/regs.exp: New file, testing of register displays.
6455 * gdb.base/return.exp: Fix typo in reference to $objdir.
6456 * gdb.base/whatis.exp: Always start with a fresh GDB.
6457
6458Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6459
6460 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
6461 higher, these tests generate a lot of output.
6462
6463Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6464
6465 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
6466 code following the catch silently ignored some errors; without the
6467 catch they should be thrown like any other tcl error. Also, the
6468 catch used "" instead of {} which meant all the callers who wanted
6469 to include one of the characters "[]$ had to quote it an extra time.
6470 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
6471 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
6472 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
6473 Remove extra quoting.
6474
6475Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
6476
6477 * gdb.base/commands.exp: Make test names unique; every test either
6478 passes or fails. Update some comments.
6479
6480 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
6481
6482Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6483
6484 The following fixes a FAIL caused by the fact that the alpha stabs
6485 configuration didn't use the ".if alpha" code in weird.def.
6486 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
6487 bit pointer, so the 32 bit version works even on the alpha.
6488 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
6489 Remove the stuff which allowed us to have separate versions for
6490 alpha and everything else.
6491
6492 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
6493 regexp which "info func operator\[\](" is supposed to match. Fix
6494 string to send to GDB. Note that GDB still doesn't work right. Add a
6495 new test for "info func .perator\[\](" which GDB does handle correctly.
6496
6497 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
6498
6499Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6500
6501 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
6502 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
6503 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
6504 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
6505 it makes the tests harder to understand and confuses test-o-matic.
6506 The preferred style is that each test provides a PASS or a FAIL,
6507 and has a unique message (e.g. "continue #54" not just "continue")
6508 which is the same for the pass and the fail.
6509 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6510 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
6511 to lib/gdb.exp.
6512 * gdb.base/printcmds.exp: Use test_print_accept. Remove
6513 prt_accept which was basically the same thing. Likewise for
6514 test_print_reject and prt_reject.
6515 * lib/gdb.exp (test_print_reject): Add some more error message
6516 patterns to match from the former printcmds.exp (prt_reject).
6517 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
6518 One defect of the passcount stuff is that some of it failed to
6519 report XPASS where appropriate.
6520 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
6521 stuff before and after arg in expected pattern.
6522 (test_paddr_operator_functions): Re-do test without print_addr_of;
6523 this is the only test which seems to want extra stuff there.
6524
6525Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6526
6527 * gdb.base/nodebug.exp: Update new tests to reflect improved
6528 wording of gdb output.
6529
6530 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
6531 and "ptype" work on variables in files compiled without -g.
6532 Replaces commented out "maint print msymbol" tests.
6533
6534Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6535
6536 * gdb.base/setvar.c (dummy): Call malloc.
6537
6538 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
6539 losing with the irix4 sed.
6540
6541 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
6542 ALRM" on irix4.
6543
6544Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6545
6546 * TODO: Remove items about corefile.exp testing new exec-file and
6547 backtrace; both are now done. Add items about printing enums.
6548
6549Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6550
6551 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
6552 "get signal $thissig" test fails.
6553
6554 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
6555
6556Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6557
6558 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
6559 compiler warning with dec alpha compiler.
6560
6561 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
6562 extra \n from gdb_test call (this explains why the prompt test
6563 that I removed yesterday was there).
6564 (user_defined_command_test): Remove extra \n and prompt test.
6565
6566 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
6567 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
6568 doesn't exist.
6569 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
6570 Also remove alpha workaround, which turns out to be because
6571 SIGABRT == SIGLOST.
6572
6573 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
6574
6575 * gdb.base/help.exp: Don't test "help show".
6576
6577Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6578
6579 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
6580 "set print address" is on.
6581 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
6582 pass prompt to gdb_test; gdb_test already looks for the prompt.
6583
6584 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
6585
6586 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
6587 was a vestige of the manual TESTSTRATEGY, and the purpose of it
6588 was to make sure that gdb can read a core file. But (a) the "read
6589 the corefile" part didn't make it to a1-selftest.exp, we just
6590 delete the corefile after creating it, and (b) we test reading
6591 corefiles in corefile.exp anyway. Also, this test left around a
6592 xgdb process on Solaris.
6593
6594 * gdb.base/corefile.exp: Also test backtrace.
6595
6596Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
6597
6598 * gdb.base/commands.exp: Test a simple user defined command with
6599 arguments and if/while statements; verify the full user command is
6600 printed by "show user".
6601
6602 * gdb.base/commands.exp: Test if/while commands as part of a
6603 breakpoint command list; verify they appear in breakpoint
6604 information.
6605
6606Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6607
6608 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
6609 than by dividing by zero.
6610
6611Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
6612
6613 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
6614 performing an inferior call with watchpoints enabled.
6615 * gdb.base/watchpoint.c (main): Delete second unnecessary read
6616 call.
6617
6618Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6619
6620 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
6621 of "file" command.
6622
6623 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
6624 Add additional pattern for when "int operator int(void);" appears
6625 in a different order.
6626
6627Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6628
6629 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
6630
6631 * gdb.base/help.exp: Replace most of docstrings for "info signals"
6632 and "signal" with ".*".
6633
6634Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6635
6636 * TODO: Add note about "handle all nostop".
6637
6638 * gdb.base/{sigall.c, sigall.exp}: New test.
6639 * gdb.base/Makefile.in: Add it.
6640
6641Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
6642
6643 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
6644 when invoking GDB, suppresses any windowing interface.
6645
6646Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
6647
6648 * config/sim-gdb: New file, simulator testing support.
6649
6650Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
6651
6652 * gdb.base/interrupt.exp: Test calling func1 twice.
6653
6654Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
6655
6656 * gdb.base/list.exp (test_forward_search): Set timeout higher
6657 when we'll be getting lots of output from gdb.
6658
6659 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
6660 "init_malloc" to after the expect statement. Run it if that
6661 regexp is taken, but also for two others which happen if source
6662 cannot be found.
6663
6664Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6665
6666 * gdb.base/printcmds.exp: New test, for printing register before
6667 program is running.
6668
6669Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6670
6671 * gdb.base/list.exp: Correct some alternate expect patterns
6672 to reflect changes in list1.c.
6673
6674Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6675
6676 * TODO: Add item regarding large frames.
6677
6678 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
6679
6680 * TODO: Remove item about enabling return.exp; it
6681 is enabled. Suggest a few more "return" tests.
6682
6683Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6684
6685 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
6686 anonymous unions.
6687
6688Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6689
6690 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
6691 and pr-5646.o, so "make" is the same as "make all", not "make
6692 pr-4975.o".
6693
6694Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
6695
6696 * gdb.base/list.exp: Adjust expectations to reflect changes in
6697 list1.c.
6698 (test_forward_search): New test proc.
6699 * gdb.base/list1.c (long_line): New function, has long source line.
6700
6701Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
6702
6703 * gdb.base/a1-selftest.exp: Change initial stepping to know about
6704 additional line of code that was added.
6705
6706Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
6707
6708 * gdb.disasm/hppa.s: Break the large branching tests into smaller
6709 tests so as not to overflow expect's input buffers.
6710 * gdb.disasm/hppa.exp: Corresponding changes.
6711
6712Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6713
6714 Beginnings of template debugging tests.
6715 * gdb.c++/templ-info.cc: New file to test for template
6716 debugging capability of the compiler.
6717 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
6718 templ-info.cc.
6719 * gdb.c++/templates.cc: Add explicit template instantiations
6720 to enable compiling with -fno-implicit-templates. Add destructor
6721 and 'value' method to T5 class for template tests.
6722 * gdb.c++/templates.exp: Add testcases for printing of template
6723 types, setting breakpoints on template methods and calling a
beb998c6 6724 template method.
c906108c
SS
6725
6726Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
6727
6728 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
6729 branch target since some assemblers (gas-2.5) may emit a
6730 relocation for the branch instead of resolving it in the
6731 assembler.
6732
6733Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6734
6735 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
6736 through signal handler.
6737
6738Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6739
6740 * configure.in (*-*-netware): Use config/mt-netware.
6741
6742 * config/mt-netware: New file.
6743 * config/mt-i386-netware: Removed, separate configs for different
6744 netware architectures are no longer needed now that we have
6745 --with-headers.
6746
6747Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6748
6749 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
6750 by the recent changes to use ANSI C arithmetic conversions.
6751
6752Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6753
6754 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
6755 bug involving using inferior_pid to figure out whether to select a
6756 frame.
6757
6758Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
6759
6760 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
6761 match the current disassembler output.
6762
6763Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
6764
6765 * gdb.fortran/exprs.exp: Expect VOID instead of void.
6766 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
6767 types, expect "int" as type of integer values (for now).
6768
6769Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
6770
6771 * gdb.base/commands.exp: New tests for if/while commands.
6772
6773Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
6774
6775 * lib/gdb.exp (runto): Replace sub-pattern for hex value
6776 by .*, since hex values have different syntax in Chill mode.
6777
6778Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6779
6780 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
6781 linefeed from expect pattern for repeated types with indices > 9.
6782
6783Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
6784
6785 First part of Fortran test suite.
6786 * gdb.fortran: New directory.
6787 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
6788
6789Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6790
6791 * gdb.base/default.exp: Update expect pattern for load command
6792 without arguments.
6793
6794Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6795
6796 * configure.in: Change i386 to i[345]86.
6797 * gdb.base/configure.in: Likewise.
6798 * gdb.c++/configure.in: Likewise.
6799 * gdb.chill/configure.in: Likewise.
6800
6801Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
6802
6803 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
6804 patterns, since that is not a valid context for comments.
6805
6806Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
6807
6808 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
6809 repeated types and repeated types with indices > 9.
6810
6811Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
6812
6813 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
6814 2417; old bug has been fixed.
6815
6816Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
6817
6818 * gdb.base/interrupt.exp: When trying to wake up the inferior,
6819 send the newline ourselves instead of assuming gdb_test will do
6820 so when passed an empty input string.
6821
6822 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
6823 stabs testcode.
6824
6825Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6826
6827 * lib/gdb.exp (gdb_test): Don't send anything if the first
6828 argument is an empty string. This makes cases where we want to
6829 match output that is already in expect's buffers (for example,
6830 matching a breakpoint after gdb_run_cmd has been called) work
6831 reliably.
6832
6833Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6834
6835 * config/netware.exp: New file.
6836
6837Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6838
6839 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
6840 the -B and -L prefixes so we can find the debugging stub.
6841
6842 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
6843 there and we are using the gcc from the tree.
6844
6845 * gdb.base/types.c: Removed.
6846
6847 * gdb.base/configure.in: Look for makefile fragments in ../config.
6848 Recognize i386-*-netware.
6849 * gdb.c++/configure.in: Likewise.
6850
6851Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6852
6853 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
6854 the correct TCL syntax.
6855
6856Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6857
6858 * gdb.base/opaque.exp: use runto instead of messing around with
6859 breakpoints. Simplify by using gdb_test.
6860
6861 * gdb.base/bitfields.exp: restart between tests on netware targets
6862 because breakpoints aren't relocated after target death. Run
6863 processes to completion.
6864
6865 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
6866
6867Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
6868
6869 * Makefile.in: Remove extra tabs that confuse some versions
6870 of "make". Use the newly built gdb to test with by default,
6871 rather than the first one in the tester's search path.
6872
6873Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
6874
6875 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
6876
6877 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
6878 condition help.
6879
6880Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6881
6882 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
6883
6884 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
6885 running.
6886 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
6887 * gdb.base/funcargs.exp: Likewise.
6888
6889 * gdb.base/bitfields.exp: Simplify by using gdb_test.
6890 * gdb.base/funcargs.exp: Likewise.
6891
6892 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
6893 message is "".
6894
6895Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6896
6897 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
6898 return,signals,twice}.exp: Handle non-existant binaries
6899 consistantly.
6900
6901 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
6902 * gdb.base/Makefile.in: Don't try to generate a core dump, we
6903 might testing a cross development system.
6904
6905Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6906
6907 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
6908 runtest script is relative to ${srcdir}, not ${rootdir}.
6909
6910Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
6911
6912 * gdb.base/signals.exp: Allow for optionality of breakpoint
6913 address.
6914
6915Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6916
6917 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
6918
6919Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6920
6921 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
6922 for size_t definition.
6923 * gdb.c++/templates.cc: Likewise
6924
6925 * config/mt-i386-netware: New file.
6926
6927 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
6928 defined.
6929
6930 * gdb.base/Makefile.in: Added support for systems that name core
6931 files by appending "core" to the program name.
6932 * gdb.base/a1-selftest.exp: Likewise.
6933
6934Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6935
6936 * gdb.base/return.exp: Add comment and message for `return double'
6937 test failure on Sparc Solaris.
6938
6939Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
6940
6941 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
6942
6943Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6944
6945 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
6946 from optimizing them away.
6947 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
6948 patterns to include default constructors and assignment operators,
6949 to match gcc versions beyond 2.5.8. Accept any cplus demangling
6950 character in the output of the virtual base pointer.
6951
6952Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6953
6954 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
6955 expression match in print_addr_of to avoid unintented matches.
6956 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
6957 versions up to 2.5.8.
6958
6959Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6960
6961 * gdb.base/list.exp: Tweak alternate pattern for listing of an
6962 included file to run under newer versions of expect.
6963 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
6964 consecutive >'s in templates to accomodate recent cplus-dem.c change.
6965 Remove xfail for the virtual table of BDDHookV.
6966
6967Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
6968
6969 * lib/gdb.exp (string_to_regexp): Set a default result.
6970 (default_gdb_start): Fix misleading message.
6971
6972Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
6973
6974 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
6975 Remove all CC, etc definitions.
6976 * config/mt-hpux: New file.
6977 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
6978 (CFLAGS, LDFLAGS): Define.
6979 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
6980
6981 * Makefile.in (site.exp): Don't insert host_os, etc.
6982 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
6983 (distclean): Check existence of subdir.
6984 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
6985 * gdb.base/Makefile.in: General cleanup and simplification.
6986 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
6987 to build executables. Use default rule to build .o files.
6988 (EXPECT, RUNTEST, CC): Fix relative pathname.
6989 (site.exp): Don't insert host_os, etc.
6990 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
6991 and/or SIGUSR1 defined.
6992 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
6993 * gdb.c++/Makefile.in: General cleanup and simplification.
6994 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
6995 (CFLAGS): Remove.
6996 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
6997
6998Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
6999
7000 * gdb.base/recurse.exp: Misc changes to get tests running again
7001 after Kung's changes to the watchpoint code.
7002 * gdb.base/watchpoint.exp: Likewise.
7003
7004Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7005
7006 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7007
7008Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7009
7010 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7011 * lib/gdb.exp (default_gdb_start): Define.
7012 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7013 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7014 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7015 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7016 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7017 Don't call gdb_target_udi in between tests.
7018
7019Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7020
7021 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7022 (which was basically just a local version of the same thing). In
7023 addition to avoiding duplication, gdb_test_exact is faster.
7024 * lib/gdb.exp (gdb_test_exact): Fix typo.
7025
7026 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7027 don't give an error.
7028
7029 * gdb.base/term.exp: Call delete_breakpoints before starting.
7030
7031 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7032 (t10): Add comment.
7033
7034Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7035
7036 Reorganization of the GDB Test Suite.
7037
7038 * gdb.base: New directory, contains all the basic tests.
7039 * gdb.c++: New directory, tests specific to C++.
7040 * gdb.chill: New directory, tests specific to Chill.
7041 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7042 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7043 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7044 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7045 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7046 t30-31 to chill).
7047 * */gdbme.*: Rename to match appropriate expect scripts.
7048 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7049 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7050 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7051 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7052 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7053 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7054 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7055 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7056 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7057 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7058 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7059 gdb.c++/virtfunc.cc: New names of C++ files.
7060 * gdb.chill/chillvars.ch: New name of Chill file.
7061 * gdb.base/configure.in, gdb.c++/configure.in,
7062 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7063 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7064 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7065 * configure.in (configdirs): Update to reflect directory changes.
7066 (target_abbrev): No longer define for any configuration.
7067 * Makefile.in: Cosmetic improvements to header comments.
7068
7069Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7070
7071 Various changes to gdb.t31:
7072
7073 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7074 * gdbme.ch: Make all key-words and predefineds be upper-case.
7075 * chillvars.exp: Expect key-words and predefinds in upper-case.
7076
7077 * chillvars.exp: Use gdb_test_exact many places.
7078 Change expected output for arrays (which now includes index labels).
7079
7080 * pr-5020.exp, gdme.ch (module PR_5020):
7081 New test, for PR-5020.
7082
7083Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7084
7085 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7086 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7087
7088Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7089
7090 * Makefile.in: Fix bit-rot in definitions of CHILL,
7091 CHILL_FOR_TARGET and Chill_LIB.
7092 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7093 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7094 CHILL, and CHILL_LIB.
7095
7096Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7097
7098 * Revert the previous changes. Please see Rob's directory
7099 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7100
7101Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7102
7103 * Makefile.in, configure.in, config/mips-gdb.exp,
7104 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7105 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7106 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7107 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7108 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7109 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7110 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7111 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7112 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7113 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7114 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7115 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7116 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7117 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7118 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7119 changes from 94Q1.
7120
7121Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7122
7123 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7124 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7125 Rob's new testing fragments.
7126
7127Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7128
7129 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7130 lib/gdb.exp: Replace error proc calls with perror.
7131
7132Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7133
7134 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7135 version also, match on casted version strings, and match on
7136 gdb startup case where the line numbers might be messed up.
7137
7138Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7139
7140 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7141 (CFLAGS): Delete it from here.
7142
7143Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7144
7145 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7146
7147Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7148
7149 * Makefile.in (RUNTEST): Default to just "runtest".
7150
7151Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7152
7153 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7154 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7155 the code has been restructured.
7156
7157Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7158
7159 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7160 \n, not just one of each.
7161
7162 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7163 /bin/cc gives a warning if you do.
7164
7165Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7166
beb998c6 7167 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
7168 __t10ListS_link1ZUiRCUiPT0
7169
7170Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7171
7172 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7173 on local variables in recursive functions.
7174
7175 * gdb.t07/Makefile.in: Build the new test.
7176
7177Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7178
7179 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7180 directly. Instead compare the return values from actual calls.
7181
7182Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7183
7184 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7185
7186Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7187
7188 * From Peter Schauer with minor modifications.
7189 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7190 stops in mid-line in the caller. Add xfail for returning a float
7191 value on X86 targets.
7192
7193Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7194
7195 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7196 to avoid expect lossage.
7197 (fmem_LRbug_tests): Likewise.
7198 * gdb.disasm/hppa.s: Corresponding changes.
7199
7200 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7201 conditions to work with latest dejagnu/expect.
7202
7203 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7204 expected to fail on the PA.
7205 (backtrace in call with trampolines): Explicitly require main
7206 to be frame #1 (no trampolines should show up in backtrace).
7207
7208 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7209 "continue -expect".
7210 * gdb.t06/break.exp: Likewise.
7211 * gdb.t07/watchpoint.exp: Likewise.
7212 * gdb.t13/bitfields.exp: Likewise.
7213 * gdb.t15/{funcargs,return}.exp: Likewise.
7214 * gdb.stabs/weird.exp: Likewise.
7215 * config/{mips,udi}-gdb.exp: Likewise.
7216
7217 * hppa.sed: Enclose comments within a sed command to avoid
7218 losing with the old OSF1 sed.
7219
7220Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7221
7222 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7223 sequent dynix.
7224 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7225 * gdb.t15/funcargs.exp: Conditionally step again to really
7226 finish from marker_call_with_trampolines. Handle the case where
7227 the first step from within call_with_trampolines already steps
7228 us back to main.
7229 * gdb.t15/gdbme.c: Add comment to closing brace of
7230 call_with_trampolines for funcargs.exp.
7231
7232Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7233
beb998c6 7234 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
7235 Fix typo(s).
7236
7237Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7238
7239 * gdb.t07/gdbme.c: More code for watchpoint testing.
7240
7241 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7242 "Hardware watchpoint" throughout file.
7243 (test_watchpoint_triggered_in_syscall): New test.
7244 (test_complex_watchpoint): New test.
7245
7246Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7247
7248 * gdbme.c (call_with_trampolines): New function to try and step
7249 into. Tests trampoline problems on the PA.
7250
7251 * funcargs.exp (localvars_in_indirect_call): No longer expect
7252 stepping into indirect call to fail on PAs.
7253 (test_stepping_over_trampolines): New test.
7254
7255Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7256
7257 * TODO: Add suggestions for static member function tests, and
7258 completion tests.
7259
7260Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7261
7262 * TODO: Add suggestions for "p/a" tests.
7263
7264 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
7265 (default_gdb_exit): Replace all the hair with sending "quit" to
7266 the process with a simple close.
7267
7268Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7269
7270 * TODO: Add suggestions for shared library tests.
7271
7272Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7273
7274 * TODO: Add suggestions for x/s tests.
7275
7276Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7277
7278 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
7279 "enable once", and "enable breakpoints once" with ".*".
7280
7281Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7282
7283 * TODO: Add suggestions about structure passing tests.
7284
7285Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7286
7287 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
7288 the primary1 test, use work around if __GNUC__ < 2.
7289 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
7290 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
7291 Test for bad output rather than waiting for timeout. Issue
7292 second continue only if first continue failed.
7293
7294Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7295
7296 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
7297 operator[] test with gdb_test because the old code didn't seem to
7298 be getting the quoting right with the new dejagnu.
7299
7300Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
7301
7302 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
7303 one from the path.
7304 * Makefile.in: Use a fresh expect if there is one, use runtest
7305 from the src tree if there is one.
beb998c6 7306
c906108c
SS
7307Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7308
7309 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
7310 next over recursive call. Revise the tests from that point on
7311 (which had been skipped) to match GDB's actual (correct) output.
7312
7313 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
7314 with next over a breakpoint whose condition is false.
7315
7316 * gdb.t00/help.exp: Comment out "help set print" tests just like
7317 (and for same reason as) "help set" test.
7318
7319Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7320
7321 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
7322 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
7323
7324Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7325
7326 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
7327 necessary gdb_target_udi.
7328
7329 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
7330
7331 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
7332 1838 and 2417; they are fixed.
7333
7334 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
7335 gdb.t03/ptype.exp (ptype structure, ptype union):
7336 Remove xfails; the test is looser than when the xfails were added.
7337
7338 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
7339 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
7340
7341 * gdb.t01/run.exp: Only run shell test if isnative.
7342
7343 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
7344 since "run" automatically loads if necessary. Call gdb_target_udi
7345 after the "file" since "file" kills any execution target.
7346
7347 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
7348 GDB. GDB doesn't work that way (not anymore at least) on UDI.
7349 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
7350 argument for UDI.
7351
7352Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7353
7354 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
7355
7356 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
7357
7358Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7359
7360 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
7361 properly quoting regexps. This makes the second argument to
7362 demangle a fixed string, which matches the callers, instead of a
7363 shell-style pattern which is what the previous implementation
7364 used. Update some of the callers.
7365
7366Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7367
7368 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
7369 (comib_nullified_tests): Fix typo.
7370 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
7371 strings. No longer expected to fail.
7372
7373 * gdb.disasm/hppa.s (addib_tests): Fix typo.
7374 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
7375 strings. No longer expected to fail.
7376
7377 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
7378 string. No longer expected to fail.
7379
7380Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7381
7382 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
7383 No longer expected to fail.
7384
7385 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
7386 string. No longer expected to fail.
7387
7388Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7389
7390 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
7391 only in the names (I probably got most of them). I was even
7392 generous with some which differed in underscores in names, and
7393 probably missed a few, and I *still* was able to remove almost a
7394 third of the file with almost no impact on testsuite coverage.
7395
7396Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7397
7398 * gdb.t00/default.exp: Match udi_attach error message as well as
7399 the one from child_attach.
7400
7401 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
7402
7403 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
7404
7405 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
7406 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
7407
7408 * Move test with enums and partial symbols back to
7409 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
7410 Reverts the change of 26 May 93. Per today's change to
7411 stabs.texinfo, the behavior that weird.exp was expecting was
7412 unreasonable; what is important is that the compiler+gdb get
7413 things right, which happens with a recent gcc. Also fix the test
7414 to deal with native compilers which put out the stab gdb can't
7415 deal with.
7416
7417Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7418
7419 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
7420 in the names. The main thing these accomplish is to slow things down.
7421 Many more such duplicates surely remain.
7422
7423 * gdb.t00/help.exp: Comment out "help support" test just like
7424 (and for same reason as) "help set" test.
7425
7426Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
7427
7428 * gdb.t06/break.exp: Remove setup_xfails for
7429 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
7430 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
7431 about known bug in gcc to include up through 2.5.8.
7432 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
7433 well as "_vb$".
7434 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
7435 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
7436 with latest gcc and gdb.
7437 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
7438 well as "_vb$".
7439
7440Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7441
7442 * configure.in (hppa*-*-*): Also configure and build stabs-only
7443 tests.
7444
7445Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7446
7447 * gdb.t10/hppa.mt: A makefile fragment for the PA.
7448 * gdb.t10/configure.in (hppa*-*-*): Use it.
7449
7450Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7451
7452 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
7453
7454Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7455
7456 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
7457 versions prior to 1.13.5.
7458
7459Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7460
7461 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
7462 the prompt is at the start of a line.
7463
7464Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7465
7466 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
7467 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
7468 in the copr tests now.
7469 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
7470 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
7471 expected to fail.
7472
7473Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
7474
7475 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
7476 gdb.t31/chillvars.exp, lib/gdb.exp:
7477 Tweak to run under either version of expect.
7478 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
7479 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
7480 * gdb.t11/list.exp: Remove extraneous whitespace.
7481
7482Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7483
7484 * gdb.t16/printcmds.exp (test_print_strings): Accept
7485 "(unsigned char *) " before the string.
7486
7487 * TODO: Add notes about printing of fancy types and GDB expressions.
7488
7489Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
7490
7491 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
7492 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 7493 if doing mips-idt-ecoff.
c906108c
SS
7494
7495Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
7496
7497 * Most .exp files: Tweak to run under either version of expect.
7498
7499Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7500
7501 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
7502 xfails; I'm not sure why they are failing, but not because of PR 1806.
7503
7504Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
7505
7506 * config/unix-gdb.exp: Remove gdb_unload cause it's already
7507 defined in lib/gdb.exp.
7508
7509Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7510
7511 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
7512 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
7513 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
7514 have to be typeless.
7515
7516Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7517
7518 * TODO: Add suggestion for copyright year test.
7519
7520Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
7521
7522 * configure.in (*-*-lynxos*): Add stabs tests.
7523
7524Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7525
7526 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
7527 so insert a tab before any assembler directive in column zero.
7528
7529 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
7530 stores.
7531 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
7532 stores.
7533 (fpu_short_memory_tests): Likewise.
7534
7535Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7536
7537 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
7538 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
7539 .stabs directives in comments.
7540
7541Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7542
7543 * TODO: New file, describing tests we could write.
7544 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
7545
7546Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7547
7548 * gdb.t06/signals.exp: Add kludge to force re-sync.
7549
7550 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
7551 to xgdb instead of gdb, get out of gdb.
7552
7553Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
7554
7555 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
7556 for info.
7557
7558Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7559
7560 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
7561 * gdb.stabs/configure.in (hppa*-*-*): Use it.
7562 * gdb.stabs/hppa.sed: New sed script for the PA.
7563
7564Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7565
7566 * gdb.stabs: Re-write weird.def and configuration to use sed
7567 instead of cpp. sed is portable and POSIX; cpp is neither.
7568
7569Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7570
7571 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
7572
7573Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7574
7575 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
7576
7577Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7578
7579 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
7580 "_vb$".
7581 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
7582 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
7583
7584Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7585
7586 * lib/gdb.exp: Comment out code which depends on non-existent
7587 `transform' procedure.
7588
7589Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
7590
7591 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
7592 * lib/gdb.exp: Transform tool name.
7593 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
7594 1.1's new error handling system.
7595
7596Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7597
7598 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
7599
7600Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7601
7602 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
7603 They made pattern matching so slow that timeouts happened on
7604 heavily loaded systems. Now any output from "show print" which
7605 gets us back to the GDB prompt is a PASS.
7606
7607Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
7608
7609 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
7610
7611Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7612
7613 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
7614
7615 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
7616 It is not from PR 3220.
7617
7618Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7619
7620 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
7621 just started failing because they depended on the order the
7622 subcommands are presented, or exact docstring text. This kind of
7623 test is a pain and has minimal benefit.
7624
7625Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7626
7627 * gdb.t09/corefile.exp: At end of test, use "core" command with
7628 no arguments.
7629
7630Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
7631
7632 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
7633 17}/Makefile.in: Make it possible to run the testsuite with Sun
7634 make and CC = cross gcc by adding explicit build rules for .o
7635 files.
7636
7637Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7638
7639 * gdb.t15/funcargs.exp: Don't put comments on same line as
7640 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 7641
c906108c
SS
7642Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7643
7644 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
7645
7646Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
7647
7648 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
7649 * gdb.t20/inherit.exp: remove three dumplicate entries.
7650
7651Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7652
7653 * gdb.t06/break.exp: For "next over recursive call", fail on any
7654 incorrect output, not just on "factorial (value=2)".
7655
7656Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7657
7658 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
7659 working now. Add an xfail if accesing a bss variable causes
7660 a memory error if the target is not yet run.
7661
7662Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7663
7664 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
7665 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
7666 name of __st* demangling (2 strings). Did Kung really get the
7667 more than 95 others right without testing them?
7668
7669Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
7670
7671 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
7672
7673Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
7674
7675 * configure.in (configdirs): Add gdb.disasm
7676 * gdb.disasm: New directory for GDB disassembler tests.
7677 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
7678
7679Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7680
7681 * gdb.t00/help.exp: Don't test "help set".
7682
7683 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
7684 from within expect statements. None of these happen anymore and
7685 they cause regressions to be silently unnoticed.
7686
7687 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
7688 messages) about known failures with gcc cygnus-2.4.5-930417.
7689
7690 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
7691 comp-info.exp so it gets built if it doesn't exist.
7692
7693 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
7694 it is no longer used.
7695 * gdb.t13/comp-info.c: Removed.
7696
7697Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
7698
7699 * gdb.t06/signals.exp: Add xfail for sun3.
7700
7701Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7702
7703 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
7704 relevant because ^C doesn't get sent but failure can be reproduced
7705 interactively).
7706
7707Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7708
7709 * gdb.stabs/alpha.mt: New configuration file for alpha.
7710 * gdb.stabs/configure.in: Use it.
7711 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
7712 sharing with alpha.mt, redefine long to word via preprocessor.
7713 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
7714 for alpha.
7715 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
7716 native cc.
7717 * gdb.t00/teststrategy.exp: Change expect string so that we
7718 consume the `(xgdb)' from the command echo and from the gdb prompt.
7719 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
7720 gdb currently compares all values as long, so this failure probably
7721 applies to any configuration where LONGEST is bigger than a target int.
7722 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
7723 with gcc.
7724 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
7725 to handle opaque pointers, gcc is.
7726 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
7727 as first argument. Include <sys/types.h> and change all operator
7728 new definitions to use size_t.
7729 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
7730 now that we use size_t.
7731
7732Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7733
7734 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
7735 a long or float array cast all array members to the same type.
7736 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
7737 with 64 bit longs.
7738 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
7739 on alpha.
7740 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
7741
7742Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7743
7744 * gdb.t24 (demangle.exp): Constructors of templates have names like
7745 vector<int>::vector(int) not vector<int>::vector<int>(int). See
7746 section 14.6 of the ARM.
7747
7748 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
7749 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
7750 accomplish little and slow down the testsuite.
7751
7752 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
7753 Accept spaces various places.
7754
7755Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7756
7757 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
7758 with watchpoint enabled.
7759
7760 * Makefile.in: Remove definition of CC and remove the second
7761 definition of CXX (the "CXX = gcc" one remains). These definitions
7762 were causing backquotes to be expanded within backquotes, which
7763 doesn't work.
7764
7765Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
7766
7767 * gdb.t17/callfuncs.exp: Add "return 0" to end.
7768
7769Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7770
7771 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
7772 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
7773 by mips cc and contains no stabs entries.
7774
7775Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
7776
7777 * config/vx-gdb.exp: Use fake device to load files rather than
7778 NFS.
7779 * lib/gdb.exp: New proc to do "file" command.
7780 * config/unix-gdb.exp: Use new "file" proc.
7781
7782Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7783
7784 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
7785 Rework board rebooting slightly.
7786 (gdb_exit): Don't exit from the remote shell; there isn't one.
7787 * gdb.stabs/weird.exp: If a program is being debugged already,
7788 kill it.
7789 * gdb.t04/setvar.exp: Stop and restart gdb.
7790 * gdb.t05/expr.exp: Likewise.
7791 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
7792 restart gdb and reload the program.
7793 * gdb.t08/opaque.exp: Likewise.
7794 * gdb.t12/scope.exp: Likewise.
7795 * gdb.t13/bitfields.exp: Likewise.
7796 * gdb.t15/funcargs.exp: Likewise.
7797 * gdb.t20/classes.exp: Likewise.
7798 * gdb.t03/ptype.exp: Increase timeout.
7799 * gdb.t16/printcmds.exp (test_print_string_constants,
7800 test_print_array_constants): Likewise.
7801 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
7802 * gdb.t20/classes.exp (do_tests): Likewise.
7803 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
7804
7805Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
7806
7807 * gdb.stabs: Renamed *wierd* to *weird*.
7808
7809Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
7810
7811 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
7812 for timeout. Add "known gcc 2.4.5 bug" to failure message.
7813
7814Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
7815
7816 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
7817 (do_tests): Remove xfail for whatis on one_var and two_var.
7818
7819Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
7820
7821 * Makefile.in: Made cross building work better by adding
7822 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
7823
7824Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7825
7826 * gdb.t15/{return.c,return.exp,Makefile.in}:
7827 New test, currently commented out.
7828
7829Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
7830
7831 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
7832 still running and removes the leftover named socket so GDb can do
7833 clean restarts.
7834
7835Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
7836
7837 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
7838 console, not GDB.
7839 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
7840 cross testing works better with "make check"
7841 * config/unix-gdb: Use default procedures for exit and version.
7842 * config/vx-gdb.exp: Cleaned up and massaged back to working order
7843 with the newest VxWorks.
7844
7845Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7846
7847 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
7848 old form.
7849
7850 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
7851 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
7852
7853 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
7854
7855 * config/unix-gdb.exp: Remove this version of gdb_exit
7856 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
7857 Rob says he'll look at it when he gets back to testing boards.
7858
7859Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
7860
7861 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
7862 an expected fail for certain ptype commands.
7863
7864 * gdb.t20/classes.exp: Update expected results of "ptype class
7865 Base1" to account for the constructor that now appears in the type.
7866
7867Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
7868
7869 * configure.in (configdirs): Restore gdb.t04, which mysteriously
7870 disappeared from list.
7871 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
7872 "alldone" proc with call to cleanup and exit.
7873 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
7874 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
7875 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
7876 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
7877 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
7878 "alldone" proc with simple returns that suppress remaining
7879 tests. The alldone proc went away many months ago.
7880
7881Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7882
7883 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
7884
7885 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
7886
7887Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7888
7889 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
7890 as vax gdb will display them.
7891
7892Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7893
7894 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
7895 optimizers.
7896
7897 * scope.exp: Change "bad value for localval" messages so each one
7898 is unique.
7899
7900 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
7901 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
7902
7903 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
7904
7905Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7906
7907 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
7908 doesn't exist (due to optimization).
7909
7910Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7911
7912 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
7913 contains \r because the filename is long.
7914
7915 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
7916 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
7917
7918Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7919
7920 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
7921 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
7922 Ultrix.
7923 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
7924 int tests.
7925 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
7926
7927Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
7928
7929 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
7930
7931 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 7932 to match does not match the passing case but still matches the
c906108c
SS
7933 failing case.
7934
7935Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7936
7937 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
7938
7939Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
7940
7941 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
7942 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
7943 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
7944 Remove various versions of gdb_exit.
7945 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
7946 gdb_exit.
7947 * config/unix-gdb.exp: gdb_exit remains here, and should override
7948 the generic version, since it's doing a lot of wierd stuff that
7949 the other versions aren't. FIXME, fold it in, or abandon this
7950 version.
7951
7952Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7953
7954 * gdb.t24/demangle.exp: Add tests for PR 3220.
7955
7956Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7957
7958 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
7959
7960Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
7961
7962 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
7963 "i386-*-*". Works for i486 as well.
7964
7965 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
7966 bug, and expand domain of xfail to all SVR4 systems, since the
7967 actual problem is likely to be in generic SVR4 /proc support.
7968
7969Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7970
7971 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
7972
7973Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
7974
7975 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
7976 xfails for other systems. Match a missing 'Continuing.' as an
7977 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
7978
7979 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
7980 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
7981 Only issue warning for missing executables if -all option is used.
7982
7983 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
7984 file if -all option is used. It's like an unpredictable XFAIL.
7985
7986Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7987
7988 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
7989 for dynamically linked binaries.
7990
7991 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
7992
7993Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7994
7995 * gdb.t20/inherit.exp: Change message for "print tagless struct"
7996 to state that this is a known bug in old versions of g++.
7997
7998Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7999
8000 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8001 while waiting for `Continuing'.
8002
8003Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8004
8005 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8006 in text, data, and bss.
8007 * gdb.t10/nodebug.c: Add local and global test variables for
8008 initialized and uninitialized data.
8009
8010Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8011
8012 * config/unix-gdb.exp (gdb_exit): Add "wait".
8013
8014Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8015
8016 * gdb.t06/signals.exp: xfail the continue from the handler for all
8017 targets.
8018
8019 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8020 function with watchpoints enabled, the i386 call dummy starts with
8021 a call.
8022
8023 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8024 386 bsd names its corefiles.
8025
8026Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8027
8028 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8029 compilers don't grok it.
8030 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8031 with small octal ints rather than character constants, which
8032 are signed and might not fit if first promoted to int.
8033
8034Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8035
8036 * gdb.t09/Makefile.in (clean): Remove corefile.
8037
8038Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8039
8040 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8041
8042Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8043 and Jim Kingdon (kingdon@cygnus.com)
8044
8045 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8046 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8047 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8048
8049Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8050
8051 * gdb.t17/interrupt.exp: Add xfail for hppa.
8052
8053Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8054
8055 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8056 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8057 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8058 to determine signed-ness of bitfields and use the result to setup
8059 the xfail.
8060 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8061 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8062 call line is reached if necessary.
8063
8064Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8065
8066 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8067
8068Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8069
8070 * gdb.t06/break.exp: Also test `clear' command.
8071
8072Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8073
8074 * gdb.t00/teststrategy.exp: Remove extra quote.
8075
8076 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8077 watchpoint enabled to be for all non-68k machines.
8078
8079 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8080
8081Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8082
8083 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8084 targets use aout.mt instead of ecoff.mt as gas understands
8085 standard aout format.
8086
8087Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8088
8089 * lib/gdb.exp (runto): Don't insist that function we are running to
8090 was compiled with -g.
8091
8092 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8093
8094 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8095 to get back into the read system call.
8096 Accept leading newline in case where we woke it up.
8097
8098Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8099
8100 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8101 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8102 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8103 enable ecoff configuration.
8104
8105Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8106
8107 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8108
8109Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8110
8111 * gdb.t16/printcmds.exp: Add another printf test.
8112
8113Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8114
8115 * configure.in: If configured -with-stabs on any target, add
8116 stabsdirs to configdirs.
8117
8118Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8119
8120 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8121 fun" so pattern does not match the command itself.
8122
8123Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8124
8125 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8126
8127Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8128
8129 * gdb.t17/interrupt.exp: Test for more things.
8130
8131Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8132
8133 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8134 compiler arranges the code and line numbers.
8135
8136 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8137
8138Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8139
8140 * gdb.t00/help.exp: Increase expect input buffer size.
8141
8142Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8143
8144 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8145
8146 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8147
8148 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8149
8150 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8151 [0-9]*, not just [0-9].
8152
8153Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8154
8155 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8156
8157 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8158
8159Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8160
8161 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8162
8163Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8164
8165 * gdb.t06/signals.c: Add xfails for sun3.
8166
8167 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8168
8169 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8170 test_stepping tests.
8171
8172Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8173
8174 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8175
8176 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8177
8178 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8179 rather than actually putting it through cpp twice.
8180
8181 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8182
8183Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8184
8185 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8186 no longer needed.
8187
8188Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8189
8190 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8191
8192 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8193 C++ features prints as "struct", make it a pass, not an xfail.
8194
8195Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8196
8197 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8198 Don't require VA to print as "class" rather than "struct".
8199
8200Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8201
8202 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8203
8204Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8205
8206 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8207
8208Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8209
8210 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8211 order.
8212
8213Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8214
8215 * gdb.t16/printcmds.exp: Add printf tests.
8216
8217 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8218
8219 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8220
8221Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8222
8223 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8224 pass counts, to counteract any existing or future setup_xfails.
8225
8226Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8227
8228 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8229 {BEGIN,END}_COMMON for common block instead of STAB.
8230 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8231
8232 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8233 intp_var should be N_GSYM not N_LSYM.
8234 wierd-aout.S: Use a label for the value of the N_SO.
8235 wierd.def: Remove all backslashes.
8236 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8237
8238Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8239
8240 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8241 get the expected next to inheritance3.
8242
8243Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8244
8245 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8246 now that gcc-2.4 gets it right.
8247
8248Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8249
8250 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8251
8252 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8253 generating comp-info.exp which works for cross-compilation.
8254
8255Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8256
8257 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8258 "*-*-sysv4.*".
8259
8260Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8261
8262 * gdb.t01/run.exp: Start with a fresh gdb.
8263 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8264 SVR4.x.
8265
8266Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
8267
8268 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
8269 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
8270 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
8271 Makefile.in (distclean, realclean): Remove gdbme.c from list of
8272 things to remove.
8273
8274Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
8275
8276 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
8277 test cases from bug reports.
8278
8279Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
8280
8281 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
8282 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
8283 avoid spurious xfails.
8284 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
8285 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
8286 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
8287
8288Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
8289
8290 * gdb.t00/teststrategy.exp: Rework to provide more useful
8291 description of each test, fix problem with systems that define
8292 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
8293 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
8294 results for "next over recursive call" so timeouts aren't taken
8295 by error.
8296
8297Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
8298
8299 * gdb.t12/scope.exp: Test printing of variables before run.
8300
8301 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
8302 printed in wrong order due to sorting.
8303
8304Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
8305
8306 * gdb.t00/teststrategy.exp: Fix expected results for printing
8307 user entered string constant. Is array of char, prints with no
8308 address.
8309
8310 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
8311 commands.
8312 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
8313 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
8314 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
8315 of struct of char arrays.
8316 * gdb.t00/radix.exp: New tests for radix commands.
8317
8318Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
8319
8320 * gdb.t16/printcmd.exp: Print a variable before running program
8321 (with xfail for AIX).
8322
8323Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
8324
8325 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
8326
8327 * gdb.t16/printcmd.exp: Don't print variables before running program.
8328
8329 * gdb.t06/break.exp: Don't require envp argument to main.
8330
8331 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
8332
8333 * gdb.t02/whatis.exp, gdb.t11/list.exp:
8334 Add xfails for rs6000.
8335
8336 * gdb.t02/whatis.exp: Change other tests not to re-test something
8337 we already tested.
8338
8339 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
8340 each type used has a variable of that type.
8341
8342Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
8343
8344 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
8345
8346Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8347
8348 * configure.in: change srctrigger to be a file, not a directory
8349
8350Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
8351
8352 * configure.in (mips-idt-ecoff*): Added trailing '*'.
8353
8354 * gdb.t11/list.exp: Fixed a couple of typos.
8355
8356Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
8357
8358 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
8359 is fixed and PR is closed.
8360 * gdb.t16 (gdbme.c): Add simple test string variable.
8361 * gdb.t16 (printcmds.exp): Add tests with simple test string
8362 variable, primarily for boundaries on "set print elements".
8363
8364Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
8365
8366 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
8367 Make leading 0's optional and don't expect a tab in the middle
8368 of the number.
8369
8370 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
8371
8372 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
8373 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
8374 don't end command passed to gdb_test with newline.
8375
8376 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
8377 signed keyword away, don't expect signed bitfields to be signed.
8378
8379 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
8380 printing with only as many 1's as are in the field as well as printing
8381 with 32 1's (see comment).
8382
8383Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
8384
8385 * gdb.t00/default.exp: Start with a fresh gdb.
8386 * configure.in (configdirs): Remove gdb.t31 until the chill
8387 compiler works again. It no longer is able to find chillrt0
8388 since it isn't in libchill.a anymore.
8389 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
8390 wierd.o, make more modular.
8391 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
8392 spurious newlines that caused problems.
8393
8394Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8395
8396 * Move test with enums and partial symbols from gdb.t03/ptype.exp
8397 to gdb.stabs/wierd.exp since GCC has worked around the bug.
8398 gdb.stabs/wierd.{exp,def}: Many new tests.
8399
8400 * gdb.t00/default.exp: update info line for new message.
8401
8402 * gdb.t02/{whatis.exp,gdbme.c}:
8403 Test that "char *" doesn't print as "caddr_t".
8404
8405Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8406
8407 * gdb.t00/help.exp: Use .* in place of some help messages which
8408 just changed.
8409 gdb.t00/default.exp: Update "info frame" test for new message.
8410 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
8411 Remove some xfails
8412
8413Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8414
8415 * gdb.t03/{gdbme.c,ptype.exp}:
8416 Add tests for typedef'd struct and union without tags.
8417 Also check "whatis" on a variable of a typedef'd enum without a tag.
8418
8419 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
8420 PRMS 1823; the bug still exists but isn't reproduced by this test
8421 anymore), and remove rs6000 XFAIL (the bug is fixed).
8422
8423 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
8424 duplicated from whatis.exp. For those that are left, accept
8425 "long", "long int", or "int" for long variables (whatis.exp already
8426 has an XFAIL for "int", so no need to fail it here).
8427
8428 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
8429 Deal with GCC's names for types now that GDB uses the compiler's names.
8430
8431 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
8432 setup_xfail's for sunos4. If we #defined the signed keyword away,
8433 don't expect GDB to know that char it is signed.
8434
8435 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
8436
8437Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
8438
8439 * configure.in (configdirs): Add gdb.t24 for C++ tests that
8440 should work on any system, regardless of debugging format.
8441 * gdb.t21/demangle.exp: Move to gdb.t24.
8442 * gdb.t24/demangle.exp: Move from gdb.t21.
8443 * gdb.t24/{Makefile.in, configure.in}: New files.
8444
8445Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8446
8447 * configure.in: Do gdb.stabs and C++ tests only for stabs.
8448 * gdb.stabs: New directory.
8449
8450Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8451
8452 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
8453 not just "Quit anyway?".
8454
8455Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
8456
8457 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
8458 that all setup_xfails are immediately followed by clear_xfails.
8459
8460Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
8461
8462 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
8463 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
8464 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
8465 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
8466 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
8467 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8468 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8469 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
8470 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
8471 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
8472 gdb.t31/chillvars.exp, lib/gdb.exp:
8473 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
8474 bug-gdb@prep.ai.mit.edu.
8475
8476Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
8477
8478 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
8479 with 0.0, not integer 0.
8480
8481Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
8482
8483 * gdb.t06/break.exp: Update for "Kill the program" message change.
8484
8485Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
8486
8487 * Makefile.in (GDBFLAGS): Set to -nx.
8488 * Makefile.in (site.exp): Use GDBFLAGS.
8489
8490Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8491
8492 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
8493 Makefiles.
8494 (check): depend on just-check.
8495 (just-check): added so that tests can be run without a noop
8496 build pass.
8497
8498Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8499
8500 Switch to using configure's configdirs.
8501 * Makefile.in (Makefile): add configure.in dependency.
8502 (SUBDIRS): removed redundant assignment.
8503 * configure.in: switch subdirs assignment to configdirs.
8504 * gdb.t*/configure.in: new files.
8505
8506Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
8507
8508 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
8509 works.
8510
8511Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
8512
8513 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
8514 in explicit rules. Apparently this is not supported by some makes.
8515
8516Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
8517
8518 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
8519
8520Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8521
8522 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
8523 disappeared.
8524
8525Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
8526
8527 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
8528
8529Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
8530
8531 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
8532 watchpoint problem that is now fixed.
8533 * gdb.t30/chexp.exp: Remove setup_xfail for printing
8534 uninitialized convenience variables.
8535 * gdb.t31/chillvars.exp: Fix expected patterns for printing
8536 structures.
8537
8538Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8539
8540 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
8541 which causes expect to get out of sync with gdb on long output
8542 from help set.
8543 * gdb.t09/corefile.exp: Make expected pattern for core file
8544 failing signal and frame output format less sun specific.
8545
8546Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
8547
8548 * gdb.t31/chillvars.exp: Add and remove initial dummy
8549 breakpoint, so that symbol table is forced in.
8550 (Needed at least on Sunos4, though it seems not SVR4.)
8551 * gdb.t31/chillvars.exp: Update for changed output format.
8552
8553Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
8554
8555 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
8556
8557Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
8558
8559 * Makefile.in: Added --srcdir when invoking runtest, removed the
8560 need for a local config file. (optional now)
8561
8562Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
8563
8564 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
8565 failure count used to force early termination. Add some more
8566 expected failures for gnu style demangling.
8567
8568Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8569
8570 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
8571 pmi variable from gdb.t20/gdbme to get optimized away.
8572 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
8573 Check for written corefile upon timeout _and_ eof.
8574
8575Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8576
8577 * config/unix-gdb.exp: Add missing return 0.
8578
8579Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8580
8581 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
8582 test termination.
8583
8584Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
8585
8586 * configure.in (subdirs): Put back gdb.t17 which mysteriously
8587 disappeared.
8588
8589Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
8590
8591 * gdb.t10/crossload.exp: Disable the i860-elf test until such
8592 time as i860 support works.
8593
beb998c6 8594 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
8595 "backtrace 100\r" rather than just "backtrace\r", to match last
8596 change.
8597
8598Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
8599
8600 * config/udi-gdb.exp (gdb_exit): Remove close command.
8601 (gdb_target_udi): New procedure to set the UDI target.
8602 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
8603 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
8604 Added waits for prompts after several question responses. Added
8605 some more responses used by a29k-amd-udi-gdb.
8606 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
8607 pass different arguments, restart UDI connection after program
8608 completion.
8609 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
8610 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8611 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
8612 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
8613 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
8614 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
8615 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8616 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
8617 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
8618 after program completion.
8619 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
8620 compiled with a SELECT_VECS setting.
8621 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
8622 infinite recursion.
8623
8624 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
8625 Added checks for COFF results, and made them expected failures for
8626 all targets. It would be better to make them expected failures
8627 for COFF targets only.
8628
8629Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
8630
8631 * Makefile.in: add null dvi target, don't bother to recurse
8632 through test directories for info and install-info; rename
8633 $(datadir) to be dejagnu instead of deja-gnu
8634
8635Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
8636
8637 * gdb.t31/gdbme.ch: Re-enable code that previously caused
8638 compiler to coredump.
8639 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
8640 code.
8641
8642Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
8643
8644 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
8645 coredump.
8646 * gdb.t31/chillvars.exp: Comment out tests that depend on that
8647 code.
8648
8649Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
8650
8651 * gdb.t03/ptype.exp: tests for return code from gdb_test.
8652 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
8653 which in a shell. Deletes xgdb when done.
8654 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
8655 Tests the return from the "set height" or "set width" commands.
8656 Added a few return codes where needed.
8657
8658Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
8659
8660 * Makefile.in (SUBDIRS): Add gdb.t17.
8661 * configure.in (subdirs): Add gdb.t17.
8662 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
8663 files to test gdb's calling of functions in the inferior with
8664 the correct arguments and gdb's ability to retrieve any
8665 result returned.
8666
8667Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
8668
8669 * config/unix-gdb.exp (gdb_exit): Remove close commands that
8670 may be called after gdb goes away. Previous versions of expect
8671 needed these to avoid file descriptor leaks, but they cause
8672 errors with the current revision of expect.
8673 * gdb.t00/gdbvars.exp: Use -re on expected output after
8674 setting sevenbit-strings.
8675 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
8676 to set sevenbit-strings consistent across tests.
8677 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
8678 set sevenbit-strings consistent across tests.
8679
8680Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
8681
8682 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
8683 expected output to match current "expect" expectations.
8684
8685Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
8686
8687 * gdb.t00/default.exp: Change expected output for default "source"
8688 command, to match new gdb behavior which requires a filename to
8689 source.
8690
8691Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
8692
8693 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
8694 expected fail for i486-*-* that misses the marker2 function.
8695 * gdb.t10/crossload.exp (bfddefault): Allow successful
8696 recognition of a format to pass even if no symbols are found.
8697 Explicitly catch failures where the format is not recognized
8698 or is ambiguous, and add the reason to the fail message.
8699 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
8700 the cause is and invalid target and add reason to failure message.
8701 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
8702 elf32-i386, elf32-sparc, and elf32-i860.
8703 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
8704 Set up expected failure for 'filename'::variable scope resolution,
8705 which is now apparently broken on all targets.
8706 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
8707 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
8708 gdb.t23/templates.exp: Change failure for missing binfile into
8709 just a warning.
8710 gdb.t21/demangle.exp: Change all cfront references to 'arm'
8711 references.
8712
8713Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
8714
8715 * gdb.t00/default.exp: Add expected output for default "source"
8716 command, to match new gdb behavior.
8717 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
8718
8719Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
8720
8721 * config/*-gdb.exp: returns an error, rather than exiting on
8722 internal errors.
8723
8724Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
8725
8726 * gdb.t03/gdbme.c: Add pointer to struct variable.
8727 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
8728 referencing struct members.
8729
8730Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
8731
8732 * configure.in (mips-idt-ecoff): New target.
8733 * config/mips-gdb.exp: New file for remote board using MIPS remote
8734 debugging protocol.
8735
8736 * Redid configuration scheme. Removed gdb.t*/configure.in.
8737 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
8738 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
8739 distclean targets. Built executables via .o files. Adjusted
8740 tests to account for source files in $(srcdir) rather than
8741 $(objdir).
8742 * lib/gdb.exp (runto): Don't expect () after the function name,
8743 because it may have arguments.
8744
8745Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
8746
8747 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
8748 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
8749 expected failures for mips-idt-* and mips-sgi-*.
8750 * gdb.t00/default.exp (attach): Kill process if requested.
8751 * gdb.t00/help.exp (help target core, help target): Accept a gdb
8752 that does not read core files.
8753 * gdb.t01/run.exp: Removed checks for exit status code.
8754 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
8755 it is linked in.
8756 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
8757 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
8758 appropriate, rather than doing it by hand.
8759 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
8760 execution.
8761 * gdb.t10/crossload.exp: Kill existing program if needed.
8762 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
8763 appropriate, rather than doing it by hand. Always increase
8764 timeout for this test, not just for VxWorks.
8765
8766Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
8767
8768 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
8769 of Chill STRUCT types and STRUCT values.
8770 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
8771 than "char".
8772 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 8773 struct2): New struct definitions and initializations to test
c906108c
SS
8774 simple Chill STRUCT types.
8775
8776Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
8777
8778 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
8779 the null byte at the end of strings.
8780 * gdb.t00/default.exp: Make show version insensitive to copyright
8781 date.
8782 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
8783 to avoid dependencies on target char signedness.
8784 * gdb.t16/printcmds.exp: Update expected results for explicitly
8785 unsigned char.
8786 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
8787 now work.
8788 * gdb.t21/demangle.exp: Add many more patterns for template
8789 demangling, most of them being expected failures.
8790 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
8791 string we are matching for, to match on the whole string.
8792 * gdb.t21/demangle.exp: Add many new test strings to demangle,
8793 and fix a whole bunch that had incorrect expected output but were
8794 passing anyway because of the bug in "proc demangle".
8795 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
8796 type.
8797 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
8798
8799Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
8800
8801 * gdb/testsuite: made modifications to testcases, etc., to allow
8802 them to work properly given the reorganization of deja-gnu and the
8803 relocation of the testcases from deja-gnu to a "tool" subdirectory.
8804
8805Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
8806
8807 * gdb/testsuite: Initial creation of gdb/testsuite.
8808 Migrated dejagnu testcases and support files for testing nm to
8809 gdb/testsuite from deja-gnu. These files were moved "as is"
8810 with no modifications. This migration is part of a major overhaul
8811 of dejagnu. The modifications to these testcases, etc., which
8812 will allow them to work with the new version of dejagnu will be
8813 made in a future update.
8814\f
8815Local Variables:
8816mode: indented-text
8817left-margin: 8
8818fill-column: 74
8819version-control: never
8820End:
This page took 0.587671 seconds and 4 git commands to generate.