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