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