2002-06-06 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
be26fe0d
ML
12002-06-06 Michal Ludvig <mludvig@suse.cz>
2
3 * gdb.asm/asm-source.exp: Add x86-64 target.
4 * gdb.asm/x86_64.inc: New.
5
258093ca 62002-05-30 Michael Chastain <mec@shout.net>
258093ca 7
4b3153f1 8 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
9 * gdb.c++/m-static.cc: New file.
10 * gdb.c++/m-static.exp: New file.
11
241264c6
MS
122002-05-28 Michael Snyder <msnyder@redhat.com>
13
14 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15 precision.
16
9bba8c8f 172002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 18
4b3153f1 19 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
20 * gdb.c++/m-data.cc: New file.
21 * gdb.c++/m-data.exp: New file.
22
232002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 24
4b3153f1 25 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
26 * gdb.c++/try_catch.cc: New file.
27 * gdb.c++/try_catch.exp: New file.
28
def1b996
MC
292002-05-27 Michael Chastain <mec@shout.net>
30
31 * gdb.c++/local.exp: Accept more nested types in output.
32
522ba268
MC
332002-05-26 Michael Chastain <mec@shout.net>
34
35 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
36
277254ba
MS
372002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
38
39 * lib/gdb.exp (gdb_wrapper_init): Just because
40 gdb_wrapper_file exists, this does not mean that the file
41 should not be rebuilt. That is what gdb_wrapper_initialized
42 is for.
43 (default_gdb_init): Reset gdb_wrapper_initialized.
44
b61a8733
MS
452002-05-23 Michael Snyder <msnyder@redhat.com>
46
5bdb6d01
MS
47 * gdb.base/all-bin.exp: Revise previous patch by just reducing
48 the precision of the floating point test results.
49 * gdb.base/call-rt-st.exp: Ditto.
50
b61a8733
MS
51 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
52 * gdb.base/call-rt-st.exp: Ditto.
53
56f6e910
MC
542002-05-19 Michael Chastain <mec@shout.net>
55
56 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
57
ad0b0016
EZ
582002-05-19 Elena Zannoni <ezannoni@redhat.com>
59
60 * configure.in (configdirs): Add gdb.arch.
61 * configure: Regenerate.
62
f617d2b6
JB
632002-05-17 Jim Blandy <jimb@redhat.com>
64
65 * gdb.base/completion.exp: Recognize the more detailed error
66 messages produced by the macro expander's lexical analyzer.
67
eac2a696
EZ
682002-05-14 Elena Zannoni <ezannoni@redhat.com>
69
70 * gdb.arch/altivec-abi.c: New file.
71 * gdb.arch/altivec-abi.exp: New file.
72 * gdb.arch/altivec-regs.c: New file.
73 * gdb.arch/altivec-regs.exp: New file.
74
2fdde8f8
DJ
752002-05-14 Daniel Jacobowitz <drow@mvista.com>
76
77 * gdb.base/maint.exp (maint print type): Update for new type
78 structure.
eac2a696 79
e31f1a7c
EZ
802002-05-14 Elena Zannoni <ezannoni@redhat.com>
81
82 * gdb.arch: New directory.
83 * gdb.arch/configure.in: New file.
84 * gdb.arch/configure: New file.
85 * gdb.arch/Makefile.in: New file.
86
db589741
CV
872002-05-13 Corinna Vinschen <vinschen@redhat.com>
88
89 * gdb.asm/asm-source.exp: Add v850 as supported target.
90 * gdb.asm/v850.inc: New file.
91
8ce2a7dc
DJ
922002-05-13 Daniel Jacobowitz <drow@mvista.com>
93
94 * gdb.c++/annota2.exp (annotate-quit): Add comment.
95
df763c7f
DJ
962002-05-12 Daniel Jacobowitz <drow@mvista.com>
97
98 * gdb.base/break.exp: Check 'break "marker2"'.
99
377daeed
MS
1002002-05-10 Michael Snyder <msnyder@redhat.com>
101
102 * gdb.base/long_long.exp: Fix typo.
103
c4b7bc2b
JB
1042002-05-10 Jim Blandy <jimb@redhat.com>
105
ecac9a4e
JB
106 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
107 a bug.
108
c4b7bc2b
JB
109 * gdb.base/printcmds.exp (test_integer_literals_rejected):
110 Recognize more detailed error message produced by the macro
111 expander's lexical analyzer.
112 * lib/gdb.exp (test_print_reject): Same.
113
e71019a1
MK
1142002-05-09 Mark Kettenis <kettenis@gnu.org>
115
116 * gdb.c++/method.exp: Fix typo.
117
fedfc8e6
MS
1182002-05-08 Michael Snyder <msnyder@redhat.com>
119
166a1957
MS
120 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
121 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 122 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
123 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
124 Add iftarget clause for strongarm.
125
f1c47eb2
MS
1262002-05-06 Michael Snyder <msnyder@redhat.com>
127
cb9a9d3e
MS
128 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
129 (gdb_continue_to_end): Accept output from status wrapper.
130 * gdb.base/ending-run.exp: Add case for output from status wrapper.
131 Clean up fail messages to match pass messages.
132
f1c47eb2
MS
133 Enable the "needs_status_wrapper" testsuite feature.
134 * lib/gdb.exp (gdb_wrapper_init): New procedure.
135 (gdb_compile): Conditionally call gdb_wrapper_init.
136 * gdb.base/a2-run.exp: Recognize output from status wrapper.
137 * gdb.c++/method.exp: Recognize output from status wrapper.
138
6079c749
BE
1392002-05-06 Ben Elliston <bje@redhat.com>
140From Graydon Hoare <graydon@redhat.com>
141
142 * config/sid.exp: Include support for "rawsid" protocol.
143
188baff3
JB
1442002-05-03 Jim Blandy <jimb@redhat.com>
145
146 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
147 * gdb.c++/hang3.C: New file.
148
b9c07f0f
AC
1492002-05-04 Andrew Cagney <ac131313@redhat.com>
150
151 * gdb.base/default.exp: Remove obsolete code.
152 * gdb.c++/misc.exp: Ditto. Update copyright.
153 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
154 * gdb.base/whatis.exp: Ditto. Update copyright.
155 * gdb.base/scope.exp: Ditto. Update copyright.
156 * gdb.base/ptype.exp: Ditto. Update copyright.
157 * gdb.base/printcmds.exp: Ditto. Update copyright.
158 * gdb.base/opaque.exp: Ditto. Update copyright.
159 * gdb.base/list.exp: Ditto.
160 * gdb.base/funcargs.exp: Ditto. Update copyright.
161 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
162 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
163 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
164 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
165 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
166 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
167
5c7a0397
MS
1682002-05-02 Michael Snyder <msnyder@redhat.com>
169
d6dcc264 170 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
171 * gdb.base/long_long.exp: Add xscale target.
172 * gdb.base/default.exp: Add xscale target.
173
eb7f1c48
JB
1742002-05-01 Jim Blandy <jimb@redhat.com>
175
176 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
177 gdb.c++/hang.exp: New test.
178
a6befae8
FF
1792002-05-01 Fred Fish <fnf@redhat.com>
180
181 * gdb.base/completion.exp: Handle completions of "./Make" for
182 more than one completion possibility, as is the case when we
183 build and test in the source tree.
184
0a310277
AG
1852002-04-29 Anthony Green <green@redhat.com>
186
187 * gdb.java/jmisc1.exp: New file.
188 * gdb.java/jmisc2.exp: New file.
189
6ff9af88
DJ
1902002-04-24 Daniel Jacobowitz <drow@mvista.com>
191
192 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
193
96b3d632
EZ
1942002-04-23 Elena Zannoni <ezannoni@redhat.com>
195
196 * gdb.base/help.exp: Change 'help status' to allow for target
197 dependent output differences.
198
5019bb54
MC
1992002-04-22 Michael Chastain <mec@shout.net>
200
201 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
202
a805a116
MC
2032002-04-22 Michael Chastain <mec@shout.net>
204
205 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
206
a1706bfd
DM
2072002-04-17 David S. Miller <davem@redhat.com>
208
209 * gdb.asm/sparc64.inc: New file.
210 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
211
a73a20a2
EZ
2122002-04-19 Elena Zannoni <ezannoni@redhat.com>
213
214 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
215 instruction file directly into the build tree. Clean up at end of
216 test.
217
ba678339
DM
2182002-04-18 David S. Miller <davem@redhat.com>
219
220 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
221 handle 64-bit platforms correctly.
222 * gdb.base/maint.exp: Likewise.
223
b03399da
KB
2242002-04-18 Kevin Buettner <kevinb@redhat.com>
225
226 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
227 ``-fpic'' when compiling files comprising a shared library, but
228 it does need additional linker flags in order to find shared
229 libraries at run time.
230
e2004992
KB
2312002-04-18 Kevin Buettner <kevinb@redhat.com>
232
233 * gdb.base/cvexpr.c (use): New function.
234 (main): Invoke use() on all global variables to prevent
235 some linkers from deleting these otherwise unused symbols.
236
d8937120
MC
2372002-04-17 Michael Chastain <mec@shout.net>
238From David S. Miller <davem@redhat.com>
239
240 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
241 handle 64-bit platforms correctly.
242
ffd61a58
MS
2432002-04-12 Michael Snyder <msnyder@redhat.com>
244From Jim Blandy <jimb@redhat.com>
245 * gdb.base/foo.c (foox): Remove section attribute; the linker
246 script can handle this instead.
247 * gdb.base/bar.c (barx): Same.
248 * gdb.base/baz.c (bazx): Same.
249 * gdb.base/grbx.c (grbxx): Same.
250
251 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
252 manager doesn't automatically unmap overlays unnecessarily.
253
6b8426a6
MH
2542002-04-10 Martin M. Hunt <hunt@redhat.com>
255
256 * gdb.base/ending-run.exp: Fix pattern for Mips targets
257 stepping out of main.
258
34af4875
MC
2592002-04-09 Michael Chastain <mec@shout.net>
260
261 * gdb.c++/local.cc (main): Move call to marker1() inside nested
262 scope so that the nested scope tests will make sense.
263 * gdb.c++/local.exp: Write patterns that actually work with gcc
264 (the HP patterns "were never known to work with gcc").
265 Keep the old aCC patterns too.
266
2d1676a0
DJ
2672002-04-09 Daniel Jacobowitz <drow@mvista.com>
268
269 * gdb.base/attach.exp: Correct target board test.
270
3a63e3f9
MC
2712002-04-08 Michael Chastain <mec@shout.net>
272
273 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
274 in a const method. Add some xfail and fail cases for configurations
275 that do not emit the "const ...".
276
f18dabd2
MC
2772002-04-07 Michael Chastain <mec@shout.net>
278
279 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
280 Accept "A * const" and "const A * const" as type of "this".
281 Fix spelling of getFunky throughout. Make messages uniform.
282
0fcddd82
EZ
2832002-04-07 Elena Zannoni <ezannoni@redhat.com>
284
285 Work around for PR gdb/285:
286 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
287
16a8534a
EZ
2882002-04-07 Elena Zannoni <ezannoni@redhat.com>
289
290 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
291 instructions file at run time instead of configure time.
292 Sometimes we run the test in a directory that is not the one we
293 configured in.
294 * gdb.asm/configure.in: Delete creation of symlink.
295 * gdb.asm/configure: Regenerate.
296
24181d81
JB
2972002-04-05 J. Brobecker <brobecker@gnat.com>
298
299 * gdb.gdb/xfullpath.exp: New test, to exercise the new
300 xfullpath () function.
301
7cdb7107
DJ
3022002-04-04 Daniel Jacobowitz <drow@mvista.com>
303
304 * gdb.asm/Makefile.in: Correct dependencies.
305
306 * gdb.asm/powerpc.inc: New file.
307 * gdb.asm/asm-source.exp: Add PowerPC.
308 * gdb.asm/configure.in: Likewise.
309 * gdb.asm/configure: Regenerated.
310
a7d17088
DJ
3112002-04-04 Daniel Jacobowitz <drow@mvista.com>
312
313 * gdb.base/relocate.exp: New file.
314 * gdb.base/relocate.c: New file.
315
cd721503
FF
3162002-04-04 Fred Fish <fnf@redhat.com>
317
318 * gdb.base/step-test.exp: Update comment regarding stopping in
319 memcpy/bcopy calls inserted as part of the compiler runtime.
320
b22ad7a7
MS
3212002-04-04 Michael Snyder <msnyder@redhat.com>
322
323 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
324
5f279fa6
DJ
3252002-04-03 Daniel Jacobowitz <drow@mvista.com>
326
327 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
328 (gdb_expect): Remove $notransfer hack.
329
dd0fd3ce
DJ
3302002-04-02 Daniel Jacobowitz <drow@mvista.com>
331
332 * gdb.c++/classes.exp ("calling method for small class"): Match
333 updated register output.
334
1e50cda1
DJ
3352002-03-30 Daniel Jacobowitz <drow@mvista.com>
336
337 Fix PR gdb/452
338 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
339 when finished. Make gdb_file_cmd send "exec-file" when
340 appropriate.
341
24015922
DJ
3422002-03-30 Daniel Jacobowitz <drow@mvista.com>
343
344 * gdb.base/attach.exp: Remove extra setup_xfail.
345
dd7dfd64
MS
3462002-03-26 Michael Snyder <msnyder@redhat.com>
347
348 * gdb.base/default.exp: Add tests for dump, append, and restore.
349 * gdb.base/help.exp: Add tests for dump, append, and restore.
350 * gdb.base/dump.exp: New file, test dump, append and restore.
351 * gdb.base/dump.c: New file.
352
48b2f8d7
MS
3532002-03-27 Michael Snyder <msnyder@redhat.com>
354
355 * gdb.base/help.exp: Modify expect strings to reflect
356 clean-ups in help messages.
357
05b4d525
FF
3582002-03-26 Fred Fish <fnf@redhat.com>
359
360 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
361 have debugging info for those functions and the compiler uses them
362 internally to copy structs around.
363
d7679631
FF
3642002-03-26 Fred Fish <fnf@redhat.com>
365
366 * gdb.base/list.exp: Revert the change made yesterday and add note
367 about why we don't list the default lines for remote targets.
368
523ac3f9
MS
3692002-03-25 Michael Snyder <msnyder@redhat.com>
370
371 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
372
754b2b8d
FF
3732002-03-25 Fred Fish <fnf@redhat.com>
374
375 * gdb.base/list.exp: This test works on remote targets so remove
376 the short circuit for remote targets. Update copyright.
377
33c3e192
FF
3782002-03-25 Fred Fish <fnf@redhat.com>
379
380 * gdb.base/attach.exp: Fix logic error that was suppressing this
381 test for all non hppa*-*-hpux* targets, instead of the hp target.
382 Move comments closer to the suppression point. Also now need to
383 check that we are running natively.
384
d43e73ee
MS
3852002-03-22 Michael Snyder <msnyder@redhat.com>
386
882c8f02
MS
387 * gdb.base/default.exp: Add test for gcore. Update copyright.
388 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 389
04c12f60
FF
3902002-03-06 Fred Fish <fnf@redhat.com>
391
392 * gdb.base/funcargs.c: Remove extraneous ';' character.
393 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
394
b43df995
MC
3952002-03-04 Michael Chastain <mec@shout.net>
396
397 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
398 accommodate gcc v3 function signature.
399 * gdb.mi/mi0-var-cmd-exp: Ditto.
400
92362027
AC
4012002-02-24 Andrew Cagney <ac131313@redhat.com>
402
403 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
404 ``GNU/Linux'' or ``Linux kernel''
405 * testsuite/gdb.threads/pthreads.c: Ditto.
406
258ad32d
MC
4072002-02-24 Michael Chastain <mec@shout.net>
408
409 * gdb.threads/pthreads.c (thread1): Add a return statement.
410 (thread2): Likewise.
411 (foo): Likewise.
412
04c3b3d4
MC
4132002-02-23 Michael Chastain <mec@shout.net>
414
415 * gdb.threads/linux-dp.c (philosopher): Add a return statement
416 to placate gcc.
417
5a2a0a20
MC
4182002-02-23 Michael Chastain <mec@shout.net>
419
420 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
421 test "ptype bint". The test passes on all my stabs configurations.
422
a640f7fc
JB
4232002-02-21 Jim Blandy <jimb@redhat.com>
424
27924826
JB
425 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
426 filename at a time, and watch for the ones we want to see.
427
a640f7fc
JB
428 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
429 types of pointers to prototyped functions.
430
edcc8c75
AC
4312002-02-20 Andrew Cagney <ac131313@redhat.com>
432
433 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
434 signed, unsigned and straight char.
435 (padding_char, padding_short, padding_int, padding_long,
436 padding_long_long, padding_float, padding_double,
437 padding_long_double): New global variables.
438 (fill, fill_structs): New functions.
439
440 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
441 for correctly sized writes. Update copyright.
442 (get_valueof): New procedure.
443 (get_sizeof): Call get_valueof.
444 (check_valueof): New procedure.
445 (check_padding): New procedure.
446
ac57ea44
MC
4472002-02-20 Michael Chastain <mec@shout.net>
448
449 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
450 to setup_xfail. Document some of the remaining calls.
451
7a10c941
MC
4522002-02-18 Michael Chastain <mec@shout.net>
453
454 * gdb.c++/userdef.exp: Update copyright year.
455
fb8acdcc
DJ
4562002-02-18 Daniel Jacobowitz <drow@mvista.com>
457
458 * gdb.c++/userdef.exp: Test overloaded operators properly.
459 Remove xfails.
460
fda6ae12
MS
4612002-02-14 Michael Snyder <msnyder@redhat.com>
462
463 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
464
676a0442
DJ
4652002-02-14 Daniel Jacobowitz <drow@mvista.com>
466
467 * gdb.base/a2-run.exp: Check for a remote target properly.
468 * gdb.base/annota1.exp: Likewise.
469 * gdb.base/list.exp: Likewise.
470 * gdb.base/reread.exp: Likewise.
471 * gdb.base/scope.exp: Likewise.
472 * gdb.base/shlib-call.exp: Likewise.
473 * gdb.base/term.exp: Likewise.
474 * gdb.c++/annota2.exp: Likewise.
475
78b4f468
RE
4762002-02-13 Richard Earnshaw <rearnsha@arm.com>
477
478 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
479
9a81ba51
MC
4802002-02-10 Michael Chastain <mec@shout.net>
481
482 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
483 (call_after_alloca): Ditto.
484
004af6c7
DJ
4852002-02-10 Daniel Jacobowitz <drow@mvista.com>
486
487 * gdb.base/ending-run.exp: Guard "cont" test with
488 gdb_skip_stdio_test.
489
37225f62
JB
4902002-02-06 Jim Blandy <jimb@redhat.com>
491
492 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
493 from here...
494 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
495 To here. Disable this test on non-HP platforms. Add big comment.
496
fe6fdd96
MS
4972002-02-04 Michael Snyder <msnyder@redhat.com>
498
499 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
500 other than d10v and m32r.
501
036fad3f
RE
5022002-02-02 Richard Earnshaw <rearnsha@arm.com>
503
504 * gdb.base/default.exp: Rewrite test patterns to reduce time
505 taken to match them.
506
7148ab62
DJ
5072002-01-30 Daniel Jacobowitz <drow@mvista.com>
508
509 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
510 Allow a start function above main.
511 * gdb.threads/linux-dp.exp: Fix copyright date.
512
396cc255
DJ
5132002-01-30 Daniel Jacobowitz <drow@mvista.com>
514
515 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
516 (check_philosopher_stack): Check for manager thread before checking
517 for a just-starting thread.
518
f038d31b
DJ
5192002-01-30 Daniel Jacobowitz <drow@mvista.com>
520
521 From Neil Booth <neil@daikokuya.demon.co.uk>:
522 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
523 warnings.
524
b3ff9d9a
FF
5252002-01-21 Fred Fish <fnf@redhat.com>
526
527 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
528 not caller.
529
39ad761d
JB
5302002-01-21 Jim Blandy <jimb@redhat.com>
531
532 * gdb.base/reread.exp: Check that GDB properly re-reads the
533 executable file when it changes while no inferior is running.
534
aaf320fa
FF
5352002-01-21 Fred Fish <fnf@redhat.com>
536
537 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
538 optionally accept the "shlib events" variation.
539
808a31f5
JB
5402002-01-21 Jim Blandy <jimb@redhat.com>
541
542 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
543 call `fflush' after every `printf', so that the output is produced
544 at predictable points, regardless of whatever buffering does (or
545 doesn't) take place.
546 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
547 at different points.
548
4420d5e2
DJ
5492002-01-20 Daniel Jacobowitz <drow@mvista.com>
550
551 * gdb.c++/inherit.exp: Update copyright years.
552 * gdb.c++/method.exp: Likewise.
553
3e36a0f4
DJ
5542002-01-20 Daniel Jacobowitz <drow@mvista.com>
555
556 * gdb.c++/classes.exp: Update for improved v3 support and skipping
557 artificial methods/arguments.
558 * gdb.c++/derivation.exp: Likewise.
559 * gdb.c++/inherit.exp: Likewise.
560 * gdb.c++/method.exp: Likewise.
561 * gdb.c++/virtfunc.exp: Likewise.
562
b4ceaee6
AC
5632002-01-18 Andrew Cagney <ac131313@redhat.com>
564
565 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
566 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
567 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
568 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
569 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
570 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
571
ecace851
JB
5722002-01-17 Jim Blandy <jimb@redhat.com>
573
574 * gdb.asm/asm-source.exp (info symbol): Take another shot at
575 anchoring the pattern matching the entry point symbol's name.
576
375fc983
AC
5772002-01-17 Andrew Cagney <ac131313@redhat.com>
578
579 * gdb.base/maint.exp: Update ``maint internal-error'' to match
580 continue/quit query. Update copyright.
581
fe6fdd96
MS
5822002-01-14 Michael Snyder <msnyder@redhat.com>
583
584 * gdb.base/gcore.exp: Remove extra debugging output.
585
e017c81f
DJ
5862002-01-13 Daniel Jacobowitz <drow@mvista.com>
587
588 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
589 for slightly dubious v2 mangled string.
590
37ab3bf8
DJ
5912002-01-13 Daniel Jacobowitz <drow@mvista.com>
592
593 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
594
1bc05c3a 5952002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 596
1bc05c3a 597 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 598
1bc05c3a
JM
599 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
600 constructors.
601 * gdb.c++/derivation.exp: Likewise.
602 * gdb.c++/templates.exp: Likewise.
603 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 604
1bc05c3a
JM
6052002-01-10 Michael Snyder <msnyder@redhat.com>
606
607 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 608
a911c360
MS
6092002-01-08 Michael Snyder <msnyder@redhat.com>
610
611 * gdb.base/gcore.exp: New test for generate-core-file command.
612 * gdb.base/gcore.c: Testcase for above.
613 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
614
ea2119ec
JM
6152002-01-08 Jason Merrill <jason@redhat.com>
616
617 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
618
68203136
FF
6192002-01-07 Fred Fish <fnf@redhat.com>
620
621 * gdb.c++/overload.exp: Remove unconditional xfails for:
622 print foo_instance1.overloadargs(1)
623 print foo_instance1.overloadargs(1, 2)
624 print foo_instance1.overloadargs(1, 2, 3)
625 print foo_instance1.overloadargs(1, 2, 3, 4)
626 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
627 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
628 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
629 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
630 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
631 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
632 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
633 print foo_instance1.overload1arg()
634 print foo_instance1.overload1arg((char)arg2)
635 print foo_instance1.overload1arg((signed char)arg3)
636 print foo_instance1.overload1arg((unsigned char)arg4)
637 print foo_instance1.overload1arg((int)arg7)
638 print foo_instance1.overload1arg((unsigned int)arg8)
639 print foo_instance1.overload1arg((float)arg11)
640 print foo_instance1.overload1arg((double)arg12)
641
21b9b5b1
MS
6422002-01-07 Michael Snyder <msnyder@redhat.com>
643
644 * gdb.base/huge.exp: New test. Print a very large target data object.
645 (skip_huge_test): New test variable. Define if you want to skip this
646 test. The test reads an 8 megabyte data object from the target, so it
647 might be very time consuming on remote targets with a slow connection.
648 * gdb.base/huge.c: New file. Test case for above.
649
725f922e
FF
6502002-01-07 Fred Fish <fnf@redhat.com>
651
652 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
653 g_instance.bfoo, and g_instance.cfoo.
654
634d57ec
JL
655Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
656
f286b2c3
JL
657 * gdb.base/break.c (multi_line_if_conditional): New function.
658 (multi_ilne_while_conditional): Likewise.
659 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
660 IF or WHILE condition puts the breakpoint at the start of
661 the condition.
662
634d57ec
JL
663 * gdb.base/selftest.exp (backtrace through signal handler): Remove
664 hppa*-*-hpux* expected failure.
665 * gdb.base/structs.exp (do_function_calls): Similarly.
666
667 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
668 watchpoints.
669
9fbfe2dc
AC
6702002-01-06 Andrew Cagney <ac131313@redhat.com>
671
672 Fix PR gdb/66.
673 * gdb.base/structs.exp: Replace skip for a29k with skip for
674 gdb,cannot_call_functions.
675 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
676 * gdb.base/callfuncs.exp: Ditto.
677 * gdb.base/call-rt-st.exp: Ditto.
678 * gdb.base/call-strs.exp: Ditto.
679 * gdb.base/callfwmall.exp: Ditto.
680 * gdb.base/scope.exp: Obsolete xfail a29k.
681 * gdb.c++/misc.exp: Ditto.
682 * gdb.c++/cplusfuncs.exp: Ditto.
683 * gdb.base/ptype.exp: Ditto.
684 * gdb.base/printcmds.exp: Ditto.
685 * gdb.base/opaque.exp: Ditto.
686 * gdb.base/list.exp: Ditto.
687 * gdb.base/funcargs.exp: Ditto.
688 * gdb.base/default.exp: Ditto.
689
8ddad156
MS
6902002-01-04 Michael Snyder <msnyder@redhat.com>
691
ca4976a6 692 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
693 * gdb.base/maint.exp: Add tests for maint info sections options.
694
1b074332
JL
695Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
696
697 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
698
7d159115
CV
6992001-12-20 Corinna Vinschen <vinschen@redhat.com>
700
701 * gdb.asm/arm.inc: New file.
702 * gdb.asm/asm-source.exp: Add arm targets.
703 * gdb.asm/configure.in: Ditto.
704 * gdb.asm/configure: Recreated from configure.in.
705
8fb87725
JL
706Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
707
afabe08c
JL
708 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
709 with HP's compiler.
710 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
711 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
712 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
713 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
714
715 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
716 either HP's compilers or GCC.
717
db521deb
JL
718 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
719 a SIGBUS or SIGSEGV.
720
721 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
722
723 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
724 can be compiled with either HP's compiler or GCC.
725
cfa88ab7
JL
726 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
727 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
728 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
729
ca344dff
JL
730 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
731 to match current gdb output. Update due to using auto-solib-limit
732 for limiting instead of overloading auto-solib-add.
733 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
734 test program.
735
3f3c6e55 736 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
737 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
738 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
739 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
740 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
741 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
742 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
743 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
744 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
745 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
746 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
747 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
748 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 749
8fb87725
JL
750 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
751 a SIGTRAP to the inferior.
752
cf599fa7
CV
7532001-12-19 Corinna Vinschen <vinschen@redhat.com>
754
755 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
756 Substitute call to target_link by call to gdb_compile.
757
2cd045cd
JL
758Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
759
760 * gdb.base/break.exp: Fix HP specific search string when testing
761 backtracing in a called function.
762
763 * gdb.base/constvars.exp: Only set lang to C++ if we're
764 compiling the test with HP's compilers.
765 * gdb.base/volatile.exp: Similarly.
766
99ebe9ac
JB
7672001-12-19 Jim Blandy <jimb@redhat.com>
768
769 * gdb.base/printcmds.exp: Expect the null character to be printed
770 as '\0', and the '\013' to be printed as '\v'.
771 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
772 * gdb.base/setvar.exp: Same.
773
b9891b29
JB
7742001-12-17 Jim Blandy <jimb@redhat.com>
775
0eba65ab
JB
776 * gdb.base/completion.exp: Rather than completing very long
777 filenames, which can make the readline library produce output we
778 don't recognize, cd to the directory first, and then complete
779 using nice, short relative paths.
780
6970b5b1
JB
781 * gdb.base/completion.exp: On some systems, there is, in fact, a
782 variable named `b' in scope, since GDB treats all static
783 variables as being in scope. So use `no_var_named_this'
784 instead of `b'.
785
b9891b29
JB
786 * gdb.base/corefile.exp: Recognize the message saying that GDB
787 can't find the core file's registers as a failure.
788
e6ccd35f
JSC
7892001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
790
791 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
792 test expect string more specific.
793
105ba819
CV
7942001-12-13 Corinna Vinschen <vinschen@redhat.com>
795
796 * gdb.asm/asm-source.exp: Add support for xstormy16.
797 * gdb.asm/configure.in: Ditto.
798 * gdb.asm/configure: Rebuild.
799 * gdb.asm/xstormy16.inc: New file.
800
e9e79dd9
FF
8012001-12-10 Fred Fish <fnf@redhat.com>
802
803 * gdb.base/maint.exp: Update to match changes in type dumping code.
804
347dc97d
JB
8052001-12-10 Jim Blandy <jimb@redhat.com>
806
807 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
808 matching the entry point symbol's name at the beginning of the
809 line.
810
5178b9d6
DJ
8112001-12-07 Daniel Jacobowitz <drow@mvista.com>
812
813 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
814 gdb.c++/inherit.exp, gdb.c++/method.exp,
815 gdb.c++/namespace.exp, gdb.c++/templates.exp,
816 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
817 and class layout support.
818
af890c52
DJ
8192001-12-07 Daniel Jacobowitz <drow@mvista.com>
820
821 * gdb.c++/classes.exp: Add test for static member function.
822 * gdb.c++/misc.cc: Add class with static member function.
823
7a345fb3
JB
8242001-12-07 Jim Blandy <jimb@redhat.com>
825
f2e54a80 826 If GDB says it can't find the struct the function returned, report
8032bf31
JB
827 those tests as `unsupported'.
828 * gdb.base/call-rt-st.exp (print_struct_call): New function.
829 Rewrite subsequent tests to use it.
830
831 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
832 those tests as `unsupported'.
833 * gdb.base/structs.exp (call_struct_func): New function.
834 (do_function_calls): Use call_struct_func to call the functions
835 returning structs.
836
0bc69509
JB
837 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
838 whether functions are prototyped or not, so we can't possibly pass
839 arguments to t_float_values2 properly.
840
7a345fb3
JB
841 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
842 value of `timeout' for targets other than the mips*tx39-*.
843
edb6ede1
MS
8442001-12-06 Michael Snyder <msnyder@redhat.com>
845
846 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
847 and detect whether the start symbol has a leading underscore.
848
2d842f13
JB
8492001-12-04 Jim Blandy <jimb@redhat.com>
850
851 * gdb.base/completion.exp: Clarify indentation.
852
68550daf
JB
8532001-12-03 Jim Blandy <jimb@redhat.com>
854
855 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
856 variables on the S/390, not `.word'.
857
cd5195a8
JB
8582001-11-30 Jim Blandy <jimb@redhat.com>
859
860 Add assembly-source tests for s390-ibm-linux.
861 * gdb.asm/s390.inc: New file.
862 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
863 the S/390 architecture.
864 * gdb.asm/configure: Regenerated.
865
ca9efc90
MS
8662001-11-30 Michael Snyder <msnyder@redhat.com>
867
868 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
869 next, info source, info sources, info line, global and static
870 variables, and static functions.
871 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
872 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
873 * gdb.asm/asmsrc1.s: Add a static function and some variables.
874 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
875 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
876 (gdbasm_leave): Restore frame pointer.
877 (gdbasm_startup): Copy stack set-up from crt0.S.
878
d0e66976
FN
8792001-11-26 Fernando Nasser <fnasser@redhat.com>
880
881 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
882 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
883 to a local (non-static) variable. Copy tstruct.a to a static buffer
884 and return a pointer to that buffer.
885 * gdb.base/callfwmall.c (t_structs_a): Ditto.
886
e2334072
MK
8872001-11-24 Mark Kettenis <kettenis@gnu.org>
888
889 * gdb.asm/configure.in: Fix recognition of ix86 target.
890 * gdb.asm/configure: Regenerate.
891
756caa3d
MS
8922001-11-21 Michael Snyder <msnyder@redhat.com>
893
894 * gdb.asm/sparc.inc: New file.
895 * gdb.asm/asm-source.exp: Recognize sparc target.
896 * gdb.asm/configure.in: Recognize sparc target.
897 * gdb.asm/configure: Regenerate.
898
9a4d72d5
MS
8992001-11-21 Michael Snyder <msnyder@redhat.com>
900
901 * gdb.asm/m32r.inc: New file.
902 * gdb.asm/asm-source.exp: Recognize m32r target.
903 * gdb.asm/configure.in: Recognize m32r target.
904 * gdb.asm/configure: Regenerate.
905
a773d1cd
MS
9062001-11-20 Michael Snyder <msnyder@redhat.com>
907
017ac23d
MS
908 * gdb.asm/i386.inc: New file.
909 * gdb.asm/asm-source.exp: Recognize ix86 target.
910 * gdb.asm/configure.in: Recognize ix86 target.
911 * gdb.asm/configure: Regenerate.
912
a773d1cd
MS
913 * gdb.c++/namespace.exp: Fix quotes in output messages.
914
bb632afb
MS
9152001-11-14 Michael Snyder <msnyder@redhat.com>
916
25d559ca 917 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
918 qualifier in a type cast expression, to designate an address
919 in the instruction space (Harvard architecture).
920
4749e309
MS
9212001-11-13 Michael Snyder <msnyder@redhat.com>
922
923 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
924 Tests for expressions using 'const' and 'volatile'.
925
25050984
CV
9262001-11-13 Corinna Vinschen <vinschen@redhat.com>
927
928 * gdb.asm/asm-sources.exp: Allow defining linker flags.
929
1902c51f
DJ
9302001-11-12 Daniel Jacobowitz <drow@mvista.com>
931
932 * lib/mi-support.exp (mi_run_to_helper): Move comments
933 outside of gdb_expect.
934
dcf95b47
DJ
9352001-11-11 Daniel Jacobowitz <drow@mvista.com>
936
937 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
938 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
939 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
940 mi0_run_to): New functions.
941 * gdb.mi/mi-simplerun.exp: Use them.
942 * gdb.mi/mi0-simplerun.exp: Likewise.
943 * gdb.mi/mi-var-cmd.exp: Likewise.
944 * gdb.mi/mi0-var-cmd.exp: Likewise.
945
45b074e1
AC
9462001-11-10 Andrew Cagney <ac131313@redhat.com>
947
948 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
949 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
950
bf50d346
AC
9512001-11-09 Andrew Cagney <ac131313@redhat.com>
952
953 * gdb.base/restore.exp: Include $expected value in restored test
954 message.
955
9383332c
AC
9562001-11-09 Andrew Cagney <ac131313@redhat.com>
957
958 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
959 implemented.
960
db62520a
MS
9612001-11-08 Michael Snyder <msnyder@redhat.com>
962
963 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
964 Add pass/fail message for stop at breakpoint in call dummy function.
965
b5703437
MS
9662001-11-07 Michael Snyder <msnyder@redhat.com>
967
760f6330
MS
968 * gdb.c++/templates.exp (test_template_breakpoints):
969 If we get an overload menu, but it does not match what
970 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
971 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
972 making the whitespace optional. Argument for "new" may be
973 "unsigned" as well as "unsigned int/long".
eef747c0
MS
974 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
975 making the whitespace optional. Also replace "(void) with
976 "((void|)), making the keyword "void" optional.
63f50499
MS
977 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
978 making the whitespace optional. Also replace "(void) with
979 "((void|)), making the keyword "void" optional.
3bf40917
MS
980 * gdb.base/callfuncs.c (t_float_values): This function must
981 _not_ be prototyped, and the following function (t_float_values2)
982 must be prototyped (if the compiler supports it), so that GDB
983 can be tested against both cases. Usually one case involves
984 promotion of float to double, while the other does not.
985 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
986 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
987 includes a stack frame for "start".
988
c8ab4e6d
JB
9892001-11-05 Jim Blandy <jimb@redhat.com>
990
991 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
992 pointers are 32 bits long, and that offsets of relocs are always
993 stored in the data (REL-style), and not in the reloc entry itself
994 (RELA-style).
995 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
996 stabs.
997
3f08ced9
MS
9982001-11-01 Michael Snyder <msnyder@redhat.com>
999
1000 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1001 and regular expression operators by using quoting.
1002
cbfa24cd
MS
10032001-10-31 Michael Snyder <msnyder@redhat.com>
1004
1005 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1006 depending on what the symbol table contains.
1007 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1008 the output of the ptype command. Similarly, accept both "const &"
1009 and "const&".
1010
aaa68313
CV
10112001-10-31 Corinna Vinschen <vinschen@redhat.com>
1012
1013 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1014 symbol `STORAGE' to allow to choose the storage class of
1015 the local datastructures.
1016 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1017 compiler directive.
1018
91740388
MS
10192001-10-30 Michael Snyder <msnyder@redhat.com>
1020
1021 * gdb.base/jump.exp: Allow it to run for all targets.
1022
1b7c05e7
CV
10232001-10-29 Corinna Vinschen <vinschen@redhat.com>
1024
1025 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1026 with new double_array size.
1027 (main): Change storage class of all local variables to static.
1028 Reduce size of double_array to 9.
1029 * gdb.base/call-ar-st.exp: Increase timeout value.
1030 Change expected output for double array to match new size in
1031 call-ar-st.c.
1032
36a22261
CV
10332001-10-29 Corinna Vinschen <vinschen@redhat.com>
1034
1035 * gdb.base/ending-run.exp: Create identical output when passing
1036 `step to end of run' case. Add regular expression branch satisfying
1037 Stormy16 target.
1038
92b8ae91
MK
10392001-10-28 Mark Kettenis <kettenis@gnu.org>
1040
1041 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1042 that we catch the expected failure under Linux/x86.
1043
cb135b83
OF
10442001-10-29 Orjan Friberg <orjanf@axis.com>
1045
1046 * gdb.base/setvar.exp: Escape curly braces.
1047 * gdb.stabs/weird.exp: Ditto.
1048
6884aa54
DJ
10492001-10-27 Daniel Jacobowitz <drow@mvista.com>
1050
1051 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1052 * gdm.mi/mi0-hack-cli.exp: Likewise.
1053
0398c9aa
AC
10542001-10-25 Andrew Cagney <ac131313@redhat.com>
1055
1056 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1057 messages.
1058
d20bf2e8
AC
10592001-10-21 Andrew Cagney <ac131313@redhat.com>
1060
1061 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1062 checking MI enabled.
1063
03dd63aa
CV
10642001-10-09 Corinna Vinschen <vinschen@redhat.com>
1065
1066 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1067
1d9d99f3
FCE
10682001-10-04 Frank Ch. Eigler <fche@redhat.com>
1069
1070 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1071 if gdb child process crashes, just signal an error.
1072
838ae6c4
JB
10732001-10-02 Jim Blandy <jimb@redhat.com>
1074
1075 * lib/gdb.exp (test_xfail_format): Simplify.
1076
1077 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1078 front of the variable name `format'. Simplify `if'.
1079
8f0cbc1c
DJ
10802001-10-01 Daniel Jacobowitz <drow@mvista.com>
1081
1082 * gdb.threads/pthreads.exp: Wait for output and delay
1083 before sending ^C.
1084
1f08dafd
DJ
10852001-10-01 Daniel Jacobowitz <drow@mvista.com>
1086
1087 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1088 some incorrect output instead of timing out.
1089 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1090
674f90ff
CV
10912001-09-28 Corinna Vinschen <vinschen@redhat.com>
1092
1093 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1094 check to allow additional `int'.
1095
9b284272
DJ
10962001-09-27 Daniel Jacobowitz <drow@mvista.com>
1097
1098 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1099 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1100
b55a4771
MS
11012001-09-27 Michael Snyder <msnyder@redhat.com>
1102
1103 * lib/gdb.exp (test_debug_format): New proc.
1104 (setup_xfail_format): Use new proc test_debug_format.
1105 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1106 proc; use new service proc test_debug_format.
1107 Replace all other "gcc_compiled" tests with this test.
1108 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1109 proc; use new service proc test_debug_format.
1110 Replace all other "gcc_compiled" tests with this test.
1111
11122001-09-27 Michael Snyder <msnyder@redhat.com>
1113
1114 * gdb.base/cvexpr.exp: New file.
1115 * gdb.base/cvexpr.c: New file
1116 Test for expressions using const and volatile keywords.
1117
4e6667ac
CV
11182001-09-26 Corinna Vinschen <vinschen@redhat.com>
1119
1120 * gdb.base/constvars.exp: Check for different orders of keywords
1121 and additional "int" strings in output.
1122
4f337972
AC
11232001-09-22 Andrew Cagney <ac131313@redhat.com>
1124
1125 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1126 responses from "help maint".
1127
2015650d
FCE
11282001-09-19 Frank Ch. Eigler <fche@redhat.com>
1129
1130 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1131 to localhost:NNN instead of :NNN, in case Xvfb is listening
1132 only on TCP.
1133
f3bcedc1
CV
11342001-09-19 Corinna Vinschen <vinschen@redhat.com>
1135
1136 * gdb.base/recurse.exp: When checking leaving the watchpoint
1137 scope, recognize when gdb is in function's epilogue and pass.
1138
6b819c92
KS
11392001-09-18 Keith Seitz <keiths@redhat.com>
1140
1141 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1142 support for running tests against sid targets.
1143 (gdbtk_done): Ditto.
1144
a10c9419
CV
11452001-09-18 Corinna Vinschen <vinschen@redhat.com>
1146
1147 * gdb.base/ending-run.c (main): Set stdout buffersize
1148 to the same reasonable value for any target.
1149 * gdb.base/ending-run.exp: Add a regular expression
1150 to make testsuite happy on Sanyo Stormy16 target.
1151
739d0d99
CV
11522001-09-17 Corinna Vinschen <vinschen@redhat.com>
1153
1154 * gdb.base/display.c (do_loops): Add float variable `f'.
1155 Increment f in loop.
1156 * gdb.base/display.exp: Increment timeout by 60 seconds.
1157 Change float display test to use variable `f'.
1158
1b8947f0
JB
11592001-09-17 Jim Blandy <jimb@redhat.com>
1160
1161 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1162 overflowing the limited breakpoint tables on some ROM monitors
1163 (like the ROM68K).
1164
9890ac81
FCE
11652001-09-15 Frank Ch. Eigler <fche@redhat.com>
1166
1167 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1168 the "-ac" (disable access control) flag.
1169
6db765ea
JH
11702001-08-30 Jeff Holcomb <jeffh@redhat.com>
1171
1172 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1173 ints.
1174
4c32cc04
KS
11752001-08-30 Keith Seitz <keiths@redhat.com>
1176
1177 * lib/gdb.exp: Move all insight-related functionality into
1178 separate file.
1179 * lib/insight-support.exp: New file.
1180
8d6e6f81
FCE
11812001-08-29 Frank Ch. Eigler <fche@redhat.com>
1182
1183 * config/sid.exp (sid_start): Never set sid verbosity; disable
1184 expect_background {} that consumed its stdout; tolerate </dev/null.
1185 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1186
6a90e1d0
AC
11872001-08-18 Andrew Cagney <ac131313@redhat.com>
1188
1189 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1190 CLI jump command to start it.
1191 (mi_run_to_main): Fail immediatly when unexpected output.
1192
1759b3c3
AC
11932001-08-18 Andrew Cagney <ac131313@redhat.com>
1194
1195 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1196 beginning of function. Fix PR gdb/191.
1197
61d11d80
FCE
11982001-08-16 Frank Ch. Eigler <fche@redhat.com>
1199
1200 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1201 what to force sid endianness to.
1202
942a4df2
KS
12032001-08-15 Keith Seitz <keiths@redhat.com>
1204
1205 * lib/gdb.exp (gdbtk_start): Don't set environment
1206 variables for TCL_LIBRARY and friends. Insight will
1207 now figure these out for itself.
1208
0521c418
MS
12092001-08-02 Michael Snyder <msnyder@redhat.com>
1210
1211 * gdb.base/completion.exp: Remove the symbol "a64l" from
1212 the expect string; this is target-specific, and not related
1213 to what is being tested.
1214
74a9a58a
DB
12152001-08-02 Dave Brolley <brolley@redhat.com>
1216
1217 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1218
c70819fa
MS
12192001-07-25 Michael Snyder <msnyder@redhat.com>
1220
c2b8fa57
MS
1221 * gdb.base/consecutive.exp: New file. Test stepping over
1222 breakpoints on consecutive instructions.
1223 * gdb.base/consecutive.c: New file.
1224
c70819fa
MS
1225 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1226 curly braces in regular expressions.
1227
2b1a1355
MS
12282001-07-25 Michael Snyder <msnyder@redhat.com>
1229
1230 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1231 legitimate output from stepping out of main.
1232
413eca6f
KS
12332001-07-22 Keith Seitz <keiths@redhat.com>
1234
1235 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1236 the empty string, do not run the tests.
1237
7e5a9322
SC
12382001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1239
1240 * gdb.base/long_long.exp: Detect size of pointer. Take into
1241 account 2-byte pointers when testing for p/a results.
1242
de58f10f
SC
12432001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1244
1245 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1246 and defined to 1K for m68hc11.
1247 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1248 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1249 (sizeof_random_data): New variable to tell the size of the data table;
1250 don't test past this size; always run to main.
1251
d6f5fea1
SC
12522001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1253
1254 * gdb.base/return2.exp: return of long long and double fails for
1255 68HC11; don't execute these tests on that platform.
1256 * gdb.base/return.exp: Return of a double fails for 68hc11.
1257
c477543d
SC
12582001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1259
1260 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1261 tests that print a float.
1262 * call-rt-st.exp: Likewise.
1263
63cf1c79
MK
12642001-07-12 Mark Kettenis <kettenis@gnu.org>
1265
1266 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1267 running this test on Linux.
1268
112f9ab5
MC
12692001-06-24 Michael Chastain <chastain@redhat.com>
1270
1271 * gdb.base/arithmet.exp: Remove some tests to make all test names
1272 unique.
1273
4970cb0f
MS
12742001-07-03 Michael Snyder <msnyder@redhat.com>
1275
1276 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1277 the output of the ptype command.
1278
d85da69f
MS
12792001-07-02 Michael Snyder <msnyder@redhat.com>
1280
4c8a82de
MS
1281 * gdb.base/completion.exp: Don't assume that break.c is the only
1282 source file that may contain functions named "marker".
d85da69f
MS
1283 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1284
8afc772b
AC
12852001-06-28 Andrew Cagney <ac131313@redhat.com>
1286
1287 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1288 of files to delete.
1289
1290 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1291 * gdb.disasm/h8300s.exp: New file.
1292 gdb.disasm/h8300s.s: Likewise.
1293
cff22675
AC
12942001-06-27 Andrew Cagney <ac131313@redhat.com>
1295
1296 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1297 empty breakpoint tables.
1298
68c81b54
AC
12992001-06-25 Andrew Cagney <ac131313@redhat.com>
1300
1301 * lib/mi-support.exp: Update args=... part of stop-reason
1302 patterns. Accept either a list or a tuple.
1303
2dd62704
AC
13042001-06-23 Andrew Cagney <ac131313@redhat.com>
1305
1306 * lib/mi-support.exp: Remove local emacs variable defining
1307 change-log-default-name.
1308
b4127474
MC
13092001-06-22 Michael Chastain <chastain@redhat.com>
1310
1311 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1312 This is operationally compatible with the previous version.
1313
8dbfb380
JB
13142001-06-13 Jim Blandy <jimb@redhat.com>
1315
1316 * lib/gdb.exp (gdb_test): Doc fix.
1317
f2d8c86d
MC
13182001-06-10 Michael Chastain <chastain@redhat.com>
1319
1320 * gdb.base/exprs.exp: Remove a duplicate test.
1321
81564d34
JB
13222001-06-06 Jim Blandy <jimb@redhat.com>
1323
1324 * gdb.base/return2.exp (main): Use values to test float and double
1325 returns that are not NaN's, to avoid being confused by IEEE
1326 comparison rules.
1327
da55addb
MS
13282001-06-04 Michael Snyder <msnyder@redhat.com>
1329
1330 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1331 non-zero if control_c fails. Terminate the test on failure,
1332 rather than wait for 12 more tests to time out.
1333
42c65987
JB
13342001-06-06 Jim Blandy <jimb@redhat.com>
1335
b18bced9
JB
1336 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1337 Don't forget to match the GDB prompt.
1338
42c65987
JB
1339 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1340
5b41e5f0
JB
13412001-06-04 Jim Blandy <jimb@redhat.com>
1342
1343 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1344 command.
1345
015e046f
KB
13462001-05-31 Kevin Buettner <kevinb@redhat.com>
1347
1348 * gdb.base/annota1.exp (info break): Match four or more spaces
1349 after "Address".
1350
fb1ffbbe
MC
13512001-05-31 Michael Chastain <chastain@redhat.com>
1352
1353 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1354 (dm_type_int_star): Likewise.
1355 (dm_type_long_star): Likewise.
1356 (dm_type_void_star): Likewise.
1357
5ea2a32c
KB
13582001-05-29 Kevin Buettner <kevinb@redhat.com>
1359
1360 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1361 to a known value in order to get consistent results regardless
1362 of the setting of INPUTRC or the presence or contents of .inputrc.
1363
ae23c492
MS
13642001-05-24 Michael Snyder <msnyder@redhat.com>
1365
ac55707e
MS
1366 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1367 Don't require that the main thread and the manager thread are the
1368 first in the list.
1369
ae23c492
MS
1370 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1371 debugging. If test fails, issue an "unsupported" not a "fail".
1372
400071f1
JB
13732001-05-24 Jim Blandy <jimb@redhat.com>
1374
1375 Don't assume that short is shorter than int.
1376 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1377 assume that shorts are smaller than ints. On a 16-bit machine,
1378 this isn't true.
1379 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1380 an int, is not equal to ~0 stored in an unsigned char. This tests
1381 the same thing that the previous test meant to, but works on
1382 16-bit machines, too.
1383 ("print unsigned char != (~0)"): Same test, complemented.
1384
0816a3e5
MS
13852001-05-24 Michael Snyder <msnyder@redhat.com>
1386
1387 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1388 test for (full_coverage == 0). This makes the test run faster,
1389 and prevents dejagnu getting out of step.
1390
f6dc23a9
KB
13912001-05-23 Kevin Buettner <kevinb@redhat.com>
1392
1393 * gdb.base/finish.exp (finish_void): Revise pattern for
1394 stopping on the call statement to not permit stopping at
1395 the start of the instructions comprising the call sequence.
1396
7dbd117d
MC
13972001-05-19 Michael Chastain <chastain@redhat.com>
1398
1399 * gdb.base/callfuncs.exp: Make all test names unique.
1400 * gdb.base/commands.exp: Make all test names unique.
1401 * gdb.base/condbreak.exp: Make all test names unique.
1402 * gdb.base/dbx.exp: Make all test names unique.
1403 * gdb.base/default.exp: Make all test names unique.
1404 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1405 and TIMEOUT messages to their corresponding PASS message.
1406 * gdb.base/ending-run.exp: Make all test names unique.
1407 * gdb.base/long_long.exp: Remove duplicate test.
1408
6b0b0a9e
KB
14092001-05-21 Kevin Buettner <kevinb@redhat.com>
1410
1411 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1412 stop on the call statement as well as the statement after the
1413 call.
1414
2caa35cb
MS
14152001-05-21 Michael Snyder <msnyder@redhat.com>
1416
1417 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1418
40713331
EZ
14192001-05-10 Elena Zannoni <ezannoni@redhat.com>
1420
1421 * gdb.base/completion.exp: Revamp test. Make it execute on all
1422 platforms.
1423
c2c1be8d
EZ
14242001-05-10 Elena Zannoni <ezannoni@redhat.com>
1425
2c9cd303
EZ
1426 * config/gdbserver.exp (gdb_load): Handle the case
1427 in which the arguments to gdbserver are given in the
1428 baseboard configuration file.
1429 Also handle the case in which the server needs to do a
1430 load.
1431
9671de48
KS
14322001-05-07 Keith Seitz <keiths@cygnus.com>
1433
1434 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1435 set up the display for testing.
1436 (gdbtk_start): Convert all paths to paths that tcl will like.
1437 Export target information to environment.
1438 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1439 necessary.
1440 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1441 (to_tcl_path): New proc to convert a given pathname into
1442 a path acceptible as an argument to a tcl command.
1443 (_gdbtk_export_target_info): New proc to export target info
1444 into the environment for gdbtk testing.
1445 (gdbtk_done): New proc to signal end-of-test.
1446
5a360f47
JB
14472001-05-06 Jim Blandy <jimb@redhat.com>
1448
1449 * restore.c: Make the code of caller0 correspond to its comment.
1450
66c756c6
MS
14512001-05-03 Michael Snyder <msnyder@redhat.com>
1452
1453 * config/sid.exp (gdb_target_sid): Check for error messages.
1454 On error or timeout, don't make expect exit (which will terminate
1455 all subsequent tests); instead just make gdb exit.
1456 (gdb_load): Check for error messages. On error or timeout,
1457 return a negative value.
1458
a966fde5
JB
14592001-04-24 Jim Blandy <jimb@redhat.com>
1460
851c18e0
JB
1461 * gdb.c++/templates.exp: If we see the prompt for the overload
1462 list, but we haven't recognized any of the longer patterns,
1463 arrange for this test to fail, not hang.
1464
a966fde5
JB
1465 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1466 variations.
1467
db144853
MC
14682001-04-22 Michael Chastain <chastain@redhat.com>
1469
1470 * gdb.c++/local.exp: Use the 'runto' library function.
1471 * gdb.c++/namespace.exp: Likewise.
1472 * gdb.c++/overload.exp: Likewise.
1473
3207ec21
KB
14742001-03-26 Kevin Buettner <kevinb@redhat.com>
1475
1476 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1477 * gdb.base/step-line.exp: New file. Test step/next in presence of
1478 #line directives.
1479 * gdb.base/step-line.c: New file. Test program for the above.
1480 * gdb.base/step-line.inp: New file. We pretend that this file has
1481 been transformed by some other tool into step-line.c.
1482
13b57657
JB
14832001-03-21 Jim Blandy <jimb@redhat.com>
1484
1485 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1486 unmangled operator names.
1487
754cbe1c
JB
14882001-03-20 Jim Blandy <jimb@redhat.com>
1489
1490 * gdb.threads/linux-dp.exp: Recognize an additional message
1491 generated by GDB when it doesn't understand how to debug threads
1492 on the target system.
1493
177495c9
AC
14942001-03-19 Andrew Cagney <ac131313@redhat.com>
1495
1496 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1497
f266096b
MC
14982001-03-12 Michael Chastain <chastain@redhat.com>
1499
1500 * gdb.c++/derivation.exp: Use the 'runto' library function.
1501
cac3c2ff
MC
15022001-03-12 Michael Chastain <chastain@redhat.com>
1503
1504 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1505
b6c11a24
MC
15062001-02-24 Michael Chastain <chastain@redhat.com>
1507
1508 * gdb.c++/ref-types.exp: Change handwritten code to library
1509 function 'runto'.
1510
6bae5bce
OF
15112001-03-16 Orjan Friberg <orjanf@axis.com>
1512
1513 * gdb.base/signals.exp: Set count to 0 explicitly.
1514
0015fd9a
MS
15152001-03-15 Mark Salter <msalter@redhat.com>
1516
1517 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1518 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
1519 (gdb_load): Add support for additional target_info: gdb_download_size
1520 and gdb_load_timeout.
0015fd9a 1521
fc33412a
DT
1522Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1523
1524 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1525 file -- to prevent failing when the compile fails but we have no
1526 intention of running the tests anyway.
1527
1528 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1529 tests if set.
1530
1531 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1532 integers.
1533
1534 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1535 * gdb.c++/namespace.exp: Ditto.
1536
115f06de
OF
15372001-03-07 Orjan Friberg <orjanf@axis.com>
1538
1539 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
1540 * gdb.base/pointers.exp: Relax pattern match of decimals.
1541
b6ba6518
KB
15422001-03-06 Kevin Buettner <kevinb@redhat.com>
1543
1544 * Makefile.in, config/abug.exp, config/cfdbug.exp,
1545 config/cpu32bug.exp, config/dve.exp, config/est.exp,
1546 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
1547 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
1548 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
1549 config/sh.exp, config/sid.exp, config/slite.exp,
1550 config/sparclet.exp, config/udi.exp, config/unknown.exp,
1551 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
1552 config/vxworks.exp, config/vxworks29k.exp,
1553 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
1554 gdb.base/all-bin.exp, gdb.base/annota1.exp,
1555 gdb.base/arithmet.exp, gdb.base/assign.exp,
1556 gdb.base/async.exp, gdb.base/attach.exp,
1557 gdb.base/bitfields.exp, gdb.base/bitops.exp,
1558 gdb.base/break.exp, gdb.base/call-ar-st.exp,
1559 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
1560 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
1561 gdb.base/commands.exp, gdb.base/completion.exp,
1562 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
1563 gdb.base/constvars.exp, gdb.base/corefile.exp,
1564 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1565 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
1566 gdb.base/ending-run.exp, gdb.base/environ.exp,
1567 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
1568 gdb.base/finish.exp, gdb.base/foll-exec.exp,
1569 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
1570 gdb.base/funcargs.exp, gdb.base/help.exp,
1571 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
1572 gdb.base/logical.exp, gdb.base/long_long.exp,
1573 gdb.base/maint.exp, gdb.base/mips_pro.exp,
1574 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
1575 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
1576 gdb.base/pointers.exp, gdb.base/printcmds.exp,
1577 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
1578 gdb.base/regs.exp, gdb.base/relational.exp,
1579 gdb.base/remote.exp, gdb.base/reread.exp,
1580 gdb.base/restore.exp, gdb.base/return2.exp,
1581 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
1582 gdb.base/selftest.exp, gdb.base/setshow.exp,
1583 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1584 gdb.base/sigall.exp, gdb.base/signals.exp,
1585 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
1586 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
1587 gdb.base/step-test.exp, gdb.base/structs.c,
1588 gdb.base/structs.exp, gdb.base/structs2.exp,
1589 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
1590 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
1591 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
1592 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1593 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
1594 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
1595 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
1596 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
1597 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
1598 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
1599 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
1600 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
1601 gdb.fortran/types.exp, gdb.java/jmisc.exp,
1602 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
1603 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
1604 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1605 gdb.trace/circ.exp, gdb.trace/collection.exp,
1606 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1607 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1608 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
1609 gdb.trace/report.exp, gdb.trace/save-trace.exp,
1610 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1611 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
1612 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
1613 notices.
1614
dc96c6c7 16152001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
1616
1617 * gdb.base/varargs.c (find_max_double): Fix printf format string:
1618 first arg is int not float.
1619
dc96c6c7 16202001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
1621
1622 * gdb.base/reread.exp: Unsupported for non-native targets;
1623 doesn't work for remote debugging.
1624
9b0c4aeb
FN
16252001-02-19 Fernando Nasser <fnasser@redhat.com>
1626
1627 From Drew Moseley <dmoseley@redhat.com>
1628 * gdb.base/ending-run.exp: Properly handle the BSP state when
1629 stepping past the end of main.
1630
02aa71d5
MC
16312001-02-19 John Moore <jmoore@redhat.com>
1632
1633 * gdb.base/commands.exp (infrun_breakpoint_command_test):
1634 Converted HPUX fix for non-expected items following multiple
1635 step commands into general solution for all platforms.
1636
1fa449a4
MC
16372001-02-18 Michael Chastain <chastain@redhat.com>
1638
1639 * gdb.c++/classes.exp (do_tests): Change runto statements
1640 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1641 statements demangler agnostic.
1642 * gdb.c++/virtfunc.exp (do_tests): Likewise.
1643 (gdb_virtfunc_restart): Likewise.
1644
b2f9ec70
MC
16452001-02-14 Michael Chastain <chastain@redhat.com>
1646
1647 * gdb.c++/inherit.exp (do_tests): Change runto statements
1648 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1649 statements demangler agnostic.
1650
cf74b8ca
AC
1651Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
1652
1653 * gdb.threads/pthreads.exp: Unify pass/fail messages for
1654 ``continue to bkpt at common_routine in thread 2'' and ``stopped
1655 before calling common_routine 15 times'' tests.
1656
99f78f56
MC
16572001-02-11 Michael Chastain <chastain@redhat.com>
1658
1659 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
1660 Helps the test script figure out which demangler is in use.
1661 (dm_type_foo_ref): Ditto.
1662 (dm_type_int_star): Ditto.
1663 (dm_type_long_star): Ditto.
1664 (dm_type_unsigned_int): Ditto.
1665 (dm_type_void): Ditto.
1666 (dm_type_void_star): Ditto.
99707966 1667 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
1668 Probe the gdb demangler and set variables to accommodate
1669 formatting differences.
1670 (info_func_regexp): New function. Same as info_func, but
1671 matches against a regexp.
1672 (info_func): Match against a literal string.
1673 (print_addr_2): New function. Match against a literal string,
1674 which can be different from the input to gdb.
1675 (print_addr): Simply call print_addr_2 with the same argument twice.
1676 (test_lookup_operator_functions): Use demangler formatting variables.
1677 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
1678 the tests in the same order as the C++ class declaration.
1679 (test_paddr_operator_functions): Ditto.
1680 (test_paddr_overloaded_functions): Ditto.
1681 (test_paddr_hairy_functions): Use demangler formatting variables.
1682 Add reference to gdb/19 for related tests.
1683 (do_tests): Call probe_demangler.
1684
1de8f023
KB
16852001-01-30 Kevin Buettner <kevinb@redhat.com>
1686
1687 * gdb.c++/templates.cc (printf): Remove unused function definition.
1688
ca3f91ed
MS
16892001-01-26 Felix Lee <flee@redhat.com>
1690
1691 * sid.exp (sid_exit): Pass host, not target, to remote_close.
1692
16932001-01-25 matthew green <mrg@redhat.com>
1694
1695 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
1696 up sid.
1697 (sid_exit): Call `remote_pop_conn' after GDB is gone.
1698
16992001-01-25 matthew green <mrg@redhat.com>
1700
1701 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
1702 Deprecate $sid_spawn_id.
1703 (sid_exit): Remove code necessary only for `spawn.'
1704
17052001-01-25 matthew green <mrg@redhat.com>
1706
1707 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
1708
fb18ec4a
MC
17092001-01-28 Michael Chastain <chastain@redhat.com>
1710
1711 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
1712 to call when tests fail. It takes gdb out of the overloaded
1713 function choice menu back to the main prompt, so that the test
1714 program stays synchronized.
1715 (set_bp_overloaded): New proc to collect all the common
1716 code for setting a breakpoint on an overloaded name. Calls
1717 take_gdb_out_of_choice_menu when needed.
1718 (menu_overload1arg): New variable to collect the repeated
1719 instances of the expected menu for an overloaded name. Change
1720 the regular expression to handle changes in g++ type encoding:
1721 "void" can be either "void" or "", and "unsigned int" can be
1722 either "unsigned int" or "unsigned".
1723 (continue_to_bp_overloaded): Change regular expressions to handle
1724 changes in g++ type encoding.
1725 (no proc): Call take_gdb_out_of_choice_menu when needed.
1726 Remove redundant calls to "info break". Accept either "canceled"
1727 or "cancelled". Change regular expressions in "info break"
1728 calls to handle changes in g++ type encoding. Give all tests
1729 unique strings.
1730
9c646a6e
BE
17312001-01-17 Ben Elliston <bje@redhat.com>
1732
1733 * config/sid.exp: New file.
1734
9549d9c1
AC
1735Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
1736
1737 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
1738
dc96c6c7 17392000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
1740
1741 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
1742 Add a RE to accept a non-ascii char if one is ever presented.
1743
b4df4f68
FN
17442000-12-20 Fernando Nasser <fnasser@redhat.com>
1745
297dd0fd 1746 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 1747
dc96c6c7 17482000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
1749
1750 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
1751 in regexp. One '\' does not suffice on Linux.
1752
4a7bddb6
MC
17532000-12-09 Michael Chastain <chastain@redhat.com>
1754
1755 * gdb.base/break.exp (test_clear_command): Use a marker function
1756 rather than 'main' for the test function. Also move this
1757 test to an execution point where the marker function names are
1758 guaranteed to be bound to functions. (Executing tests after a
1759 'finish' from main runs into name conflicts with local names
1760 in __libc_start_main).
1761
dc96c6c7 17622000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
1763
1764 * gdb.base/finish.exp: New test for gdb's "finish" command.
1765 * gdb.base/return2.exp: New test for gdb's "return" command.
1766 * gdb.base/return2.c: New source file for above.
1767
dc96c6c7 17682000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
1769
1770 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
1771 * gdb.base/miscexprs.exp: Ditto.
1772 * gdb.base/pointers.exp: Ditto.
1773 * gdb.c++/derivation.exp: Ditto.
1774 * gdb.c++/local.exp: Ditto.
1775 * gdb.c++/namespace.exp: Ditto.
1776 * gdb.c++/overload.exp: Ditto.
1777 * gdb.c++/ref-types.exp: Ditto.
1778
dc96c6c7 17792000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
1780
1781 * gdb.base/constvars.exp: Test result of "up" command.
1782 * gdb.base/miscexprs.exp: Ditto.
1783 * gdb.base/pointers.exp: Ditto.
1784 * gdb.base/scope.exp: Ditto.
1785 * gdb.c++/derivation.exp: Ditto.
1786 * gdb.c++/local.exp: Ditto.
1787 * gdb.c++/namespace.exp: Ditto.
1788 * gdb.c++/overload.exp: Ditto.
1789 * gdb.c++/ref-types.exp: Ditto.
1790
44097287
FN
17912000-11-22 Michael Chastain <chastain@redhat.com>
1792
1793 * mips_pro.exp: Accept either "middle -> top -> main" or
1794 "middle -> main" in the backtrace, because gcc can optimize
1795 tail calls to jumps. Remove setup_xfail for the hppa case.
1796 Add a comment with the original warning messages from PR 3016,
1797 which was filed in 1993, to preserve them for posterity.
1798
9d2e1bab
ND
17992000-11-17 Nick Duffek <nsd@redhat.com>
1800
1801 * lib/gdb.exp (gdb_test): Override timeout with board info.
1802
1aca8eb7
ND
18032000-11-17 Nick Duffek <nsd@redhat.com>
1804
1805 * gdb.base/display.exp: Don't kill running stub. Add "again" to
1806 the second kill and detach messages.
1807
93076499
ND
18082000-11-17 Nick Duffek <nsd@redhat.com>
1809
1810 * configure.in: Add AC_EXEEXT.
1811 * configure: Regenerate.
1812 * Makefile.in (just-check): Export EXEEXT.
1813 * lib/gdb.exp ($EXEEXT): Import from environment.
1814 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
1815 expect "maint dump-me" on Cygwin.
1816 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
1817 $EXEEXT.
1818
30e87cd3
ND
18192000-11-17 Nick Duffek <nsd@redhat.com>
1820
1821 * gdb.base/break.exp: Test backtrace and finish from called
1822 function on all platforms, not just HP-UX.
1823
dc96c6c7 18242000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
1825
1826 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
1827 code from gdb_target_monitor, so it can be used independantly
1828 for gdbserver. Also comment out an unnecessary PUTS.
1829
dc96c6c7 18302000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
1831
1832 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
1833 * gdb.base/corefile.exp: Expect the message "Program is being
1834 debugged already" when we send the "corefile" command, since
1835 the preceeding gdb_load may have connected gdb to a remote target.
1836 * gdb.base/display.exp: Disable hardware watchpoints if new
1837 board info variable "no_hardware_watchpoints" is true.
1838 Replace single-letter commands with more readable ones.
1839 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
1840 if new board info variable "no_hardware_watchpoints" is true.
1841 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
1842 to see if stdio (printf) testing is possible.
1843 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
1844 board info variable "no_hardware_watchpoints" is true. Use new
1845 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
1846
39124dea
FN
18472000-11-13 Fernando Nasser <fnasser@redhat.com>
1848
1849 From Orjan Friberg <orjanf@axis.com>:
1850 * gdb.base/printcmds.exp: Escape curly braces followed by a number
1851 in array print pattern match.
1852
a9e2e984
FN
18532000-11-09 Fernando Nasser <fnasser@redhat.com>
1854
1855 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
1856 spelling "cancelled" to U.S. spelling "canceled" to match changes
1857 made to gdb.
1858 * gdb.c++/ovldbreak.exp: Ditto.
1859
c7db355b
PS
18602000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1861
1862 * gdb.base/callfuncs.c (main): Moved to end of file, call
1863 t_double_values to initialize the FPU before inferior calls are made.
1864 * gdb.base/callfuncs.exp: Test for register preservation after calling
1865 inferior functions. Add tests for continuining, finishing and
1866 returning from a stop in a call dummy.
1867
dc96c6c7 18682000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
1869
1870 * gdb.base/commands.exp: Break up long lines, and re-indent.
1871
dc96c6c7 18722000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
1873
1874 * config/gdbserver.exp: Rewritten from the ground up, to make it
1875 compatible with the current dejagnu tree, and to make it work with
1876 the new "gdbserver" in libremote.
1877
dc96c6c7 18782000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1879
1880 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
1881 * gdb.base/varargs.exp: Skip entire test if no printf support.
1882 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
1883 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
1884
dc96c6c7 18852000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1886
1887 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
1888 no floating point support.
1889 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
1890 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
1891 * gdb.base/call-rt-st.exp: Ditto.
1892 * gdb.base/call-strs.exp: Ditto.
1893
bac5fc66
JG
18942000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
1895
1896 * gdb.base/sizeof.c: include <stdio.h>.
1897
1898 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
1899 'finish', otherwise uncaptured gdb_prompt would potentially
1900 throw remaining test points out of sync.
1901
b22a6027
SB
19022000-07-26 Scott Bambrough <scottb@netwinder.org>
1903
1904 * gdb.base/recurse.exp: Run tests for all targets.
1905 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
1906 gnu-oldld case on ARM.
1907 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
1908 for ARM targets.
1909
d8231941
AG
1910Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
1911
1912 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
1913 * gdb.java/configure: Rebuild.
1914
8caabe69
AG
1915Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
1916
1917 * gdb.java/jv-exp.exp: New file.
1918
9d273ca3
AG
1919Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
1920
1921 * configure: Rebuilt.
1922 * configure.in (configdirs): Add gdb.java.
1923 * gdb.java/jmisc.java: New file.
1924 * gdb.java/jmisc.exp: New file.
1925 * gdb.java/Makefile.in: New file.
1926 * gdb.java/configure: Rebuilt.
1927 * gdb.java/configure.in: New file.
1928 * lib/java.exp: New file.
1929
4f823a66
AC
1930Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
1931
1932 * gdb.base/exprs.exp: Test casts to a pointer including over and
1933 underflow.
1934
2391e11d
AC
1935Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
1936
1937 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
1938 and the compilers sizes.
1939
54602222
ND
19402000-07-09 Nick Duffek <nsd@redhat.com>
1941
1942 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
1943 (use_methods): New function.
1944 (main): Call use_methods().
1945 * gdb.c++/classes.exp (test_method_param_class): New procedure.
1946 (do_tests): Call test_method_param_class.
1947
2bec0572
ND
19482000-07-09 Nick Duffek <nsd@redhat.com>
1949
1950 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
1951 spelling.
1952 (test_enums): New procedure. Move enum tests from end of script
1953 to here. Set breakpoint on function name instead of line number.
1954 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
1955 (enums2): New marker function.
1956 (enums1): New function.
1957 (main): Call enums1(). Move enum tests to enums1().
1958
78492fde
AC
1959Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
1960
1961 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
1962 compile/link program. Update line numbers.
1963 * gdb.asm/d10v.inc: Define ``startup''.
1964 * gdb.asm/asmsrc1.s: Add definition of _start.
1965
49a2cef8
AC
1966Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1967
1968 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
1969
3e6c8688
EZ
19702000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1971
1972 * gdb.base/maint.exp: Add 'maint print architecture' item to output
1973 of 'help maint print' command.
1974
9ff5cbe9
AC
1975Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
1976
1977 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
1978 they use gdb_expect_list.
1979
17c579bd
AC
1980Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
1981
1982 * gdb.base/commands.exp: Use ``set remote
1983 memory-read-packet-size'' instead of ``set endian big'' to test
1984 long commands.
1985
e6d71bf3
DB
19862000-06-03 Daniel Berlin <dan@cgsoftware.com>
1987
1988 * gdb.c++/templates.exp (do_tests): Make all of these work under
1989 g++, and stop skipping them.
1990
1991 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
1992 work under g++.
1993
e5f9ba7b
MS
1994 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
1995 initialization.
1996
dc96c6c7 19972000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
1998
1999 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2000 the regular expression: accept an (almost) arbitrary sequence of
2001 "frames-invalid" and "breakpoints-invalid" messages both before
2002 and after the "starting" message.
2003
dc96c6c7 20042000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2005
2006 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2007
dc96c6c7 20082000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2009
2010 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2011 Relax the regular expression a little, make it pass on Solaris 8.
2012
8216cda9
KB
20132000-05-12 Kevin Buettner <kevinb@redhat.com>
2014
2015 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2016 a call, do not require that gdb stop on the line after the call.
2017 Instead, it is permissible for gdb to stop on the line of the
2018 call itself.
2019
1a570b2f
MS
20202000-05-12 Michael Snyder <msnyder@.cygnus.com>
2021
2022 * gdb.base/break.exp (bp on small function, optimized file):
2023 Add a second pass pattern. The behavior differs here between stabs
2024 and dwarf for one-line functions. Stabs preserves two line symbols
2025 (one before the prologue and one after) with the same line number,
2026 but dwarf regards these as duplicates and discards one of them.
2027 Therefore the address after the prologue (where the breakpoint is)
2028 has no exactly matching line symbol, and GDB reports the breakpoint
2029 as if it were in the middle of a line rather than at the beginning.
2030
dc96c6c7 20312000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2032
2033 * gdb.base/interrupt.exp: Make "pass" message say "send"
2034 rather than "send_gdb" (for consistancy).
2035
7d418785
AC
2036Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2037
2038 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2039 * gdb.c++/templates.cc: Properly check for GCC version number.
2040 * lib/compiler.cc: Likewise
2041
dc96c6c7 20422000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2043
2044 * gdb.base/break.exp: When compiled with -O2 optimization,
2045 gdb may not stop at the first line of main, due to code motion.
2046
dc96c6c7 20472000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2048
2049 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2050 This test depends on parsing the printf output from the target.
2051 Since the sparclet stub doesn't do stdio, this will never work.
2052 * gdb.base/call-rt-st.exp: ditto.
2053 * gdb.base/call-strs: ditto.
2054
dc96c6c7 20552000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2056
2057 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2058
2059 * gdb.base/ending-run.exp: After connecting to a remote target,
2060 but before running, the target will appear to be in a random
2061 location. Specify both a file and a line for breakpoints.
2062 Also, the function that calls main may be called 'init'
2063 rather than 'start'.
2064
a5a51225
EZ
20652000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2066
2067 * gdb.base/help.exp: Update output for add-symbol-file command.
2068
7930cc7c
FN
20692000-04-10 Fernando Nasser <fnasser@cygnus.com>
2070
2071 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2072 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2073
23e37ab1
C
20742000-04-07 J.T. Conklin <jtc@redback.com>
2075
e93c542c
C
2076 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2077
23e37ab1
C
2078 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2079
591b8fa3
PDM
2080Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2081
2082 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2083 values that can be represented exactly.
2084 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2085 above change, and to not check against the directory part of the source
2086 file name.
2087 (step into print_long_arg_list): Likewise.
2088 (print print_small_structs from print_long_arg_list): Likewise.
2089 (print print_long_arg_list): Likewise.
2090
7a495180
EZ
20912000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2092
30b53638 2093 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2094
beb998c6
AC
2095Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2096
2097 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2098
1c689132
DB
20992000-03-25 Daniel Berlin <dan@cgsoftware.com>
2100
2101 * gdb.base/commands.exp (deprecated_command_test): Add test for
2102 deprecate with no arguments.
2103
c1790a9d
JL
21042000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2105
2106 * gdb.base/break.exp: Add new test for setting breakpoints on
2107 optimized code so we can test breakpoints work even when function
2108 prologues may be optimized away
2109
003ba290
FN
21102000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2111
2112 From David Whedon <dwhedon@gordian.com>
2113 * gdb.base/commands.exp : Added command deprecator tests.
2114
6837a0a2
DB
21152000-03-22 Daniel Berlin <dan@cgsoftware.com>
2116
2117 * gdb.base/help.exp: Added test for new apropos command.
2118
b9593231
KB
21192000-03-21 Kevin Buettner <kevinb@redhat.com>
2120
2121 * gdb.base/pointers.c (usevar): New function.
2122 (main): Make sure that global variables v_int_pointer2, rptr,
2123 and y are all referenced someplace in the program by calling
2124 usevar() on them. [Some linkers delete symbols which are
2125 never referenced. The space remains, but there's no way to
2126 get a (symbolic) handle on the variable from the debugger.]
2127
751a959b
EZ
21282000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2129
2130 * gdb.base/printcmds.c: Add typedeffed arrays.
2131
2132 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2133 procedure to test arrays that are typedef'd.
2134
73a93a32
JI
21352000-03-13 James Ingham <jingham@leda.cygnus.com>
2136
2137 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 2138 the library directories.
73a93a32 2139
fb40c209
AC
2140Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2141
2142 * configure.in (configdirs): Add sub directory gdb.mi.
2143 * configure: Re-generate.
2144
2145 * gdb.mi: New directory.
beb998c6 2146
ee4dd2c9
AC
21472000-02-25 Scott Bambrough <scottb@netwinder.org>
2148
2149 * gdb.base/long_long.exp: Correct test suite failure when printing
2150 a long long value as a double on ARM platforms.
2151
70f0cc22
JB
21522000-02-16 Jim Blandy <jimb@redhat.com>
2153
2154 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2155 default source file is set properly before running this test.
2156
853819b8
EZ
21572000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2158
2159 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2160 gdbtk/library directory, not in gdbtcl2.
2161
dfcd3bfb
JM
21622000-02-04 Jim Blandy <jimb@redhat.com>
2163
2164 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2165 backslash from regexp pattern.
2166
2167 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2168 procedure. Use it to run all the "continue to bp overloaded"
2169 tests. Note that this changes the names of the tests slightly.
2170 If the breakpoint hit message includes a hex PC value, because
2171 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2172 from the real source code, still consider that a pass.
2173
2174 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2175 XFAIL here if the breakpoint message contains a hex address. Note
2176 similar change on 1999-11-02.
2177
2178 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2179
2180 * gdb.base/ptype.exp: Establish a default source file before
2181 calling get_debug_format.
2182
21832000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2184
2185 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2186
8b93c638
JM
21872000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2188
2189 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2190 of successive stepi commands -- while in the prologue we should see
2191 the function entry bracket.
2192
21932000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2194
2195 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2196 reach __change_mode() when stepping through the end of main().
2197
c5394b80
JM
21982000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2199
2200 * gdb.base/default.exp: Fix expected pattern.
2201 * gdb.base/help.exp: Same.
2202
0d06e24b
JM
22032000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2204
2205 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2206 Don't use xfail's because that affects only the following test.
beb998c6 2207
0d06e24b
JM
2208 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2209 solaris or linux.
2210
2211 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2212
dc96c6c7 22132000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2214
beb998c6 2215 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2216 "A syntax error" rather than "A parse error". Accept both.
2217
22182000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2219
2220 * gdb.base/default.exp: Remove OS dependent string from "target
2221 remote" test.
2222 * gdb.base/help.exp: Same for "help target remote" test.
2223
c3f6f71d
JM
22242000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2225
2226 From Jim Kingdon <kingdon@redhat.com>:
2227
2228 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2229 prompt (cleanup rather than necessity, but still might keep output
2230 from spilling to next test).
2231
22322000-01-02 Fred Fish <fnf@cygnus.com>
2233
2234 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2235 AIX, which defines them in <sys/types.h>.
2236
ed9a39eb 22371999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2238
ed9a39eb
JM
2239 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2240 float" test.
2241
22421999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2243
ed9a39eb 2244 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2245
2246 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2247 outermost frame disallowed".
2248
22491999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2250
2251 * gdb.base/setvar.exp: New tests for setting the value of a struct
2252 with a constant list.
2253
22541999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2255
2256 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2257 require the user to type a cast before setting the value of a struct.
2258
de57eccd
JM
22591999-12-06 Jim Blandy <jimb@cygnus.com>
2260
2261 * gdb.base/default.exp: Expect the new 'info float' command on
2262 all i386 platforms.
2263
2264 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2265 LinuxThreads libraries that don't support debugging.
2266
c2d11a7d
JM
2267Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2268
2269 * gdb.base/remote.c: Fill the buffer with truely random data.
2270 Change the buffer type to ``unsigned char'' to simplify size
2271 arithmetic.
2272
2273 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2274 stub only handles 400-1 byte packets. Verify that the download
2275 worked.
2276
22771999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2278
2279 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2280 tests, using UNRESOLVED for the untested cases. Also, does not wait
2281 for a timeout if the prompt was received before a recognizable pattern.
2282
22831999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2284
2285 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2286
22871999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2288
2289 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2290 watchpoints.
2291
22921999-11-24 Jason Merrill <jason@casey.cygnus.com>
2293
2294 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2295
2296 * gdb.c++/local.exp: Be more flexible in recognizing local class
2297 name mangling. Don't allow horribly truncated method names.
2298 * gdb.c++/derivation.exp: Expect protected inheritance.
2299 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2300 * gdb.c++/virtfunc.exp: Likewise.
2301 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2302 when printing a nested enum.
2303
23041999-11-22 Jim Blandy <jimb@cygnus.com>
2305
2306 * gdb.base/step-test.exp: Properly await GDB's response to setting
2307 a breakpoint on the call to large_struct_by_value.
2308
2309 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2310 just because we have debug info for the `start' function.
2311
23121999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2313
2314 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2315 "Unknown signal" messages, which indicate (on LinuxThreads) that
2316 GDB doesn't know how to debug threads on this system. This is
2317 better than hanging while philosopher 0 dumps chatter into gdb.log.
2318
23191999-11-18 Tom Tromey <tromey@cygnus.com>
2320
2321 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2322
23231999-11-18 Fred Fish <fnf@cygnus.com>
2324
2325 * gdb.base/coremaker2.c: Add sample program for generating
2326 cores that is more self contained than coremaker.c. Eventually
2327 I'll add more code to this and tie it into the testsuite.
2328
4ce44c66
JM
23291999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2330
2331 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2332
23331999-11-10 Jimmy Guo <guo@cup.hp.com>
2334
2335 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2336 from $srcdir/lib/.
2337 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2338 and gdb.c++/.
2339
2340 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2341
beb998c6 2342 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
2343 'continue with watch' test point.
2344
23451999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2346
2347 Merged from p2linux-990323-branch:
beb998c6 2348
4ce44c66
JM
2349 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2350
11cf8741
JM
2351Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2352
2353 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2354 {limit,fixed}''. Test ``set download-write-size''.
2355
2356Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2357
2358 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2359 gdb_expect_list.
2360
2361Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2362
2363 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2364
23651999-11-03 Mark Salter <msalter@cygnus.com>
2366
2367 * gdb.base/break.exp: Fix "stub continue" pattern.
2368
23691999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2370
2371 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2372
23731999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2374
2375 * gdb.base/display.exp ("finish"): Add timeout clause.
2376
2377 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2378 plain prompt clause, so this doesn't have to time out in order to
2379 fail.
2380
2381 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2382 breakpoint hit messages include an address.
2383
2384 * gdb.base/display.exp: Don't forget to escape parens in regular
2385 expressions. Unix regexp notatation sucks.
2386
23871999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2388
2389 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2390 order for 'signalled' message.
2391
5c44784c
JM
23921999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2393
2394 From Jimmy Guo <guo@cup.hp.com>:
2395 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2396 * gdb.base/annota1.c: Add code for tests to work with.
2397
23981999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2399
2400 * gdb.base/remote.exp: New test for remote downloading settings.
2401 * gdb.base/remote.c: New file with large .data.
2402
917317f4
JM
24031999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2404
2405 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2406 for LinuxThreads support, merged from the Code Fusion branch.
2407
2408Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2409
2410 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2411 containing exp_continue into a while within an expect. Don't
2412 attempt a start more than three times. Check return value from
2413 gdb_load.
beb998c6 2414
2df3850c
JM
2415Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2416
2417 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2418 a pass case.
2419
2acceee2
JM
24201999-10-01 Kevin Buettner <kevinb@cygnus.com>
2421
2422 * gdb.base/break.c (main): Added a statement that we can step
2423 off of.
2424 * gdb.base/break.exp: Added tests for setting a breakpoint
2425 at an offset and stepping onto a breakpoint.
2426
24271999-10-01 Fred Fish <fnf@cygnus.com>
2428
beb998c6 2429 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
2430 gdb output.
2431
c2c6d25f
JM
24321999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2433
2434 * gdb.base/break.exp: Code locations are in hex, don't forget!
2435 (For HP-UX.)
2436
24371999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2438
2439 * condbreak.exp: Use break.c as test program.
2440 * condbreak.c: Remove, redundant with break.c.
2441
24421999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2443
2444 * config/monitor.exp (gdb_target_monitor): Disable X- and
2445 Z-packets if the target needs it.
2446
24471999-09-13 James Ingham <jingham@leda.cygnus.com>
2448
2449 * gdb.c++/overload.exp: Added tests for listing overloaded
2450 functions with function pointers in the arg, explicitly calling
2451 out the version you want.
2452
cff3e48b
JM
24531999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2454
2455 * long_long.exp: Add variations of test cases that work for
2456 targets with 16-bit ints and 32-bit doubles.
2457
d4f3574e
SS
24581999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2459
2460 * break.c (main): Compare a possibly-uninitialized argc with an
2461 unlikely value that fits in 16 bits.
2462
24631999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2464
2465 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2466 0xfeeb, don't want negative numbers if ints are 16 bits.
2467
2468 * lib/gdb.exp (skip_cplus_tests): New proc.
2469 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2470 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2471 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2472 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2473 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2474 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2475 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2476 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2477
2478 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2479
2480Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2481
2482 * gdb.base/corefile.exp (up): Allow a parameter to appear
2483 in the frame that we're going up to.
2484
2485 From Jim Blandy <jimb@cygnus.com>:
2486
2487 * gdb.base/default.exp (info float): Expect some output now.
2488
2489 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2490 returning floating-point values to fail on the x86.
2491 * gdb.base/callfwmall.exp (do_function_calls): Same.
2492
2493 * gdb.base/list.exp (test_listsize): Correct expectations for
2494 listing line 1 with listsize 2. Also, listing a single line
2495 works now, as does listing three lines. [Kevin's note: There
2496 were a number of other cases fixed too where the expectations
2497 differed...]
2498
24991999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2500
2501 * gdb.base/selftest.exp: Add case for when version prints as
2502 constant string instead of char pointer.
2503
104c1213
JM
25041999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2505
2506 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2507 stepping out of main.
2508
2509 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2510 G++ used.
2511
2512 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2513 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2514
2515 * gdb.c++/ovldbreak.exp: Update match string in test that
2516 includes a warning of multiple breakpoints.
2517
25181999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2519
2520 * gdb.base/display.exp: Improve precision of step-after-finish
2521 added yesterday.
2522
2523 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2524 test.
2525
2526 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2527 configs when using G++, not just hppa*.
2528
25291999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2530
2531 * gdb.base/async.c: New file.
2532 * gdb.base/async.exp: New file.
2533
2534Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2535
2536 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2537 PA64.
2538
53a5351d
JM
2539Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
2540
104c1213
JM
2541 * gdb.base/display.exp: "finish" can leave us mid-line on many
2542 targets, deal with it. Add a small constant to main, instead of
2543 1000 since main+1000 may not be a valid address in the target.
2544
53a5351d
JM
2545 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
2546 on hpux11.
2547
2548 * gdb.base/attach.exp: Handle another hpux11 error message variant
2549 when attaching to a process that does not exist.
2550
25511999-08-19 J.T. Conklin <jtc@redback.com>
2552
2553 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
2554 characters in 'continue to 1241' test.
2555
25561999-08-17 Stan Shebs <shebs@andros.cygnus.com>
2557
2558 * gdb.base/call-ar-st.exp: Add a shorter match case for the
2559 stop in print_long_arg_list, define and use a whitespace
2560 variable in print_small_structs test, add an XFAIL for Solaris.
2561 * gdb.base/dbx.exp: XFAIL func commands until somebody is
2562 interested enough to fix.
2563
7be570e7
JM
25641999-08-13 Keith Seitz <keiths@cygnus.com>
2565
2566 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
2567 (dbx_gdb_load): Remove. Use gdb_load instead, since that
2568 proc knows about targets other than the natives.
2569 (test_assign): Use "gdb_run_cmd" to "run" the target.
2570 Check that we've actually hit the breakpoint at main.
2571 When we attempt to assign a value to a local variable, check
2572 that the variable is in the current scope, i.e., don't use
2573 a test with an empty result.
2574
2575Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2576
2577 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
2578 command.
2579
25801999-08-09 Stan Shebs <shebs@andros.cygnus.com>
2581
2582 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2583 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
2584 gdb.compat, gdb.threads-hp.
2585 gdb.hp/configure, gdb.hp/configure.in: New files.
2586 gdb.hp/Makefile.in: Recurse into new subdirs.
2587 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
2588 gdb.hp/gdb.objdbg: New directory, tests for debugging info
2589 in object files.
2590 gdb.hp/tools: New directory, aux tools for HP-specific tests.
2591
96baa820
JM
25921999-08-05 Stan Shebs <shebs@andros.cygnus.com>
2593
2594 * gdb.base/display.exp: Help expect by putting a newline in the
2595 funky printf, remove a bogus p/a test.
2596
25971999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2598
2599 * gdb.base/display.exp: Make sure that when we say 'run', we are
2600 connected to the target. This is necessary when running not
2601 natively.
2602
26031999-08-03 Stan Shebs <shebs@andros.cygnus.com>
2604
2605 * gdb.base/step-test.exp: Removed some extraneous messages.
2606
2607 * gdb.base/long_long.exp: Don't run memory examination tests
2608 on little-endian targets (they will need a different set of
2609 results to match).
2610
26111999-08-02 Stan Shebs <shebs@andros.cygnus.com>
2612
2613 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
2614 until somebody decides to fix GDB.
2615
2616 * gdb.base/long_long.c: Stop compiler complaint by specifying long
2617 constant as "ULL".
2618 * gdb.base/long_long.exp: Loosen x/c test, add partial result
2619 matches for a couple x/2 commands.
2620
a0b3c4fd
JM
26211999-07-30 Stan Shebs <shebs@andros.cygnus.com>
2622
2623 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
2624 by merging in ref-types2 tests.
2625 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
2626
2627 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2628 * gdb.c++/Makefile.in: Add standard actions.
2629 (EXECUTABLES): Rename from PROGS, update list.
2630 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
2631 from gdb.hp.
2632 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
2633 foo and bar locals.
2634 * gdb.c++/anon-union.exp: Fix tests to match.
2635 * gdb.c++/classes.exp: Run if HP compiler used, add extra
2636 expect matches to handle output variations.
2637 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
2638 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
2639 output, add HP alternatives for new and delete prints.
2640 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
2641 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
2642 * gdb.c++/demangle.exp: Use $style when reporting failure.
2643 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
2644 * gdb.c++/inherit.exp: Run if HP compiler used, add some
2645 match alternatives.
2646 * gdb.c++/local.exp: Add match alternatives or xfails for HP
2647 compilers.
2648 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
2649 * gdb.c++/method.exp: Add match alternatives.
2650 * gdb.c++/misc.cc: Add bool types.
2651 * gdb.c++/misc.exp: Add tests for bool types.
2652 * gdb.c++/overload.exp: Add xfails.
2653 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
2654 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
2655 add some more template parameter tests (only for HP currently).
2656 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
2657 * gdb.c++/virtfunc.cc: Add return type and value for main.
2658 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
2659 match alternatives.
beb998c6 2660
a0b3c4fd
JM
26611999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2662
2663 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
2664
26651999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
2666
2667 * gdb.base/signals.exp: Don't expect getting a backtrace from
2668 within a signal handler to fail on Linux.
2669
26701999-07-29 Stan Shebs <shebs@andros.cygnus.com>
2671
2672 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2673 * lib/gdb.exp: Remove some gratuitious semicolons.
2674 (delete_breakpoints): Increase timeout.
2675 (gdb_expect): Add -notransfer option.
2676 (gdb_test): Use -notransfer option.
2677 (get_compiler_info): Add f77 case.
2678 (get_compiler): New proc, split out from gdb_preprocess, add f77
2679 case.
2680 (gdb_preprocess): Call get_compiler.
2681
2682 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
2683 * gdb.base/attach.exp, gdb.base/display.exp,
2684 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
2685 gdb.base/long_long.exp, gdb.base/printcmds.exp,
2686 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
2687 third arg to gdb_test.
2688 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
2689 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
2690 HP-UX xfails, add others.
2691 * gdb.base/completion.exp: Reflect name change of self-test.
2692 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
2693 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
2694 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
2695 HP failure number.
2696 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
2697 useless HP-UX 10.30 references.
2698 * gdb.base/maint.exp: Loosen matches.
2699 * gdb.base/pointers.c (main): Declare more_code.
2700 * gdb.base/pointers.exp: Match on output of a `next'.
2701 * gdb.base/structs.c: Add prototypes.
2702 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
2703 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
2704
27051999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2706
2707 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
2708 command.
2709
27101999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2711
2712 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
2713 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
2714
2715 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
2716 debug info. Deal with lack of signal hanlder info in stack.
2717
2718 From Jim Kingdon <kingdon@redhat.com>:
2719 * gdb.base/annota1.exp: If printf has debug info, deal with it.
2720
5a2468f5
JM
27211999-07-19 Stan Shebs <shebs@andros.cygnus.com>
2722
2723 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
2724 gdb.base/foll-vfork.exp: Don't run for crosses.
2725
adf40b2e
JM
2726Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2727
2728 * gdb.base/configure.in: Check for gdbvars.exp instead of
2729 a1-selftest.exp.
2730 * gdb.base/configure: Re-generate.
2731
27321999-07-12 Stan Shebs <shebs@andros.cygnus.com>
2733
2734 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
2735 in trying to run first and name is too long.
2736
2737 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
2738 pointers2.c and pointers2.exp, respectively.
2739 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
2740 doschk happier.
2741
43e526b9
JM
27421999-07-08 Stan Shebs <shebs@andros.cygnus.com>
2743
2744 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
2745 callfuncs2.c and callfuncs2.exp.
2746
2747 * gdb.base/list.exp: Remove mistaken xfails.
2748 * gdb.base/list0.h: Add optional prototypes.
2749
9846de1b
JM
2750Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
2751
2752 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
2753 calling malloc.
2754 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
2755 * ptype.exp: Move test for get_debug_format to before its first
2756 use.
2757
27581999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2759
2760 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
2761 * gdb.base/annota2.cc, annota2.exp: Move from here.
2762 * gdb.c++/annota2.cc, annota2.exp: To here.
2763 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
2764
43ff13b4
JM
2765Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
2766
2767 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
2768 a consistent format.
2769
085dd6e6
JM
27701999-06-25 Stan Shebs <shebs@andros.cygnus.com>
2771
2772 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2773 * lib/gdb.exp (get_compiler_info): Add detection for assorted
2774 HP compilers, also set the globals $true and $false.
2775
2776 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
2777 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
2778 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
2779 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
2780 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
2781 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
2782 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
2783 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
2784 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
2785 whatis.c} Add C++ compatible function definitions and return
2786 types, add includes for library functions.
2787 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
2788 * gdb.base/step-test.c (myglob): Rename from glob.
2789 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
2790 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
2791 files, move here from gdb.hp.
2792 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
2793 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
2794 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
2795 Adjust line numbers in regexps.
2796
2797 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
2798 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
2799 instead of 0/1.
2800
2801 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
2802 foll-vfork.exp: New files, move here from gdb.hp.
2803 * gdb.base/page.exp: New file, test of pagination command.
2804
2805 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
2806 recursion test.
2807 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
2808
2809 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
2810 gdb.base/solib.exp: Fix compiler invocation process.
2811
2812 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
2813 HP-UX 11, turn off overload resolution explicitly.
2814 * gdb.base/commands.exp: Set argument list explicitly, add
2815 watchpoint test.
2816 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
2817 them work.
2818 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
2819 expressions properly.
2820 * gdb.base/corefile.exp: Loosen the match slightly.
2821 * gdb.base/default.exp: Allow "Error accessing memory" message
2822 also.
2823 * gdb.base/display.exp: Skip over x/0 j if PA64.
2824 * gdb.base/funcargs.exp: Add xfails for HP-UX.
2825 * gdb.base/interrupt.exp: Ditto.
2826 * gdb.base/langs.exp: Add symbolic matches governed by compiler
2827 in use.
2828 * gdb.base/list.exp: Add xfails for HP-UX.
2829 * gdb.base/long_long.exp: Refine some of the numeric matches.
2830 * gdb.base/mips_pro.exp: Xfail on HP-UX.
2831 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
2832 * gdb.base/nodebug.exp: Succeed on more varieties of output.
2833 * gdb.base/opaque.exp: Remove some HP-UX xfails.
2834 * gdb.base/ptype.exp: Succeed on more varieties of output.
2835 * gdb.base/scope.exp: Add xfails for HP-UX.
2836 * gdb.base/sect-cmd.exp: Add more cases.
2837 * gdb.base/setvar.exp: Add xfails for HP-UX.
2838 * gdb.base/shlib-call.exp: Loosen some matches slightly.
2839 * gdb.base/signals.exp: Match on void symbolically.
2840 * gdb.base/step-test.exp: Add case for PA64.
2841 * gdb.base/term.exp: Add exit and restart.
2842 * gdb.base/twice.exp: Clean up after self.
2843 * gdb.base/varargs.exp: Disable overload resolution explicitly.
2844 * gdb.base/whatis.exp: Allow more ways to pass tests.
2845
2846 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
2847 no longer useful.
2848
2849Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
2850
2851 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
2852 list of patterns.
2853 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
2854 print_double_array(double_array)", "continuing to breakpoint
2855 1018", "print print_double_array(array_d)" and "continuing to
2856 1034" tests.
beb998c6 2857
085dd6e6
JM
28581999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
2859
2860 * Makefile.in: Add empty html and install-html targets.
2861
28621999-06-24 Stan Shebs <shebs@andros.cygnus.com>
2863
2864 * config/mt-*: Remove, these haven't been used since 1996.
2865
28661999-06-22 Stan Shebs <shebs@andros.cygnus.com>
2867
2868 * gdb.base/call-strs.c, gdb.base/ending-run.c,
2869 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
2870 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
2871
9e0b60a8
JM
28721999-06-18 Stan Shebs <shebs@andros.cygnus.com>
2873
2874 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
2875 simpler match case for the ptype of the big class.
2876
28771999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2878
2879 * gdb.exp: Fix test for gdb_prompt existence.
2880
28811999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2882
2883 * gdb.exp (gdb_test): Add fail after calls to perror.
2884
28851999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2886
2887 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
2888
28891999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2890
2891 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
2892
0f71a2f6
JM
2893Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
2894
2895 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
2896 malloc() is linked in.
2897
28981999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2899
2900 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
2901 step at end.
2902
2903 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
2904
29051999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
2906
2907 * gdb.java/jv-print.exp: New file. (Our first Java test!)
2908
cce74817
JM
2909Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
2910
2911 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
2912 * gdb.base/mips_pro.exp: Likewise.
2913
29141999-06-02 Keith Seitz <keiths@cygnus.com>
2915
2916 * gdb.c++/templates.cc: Change all "new" operators to throw
2917 an exception.
2918 * gdb.c++/cplusfuncs.cc: Likewise.
2919
2920 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
2921
2922Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
2923
2924 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
2925 * gdb.base/ending-run.exp: When stepping out of main, accept a
2926 step into an arbitrary assembler file.
2927
392a587b
JM
29281999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2929
beb998c6 2930 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 2931 "breakpoint-invalid" to be printed.
beb998c6 2932 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
2933 number of "frames-invalid" and "breakpoint-invalid" to be printed.
2934 * gdb.base/annota2.cc: Initialize a.x to 0.
2935
9e086581
JM
29361999-05-17 Keith Seitz <keiths@cygnus.com>
2937
2938 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
2939 when "skip_float_tests" set.
2940 Ditto for "print print_double_array(array_d)", "print print_small_structs",
2941 "print print_ten_doubles", and "step into print_long_arg_list".
2942 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
2943 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
2944 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
2945 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
2946 "skip_float_tests" is set.
2947 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
2948 when "skip_float_tests" set.
beb998c6 2949
cd0fc7c3
SS
29501999-05-06 Keith Seitz <keiths@cygnus.com>
2951
2952 * gdb.base/annota2.cc: Include stdio.h.
2953
2954Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
2955
2956 * gdb.base/crossload.exp: Remove, this has been disabled ever
2957 since BFD stopped including all targets, and cross-GDB gets
2958 plenty of testing anyway.
2959 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
2960 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
2961 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
2962 * gdb.base/README: Remove, was doc for this.
2963 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
2964 needed.
2965
b83266a0
SS
29661999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2967
2968 * gdb.base/call-ar-st.exp: Fix one regular expression in test
2969 output.
2970
2971 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
2972 * gdb.base/annota2.exp: New file. More annotation tests.
2973 * gdb.base/annota1.c: New file. Source file for annota1.exp.
2974 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
2975
29761999-04-23 Angela Marie Thomas <angela@cygnus.com>
2977
2978 * config/cfdbug.exp: New file.
2979
7a292a7a
SS
29801999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2981
2982 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
2983 Marcus Daniel's and Dale Hawkins's demangler crashes.
2984
2985 * gdb.c++/demangle.exp (test_gnu_style_demangling,
2986 test_lucid_style_demangling, test_arm_style_demangling,
2987 test_hp_style_demangling): Try Tom Tromey's core-dumping
2988 identifier under each demangling style.
2989
29901999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
2991
2992 * gdb.c++/demangle.exp: Include the current demangling style
2993 in all test names.
2994 (current_demangling_style): New global variable.
2995 (set_demangling_style, test_demangling_core, test_demangling,
2996 test_demangling_exact): New functions.
2997 (test_gnu_style_demangling, test_lucid_style_demangling,
2998 test_arm_style_demangling, test_hp_style_demangling): Use those,
2999 instead of calling gdb_test and gdb_test_exact directly.
3000 (catch_demangling_errors): New function, which reports errors
3001 signalled by the demangling test functions in an orderly way.
3002 (do_tests): Use catch_demangling_errors.
3003
30041999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3005
3006 * gdb.base/signals.exp (test_handle_all_print): Use () for
3007 grouping in expressions, not {}.
3008
3009 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3010 initialized yet.
3011
30121999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3013
3014 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3015 are listed.
3016
30171999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3018
3019 * gdb.stabs/weird.exp: Test for CC being defined before
3020 looking at its value.
3021
30221999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3023
3024 * gdb.base/call-ar-st.exp: Remove stray '#'.
3025 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3026 "short int" and "long int".
3027 * gdb.c++/overload.cc: Cast the string added in the previous
3028 change, to mollify finicky HP compiler.
3029 * gdb.hp/reg-test.exp (testfile): Fix file name.
3030 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3031
7a292a7a
SS
3032 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3033 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3034 alternate form of enum ptype.
3035
c906108c
SS
30361999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3037
7a292a7a
SS
3038 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3039 * gdb.hp/*.exp: Change all to run compiler probe only after
3040 passing skip_hp_tests, so as not to waste time on guaranteed
3041 failure.
3042
c906108c
SS
3043 * gdb.c++/overload.cc: Pass string instead of char addr, always
3044 init ccpfoo.
3045 * gdb.c++/templates.cc: Fix syntax error.
3046
7a292a7a
SS
3047Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3048
3049 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3050 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3051 command.
3052
30531999-03-18 James Ingham <jingham@cygnus.com>
3054
3055 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3056
3057 * gdb.c++/method.exp: It was testing an uninitialized int on the
3058 stack and assuming it was positive.
3059
3060 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3061
3062 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3063 keep it from killing the rest of the tests.
7a292a7a
SS
3064 Use gdb_continue_to_end.
3065
3066 * gdb.base/sigall.exp: use gdb_continue_to_end.
3067
3068 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3069
3070 * gdb.base/display.exp: use runto_main, not run.
3071
beb998c6
AC
3072 * gdb.base/default.exp: Check for the current error message in the
3073 r abbreviation test.
7a292a7a
SS
3074 Add strongarm to the targets that know info float.
3075
beb998c6 3076 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3077 run which doesn't work with monitors.
3078
3079 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3080
3081 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3082
3083 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3084 program. Traps the case (in Cygmon) when the program never really
3085 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3086 more places, so I used my name. Sorry Mark...
3087
3088 * config/monitor.exp (gdb_target_monitor): added another
3089 target_info parameter: remotebinarydownload. This will set the
3090 remotebinarydownload flag if this is causing some boards trouble.
3091
30921999-03-18 Mark Salter <msalter@cygnus.com>
3093
3094 * lib/gdb.exp (continue_to_exit): New function.
3095
3096 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3097 * gdb.base/ending-run.exp: Ditto.
3098 * gdb.base/step-test.exp: Ditto.
3099
31001999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3101
3102 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3103 (suggested by Art Haas <ahaas@neosoft.com>).
3104
31051999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3106
3107 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3108
3109Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3110
3111 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3112 descriptions of types (short unsigned int vs unsigned short, etc).
3113
31141999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3115
3116 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3117 a call to strlen; sometimes we do have sources.
3118
31191999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3120
3121 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3122 character, so GDB won't print garbage after its end.
beb998c6 3123
c906108c
SS
3124 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3125 breakpoint there instead. Sometimes GCC emits memcpy to handle
3126 the large structures being passed by value, so we step into that
3127 instead of sum_array_print, which obscures what we're really testing.
3128 * gdb.base/step-test.exp: However, we do want a test that notices
3129 the bizarre steps into memcpy, so do that here. Add check for
3130 stepping into function calls that pass large structures by value.
3131 ("Is that a noun clause, or are you just happy to see me?")
3132 Remove all references to specific line numbers.
3133 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3134 New type and function.
3135 (main): Call large_struct_by_value, passing it a large struct by value.
3136 * lib/gdb.exp (gdb_get_line_number): New function.
3137
3138 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3139 more portable.
3140
7a292a7a
SS
31411999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3142
c906108c
SS
3143 * lib/gdb.exp: Doc fixes.
3144
7a292a7a
SS
31451999-03-05 Nick Clifton <nickc@cygnus.com>
3146
beb998c6 3147 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3148
31491999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3150
c906108c
SS
3151 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3152 commands. They're not germane to this test, and they don't work
3153 that way on remote targets.
3154
3fc11d3e
JM
31551999-03-01 James Ingham <jingham@cygnus.com>
3156
3157 * Changelog entries merged over from gdb development branch.
3158
3fc11d3e
JM
3159 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3160
3161 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3162 for outputting results of test run.
3163
2d4a1622 3164 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
3165
3166 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 3167
7a292a7a
SS
31681999-02-25 Felix Lee <flee@cygnus.com>
3169
3170 * lib/gdb.exp (debug_format): initialize
3171
c906108c
SS
31721999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3173
3174 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3175 * gdb.base/call-rt-st.c: Ditto.
3176
c906108c
SS
31771999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3178
3179 * gdb.threads/pthreads.exp (horiz): New variable.
3180 (test_startup): Fix regexps that capture thread numbers.
3181
31821999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3183
3184 * gdb.base/smoke.exp: Disambiguate two test case names (both
3185 called ``print'').
3186
3187Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3188
3189 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3190 compilation.
3191
31921999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3193
3194 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3195 actual output formatting.
3196 * gdb.base/smoke.exp: GDB removes leading 0's.
3197 * gdb.base/volatile.exp: Don't check type of remuneration;
3198 that variable is no longer defined in constvars.c.
3199 * gdb.base/step-test.c (main): Exit with explicit exit code.
3200 * gdb.base/step-test.exp: Remove two nexti checks--they are
3201 not portable.
3202
32031999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3204
3205 * gdb.base/help.exp ("help delete display"): Fix test to match
3206 gdb's output.
3207
3208 * gdb.base/long_long.c (known_types): Initialize values to zero.
3209 * gdb.base/long_long.exp: Step one more line
3210 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3211 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3212 unique test case names.
3213
3214Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3215
beb998c6 3216 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3217
3218 * gdb.c++/method.exp: Add missing close brace.
3219
32201999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3221
3222 * gdb.base/maint.exp: Use 'set height 0' to disable page
3223 prompting, not 'set height 400'.
3224
3225 Fix a bunch of timeouts.
3226 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3227 four separate tests, so expect doesn't take forever to match a ton
3228 of text against a regexp with lots of .* forms.
3229 ("maint print psymbols", "maint print symbols"): Make some of
3230 these greps more selective, so that expect doesn't try to wade
3231 through huge piles of output and time out.
3232
3233 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3234
3235 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3236 tests: one which doesn't expect shlib events to be reported, and
3237 another which does, but is XFAIL for all platforms other than
3238 HP/UX.
3239
3240 * gdb.base/break.exp: Teach the test suite that the `catch
3241 fork', `catch vfork', and `catch exec' commands produce error
3242 messages on platforms that don't provide these features.
3243
3244Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3245
3246 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3247 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3248 (shortening names from solib_threshold.exp etc), won't run on
3249 anything but HP-UX for the foreseeable future.
3250 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3251 reflect move.
3252
3253Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3254
3255 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3256 gdb.trace/Makefile.in (clean): Remove all test executables.
3257
3258Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3259
3260 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3261 successfully re-sets breakpoints in shared libraries.
3262 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3263
3264Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3265
beb998c6
AC
3266 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3267 and compiled w/o GCC.
c906108c
SS
3268
3269 * gdb.hp/watch-cmd.exp: ditto.
3270
3271 * gdb.hp/watch-hp.exp: ditto.
3272
3273 * gdb.hp/xdb1.exp: ditto.
3274
3275 * gdb.hp/xdb2.exp: ditto.
3276
3277 * gdb.hp/dbx.exp: ditto.
3278
3279Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3280
3281 * constvars.c: Remove C++-isms.
3282 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3283 with GCC.
3284
3285Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3286
3287 The following changes are part of the HP merge.
3288
3289 * gdb.base/break.exp: new tests to verify that catchpoints for
3290 fork, vfork, and exec don't trigger inappropriately.
3291
3292 * gdb.base/opaque.exp: compile one file at a time, then link.
3293
3294 * gdb.base/signals.exp: be more restrictive about which hppa
3295 systems receive a setup_xfail. new tests.
3296
3297 * gdb.base/solib_threshold.build: new file.
3298 * gdb.base/solib_threshold.exp: new file.
3299 * gdb.base/solib_threshold.link_opts: new file.
3300 * gdb.base/solib_threshold.mk: new file.
3301 * gdb.base/gen_solib_threshold.c: new file.
3302
3303 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3304 tests. New tests for enums inside classes.
3305
3306 * gdb.c++/compiler.cc: indicate support of template debugging.
3307
3308 * gdb.c++/demangle.exp: run hp style demangling tests.
3309
3310 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3311 tests.
3312
3313 * gdb.c++/misc.cc: changes to support new tests.
3314
3315 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3316 to support new tests.
3317
3318 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3319 gcc, then skip these tests.
3320
3321Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3322
3323 The following files are part of the HP merge; some had longer
3324 names at HP, but have been renamed to be no more than 14
3325 characters in length.
3326
3327 * gdb.hp/ambiguous.cc: new file.
3328 * gdb.hp/ambiguous.exp: new file.
3329 * gdb.hp/attach.exp: new file.
3330 * gdb.hp/attach2.exp: new file.
3331 * gdb.hp/classes-hp.exp: new file.
3332 * gdb.hp/ctti.exp: new file.
3333 * gdb.hp/ctti-add.cc: new file.
3334 * gdb.hp/ctti-add1.cc: new file.
3335 * gdb.hp/ctti-add2.cc: new file.
3336 * gdb.hp/ctti-add3.cc: new file.
3337 * gdb.hp/dbx.exp: new file.
3338 * gdb.hp/exception.cc: new file.
3339 * gdb.hp/exception.exp: new file.
3340 * gdb.hp/foll-exec.c: new file.
3341 * gdb.hp/foll-exec.exp: new file.
3342 * gdb.hp/foll-fork.c: new file.
3343 * gdb.hp/foll-fork.exp: new file.
3344 * gdb.hp/foll-vfork.c: new file.
3345 * gdb.hp/foll-vfork.exp: new file.
3346 * gdb.hp/inherit-hp.exp: new file.
3347 * gdb.hp/more-steps.exp: new file.
3348 * gdb.hp/namespace.cc: new file.
3349 * gdb.hp/namespace.exp: new file.
3350 * gdb.hp/optimize.exp: new file.
3351 * gdb.hp/pxdb.c: new file.
3352 * gdb.hp/pxdb.exp: new file.
3353 * gdb.hp/quicksort.exp: new file.
3354 * gdb.hp/reg-test.exp: new file.
3355 * gdb.hp/reg-test.s: new file.
3356 * gdb.hp/sized-enum.c: new file.
3357 * gdb.hp/sized-enum.exp: new file.
3358 * gdb.hp/start-stop.exp: new file.
3359 * gdb.hp/templ-hp.cc: new file.
3360 * gdb.hp/templ-hp.exp: new file.
3361 * gdb.hp/thr-lib.c: new file.
3362 * gdb.hp/thr-lib.exp: new file.
3363 * gdb.hp/thr-lib.h: new file.
3364 * gdb.hp/thr-liblib.c: new file.
3365 * gdb.hp/virtfun-hp.c: new file.
3366 * gdb.hp/virtfun-hp.exp: new file.
3367 * gdb.hp/watch-cmd.exp: new file.
3368 * gdb.hp/watch-hp.exp: new file.
3369 * gdb.hp/xdb1.exp: new file.
3370 * gdb.hp/xdb2.exp: new file.
3371 * gdb.hp/xdb3.exp: new file.
3372
3373Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3374
3375 The following files are part of the HP merge; some had longer
3376 names at HP, but have been renamed to be no more than 14
3377 characters in length.
3378
3379 * gdb.base/ss.h: new file.
3380 * gdb.base/call-ar-st.c: new file.
3381 * gdb.base/call-ar-st.exp: new file.
3382 * gdb.base/call-rt-st.c: new file.
3383 * gdb.base/call-rt-st-exp: new file.
3384 * gdb.base/call-strs.exp: new file.
3385 * gdb.base/ena-dis-br.exp: new file.
3386 * gdb.base/environ.exp: new file.
3387 * gdb.base/long_long.exp: new file.
3388 * gdb.base/sect-cmd.exp: new file.
3389 * gdb.base/shlib-cl2.exp: new file.
3390 * gdb.base/smoke.exp: new file.
3391 * gdb.base/so-impl-ld.c: new file.
3392 * gdb.base/so-impl-ld.exp: new file.
3393 * gdb.base/so-indr-cl.c: new file.
3394 * gdb.base/so-indr-cl.exp: new file.
3395 * gdb.base/varargs.exp: new file.
3396 * gdb.base/volatile.exp: new file.
3397 * gdb.base/whatis-exp.exp: new file.
7a292a7a 3398 * gdb.base/display.exp: new file.
c906108c
SS
3399 * gdb.c++/derivation.exp: new file.
3400 * gdb.c++/local.exp: new file.
3401 * gdb.c++/member-ptr.exp: new file.
3402 * gdb.c++/overload.exp: new file.
3403 * gdb.c++/ovldbreak.exp: new file.
3404 * gdb.c++/ref-types.exp: new file.
3405 * gdb.c++/ref-types2.exp: new file.
3406 * gdb.c++/userdef.exp: new file.
beb998c6 3407
c906108c
SS
3408Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3409
3410 * gdb.base/default.exp: Reflect wording change in remote.c.
3411
dc96c6c7 3412Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3413
3414 * gdb.base/help.exp: Update to reflect current text.
3415
3416Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3417
3418 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3419 they're stack variables and contain garbage.
3420 * gdb.c++/anon-union.exp: new file.
3421
3422 The following changes were made by David Taylor
3423 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3424 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3425 in changes by HP.
3426
3427 * gdb.base/bitops.exp: new file.
3428 * gdb.base/default.exp: change expected messages for catch and
3429 info catch tests to reflect HP merge changes.
3430 * gdb.base/enable-disable-break.exp
3431 * gdb.base/ending-run.c: new file.
3432 * gdb.base/long_long.c: new file.
3433 * gdb.base/maint.exp: new file.
3434 * gdb.base/pointers2.exp: new file.
3435 * gdb.base/shlib-call2.exp: new file.
3436 * gdb.base/solib.exp: new file.
3437 * gdb.base/step-test.c: new file.
3438 * gdb.c++/anon-union.cc: new file.
3439 * gdb.c++/local.cc: new file.
3440 * gdb.c++/member-pointer.cc: new file.
3441 * gdb.c++/method.cc: new file.
3442 * gdb.c++/ref-types.cc: new file.
3443 * gdb.c++/ref-types2.cc: new file.
3444 * gdb.c++/userdef.cc: new file.
beb998c6 3445
c906108c
SS
3446 * gdb.base/scope.exp: compile one file at a time, then link.
3447 * gdb.base/langs.exp: ditto.
3448 * gdb.base/list.exp: ditto.
beb998c6 3449
c906108c
SS
3450Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3451
3452 The following changes were made by David Taylor
3453 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3454 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3455 in changes by HP.
beb998c6 3456
c906108c
SS
3457 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3458 skip tests. When compiling pass c++ flag to gdb_compile.
3459 * gdb.c++/
beb998c6 3460
c906108c
SS
3461 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3462 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3463 (skip_hp_tests): new function.
3464 (gdb_preprocess): new function.
3465
3466 * configure.in (hpdir): decide whether to configure gdb.hp.
3467 * configure: regenerated.
3468
3469 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3470 to delete on clean.
3471 (EXECUTABLES): update to reflect new additions.
3472 * gdb.base/commands.exp: update message expected.
3473 * gdb.base/default.exp: add copyright notice.
3474 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3475 * gdb.base/help.exp: update messages to reflect current text.
3476 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3477 targets for recurse tests.
3478 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3479 skip this file.
3480
3481 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3482 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3483 compilation.
3484 * gdb.c++/misc.exp: ditto.
3485 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3486 run the tests. tell gdb_compile that it's a c++ compilation.
3487
3488 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 3489
c906108c
SS
3490 * gdb.base/all-bin.exp: new file.
3491 * gdb.base/arithmet.exp: new file.
3492 * gdb.base/assign.exp: new file.
3493 * gdb.base/completion.exp: new file.
3494 * gdb.base/cond-expr.exp: new file.
3495 * gdb.base/condbreak.exp: new file.
3496 * gdb.base/define.exp: new file.
3497 * gdb.base/dollar.exp: new file.
3498 * gdb.base/environment.exp: new file.
3499 * gdb.base/eval-skip.exp: new file.
3500 * gdb.base/jump.exp: new file.
3501 * gdb.base/logical.exp: new file.
3502 * gdb.base/pointers.exp: new file.
3503 * gdb.base/relational.exp: new file.
3504 * gdb.base/section_command.exp: new file.
3505 * gdb.base/whatis-expr.exp: new file.
3506
3507 * gdb.base/all-types.c: new file.
3508 * gdb.base/call-array-struct.c: new file.
3509 * gdb.base/call-return-struct.c: new file.
3510 * gdb.base/call-strings.c: new file.
3511 * gdb.base/callfuncs2.c: new file.
3512 * gdb.base/condbreak.c: new file.
3513 * gdb.base/constvars.c: new file.
3514 * gdb.base/display.c: new file.
3515 * gdb.base/int-type.c: new file.
3516 * gdb.base/jump.c: new file.
3517 * gdb.base/miscexprs.c: new file.
3518 * gdb.base/pointers.c: new file.
3519 * gdb.base/pointers2.c: new file.
3520 * gdb.base/shmain.c: new file.
3521 * gdb.base/shr1.c: new file.
3522 * gdb.base/shr2.c: new file.
3523 * gdb.base/solib.c: new file.
3524 * gdb.base/solib1.c: new file.
3525 * gdb.base/solib2.c: new file.
3526 * gdb.base/varargs.c: new file.
3527 * gdb.c++/derivation.cc: new file.
3528 * gdb.c++/overload.cc: new file.
3529 * gdb.c++/ovldbreak.cc: new file.
3530 * gdb.hp/attach.c: new file.
3531 * gdb.hp/attach2.c: new file.
3532 * gdb.hp/average.c: new file.
3533 * gdb.hp/compiler.c: new file.
3534 * gdb.hp/compiler.cc: new file.
3535 * gdb.hp/execd-program.c: new file.
3536 * gdb.hp/follow-exec.c: new file.
3537 * gdb.hp/follow-fork.c: new file.
3538 * gdb.hp/follow-vfork-and-exec.c: new file.
3539 * gdb.hp/misc-hp.cc: new file.
3540 * gdb.hp/more-steps.c: new file.
3541 * gdb.hp/optimize.c: new file.
3542 * gdb.hp/quicksort.c: new file.
3543 * gdb.hp/run-hp.c: new file.
3544 * gdb.hp/start-stop.c: new file.
3545 * gdb.hp/sum.c: new file.
3546 * gdb.hp/templates-hp.cc: new file.
3547 * gdb.hp/thread-local-in-lib.c: new file.
3548 * gdb.hp/thread-local-in-lib.h: new file.
3549 * gdb.hp/thread-local-in-lib.lib.c: new file.
3550 * gdb.hp/vforked-program.c: new file.
3551 * gdb.hp/virtfunc-hp.cc: new file.
3552 * gdb.hp/watchpoint-hp.c: new file.
3553 * gdb.hp/xdb.c: new file.
3554 * gdb.hp/xdb0.c: new file.
3555 * gdb.hp/xdb0.h: new file.
3556 * gdb.hp/xdb1.c: new file.
3557
3558Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
3559
3560 The following change was made by Edith Epstein
3561 <eepstein@cygnus.com> as part of a project to merge in changes
3562 originally made by HP; HP did not create ChangeLog entries.
3563
3564 * gdb.c++/demangle.exp: changed the expected output for some
3565 ARM-style mangling -- removed second reference to datatype.
3566 For example, maint demangle __dt__11T1__pt__2_cFv
3567 T1<char>::~T1<char>(void)
3568 becomes,
3569 maint demangle __dt__11T1__pt__2_cFv
3570 T1<char>::~T1(void)
3571
3572 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 3573
c906108c
SS
3574Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
3575
3576 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
3577 * gdb.trace/backtrace.exp: Likewise.
3578 * gdb.trace/circ.exp: Likewise.
3579 * gdb.trace/collection.exp: Likewise.
3580 * gdb.trace/deltrace.exp: Likewise.
3581 * gdb.trace/infotrace.exp: Likewise.
3582 * gdb.trace/limits.exp: Likewise.
3583 * gdb.trace/packetlen.exp: Likewise.
3584 * gdb.trace/passc-dyn.exp: Likewise.
3585 * gdb.trace/passcount.exp: Likewise.
3586 * gdb.trace/report.exp: Likewise.
3587 * gdb.trace/save-trace.exp: Likewise.
3588 * gdb.trace/tfind.exp: Likewise.
3589 * gdb.trace/tracecmd.exp: Likewise.
3590 * gdb.trace/while-dyn.exp: Likewise.
3591 * gdb.trace/while-stepping.exp: Likewise.
3592
35931998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3594
3595 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
3596
3597Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
3598
3599 From Brendan Kehoe:
3600 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
3601 int return types.
3602
3603Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
3604
3605 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
3606 remote dos host testing right.
3607
3608Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
3609
3610 * gdb.base/corefile.exp: remove some xfails.
3611
3612Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
3613
3614 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
3615 have different timestamps.
3616
3617Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
3618
3619 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
3620 gdb.base/default.exp: Replace "exec" with "executable".
3621
3622Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
3623
3624 * gdb.base/default.exp: Change else if to elseif from previous
3625 delta.
3626
3627Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
3628
3629 * gdb.base/default.exp: Add brace missing from previous delta.
3630
3631Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
3632
3633 * gdb.base/default.exp: Support test for info float for all
3634 varieties of arm toolchain.
3635
dc96c6c7 3636Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3637
3638 * gdb.trace/*.exp: remove "remote_download" command.
3639
dc96c6c7 3640Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3641
3642 * gdb.trace/*.exp: remove -gdwarf from compile.
3643
3644Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
3645
3646 * gdb.trace/configure.in(AC_INIT): typo
3647 * gdb.trace/configure: regenerated
3648
dc96c6c7 3649Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3650
3651 * config/m68k-emc.exp: New file.
3652 * lib/<emc-support.exp trace-support.exp}: New files.
3653 * configure.in: add new test directory gdb.trace.
3654 * gdb.trace/{configure configure.in Makefile.in}: New files.
3655 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
3656 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
3657 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
3658 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
3659 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
3660 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
3661 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 3662
dc96c6c7 3663Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3664
3665 * gdb.c++/classes.exp: Change all regular expressions to match
3666 arbitrary combinations of newline/carriage-return, so that they
3667 will work equally well on Unix and Windows.
3668 * gdb.c++/inherit.exp: ditto.
3669 * gdb.c++/virtfunc.exp: ditto.
3670
36711998-08-11 Dawn Perchik <dawn@cygnus.com>
3672
3673 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
3674
c2d11a7d
JM
3675Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
3676
3677 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
3678 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
3679 to use a0-a3/d0-d3 as needed.
3680
3681Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
3682
3683 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
3684 * gdb.disasm/am33.exp: Corresponding changes.
3685
c906108c
SS
36861998-07-11 Felix Lee <flee@cygnus.com>
3687
3688 * gdb.base/callfuncs.exp: add cmp10 test.
3689 * gdb.base/callfuncs.c (cmp10): new function.
3690
3691Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
3692
beb998c6 3693 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
3694 into two parts to get around a synchronization problem in expect.
3695
3fc11d3e
JM
3696Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
3697
3698 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
3699
3700 * configure.in: Add options for gdbtk testsuite.
3701
3702 * configure: Regenerate.
3703
3704 * gdb.gdbtk: New directory to hold gdbtk tests.
3705
c906108c
SS
3706Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3707
3708 * gdb.fortran/types.exp: Escape brackets in expect patterns
3709 for test_float_literal_types_accepted tests.
3710 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
3711 before run test.
3712
c2d11a7d
JM
3713Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
3714
3715 * am33.exp: Just compile, do not link the testcase.
3716 * am33.s: Add ".am33" pseudoop to force am33 mode.
3717
c906108c
SS
37181998-06-25 Felix Lee <flee@cygnus.com>
3719
3720 * gdb.base/setshow.exp: make sure $pc is sane.
3721
3722 * gdb.stabs/weird.exp: split expect patterns properly.
3723
c2d11a7d
JM
3724Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
3725
3726 * gdb.disasm/am33.s: New disassembler testfile for the am33.
3727 * gdb.disasm/am33.exp: Run it.
3728
dc96c6c7 3729Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3730
3731 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
3732 match processing (and eliminate spurious timeouts when running).
3733
dc96c6c7 3734Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3735
3736 * gdb.base/signals.exp (test_handle_all_print): put back Mach
3737 exception test, but conditionalize it on target [mach | gnu].
3738
dc96c6c7 3739Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3740
3741 * gdb.base/overlays.exp: fixup compile line for linker script.
3742
3743Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
3744
3745 * gdb.fortran/types.exp: don't guess at float size.
3746
3747Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
3748
3749 * gdb.base/exprs.exp: delete test that depends on int size.
3750
3751Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
3752
3753 * config/sim.exp: Removed checks for target triplets.
3754 (gdb_target_sim): Use gdb,target_sim_options.
3755
3756Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
3757
3758 * gdb.base/reread.exp: New file.
3759 * gdb.base/reread1.c: New file.
3760 * gdb.base/reread2.c: New file.
3761
3762Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
3763
3764 * config/sim.exp: Use 'target sim -sparclite' when running
3765 SPARClite programs.
3766
3767Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
3768
3769 * gdb.base/structs2.exp: New file.
3770 * gdb.base/structs2.c: New file.
3771
3772Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
3773
3774 * gdb.asm/common.inc: New file.
3775 * gdb.asm/d10v.inc: New file.
3776 * asm-source.exp: Pass -I's to gas to find .inc files.
3777 Update line numbers in expected output.
3778 * asmsrc1.s: Rewrite.
3779 * asmsrc2.s: Rewrite.
3780 * configure.in: Create arch.inc symlink.
3781 * configure: Regenerate.
3782 * Makefile.in (distclean): Delete arch.inc.
3783
3784Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
3785
3786 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
3787 (t_enum_value2): ditto
3788 (t_enum_value3): ditto
3789 (main): ditto
3790Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3791
3792 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
3793 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
3794 change.
3795 Use gdb_test instead of send_gdb/gdb_expect sequences.
3796
3797Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
3798
3799 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
3800 not void.
3801
3802Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
3803
3804 * gdb.base/branches.c: Code with lots of loops and
3805 subroutines. Used to test gdbs ability to single step through PC
3806 changes, especially to test mips-tdep.c:mips_next_pc
3807
3808Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
3809
3810 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
3811 more rigorous EGCS C++ error checking.
3812
3813Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3814
3815 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 3816 tests.
c906108c 3817 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 3818 function when asleep.
c906108c 3819 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
3820 for i*86 Linux and SVR4 signal handling problems.
3821 Remove linux xfail for `next to handler in signals_tests_1', fixed
3822 by recent infrun.c change.
c906108c 3823 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 3824 stack backtraces.
c906108c
SS
3825 Adjust expect pattern in `handle all print' test to match Apr 28 1997
3826 target.[ch] change.
3827
3828Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
3829
3830 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
3831 for a newline from gdb before continuing.
3832 (default_gdb_exit): Just look for y or n.
3833 (gdb_test): Detect abnormal exit from GDB running on DOS; if
3834 it does, fail the rests of the tests in the file.
3835
3836Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
3837
3838 * config/cygmon.exp: New file.
3839
3840Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
3841
3842 * gdb.base/list.exp: Fix problem with "list default lines around
3843 main" test on remote targets.
3844
3845 * gdb.base/scope.exp: Fix problem with filelocal_bss before
3846 run test on remote targets.
3847
3848Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
3849
3850 * gdb.asm: New directory.
3851 * configure.in: Configure it.
3852 * configure: Regenerate.
3853 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
3854 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
3855
3856Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
3857
3858 * config/mn10300-eval.exp: New file to support MN10300 eval board.
3859
dc96c6c7 3860Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3861
c906108c
SS
3862 * gdb.base/overlays (several files): Merge the two overlay
3863 managers into one. Change variables (foox, barx, bazx, grbxx)
3864 back into ints but force them to load in their proper sections.
3865
3866Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
3867
3868 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
3869 on-chip insn memory and IMAP1 to upper 128k.
3870 (D10VCopy): Handle memory regions crossing 16k boundaries.
3871 (D10VCopy): Transfer data in 32 bit chunks.
3872
3873Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
3874
3875 * gdb.base/overlays.c (main): Exit normally when result is
3876 correct.
3877
3878 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
3879 map. Include space for printf in .text segment.
3880
3881 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
3882 updated d10v memory VMA/LMA map.
3883 (D10VCopy): Call D10VTranslate.
beb998c6 3884
c906108c
SS
3885Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
3886
3887 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
3888
3889 * gdb.base/bar.c (barx, bar): Change variable to small array so
3890 that it won't be put into the .sdata - small data -
3891 section. Update reference.
3892 * gdb.base/baz.c (bazx, baz): Ditto.
3893 * gdb.base/foo.c (foox, foo): Ditto.
3894 * gdb.base/grbx.c (grbxx, grbx): Ditto.
3895
3896 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
3897 to be arrays.
beb998c6 3898
dc96c6c7 3899Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3900
c906108c
SS
3901 * gdb.base/overlays.exp: fix up and get working again.
3902 Add tests for backtraces from an overlay function.
beb998c6 3903
c906108c
SS
3904Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
3905
3906 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
3907 "calling function with watchpoint enabled".
3908
3909Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
3910
3911 * gdb.base/break.exp (test_next_with_recursion): Remove
3912 gdb_suppress_tests for d10v-*-*.
3913 * lib/gdb.exp (gdb_suppress_tests): Disable this function
3914 pending review of whether it is useful or not.
3915
3916Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
3917
3918 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
3919
3920Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
3921
3922 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
3923 * config/dve.exp: New file to support Densan boards.
3924
3925Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
3926
3927 * gdb.base/interrupt.exp: Document problem of simulators, signals,
3928 reads and BSD.
3929
3930Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
3931
3932 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
3933 response.
3934
3935 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
3936
3937Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
3938
3939 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
3940 test.
3941
3942 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
3943 target_sizeof_long and target_bigendian_p.
3944 (structs_by_value, structs_by_reference): Check values according
3945 to targets word size and endianess.
beb998c6 3946
c906108c
SS
3947Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
3948
3949 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
3950 output.
3951
3952Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
3953
3954 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
3955 Update test of set args help to match source change.
3956
3957Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
3958
3959 * gdb.base/default.exp: Expect help system output to be in
3960 alphabetical order.
3961 * gdb.base/help.exp: Ditto.
3962
3963Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
3964
3965 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
3966 "i*86-pc-linux-gnu*".
3967 * gdb.base/interrupt.exp: Ditto.
3968 * gdb.base/corefile.exp: Ditto.
3969
3970 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
3971 define vxworks when building the testcase.
3972
3973 * gdb.base/ptype.exp: Fix testnames to be unique.
3974 * gdb.base/radix.exp: Ditto.
3975 * gdb.base/term.exp: Ditto.
3976 * gdb.base/whatis.exp: Ditto.
3977 * gdb.c++/classes.exp: Ditto.
3978
3979Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
3980
3981 * gdb.base/callfuncs.exp: Fix indentation.
3982
3983 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
3984 suppress_flag has been set.
3985 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
3986 target feature.
3987
3988Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
3989
3990 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
3991 the testcase.
3992
3993 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
3994 set_debug_traps() and breakpoint().
3995 * gdb.c++/misc.cc (main): Ditto.
3996 * gdb.c++/templates.cc (main): Ditto.
3997 * gdb.c++/virtfunc.cc (main): Ditto.
3998
3999Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4000
4001 * lib/gdb.exp(gdb_step_for_stub): New function.
4002 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4003 exists, reload the executable and do a "continue" instead of
4004 doing a jump.
4005 (runto_main): Use gdb_step_for_stub.
beb998c6 4006
c906108c
SS
4007 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4008 tests to have unique names.
4009 * gdb.base/callfuncs.exp: Ditto.
4010 * gdb.base/commands.exp: Ditto.
4011 * gdb.base/default.exp: Ditto.
4012 * gdb.base/help.exp: Ditto.
4013 * gdb.base/list.exp: Ditto.
4014 * gdb.base/opaque.exp: Ditto.
4015 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4016 similar tests.
beb998c6 4017
c906108c
SS
4018 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4019 * gdb.c++/cplusfuncs.cc: Ditto.
4020 * gdb.c++/virtfunc.cc: Ditto.
4021
4022 * config/monitor.exp: Keep track of the last file we saw, rather
4023 than trying to get the info from gdb.
4024
4025 * gdb.fortran/types.exp: Move comment to previous line.
4026
4027Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4028
4029 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4030 target mode.
4031
4032Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4033
4034 From Bob Manson:
4035 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4036 string from GDB when it connects.
4037
4038 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4039
4040Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4041
4042 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4043 if we can't get a debug format from GDB (we may be testing an
4044 older GDB). Use a 10 second timeout when checking for the format.
4045
4046 * gdb.stabs/weird.exp: Fix quoting.
4047
4048 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4049
4050Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4051
4052 * config/arm-ice.exp: New file.
4053
4054Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4055
4056 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4057 until it has been modified to work with the new testsuite.
4058
99707966 4059 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4060 testcase won't compile, cause all of the testcases in the file to
4061 fail instead.
4062
4063 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4064 (gdb_clear_suppressed): New procedure.
4065 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4066 it contains a positive value.
4067
4068Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4069
4070 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4071
4072 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4073
4074Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4075
4076 * lib/gdb.exp (setup_xfail_format): New function.
4077 (get_debug_format): New function to get debug format.
4078 (debug_format): New global variable to hold last value set
4079 by get_debug_format.
4080 * gdb.base/list.exp: Call get_debug_format and expect some
4081 tests to fail for DWARF 1 and COFF formats.
4082 * gdb.c++/ptype.exp: Ditto.
4083 * gdb.c++/classes.exp: Ditto.
4084 * gdb.c++/cplusfuncs.exp: Ditto.
4085 * gdb.c++/inherit.exp: Ditto.
4086 * gdb.c++/templates.exp: Ditto.
4087 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4088
c906108c
SS
4089Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4090
4091 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4092 host doesn't have a currently-open connection.
4093
4094 * config/sparclet.exp: Cleanups and fixes to make it generic for
4095 any gdb stub target. Handle cases where gdb doesn't respond when
4096 interrupted in a sane fashion.
4097
4098 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4099 same thing in a totally different way.
4100
4101 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4102 setting "timeout".
4103 (gdb_start): We set the global gdb_prompt variable in
4104 default_gdb_init now.
4105
4106Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4107
4108 * gdb.base/printcmds.exp: Fix "check for floating addition"
4109 regexp to accept results within approx +/- .01 of exact value.
4110 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4111
4112Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4113
4114 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4115 properly.
4116 (gdb_expect): Add optional timeout parameter, and add timeout
4117 value to various calls.
4118 (gdb_suppress_tests): Only give one warning message per group.
4119
4120Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4121
4122 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4123 global variables. Handle getting a value for $timeout more
4124 gracefully.
4125
4126Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4127
4128 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4129 initialize.
4130 (default_gdb_init): New procedure; allow gdb_init to be overridden
4131 by a target configuration file.
4132 (gdb_expect): Pass the timeout to remote_expect.
4133
4134 * config/monitor.exp(gdb_load): Fix typo in regexp.
4135
4136Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4137
4138 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4139
4140Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4141
4142 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4143 here. Call gdb_target_exec before rebooting the target, to make
4144 sure the connection to the target is closed.
4145 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4146 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4147 Also detect "Timeout reading from remote" error.
4148
4149 * config/gdbserver.exp: Pass the executable being loaded to
4150 gdb_target_monitor. Don't call gdb_file_cmd here; let
4151 gdb_target_monitor do it.
4152
4153 * gdb.disasm/hppa.exp: Don't use exec_output.
4154
4155Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4156
4157 * gdb.base/list.exp: If we're debugging a non-native target,
4158 try to set the pc register to point to the start of the
4159 program before doing the first list command.
4160
4161 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4162 test_calls after restarting.
4163
4164 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4165 reloading.
4166
4167 * gdb.base/watchpoint.exp: Fix typo.
4168
4169 * gdb.base/setshow.exp: Check for use_gdb_stub.
4170
4171 * gdb.base/break.exp: Fix continue until exit test for the gdb
4172 stub case.
4173 * gdb.base/langs.exp: Ditto.
4174
4175 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4176 gdb_load_offset. If we weren't given a file to load, figure out
4177 what the current file is and use it.
4178
4179 * config/i386-bozo.exp: New file.
4180
4181Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4182
4183 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4184 feature.
4185
4186 * config/proelf.exp: New entry.
4187
4188Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4189
4190 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4191 of regexps.
4192
4193 * gdb.base/watchpoint.exp: Don't run the test_stepping
4194 tests if gdb can't call functions on the target.
4195
4196 * gdb.base/setshow.exp: Don't run the set prompt tests if
4197 the board has gdb_prompt set.
4198
4199Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4200
4201 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4202 * gdb.base/commands.exp: Likewise.
4203 * gdb.base/setshow.exp: Likewise.
4204
4205Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4206
4207 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4208 feature.
4209
4210 * config/i960.exp: New file.
4211
4212Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4213
4214 * gdb.base/funcargs.exp: Check for gdb,short_int target
4215 feature instead of looking for explicit target triplets.
4216
dc96c6c7 4217Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4218
beb998c6 4219 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4220 "p 123DEADBEEF", to check parse_number.
4221 * top.c: change "to enable to enable" to "to enable" in a couple
4222 of help strings.
4223
4224Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4225
4226 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4227 on the mn10300.
beb998c6 4228
c906108c
SS
4229Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4230
4231 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4232 where the test executable is run with explicit args.
4233 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4234
4235Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4236
4237 * gdb.base/run.c: Use FAKEARGV to build test executable that
4238 does not require a command line arg, since most simulators
4239 don't currently support passing such an arg into the simulated
4240 program.
4241 * gdb.base/commands.exp: Change tests to insert the proper
4242 value as the arg to the first recursive factorial call. Change
4243 compilation line to define FAKEARGV at compile time.
4244
4245Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4246
4247 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4248 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4249 function with watchpoint enabled" test.
4250
4251Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4252
4253 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4254 Don't call gdb_test when the command doesn't return to a gdb prompt.
4255
4256 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4257 "Tests restarted" messages.
4258
4259Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4260
4261 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4262
dc96c6c7 4263Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4264
4265 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4266 for INFO SYMBOL; add help tests for OVERLAY commands.
4267 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4268 add tests for OVERLAY commands
4269 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4270 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4271 * gdb.base/sigall.c: add usestubs code frag
4272 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4273
c906108c
SS
4274Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4275
4276 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4277 failures.
4278 (gdb_stop_suppressing_tests): Note that tests have restarted.
4279
4280Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4281
4282 * config/h8300.exp: New file.
4283
4284Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4285
4286 * gdb.base/setshow.exp: Check for the existence of a
4287 feature, not its value.
4288
4289Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4290
4291 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4292
4293 * gdb.base/scope.exp: It's now init0(), not init().
4294
4295 * gdb.base/scope0.c: For now, change init() to be init0().
4296
4297 * config/monitor.exp: Use gdb_serial in preference to serial
4298 or netport.
4299
4300 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4301 and it's not already set.
4302
4303Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4304
4305 * gdb.base/setshow.exp: Only test the run command if the target
4306 isn't using a stub and if it supports argument passing.
4307
4308Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4309
4310 * config/udi.exp(gdb_start): Make sure UDICONF is set
4311 properly before starting gdb.
4312
4313Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4314
4315 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4316 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4317 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4318
4319Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4320
4321 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4322 specialized code to reboot the board, use remote_reboot instead.
4323
4324 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4325
4326 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4327
4328 * config/monitor.exp: Make sure we disconnect from the target.
4329 Also, try a reboot/reload cycle instead of failing if the
4330 load fails.
4331
4332Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4333
4334 * gdb.base/default.exp: Don't set match_max.
4335 * gdb.base/help.exp: Ditto.
4336 * gdb.base/list.exp: Ditto.
4337 * gdb.base/signals.exp: Ditto.
4338
4339 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4340 set, use remote_ld to download the testcase instead of
4341 the GDB loader.
4342
4343Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4344
4345 * config/vr5000.exp: New file.
4346
4347 * config/monitor.exp(gdb_target_monitor): Add pattern for
4348 "Ending remote" to detect errors in connecting.
4349
4350 * gdb.base/setshow.exp: Add .* within auto language test.
4351
4352 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4353 target feature.
4354
4355 * config/monitor.exp(gdb_load): Check for a failure when loading,
4356 and reboot the board if necessary.
4357
4358 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4359 a set of tests. Remove print.* from the patterns being checked.
4360
4361Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4362
4363 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4364 refer to gdb_spawn_id.
4365
4366 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4367 longer used.
4368 * config/sparclet.exp: Ditto.
4369 * config/sparclet-old.exp: Ditto.
4370 * config/slite.exp: Ditto.
4371 * config/sim.exp: Ditto.
4372 * gdb.base/funcargs.exp: Ditto.
4373
4374 * lib/gdb.exp:Remove references to gdb_spawn_id.
4375 (gdb_expect): Move to remote.exp.
4376
4377Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4378
4379 * config/monitor.exp: Detect the "Couldn't establish connection"
4380 message from GDB.
4381
4382Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4383
4384 * gdb.base/bitfields.exp: Use runto instead of explicit
4385 gdb_run_cmd/gdb_expect sequences.
4386
4387 * gdb.base/break.exp(text_next_with_recursion): Add match for
4388 gdb_expect call.
4389
4390 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4391 We also need to handle the "A program is being debugged already"
4392 prompt from gdb. Use gdb_test to set the baud rate.
4393
4394 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4395 to 20000. Really. I mean it.
4396
4397Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4398
4399 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4400 fails. If suppress_flag is set, skip perror message about not
4401 being able to send to GDB.
4402 (send_gdb): If suppress_flag is set, don't try to send commands to
4403 GDB.
4404 (gdb_expect): If suppress_flag is set, always fail immediately.
4405 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4406 (gdb_init): Call gdb_stop_suppressing_tests.
4407 (default_gdb_exit): Ditto.
4408 (default_gdb_start): Ditto.
4409
4410 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4411 gdb_stop_suppressing_tests as appropriate.
4412 * gdb.base/break.exp: Ditto.
4413 * gdb.base/callfuncs.exp: Ditto.
4414 * gdb.base/commands.exp: Ditto.
4415 * gdb.base/exprs.exp: Ditto.
4416 * gdb.base/funcargs.exp: Ditto.
4417 * gdb.base/list.exp: Ditto.
4418 * gdb.base/recurse.exp: Ditto.
4419 * gdb.base/scope.exp: Ditto.
4420 * gdb.base/structs.exp: Ditto.
4421 * gdb.c++/inherit.exp: Ditto.
4422
4423Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4424
4425 * config/vr4300.exp: New file.
4426
99707966
MC
4427 * gdb.*/*.exp: Call gdb_expect instead of expect.
4428
4429 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
4430
4431Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4432
4433 * lib/gdb.exp(gdb_init): New function.
4434
4435 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4436 for each individual variable set.
4437
4438 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4439 name.
4440
4441 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4442
4443 * gdb.base/scope.exp: Use gdb_test.
4444
4445 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4446 aborting; the testsuite driver will do that for us (see
4447 gdb_finish). Also, use gdb_test in a few more places.
4448
4449Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4450
4451 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4452
4453Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4454
4455 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4456 and "add_tests" are not at the same address.
4457
4458Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4459
4460 * gdb.base/ptype.exp: Use gdb_test.
4461
4462Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4463
4464 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4465 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4466 left in. No longer expect them to fail.
4467
4468 * gdb.stabs/*.mt; Deleted, no longer used.
4469 * gdb.stabs/configure.in: Remove references to target makefile
4470 frags.
4471 * gdb.stabs/configure: Rebuilt.
4472
4473 * gdb.disasm/*.mt: Deleted, no longer used.
4474 * gdb.disasm/configure.in: Remove references to target makefile
4475 frags. Use "sh3.s" as the unique filename for this directory.
4476 * gdb.disasm/configure: Rebuilt.
4477
4478 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4479 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4480 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4481
4482Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4483
4484 * config/udi.exp: Use mondfe,name instead of remote_host.
4485
4486Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4487
4488 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4489 a function with a watchpoint enabled on the mn10200.
4490
4491 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4492 before trying to create it!
4493
4494Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4495
4496 * config/vx.exp: Use hostname instead of netport.
4497
4498 * config/vxworks.exp: New file.
4499
4500 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4501
4502 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4503 gdb before assuming everything worked. Send a ^C if a timeout
4504 occurs.
4505
4506 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4507 $gdb_spawn_id directly.
4508 (gdb_run_cmd): Try _start as well as start. Use the target feature
4509 gdb,start_symbol as the symbol to start from when jumping.
4510
4511Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4512
4513 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4514 redundant) test.
4515
4516 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4517 it doesn't lose for 16bit integer systems.
4518
4519Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4520
4521 * gdb.fortran/types.exp: If the target doesn't support "double"
4522 data types, then expect "real" types to only be 4 bytes.
4523
4524 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4525 call tests if the target doesn't support inferior function calls.
4526
4527 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4528 in printf tests.
4529
4530Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4531
4532 * gdb.base/help.exp: Disable "help set", "help show", and
4533 "help support". Simplify regexp for "help stack".
4534
4535 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4536 to 60 seconds. Temporarily set match_max to 15000 around the
4537 "info copying" test.
4538
4539 * gdb.base/nodebug.exp: Don't try to do an inferior function
4540 call if the target doesn't support them.
4541 * gdb.base/printcmds.exp: Likewise.
4542 * gdb.base/setvar.exp: Likewise.
4543 * gdb.base/structs.exp: Likewise.
4544 * gdb.c++/templates.exp: Likewise.
4545 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
4546
4547 * gdb.base/recurse.exp: Enable for the mn10200.
4548
4549 * configure.in: Do configure gdb.stabs directory for *-*-elf
4550 targets.
4551 * configure: Rebuilt.
4552
4553 * gdb.base/break.exp: Check for gdb,noresults before testing
4554 exit status and/or results from the target.
4555 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
4556 * lib/gdb.exp: Remove old (now bogus) initialization of
4557 noinferior, noargs, noresults and nosignals.
4558
4559Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
4560
4561 * config/sh.exp: New file.
4562
4563 * config/slite.exp: Try to connect multiple times to the board
4564 before rebooting. Only send a "monitor run" if need_monitor_run
4565 is set.
4566
4567 * gdb.base/break.exp: Don't do the "stub continue" test if
4568 the target has gdb_stub set.
4569
4570 * gdb.base/callfuncs.exp: Increase the timeout.
4571
4572 * gdb.base/interrupt.exp: Don't even try to compile the testcase
4573 if the target has gdb,noinferiorio set.
4574
4575 * gdb.base/list.exp: Increase match_max to 10000 characters.
4576
4577 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
4578
4579 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
4580 target.
4581
4582 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
4583
4584Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
4585
4586 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
4587 trying to delete the copy of gdb. Catch the file delete so we
4588 don't die if the delete fails; also, the file should be copied to
4589 the host, not to the build.
4590
4591Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
4592
4593 * lib/gdb.exp(gdb_test): Surround the result pattern with
4594 parenthesis in case it contains multiple regexps separated
4595 with |.
4596
4597 * gdb.base/watchpoint.exp: Use gdb_test.
4598 * gdb.base/default.exp: Ditto.
4599
4600Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
4601
99707966 4602 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 4603
c906108c
SS
4604 * gdb.base/scope.exp: Use gdb_test.
4605 * gdb.c++/classes.exp: Ditto.
4606 * gdb.c++/inherit.exp: Ditto.
4607
4608Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
4609
4610 * gdb.base/crossload.exp: Don't use execute_anywhere, use
4611 remote_exec instead.
4612 * gdb.base/corefile.exp: Don't be ridiculous.
4613 * gdb.base/*.c: Add missing stub invocations.
4614
4615Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
4616
4617 * config/slite.exp: Miscellaneous fixes.
4618
4619 * lib/gdb.exp: Fix runto.
4620
4621 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
4622 the target.
4623
4624 * gdb.base/watchpoint.exp: Fix regexp.
4625
4626 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4627 close and wait commands, as the descriptor may now be
4628 invalid. Always call "remote_close host".
4629
4630Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
4631
4632 Major rewrite for testsuite revision.
beb998c6 4633
c906108c
SS
4634 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
4635 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
4636 instead of relying on spawn_id to always contain a valid
4637 spawn id.
4638 (get_compiler_info): New procedure to build the ${binfile}.ci
4639 file, instead of replicating this in N different places.
4640 (gdb_compile): New procedure.
beb998c6 4641
c906108c
SS
4642 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
4643 appropriate arguments) instead of compile. Use gdb_test in a lot
4644 more places. Use send_gdb instead of send. Always run gdb_start
4645 at the start of a testcase, as this is no longer done magically.
4646
4647 config/*-gdb.exp: Rename without the -gdb suffix.
4648
4649 config/mips.exp: Use remote_close instead of exit_remote_shell.
4650 config/monitor.exp: Use target_info instead of looking at
4651 baud, timeout, etc.
4652 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
4653
4654Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4655
4656 * gdb.c++/templates.exp (test_ptype_of_templates),
4657 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
4658 Update expect patterns for destructors and assignment operators
4659 to match corresponding c-typeprint.c changes.
4660 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
4661 to destructor breakpoint test, GDB should be able to set the
4662 destructor breakpoint without specifying arguments.
4663
4664Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
4665
4666 * gdb.threads/pthreads.exp: Change result for failure to compile due
4667 to lack of pthreads runtime support from an error to simply an
4668 unsupported test, per dejagnu standards.
4669
4670Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4671
4672 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
4673 where GDB exits to reduce pattern match time.
4674 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
4675
4676 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
4677
dc96c6c7 4678Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4679
4680 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
4681 * gdb.base/default.exp: ditto.
4682 * gdb.base/nodebug.exp: ditto.
4683 * gdb.base/printcmds.exp: ditto.
4684 * gdb.base/ptype.exp: ditto.
4685 * gdb.base/setvar.exp: ditto.
4686 * gdb.base/structs.exp: ditto.
4687 * gdb.base/setshow.c: Guard against uninitialized values of argc.
4688
4689Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
4690
4691 * configure, */configure: Rebuild with autoconf 2.12.
4692
4693Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
4694
4695 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
4696 use new i*86-pc-linux*-gnu quads.
4697 * gdb.base/corefile.exp: Ditto.
4698 * gdb.base/signals.exp: Ditto.
4699 * gdb.base/sigall.exp: Ditto.
4700 * gdb.base/interrupt.exp: Ditto.
4701
4702 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
4703 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
4704 RedHat 4.0.
beb998c6 4705
c906108c
SS
4706 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
4707 linux. This allows the test case to at least compile on latest
4708 linux, but still not run due to missing the threads runtime library.
4709
4710Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4711
4712 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
4713 directory to search gdb directory. Accept and step over conditional
4714 stack alignment code. Consume $prompt in failure cases.
4715 Reset timeout to $oldtimeout instead of some arbitrary value.
4716 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
4717 timeout problems with infinite stack backtraces.
4718 * gdb.base/ptype.exp (ptype struct link, union tu_link):
4719 Accept function parameters for linkfunc member.
4720
4721Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
4722
4723 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
4724 (CXXFLAGS): Remove, unreferenced.
4725 (B_OPTIONS): Add for -B options and add code to initialize with
4726 previous -B options and also add -B option to pick up cross compiled
4727 runtime.
4728 (TARGET_INCLUDES): Add for -I options and add code to initialize when
4729 doing cross compiles.
4730 (target_alias): Declare global.
4731 (xgcc): Set variable to full path of gcc in build tree. Use findfile
4732 to verify that gcc exists in build tree, and if so set CC to that
4733 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 4734
c906108c
SS
4735Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
4736
4737 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
4738 ptype test for anonymous union. Fixup testcase to match
4739 current gcc debug output.
4740
4741Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
4742
4743 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
4744 force argument to an unsigned long type.
4745
4746Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
4747
4748 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
4749 tests and anonymous union print/ptype tests.
4750 * gdb.base/list.exp (test_forward-search): Increase timeout by
4751 5 minutes for the "search extremely long line" case.
4752 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
4753 completely optional and that the pass/fail messages use the command as
4754 the message if that third arg is a null string.
4755 (gdb_test_exact): Arrange that a null string pattern means match a
4756 null string output rather than any output, which might include random
4757 errors.
4758 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
4759 backtrace test.
4760 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
4761 always failing and failure is now exposed by gdb.exp changes.
4762
4763Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
4764
4765 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
4766 weren't being noted.
4767
4768Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4769
4770 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
4771 * gdb.stabs/weird.exp: Remove v_comb xfails.
4772
dc96c6c7 4773Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4774
4775 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
4776 list.exp scope.exp watchpoint.exp]
4777 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 4778
dc96c6c7 4779Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4780
4781 * config/monitor.exp: Increase download timeout to 1000 seconds.
4782
dc96c6c7 4783Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4784
4785 * config/m32r.exp: Increase timeout to 120 seconds.
4786
4787Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
4788
4789 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
4790 and accept older ordering as obsolescent gcc or gdb.
4791 * gdb.c++/templates.exp: Ditto.
4792 * gdb.c++/virtfunc.exp: Ditto.
4793
4794Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
4795
4796 * gdb.base/coremaker.c: Add code to mmap some data so we
4797 can check that it ends up in the core file.
4798 * gdb.base/corefile.exp: Add test to read mmapped data
4799 from core file.
4800
dc96c6c7 4801Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4802
4803 * config/m32r.exp: New file.
4804
4805Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
4806
4807 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
4808 that cflags can contains -gstabs, and work correctly for other tests.
4809
dc96c6c7 4810Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4811
4812 * gdb.base/setshow.exp: New file, tests show and set.
4813 * gdb.base/setshow.c: New file, tests show and set.
4814 * gdb.base/help.exp: Add test for help set|show annotate.
4815 * gdb.base/default.exp: Add test for set|show annotate.
4816
4817Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
4818
4819 * testsuite/gdb.base/break.exp: Make backtrace from factorial
4820 errors unique.
4821 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
4822 explicitly.
4823
4824Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
4825
4826 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
4827 and width commands. This is done elsewhere.
4828 * (gdb_start): Don't call gdb_start_sim here. That's already
4829 done in gdb_load. This fixes lots of failures in default.exp.
4830
4831Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
4832
4833 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
4834 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
4835 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
4836 in the same we we treat other failures (since it may be an expected
4837 condition), rather than as an error.
4838 * gdb.base/signals.exp (test_handle_all_print): Revert back to
4839 old test format.
4840
4841Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
4842
4843 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
4844 (distclean maintainer-clean realclean): No need to remove files
4845 twice. Nuke the duplicates.
4846 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 4847 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
4848 Remove config.h along with other config files.
4849
4850Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
4851
4852 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
4853 "p func1 ()" and note that rests of tests are skipped.
4854 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
4855 setup_xfails for "print func2::coremaker_local".
4856 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
4857 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
4858 affected by the previous run test.
4859 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
4860 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
4861 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
4862 "pass int powerset tuple" and "pass modeless int powerset tuple".
4863 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
4864 "real write 4" and "real write 8".
4865 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
4866 setup_xfails for "print vs1 after tuple assign 2",
4867 "print \$i after tuple assign 2", and
4868 "print vs2 after tuple assign 2".
4869 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
4870 meaningful error message and return -1 so the caller can
4871 suppress further tests and avoid a cascade of errors.
beb998c6 4872
c906108c
SS
4873Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
4874
4875 * gdb.base/a1-selftest.exp: Tweak tests to account for new
4876 format for printing version.
4877 * gdb.base/default.exp: Ditto.
4878 * gdb.base/interrupt.exp: Fix problem with cascade of
4879 errors if child process dies while calling a function.
beb998c6 4880
c906108c
SS
4881Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
4882
4883 * Makefile.in (VPATH): Add
4884 * Makefile.in (Makefile, config.status): Fix rules so things get
4885 remade when necessary.
4886
4887Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
4888
4889 * Makefile.in (just-check): Add path to sibling expect dir
4890 to environment variable specified by RPATH_ENVVAR.
4891
4892Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
4893
4894 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
4895 (just-check): Add shared library paths for libstdc++, tk,
4896 tcl, bfd, and opcodes to the environment variable specified
4897 in RPATH_ENVVAR.
4898 * configure.in: Add support to recognize --enable-shared flag
4899 and generate correct value for RPATH_ENVVAR.
4900 * configure: Regenerated with autoconf.
4901
4902Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
4903
4904 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
4905 include all osf versions.
4906 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
4907 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
4908 when target is linux. When failing to build pthreads test
4909 executable, give more meaningful message.
4910 * gdb.threads/pthreads.c: Hpux also uses old definition of second
4911 arg for pthread_create.
beb998c6 4912
c906108c
SS
4913Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
4914
4915 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
4916 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
4917 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
4918 and -lpthreads (everybody else).
4919 (test_startup): Fail gracefully if threads are not supported.
4920 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
4921 "p/c array_index("abcdef",2)" when not gcc compiled.
4922 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
4923 "print func2::coremaker_local" when not gcc compiled.
4924 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
4925 "ptype on opaque struct tagname (statically)",
4926 "ptype on opaque struct tagname (dynamically) 1", and
4927 "ptype on opaque struct tagname (dynamically) 2"
4928 for not compiled with gcc.
4929 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
4930 backtrace when compiled with gcc.
beb998c6 4931 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
4932 than always return success.
4933
4934Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
4935
4936 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
4937
4938Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
4939
4940 * gdb.base/structs.exp: Undo last change.
4941
4942Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
4943
4944 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
4945 encapsulate all the steps/nexts done during self test, starting
4946 at main, and makes them less sensitive to optimization issues.
4947 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
4948 signal handler" test.
4949 * gdb.threads/pthreads.exp: Only run this for native configs.
4950 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
4951 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
4952 tests.
4953 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
4954 for "runto test_calls(void)" test.
beb998c6 4955
c906108c
SS
4956Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
4957
4958 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
4959 and don't expect address info in breakpoint confirmations.
4960
4961Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
4962
4963 * gdb.base/list.exp (test_forward_search): Increase timeout
4964 temporarily by 60 seconds for searching extremely long line,
4965 and then reset to old value when done. Increase expect input
4966 buffer to 10000.
4967
4968Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
4969
4970 * gdb.base/list.exp (test_forward_search): Fix to handle very
4971 long source line without overflowing expect's input buffer.
4972
4973Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
4974
4975 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
4976 "buffer_full".
4977
4978 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
4979 "buffer_full".
4980
4981 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
4982 "buffer_full".
4983
4984 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
4985 "buffer_full".
4986
4987Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
4988
4989 * configure.in (configdirs): Add gdb.threads.
4990 * configure: Regenerated with autoconf.
4991 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
4992 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
4993 * gdb.threads/configure: New, generated with autoconf.
beb998c6 4994
c906108c
SS
4995Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
4996
4997 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
4998
4999Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5000
5001 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5002 each signal's status in the output of "handle all print".
5003 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5004 the \r\n sequence that immediately precedes the gdb prompt.
5005 * gdb.base/a1-selftest.exp: Save original timeout and restore
5006 after test.
5007
5008Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5009
5010 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5011 symbol.
5012
5013Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5014
5015 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5016
5017Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5018
5019 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5020 timeout by 60 seconds.
5021
5022Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5023
5024 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5025 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5026 error return.
5027
5028Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5029
5030 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5031 gdb initialization, also report how long dejagnu waited. Restore
5032 old timeout before doing error return. Temporarily increase timeout
5033 by 3 minutes to allow for slow startups over heavy NFS use.
5034
5035Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5036
5037 * lib/gdb.exp: Report timeout value for verbosity level 2.
5038 * config/gdbserver.exp: Ditto.
5039 * config/hppro.exp: Ditto.
5040 * config/mips-gdb.exp: Ditto.
5041 * config/monitor.exp: Ditto.
5042 * config/netware.exp: Ditto.
5043 * config/sim-gdb.exp: Ditto.
5044 * config/slite-gdb.exp: Ditto.
5045 * config/udi-gdb.exp: Ditto.
5046 * config/unix-gdb.exp: Ditto.
5047 * config/vx-gdb.exp: Ditto.
5048 * gdb.base/a1-selftest.exp: Ditto.
5049 * gdb.base/a2-run.exp: Ditto.
5050 * gdb.base/break.exp: Ditto.
5051 * gdb.base/corefile.exp: Ditto.
5052 * gdb.base/list.exp: Ditto.
5053 * gdb.base/recurse.exp: Ditto.
5054 * gdb.base/scope.exp: Ditto.
5055 * gdb.base/signals.exp: Ditto.
5056
5057Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5058
5059 * gdb.threads/Makefile.in (docdir): Removed.
5060
5061Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5062
5063 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5064 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5065 @srcdir@.
beb998c6 5066 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5067 autoconf 2.5 or higher.
5068 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5069
5070Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5071
5072 * configure: Regenerated.
5073 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5074 avoid name clashes with SunOS headers.
5075
5076Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5077
5078 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5079
5080Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5081
5082 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5083 prototype information ends up in the compiler info file.
5084
5085Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5086
5087 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5088 attempting to regenerate it. Eliminate use of a temporary file
5089 and just generate the info file directly. Source it immediately,
5090 for consistency of use.
5091 * gdb.base/corefile.exp: Ditto
5092 * gdb.base/exprs.exp: Ditto.
5093 * gdb.base/funcargs.exp: Ditto.
5094 * gdb.base/langs.exp: Ditto.
5095 * gdb.base/list.exp: Ditto.
5096 * gdb.base/mips_pro.exp: Ditto.
5097 * gdb.base/nodebug.exp: Ditto.
5098 * gdb.base/opaque.exp: Ditto.
5099 * gdb.base/ptype.exp: Ditto.
5100 * gdb.base/scope.exp: Ditto.
5101 * gdb.base/setvar.exp: Ditto.
5102 * gdb.base/signals.exp: Ditto.
5103 * gdb.base/whatis.exp: Ditto.
5104 * gdb.c++/templates.exp: Ditto.
5105 * gdb.c++/virtfunc.exp: Ditto.
5106 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5107 whether or not to add -lstdc++ to the compile command line args.
5108
5109Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5110
5111 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5112 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5113 Increase timeout, a lot of single stepping might be needed if the
5114 target has no hardware watchpoints.
5115
5116Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5117
5118 * gdb.base/break.exp: Ignore compiler warnings when compiling
5119 break.c.
5120 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5121 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5122 from remote-sim.
5123 * gdb.base/exprs.exp: Add h8300 xfails.
5124 * gdb.base/funcargs.exp: Likewise.
5125 * gdb.base/nodebug.exp: Likewise.
5126 * gdb.base/printcmds.exp: Likewise.
5127 * gdb.base/ptype.exp: Likewise.
5128 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5129 h8300 xfails.
beb998c6 5130 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
5131 on the h8300.
5132 * gdb.base/funcargs.c: Explicitly make last constant argument to
5133 call_after_alloca_subr an unsigned long type.
5134 * gdb.base/return.c: Include stdio.h.
5135
5136Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5137
5138 * config/abug.exp: New file for the older Motorola Bug monitor
5139 that runs on the mvme13x series VME boards.
5140 * config/monitor.exp: Use the new config array for target settings
5141 if they exist.
5142
5143Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5144
5145 * sim-gdb.exp: Make the SH simulator allocate less space when
5146 it is targeted.
5147
5148Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5149
5150 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5151 test.
5152
5153Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5154
5155 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5156 "rs6000-*-*" for "list function in include file" when gcc compiled.
5157 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5158 for "p ctable1[120]".
5159 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5160 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5161 Remove setup_xfail for "rs6000-*-*" for
5162 "print 'scope0.c'::filelocal before run".
5163 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5164 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5165 since some compilers don't allow both options to be given
5166 on the same command line. Create object file and move it.
beb998c6 5167
c906108c
SS
5168Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5169
5170 * gdb.base/corefile.exp: Always regenerate the core file, since
5171 we always regenerate the coremaker program. Detect special case
5172 where registers cannot be read from core file.
beb998c6 5173
c906108c
SS
5174Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5175
5176 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5177 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5178 * gdb.c++/templates.exp: Only match on basename of file since
5179 some formats like xcoff don't encode directory information.
5180 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5181 and rs6000 AIX xcoff targets.
5182 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5183 * configure: Regenerate.
5184 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5185 here, rather than in distclean.
beb998c6 5186
c906108c
SS
5187Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5188
5189 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5190 defined, and use it to compile the test case with -O2. The
5191 native compilation still uses no optimization.
5192 * gdb.base/mips_pro.c: Remove inline assembly code since
5193 it is compiled PIC by default, which results in assembler
5194 warnings that make the testsuite think the compilation
5195 was unsuccessful.
5196
5197Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5198
5199 * gdb.c++/misc.exp: Add note to message for
5200 "print s.a for foo struct" that this is a known gcc 2.7.2
5201 and earlier bug.
5202
5203Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5204
5205 * gdb.base/break.exp: Fix pattern for matching "Delete all
5206 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5207 setup_xfail for deleting all breakpoints test. Fix various
5208 timeout messages to include "(timeout)".
5209 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5210 for "p t_float_values2(3.14159,float_val2)".
5211 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5212 for "continue to call2g" when gcc compiled.
5213 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5214 "up to foo in langs.exp", "show language at foo in langs.exp",
5215 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5216 and "show language at fsub in langs.exp".
5217 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5218 "list line 1 in include file", "list message for lines past EOF",
5219 "list function in include file", "list list0.h:foo", and
5220 "list filename:function; nonexistant function".
5221 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5222 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5223 and "ptype t_char_array" to be for native cc only.
beb998c6 5224
c906108c
SS
5225Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5226
beb998c6 5227 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5228 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5229 "print func2::coremaker_local", and "backtrace in corefile.exp".
5230
5231Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5232
5233 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5234 "bt in signals.exp". This problem only appears when running
5235 the testsuite, and then only intermittently.
5236
5237Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5238
5239 * gdb.base/return.exp (return_tests): Differentiate between
5240 two tests of continuing.
5241
5242Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5243
5244 * */Makefile.in (maintainer-clean): Remove config.log.
5245 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5246 * gdb.c++/Makefile.in (PROGS): Add inherit.
5247 (clean): Remove *.ci.
5248
5249Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5250
5251 * gdb.c++/misc.cc: Add test code from Mike Stump.
5252 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5253
5254Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5255
5256 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5257 to "alpha-*-osf2*" and add comment.
5258 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5259 setup_xfail for "step over execarg initialization" and
5260 "step over corearg initialization".
5261 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5262 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5263 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5264 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5265 "print func2::coremaker_local", and "backtrace in corefile.exp".
5266 * gdb.base/signals.exp: Build and source signals.ci.
5267 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5268 to be for gcc only.
5269 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5270
c906108c
SS
5271Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5272
5273 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5274 Feb 3 procfs.c change.
5275
5276Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5277
5278 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5279
5280Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5281
5282 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5283 from dejagnu's apparent default of 10 seconds, which gives random
5284 results when running the tests over NFS on moderately loaded systems.
5285 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5286
5287Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5288
5289 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5290 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5291 result reports.
5292
5293Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5294
5295 * configure.in (CY_AC_PATH_TCLH): Remove.
5296 * configure: Regenerate.
5297
5298Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5299
5300 * gdb.c++/Makefile.in (clean): Add missing '{'.
5301
5302Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5303
5304 * lib/gdb.exp: Provide a default value for noinferior.
5305
5306 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5307 Load libgloss.exp.
5308
5309Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5310
5311 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5312 the executable, not the .o to run the tests from.
5313
5314Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5315
5316 * gdb.base/break.exp: Don't test for program exit or exit status
5317 if $noresults if nonzero.
5318 * gdb.base/langs.exp: Likewise.
5319 * gdb.base/watchpoint.exp: Likewise.
5320
5321 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5322 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5323 trying to compile the testcase.
5324
5325Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5326
5327 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5328 * gdb.base/signals.exp (continue to handler): Likewise.
5329
5330Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5331
5332 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5333
5334 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5335
5336Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5337
5338 * gdb.base/corefile.exp: Recognize "not found" as failure
5339 when trying to determine if a core file was generated.
5340 If no core file was generate the first time, try again without
5341 the ulimit -c to work around braindamaged shells.
5342
5343Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5344
5345 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5346 [] tests with "test" and enclose string in quotes.
5347 * gdb.stabs/configure: Rebuild
beb998c6 5348
c906108c
SS
5349Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5350
5351 Changes in sync with expect:
5352 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5353 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5354 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5355 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5356 argument to AC_REQUIRE.
5357 * configure: Regenerated.
5358
5359Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5360
5361 * gdb.base/corefile.exp: When generating a core, discard any
5362 error messages about ulimit not found and the "core dumped"
5363 message from the shell that runs the coredumper.
5364
5365Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5366
5367 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5368
5369 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5370 which sed script to run. Expect failure for v_comb test
5371 on PA targets too.
beb998c6 5372
c906108c
SS
5373Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5374
5375 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5376 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5377
5378Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5379
5380 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5381 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5382 "sparc-sun-solaris*" xfails for "p v_comb".
5383 * lib/gdb.exp (default_gdb_start): Fix typo.
5384 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5385 messages to not include the full program name that caused
5386 the core dump since some systems (such as solaris) apparently
5387 truncate this path to about 80 characters.
5388 When generating a core file first try increasing the core file
5389 size limit to unlimited since some systems may default it to
5390 zero, and it is harmless to try it. Move the test for failing
5391 to generate a core file to where it will actually get executed.
5392 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5393 new gdb result from g++ debug info improvements and make old
5394 pattern obsolescent. Also account for size_t differences
5395 (may be int or long).
5396 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5397 initialization before function call is placed in the delay slot
5398 and thus appears to be skipped over by commands such as "next".
5399
5400Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5401
5402 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5403
5404Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5405
5406 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5407 input source file; fix code to compile test to deal with this
5408 convention.
5409 * gdb.c++/*.exp: Likewise.
5410
5411Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5412
5413 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5414 "bt in signals.exp".
5415
5416Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5417
5418 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5419 "step over execarg initialization" and
5420 "step over corearg initialization".
5421
5422Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5423
5424 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5425 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5426
5427Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5428
5429 From Rob Savoye (rob@poseidon.cygnus.com)
5430 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5431 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5432 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5433 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5434 configure.in}: Major reworking for autoconfig.
5435 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5436 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5437 New files.
5438 * config/unix-gdb.exp: Make GDB global.
5439 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5440 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5441 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5442 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5443 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5444 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5445 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5446 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5447 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5448 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5449 pr-8136.exp, result.exp, string.exp, tuples.exp},
5450 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5451 to returns as necessary, arrange for test to compile own testcase
5452 executable.
5453 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 5454
c906108c
SS
5455Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5456
5457 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5458 clear_xfail at end of test which might not call either pass or fail.
5459 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5460 "backtrace through signal handler".
5461
5462Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5463
5464 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5465 continuing from a job control stop signal.
5466 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5467
5468Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5469
5470 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5471 * gdb.base/corefile.exp: Likewise.
5472 * gdb.base/funcargs.exp: Likewise.
5473
5474Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5475
5476 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5477 * config/monitor.exp: Add support for setting baud rate.
5478
5479Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5480
5481 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5482 i*86-*-linux* xfails for "backtrace through signal handler".
5483 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5484 "print func2::coremaker_local".
5485 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5486 alpha-dec-osf2* xfail for
5487 "delete all breakpoints when none".
5488
5489Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5490
5491 * gdb.base/break.exp: Change test that deletes all breakpoints
5492 when no user breakpoints are installed. A post 4.15 change
5493 causes gdb to no longer prompt in this case.
5494
5495Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5496
5497 * gdb.base/return.exp (return_tests): Change xfail for test
5498 "correct value returned double test" to stop xfailing at
5499 Solaris 2.5. Apparently the bug has been fixed.
5500
5501Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5502
5503 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5504 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5505
5506Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5507
5508 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5509 * gdb.disasm/hppa.s: Corresponding changes.
5510
5511Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5512
5513 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5514 makefile fragment.
5515 * config/mt-hpux: Deleted.
5516
5517Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5518
beb998c6 5519 * Many files: When warning about suppressed tests due to a
c906108c
SS
5520 nonexistant test binary, avoid incrementing the warning count.
5521
5522Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5523
5524 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 5525
c906108c
SS
5526Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5527
5528 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5529 "sparc-*-solaris2*".
5530
5531Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5532
5533 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5534 Add global and local variables and initialize them.
5535 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5536 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5537 extracts the file name and terminating signal from the core file.
5538 * TODO: Remove note about tests for correct mapping of corefile.
5539 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
5540 from optimizing it away.
5541 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
5542 handles common blocks.
5543
5544Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
5545
5546 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
5547 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
5548
5549Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
5550
5551 * Makefile.in (maintainer-clean): New target, synonym for
5552 realclean.
5553 * gdb.base/Makefile.in (maintainer-clean): Likewise.
5554 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
5555 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
5556 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
5557 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
5558 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
5559
5560Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
5561
5562 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
5563 xfails when not gcc compiled for "print foo::funclocal".
5564 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
5565 "print foo::funclocal at foo",
5566 "print 'scope1.c'::foo::funclocal at foo",
5567 "print foo::funclocal_bss at foo",
5568 "print 'scope1.c'::foo::funclocal_bss at foo",
5569 "print foo::funclocal_ro at foo",
5570 "print 'scope1.c'::foo::funclocal_ro at foo",
5571 "print bar::funclocal at foo" and
5572 "print 'scope1.c'::bar::funclocal at foo".
5573 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
5574 gcc compiled for "print foo::funclocal at bar".
5575 Expand all messages to ensure that they identify that
5576 the test is at bar().
5577 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
5578 gcc compiled for:
5579 "ptype on opaque struct pointer (statically)",
5580 "ptype on opaque struct tagname (statically)",
5581 "ptype on opaque struct pointer (dynamically) 1",
5582 "ptype on opaque struct tagname (dynamically) 1",
5583 "ptype on opaque struct pointer (dynamically) 2" and
5584 "ptype on opaque struct tagname (dynamically) 2
5585 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
5586 gcc compiled for:
5587 "p datalocal"
5588 "whatis datalocal",
5589 "ptype datalocal",
5590 "p bsslocal",
5591 "whatis bsslocal", and
5592 "ptype bsslocal".
5593 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
5594 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
5595 when not gcc compiled.
5596 * gdb.base/funcargs.exp (float_and_integral_args): Add
5597 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
5598 compiled.
5599 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
5600 "backtrace from call6a" when not gcc compiled.
5601 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
5602 "backtrace from call7a" when not gcc compiled.
5603 * gdb.base/callfuncs.exp (do_function_calls):
5604 Add "hppa*-*-hpux*" xfail when not gcc compiled for
5605 "p t_char_array_values(char_array_val2,char_array_val1)",
5606 "p t_char_array_values(char_array_val1,char_array_val2)",
5607 "p t_char_array_values("carray 1","carray 2")",
5608 "p t_char_array_values("carray 1",char_array_val2)",
5609 "p t_char_array_values(char_array_val1,"carray 2")",
5610 "p sum_args(1,{2})",
5611 "p sum_args(2,{2,3})",
5612 "p sum_args(3,{2,3,4})",
5613 "p sum_args(4,{2,3,4,5})"
5614 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
5615 "backtrace in corefile.exp" when not gcc compiled.
5616
5617Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5618
5619 * gdb.base/signals.exp: Rewrite `handle all print' test as
5620 a procedure. Accept blanks or TABs as whitespace, increase
5621 timeout and expect input buffer size for the large output
5622 from the command. Remove "i*86-*-bsdi2.0" xfail.
5623
5624Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5625
5626 * gdb.base/setvar.exp: Add new testcases for truncation when
5627 assigning invalid values to bitfields.
5628
5629Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
5630
beb998c6 5631 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
5632 mips-sgi-irix* xfail for
5633 "call inferior func with struct - returns char *"
5634 and fix test so that an optional (unsigned char *) cast is
5635 accepted in the result.
5636
5637Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
5638
5639 * gdb.base/funcargs.exp (float_and_integral_args): Remove
5640 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5641 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
5642 * gdb.base/signals.exp: Remove duplicate "handle all print" test
5643 that accidentally got checked in.
5644
5645Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
5646
beb998c6 5647 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
5648 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
5649 compiled test.
5650 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
5651 Add mips-sgi-irix5* xfail for not gcc compiled.
5652 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
5653 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
5654 "p top", "whatis top", "p middle", and "whatis middle".
5655 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
5656 "whatis signed char" for not gcc compiled.
5657 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
5658 "set variable signed char=-1 (-1)" and
5659 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
5660 * gdb.base/funcargs.exp (float_and_integral_args):
5661 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
5662 Add mips-sgi-irix* xfail when not gcc compiled for
5663 "continue to call2b".
5664 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
5665 "continue to call2g".
5666 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
5667 "backtrace from call6a"
5668 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
5669 "backtrace from call7k".
5670 Add mips-sgi-irix5* xfail when not gcc compiled for
5671 "backtrace from call7a".
5672 (localvars_after_alloca): Fix gdb_test cmds for
5673 "print * after runto ...".
5674 Remove rs6000-*-* xfails for
5675 "print i after runto localvars_after_alloca" and
5676 "print l after runto localvars_after_alloca"
5677 for all compilers.
5678 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
5679 when not compiled with gcc, for:
5680 "print signed char == (minus)",
5681 "print signed char != (minus)",
5682 "print signed char < (minus)",
5683 "print signed char > (minus)".
5684 * gdb.base/callfuncs.exp (do_function_calls):
5685 Add mips-sgi-irix* xfail, when compiled with native compiler, for
5686 "call inferior func with struct - returns char *".
beb998c6 5687 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
5688 "correct value returned double test" to include Solaris 2.4.
5689 * gdb.base/funcargs.exp (float_and_integral_args):
5690 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 5691
c906108c
SS
5692Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5693
5694 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
5695 enumeration bitfields if compiling with GNU C.
5696 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
5697 to empty' prompt.
5698
5699Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
5700
5701 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
5702 test for PRO targets.
5703
5704 * gdb.base/funcargs.exp: Avoid ever setting more than 8
5705 breakpoints in the inferior at any given time by making
5706 two groups of breakpoints for call2*, call6* and call7*
5707 tests.
5708
5709Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5710
5711 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
5712 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
5713 from optimizing it away.
5714 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
5715 "call inferior func with struct".
5716
5717Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
5718
5719 * configure.in: Only configure gdb.chill for particular targets.
5720
5721Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
5722
5723 * gdb.base/Makefile.in: Add action to .c.o transformation
5724 rule that generates a .ci file for each .o file and remove
5725 explicit .c.o rules except for callfuncs.o.
5726 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
5727 generates a .ci file for each .o file and remove explicit
5728 .cc.o rules.
5729 (clean): Remove *.tmp *.ci files.
5730 (EXECUTABLES): Remove templ-info.exp.
5731 * gdb.base/compiler.c: New file.
5732 * gdb.c++/compiler.cc: New file
5733 * gdb.base/scope.exp: Source gdb.base/scope.ci.
5734 Change rs6000-*-* xfail for
5735 "print 'scope0.c'::filelocal_ro" and
5736 "print 'scope1.c'::filelocal" and
5737 "print 'scope1.c'::filelocal_bss" and
5738 "print 'scope1.c'::filelocal_ro" and
5739 "print 'scope1.c'::foo::funclocal" and
5740 "print 'scope1.c'::foo::funclocal_ro" and
5741 "print 'scope1.c'::bar::funclocal" and
5742 "print 'scope0.c'::filelocal_ro" and
5743 "print 'scope1.c'::filelocal at foo" and
5744 "print 'scope1.c'::filelocal_bss at foo" and
5745 "print 'scope1.c'::filelocal_ro at foo" and
5746 "print 'scope1.c'::foo::funclocal at foo" and
5747 "print 'scope1.c'::foo::funclocal_bss at foo" and
5748 "print 'scope1.c'::foo::funclocal_ro at foo" and
5749 "print 'scope1.c'::bar::funclocal at foo" and
5750 "print 'scope0.c'::filelocal_ro" and
5751 "print 'scope1.c'::filelocal" and
5752 "print 'scope1.c'::filelocal_bss" and
5753 "print 'scope1.c'::filelocal_ro" and
5754 "print 'scope1.c'::foo::funclocal" and
5755 "print 'scope1.c'::foo::funclocal_bss" and
5756 "print 'scope1.c'::foo::funclocal_ro" and
5757 "print 'scope1.c'::bar::funclocal" and
5758 "print 'scope1.c'::bar::funclocal_bss"
5759 to only be xfail'd when not compiled with gcc.
beb998c6 5760 Add rs6000-*-* xfail for
c906108c
SS
5761 "print 'scope0.c'::filelocal_bss before run"
5762 when compiled with gcc.
5763 (test_at_main): Add rs6000-*-* xfail for
5764 "print filelocal_ro in test_at_main"
5765 when compiled with gcc.
5766 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 5767 Add rs6000-*-aix* xfail for
c906108c
SS
5768 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
5769 "ptype t_char_array", not compiled with gcc.
5770 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
5771 xfail for "list foo (in include file)" when gcc compiled.
5772 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
5773 (integral_args): Add rs6000-*-* xfail for
5774 "run to call0a" if not compiled with gcc.
5775 (unsigned_integral_args): Add rs6000-*-* xfail for
5776 "run to call1a" if not compiled with gcc.
5777 (float_and_integral_args): Add rs6000-*-* xfail for
5778 "run to call2a" if not compiled with gcc and for
5779 "continue to call2b" for any compiler.
5780 Add rs6000-*-* xfail to
5781 "print f1 after run to call2a" for gcc compiled.
5782 (discard_and_shuffle): Add rs6000-*-* xfail for
5783 "run to call6a".
5784 (shuffle_round_robin): Add rs6000-*-* xfail for
5785 "backtrace from call7a" if not compiled with gcc.
5786 Add rs6000-*-* xfail for
5787 "backtrace from call7b" if compiled with gcc.
5788 (call_after_alloca): Add rs6000-*-* xfail for
5789 "print c in call_after_alloca" and
5790 "print s in call_after_alloca" and
5791 "backtrace from call_after_alloca_subr"
5792 if not compiled with gcc.
5793 (localvars_in_indirect_call): Add rs6000-*-* xfail for
5794 "print c in localvars_in_indirect_call" and
5795 "print c in localvars_in_indirect_call" and
5796 "backtrace in indirectly called function" and
5797 "stepping into indirectly called function"
5798 if not compiled with gcc.
5799 (localvars_after_alloca): Add rs6000-*-* xfail for
5800 "print c after runto localvars_after_alloca" and
5801 "print s after runto localvars_after_alloca" and
5802 "print i after runto localvars_after_alloca" and
5803 "print l after runto localvars_after_alloca"
5804 for all compilers.
5805 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
5806 than whatis-info.exp.
5807 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
5808 than opaque-info.exp.
5809 Setup rs6000-*-* xfail for
beb998c6 5810 "ptype on opaque struct pointer (statically)" and
c906108c
SS
5811 "ptype on opaque struct pointer (dynamically)" when
5812 not compiled with gcc.
5813 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
5814 rather than callf-info.exp.
5815 (do_function_calls): Add clear_xfail for rs6000-*-* for
5816 "p t_float_values2(3.14159,float_val2)". Seems to work
5817 fine there, both with xlc and gcc. Need to find out what
5818 it is doing right and fix other platforms.
5819 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
5820 "call inferior func with struct - returns int",
5821 "call inferior func with struct - returns long",
5822 "call inferior func with struct - returns float",
5823 "call inferior func with struct - returns double",
5824 "call inferior func with struct - returns char *",
5825 but only if not gcc compiled (presumes xlc compiled).
5826 Change rs6000-*-* xfails for
5827 "call inferior func with struct - returns char" and
5828 " call inferior func with struct - returns short" to only
5829 xfail if not using gcc.
5830 (clean mostlyclean): Remove *.ci and *.tmp files.
5831 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
5832 than templ-info.exp.
5833 * gdb.base/langs.exp: Source gdb.base/langs.ci.
5834 Add rs6000-*-* xfail for "up to foo in langs.exp"
5835 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
5836 when not gcc compiled.
beb998c6 5837
c906108c
SS
5838Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5839
5840 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
5841 * gdb.base/corefile.exp: Likewise.
5842 * gdb.base/list.exp: Likewise.
5843 * gdb.base/scope.exp: Likewise.
5844 * gdb.base/siganls.exp: Likewise.
5845
5846 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
5847 compiler output.
5848 * gdb.base/whatis.exp: Likewise.
5849
5850Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
5851
5852 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
5853 failure (opcode table has been fixed to match reality).
5854
5855Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
5856
5857 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
5858 "call inferior func with struct - returns char",
5859 "call inferior func with struct - returns short"
5860
5861 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
5862 "print 'scope0.c'::filelocal at main",
5863 "print 'scope0.c'::filelocal_bss in test_at_main",
5864 "print 'scope0.c'::filelocal at foo",
5865 "print 'scope0.c'::filelocal_bss in test_at_foo",
5866 "print 'scope0.c'::filelocal at bar",
5867 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 5868
c906108c
SS
5869 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
5870 in source file 1". This bug seems to have been fixed with both
5871 gcc and native cc (was native assembler bug?).
5872
5873Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
5874
5875 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
5876 "backtrace through signal handler" to "i*86-*-sysv4*".
5877 * gdb.base/signals.exp: Add xfail for "'next' behaved as
5878 continue" case. Add "known SVR4 bug" to fail message.
5879 Add "i*86-*-bsdi2.0" xfail for "handle all print".
5880 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
5881 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
5882 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
5883 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
5884 "up to foo in langs.exp", "show language at foo in
5885 langs.exp", "up to cppsub_ in langs.exp", "show
5886 language at cppsub_ in langs.exp", "up to fsub in
5887 langs.exp", and "show language at fsub in langs.exp".
5888 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
5889 "bactrace in corefile.exp".
5890 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
5891 "call inferior function with struct - returns float" and
5892 "call inferior function with struct - returns double".
beb998c6 5893
c906108c
SS
5894Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
5895
5896 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
5897 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
5898 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
5899 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
5900
5901Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
5902
5903 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
5904 (or overriden) "CHILL" macro rather then bare "gcc".
5905 Also look for ../../gcc/xgcc since that is what we will
5906 actually need, not "Makefile". Remove following assignment
5907 of CHILL to CHILL_FOR_TARGET because that results in
5908 recursive definition.
5909
5910Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
5911
5912 * gdb.base/corefile.exp: Change xfail for backtrace in
5913 corefile.exp from linuxaout to all linux.
5914 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
5915 cases where we miss the breakpoint at the signal handler
5916 for some reason. Setup xfail for linuxoldld/linuxaout and
5917 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
5918 hitting SIGURG breakpoint.
5919 * gdb.base/signals.exp: Setup xfail for "next" acting like
5920 continue to add linuxoldld. Setup xfail for all linux for
5921 "next to handler in signals_tests_1", "backtrace in
5922 signals_tests_1", "continue to func1", "pass SIGUSR1",
5923 and continue to handler".
5924
5925Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
5926
5927 * Update all FSF addresses except those in COPYING* files.
5928
5929Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
5930
5931 * gdb.base/a2-run.exp: Change messages to be more explicit about
5932 the status of args, and quote binfile in results.
5933
5934Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
5935
5936 * gdb.base/callfuncs.exp: Add tests for passing structs to
5937 inferior functions and return various types.
5938 * gdb.base/callfuncs.c: Add functions to receive a struct
5939 and return a member of the struct, in various types.
5940
5941Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5942
5943 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
5944
5945Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
5946
5947 * config/vxworks29k.exp: New file, sources vxworks.exp.
5948
5949Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5950
5951 * config/gdbremote.exp: New file. Testing framework using
5952 gdbserver.
5953
5954Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
5955
5956 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
5957 "call function when asleep" and "send end of file".
5958 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
5959 for "backtrace in corefile.exp".
5960 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
5961 for "backtrace through signal handler".
5962 * gdb.base/corefile.exp: Make sure we actually generate a core file
5963 before trying the core tests. Some systems allow the user to suppress
5964 generation of core files and default to that (linux for example).
5965 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
5966 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
5967
5968Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5969
5970 * gdb.threads: New directory with some crude multi-threaded
5971 gdb tests (step.exp and step2.exp).
5972 * config/mt-lynx (STEP_EXECUTABLE): Define.
5973 (THREADFLAGS): Define.
5974
5975Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
5976
5977 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
5978
5979 * gdb.base/signals.exp: Disable whole file for lynx until
5980 further notice.
5981
5982 * gdb.base/signals.exp: xfail test where "next" acts like
5983 "continue" for lynx.
5984
5985 * gdb.base/interrupt.exp: xfail test for calling function while
5986 inferior is asleep for lynx.
5987
5988 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
5989 than one cr-lf after each command.
5990
5991Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5992
5993 * configure.in: Reinstate setting of stabsdirs variable, fix
5994 typo in setting up configdirs for native builds.
5995
5996 * gdb.base/return.exp: Fix typo in return double test.
5997 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
5998 compiler from optimizing them away.
5999
6000Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6001
6002 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6003 sequences to be echo'd by gdb when using gdb_test.
6004 * gdb.chill/chexp.exp: Likewise.
6005 * gdb.fortran/exprs.exp: Likewise
6006
6007Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6008
6009 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6010 after the inferior gdb has started.
6011
6012 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6013 after each command.
6014 * gdb.base/funcargs.exp: Likewise.
6015 * gdb.base/gdbvars.exp: Likewise.
6016 * gdb.base/interrupt.exp: Likewise.
6017 * gdb.base/list.exp: Likewise.
6018 * gdb.base/watchpoint.exp: Likewise.
6019 * gdb.c++/demangle.exp: Likewise.
6020 * gdb.c++/inherit.exp: Likewise.
6021 * gdb.chill/chexp.exp: Likewise.
6022 * gdb.fortran/exprs.exp: Likewise.
6023
6024 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6025 test if we can't handle IO to/from the inferior.
6026
6027 * gdb.c++/misc.exp: Always check for a program already being
6028 started after sending a "run" command to gdb.
6029
6030 * gdb.base/twice.exp: Start with a fresh gdb.
6031
6032 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6033 only depend on gdb's expression code, not the chill runtime.
6034
6035 * gdb.base/return.c: Put return values into variables so we
6036 can have gdb print them rather than depending on the program
6037 to print them.
6038 * gdb.base/return.exp: Corresponding changes.
6039
6040 * lib/gdb.exp: Provide default value for noinferiorio.
6041 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6042 the inferior.
6043
6044 * gdb.base/break.exp: Always check for a program already being
6045 started after sending a "run" command to gdb.
6046 (text_next_with_recursion): Don't check the output from the
6047 program's printf statement. Instead just make sure the program
6048 exited.
6049
6050 * gdb.base/commands.exp: Protect tests which need arguments with
6051 $noargs conditionals.
6052
6053Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6054
6055 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6056 of structure member arrays to match gdb/valops.c:value_addr change.
6057
6058Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6059
6060 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6061 cases.
6062
6063Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6064
6065 * configure.in (configdirs): Remove gdb.chill from default list
6066 of subdirs and then add it back in only if doing a native build.
6067 The current chill compiler does not yet work in any cross build.
6068 * Revert all signal changes from Jul 6.
6069 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6070 for sh-hms targets, allowing these tests to link, with no other
6071 changes. Testing is suppressed by setting "nosignals" in site.exp.
6072
6073Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6074
6075 * configure.in (signaldirs): Define and add to configdirs for all
6076 targets except some specific ones that are known to not support signals.
6077 Also clean up formatting.
6078 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6079 (signals, sigall): Remove rules to build.
6080 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6081 Moved to new gdb.signals directory.
6082 * gdb.signals: New test directory.
6083 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6084 signals.c signals.exp}: New or moved files.
6085
6086Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6087
6088 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6089
6090Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6091
6092 * gdb.base/return.exp: Xfail `return double' test failure
6093 on at least Solaris 2.3 and handle future/past versions on
6094 a case by case basis as appropriate. Also update message
6095 to include i*86 failures.
6096
6097Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6098
6099 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6100
6101 * lib/gdb.exp: Fix comment which erroneously identified
6102 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6103 gdb_file_cmd not gdb_load).
6104 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6105
6106 * gdb.base/setvar.exp: Make test names consistent between pass and
6107 fail cases. Use gdb_test more.
6108
6109Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6110
6111 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6112
6113Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6114
6115 * gdb.base/help.exp: Fix expected help string for `show commands'.
6116
6117Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6118
6119 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6120
6121 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6122 of a text section.
6123
6124Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6125
6126 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6127 that loop eventually terminates. Fix Connection refused logic so
6128 that testsuite will expire nicely.
6129
6130Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6131
6132 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6133 config/rom68k.exp: New tcl glue for the appropriate monitors.
6134 These all just end up calling monitor.exp.
6135 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6136 refused' by retrying. Cleanup some timeout issues.
6137 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6138 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6139 callers don't have to set/restore global timeout variable.
6140
6141 * The following set of changes centralizes management of the global
6142 timeout variable. This way, it can be set in one target dependent
6143 place instead of dozens of places scattered throughout the test suite.
6144 If you need to lengthen a timeout, then you should either set timeout
6145 in one of the config/{target}.exp files, or multiply it by a factor.
6146 Setting it to an absolute value is always going to lose for some
6147 targets.
6148 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6149 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6150 * gdb.base/funcargs.exp: Don't set timeout.
6151 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6152 * gdb.base/printcmds.exp (test_print_string_constants
6153 test_print_array_constants): Don't set timeout.
6154 * gdb.base/ptype.exp: Don't set timeout.
6155 * gdb.base/recurse.exp: Don't set timeout.
6156 * gdb.base/return.exp: Don't set timeout.
6157 * gdb.base/watchpoint.exp: Don't set timeout.
6158 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6159 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6160
6161Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6162
6163 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6164
6165Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6166
6167 * lib/gdb.exp: Disable chill tests for irix5.
6168
6169Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6170
6171 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6172 each test pass or fail.
6173
6174Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6175
6176 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6177 xlc not gcc.
6178
6179Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6180
6181 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6182
6183Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6184
6185 * config/est.exp: Fix copyright and comments. Remove dead code.
6186 Use targetname, serialport and baud variables instead of fixed
6187 constants.
6188 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6189 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6190
6191Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6192
6193 * gdb.base/watchpoint.exp: Don't run
6194 test_watchpoint_triggered_in_syscall for sunos.
6195
6196Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6197
6198 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6199 they don't seem to exist. Do include stdio.h.
6200
6201Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6202
6203 * gdb.base/a1-selftest.exp: Add alpha xfail.
6204
6205Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6206
6207 * gdb.base/watchpoint.c (main): Prompt before calling read().
6208 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6209 Revise accordingly. Remove cruft about sending "123" several
6210 times, until it gets noticed. Clean up the "print buf[0]" stuff
6211 so that it passes or fails, and waits for prompts in the usual way.
6212
6213Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6214
6215 * gdb.base/recurse.exp: Fix comment.
6216
6217 * TODO: Remove item about printing variables in nodebug.exp. Add
6218 item about enabling tests which are only run on some targets.
6219
6220 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6221 fail, make test names unique, use new gdb_test convention
6222 regarding pattern, use gdb_test more, etc.).
6223
6224 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6225 fail, make test names unique, etc.).
6226
6227Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6228
6229 * gdb.base/nodebug.c: Change return type of top and middle to
6230 short.
6231 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6232 are fixed by the recent mdebugread.c changes. Allow `short ()'
6233 as type for top and middle.
6234
6235Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6236
6237 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6238 nearly as I can tell, the whole thing was an accident in Stu's
6239 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6240 to replace a send/expect pair with gdb_test, but ended up only
6241 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6242 of 30 Mar 1995 took care of it, but left this vestigial comment
6243 which I am now nuking.
6244
6245Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6246
6247 * gdb.base/break.exp: Look for different line number for
6248 breakpoint at main depending on usestubs.
6249
6250Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6251
6252 * gdb.base/list.exp: Adjust some alternate expect patterns to
6253 match recent list0.c change. Add alternate expect pattern for
6254 output from `list default lines around main' for optimizing
6255 compilers.
6256
6257Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6258
6259 * lib/gdb.exp: If nosignals is not set, set it to 0.
6260
6261Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6262
6263 * config/slite-gdb.exp: Responds to load symbol table prompt.
6264 * gdb.base/break.exp: Adjust line number, fix rerun.
6265 * gdb.base/langs0.c: Add #ifdef usestubs.
6266
6267Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6268
6269 * gdb.base/list.exp: Adjust line contents after adding new lines in
6270 list0.c. Also fix a syntax error.
6271
6272 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6273 * gdb.base/break.exp: ditto.
6274 * gdb.base/list.exp: ditto.
6275 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6276 * gdb.base/run.c: ditto.
6277 * gdb.base/list0.c: ditto.
6278 * gdb.base/funcargs.c: ditto.
6279
6280Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6281
6282 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6283 $targetname, $serialport and $baud instead of hardwired variables.
6284 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6285 target doesn't support signals.
6286
6287Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6288
6289 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6290
6291Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6292
6293 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6294 Don't rely on the value of an auto variable before it has been
6295 initialized. Use gdb_test more.
6296
6297Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6298
6299 * lib/gdb.exp (default_gdb_version): A version number must start
6300 with a digit, but other than that contains all characters up to
6301 the first whitespace character.
6302
6303Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6304
6305 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6306
6307Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6308
6309 * gdb.c++/*.exp: Warn if executable does not exist. The original
6310 reason for skipping the warning was that configure.in sometimes
6311 intentionally skipped building the executables but the tcl code
6312 had no way of knowing. That (a) was always bogus with respect to
6313 error handling, (b) is no longer true (right now there is no way
6314 to skip C++ tests).
6315
6316 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6317
6318Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6319
6320 * gdb.base/list.exp: Add expect patterns for output from
6321 SunPRO compiled executables.
6322 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6323 types.
6324
6325Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6326
6327 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6328 number (we are already testing that the correct source line text
6329 gets printed).
6330
6331 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6332 that is what is intended, but something needed to be done to get
6333 sunos4 native working again.
6334
6335 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6336
6337 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6338 apparently went with a (very) old xfail.
6339
6340Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6341
6342 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6343 runto_main is a proc in gdb.exp that will do 'step' for target use
6344 stubs.
6345 * gdb.base/exprs.exp: ditto.
6346 * gdb.base/interrupt.exp: ditto.
6347 * gdb.base/opaque.exp: ditto.
6348 * gdb.base/printcmds.exp: ditto.
6349 * gdb.base/ptype.exp: ditto.
6350 * gdb.base/scope.exp: ditto.
6351 * gdb.base/setvar.exp: ditto.
6352 * gdb.base/signals.exp: ditto.
6353 * gdb.base/twice.exp: ditto.
6354 * gdb.c++/classes.exp: ditto.
6355 * gdb.c++/inherit.exp: ditto.
6356 * gdb.c++/templates.exp: ditto.
6357 * gdb.base/break.exp: no run and hit main for stubs. Change line
6358 numbers for breakpoints and info breakpoint.
6359 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6360 breakpoint().
6361 * gdb.base/callfuncs.c: ditto.
6362 * gdb.base/exprs: ditto.
6363 * gdb.base/interrupt.c: ditto.
6364 * gdb.base/opaque0.c: ditto.
6365 * gdb.base/printcmds.c: ditto.
6366 * gdb.base/ptype.c: ditto.
6367 * gdb.base/scope0.c: ditto.
6368 * gdb.base/setvar.c: ditto.
6369 * gdb.base/signals.c: ditto.
6370 * gdb.base/twice.c: ditto.
6371 * gdb.c++/misc.cc: ditto.
6372 * gdb.c++/templates.cc: ditto.
6373
6374Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6375
6376 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6377
6378 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6379 somewhere between `read' and `main.c'. I'm pretty sure the
6380 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6381 and it isn't particularly useful.
6382
6383 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6384
6385Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6386
6387 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6388
6389Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6390
6391 * config/mt-slite: add LIBS and -nostdlib.
6392 * config/slite-gdb.exp: add this new file to support sparclite target.
6393
6394Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6395
6396 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6397
6398 * gdb.base/a2-run.exp: Change argument to istarget from
6399 "*-*-vxworks" to "*-*-vxworks*".
6400 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6401
6402Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6403
6404 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6405 will not runto main but do a 'step' to step out of breakpoint().
6406 * config/mt-slite: add -Dusestubs.
6407
6408Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6409
6410 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6411 instead of just @.
6412
6413 * gdb.base/signals.exp: Add test for "handle all print".
6414 * TODO: Remove "handle all print". Also remove item about
6415 checking copyright date (I don't like the idea of a spurious FAIL
6416 based on when we run the tests).
6417
6418 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6419 for SunOS4 (reason for failure not investigated). Remove
6420 redundant test for $binfile.
6421
6422 * gdb.base/nodebug.c (array_index): Call malloc.
6423
6424 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6425
6426Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6427
6428 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6429 conventions and slightly simplify the matching regexp.
6430
6431Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6432
6433 * gdb.base/break.exp: Update gdb_test invocation to use new
6434 convention.
6435
6436 * lib/gdb.exp: If noargs is not set, set it to 0.
6437
6438 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6439 tests unique.
6440
6441 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6442
6443Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6444
6445 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6446 one argument of type "<non-float parameter>".
6447
6448Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6449
6450 * config/rom68k.exp: New file to support Motorola IDP board.
6451 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6452 * gdb.base/break.c: Change things around so that this program
6453 doesn't depend upon args. This is necessary to make remote
6454 targets work (in general, they can't take args).
6455 * gdb.base/break.exp: Don't try to send args to program. Don't
6456 expect output. Also, replace lots of code with gdb_test.
6457
6458Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6459
6460 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6461 printing of '\'' (which is what the comment says we are testing,
6462 even though we were not), not '''.
6463 (test_integer_literals_rejected): Test that printing ''' is an error.
6464
6465 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6466 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6467 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6468 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6469 Use gdb_test not test_print_accept.
6470 * lib/gdb.exp: Remove test_print_accept.
6471
6472 * gdb.base/signals.exp (signal_tests_1): Make pass message
6473 consistent with fail message.
6474
6475 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6476 unsigned char; the bug (PR 1821) is fixed.
6477
6478 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6479
6480 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6481 successful tests--makes xfailing them work right.
6482
6483Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6484
6485 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6486 only \r\n, not .*. The test can pass .* as the last thing in
6487 $pattern if that is what it wants. In addition to providing this
6488 flexibility, this change should speed up pattern matching in cases
6489 where the pattern already ended with .* (there were a number of
6490 them). This change also helps catch bad patterns--in the old
6491 scheme the typo "char \*" instead of "char \\*" would pass. Now
6492 it is caught.
6493 * Many .exp files: Update callers.
6494
6495 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6496 clearer and does not spuriously match multiple ('s. Likewise for
6497 ) and *.
6498
6499 * gdb.base/nodebug.exp: Test ability to call a function and pass
6500 it a string (even with no debugging info).
6501
6502 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6503 "p '\'", which is the same as "p ''" once tcl gets done with
6504 quoting, to "p '\\'", which I suspect is what is intended (one
6505 backslash gets sent to GDB).
6506
6507 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6508
6509Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6510
6511 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6512 1817) was fixed literally years ago.
6513
6514Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6515
6516 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6517 test, it causes stepping out of call_after_alloca_subr with
6518 optimizing compilers.
6519 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6520 fails.
6521
6522 * gdb.c++/templates.exp: Source templ-info.exp only if
6523 the templates executable exists.
6524
6525 * gdb.c++/misc.cc (class Contains_static_instance,
6526 class Contains_nested_static_instance),
6527 gdb.c++/classes.exp (test_static_members): Test printing of
6528 a class that contains a static instance of the class.
6529
6530Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6531
6532 * gdb.base/langs2.c (cppsub_): Don't prototype.
6533 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6534 only, I believe).
6535
6536Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6537
6538 * lib/gdb.exp (skip_chill_tests): New procedure.
6539
6540 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
6541
6542Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
6543
6544 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
6545 each expect pattern. Cuts runtime from 12 to about 4 seconds.
6546
6547Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6548
6549 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
6550
6551 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
6552 disassemble 8, not 16, instructions for part 4.
6553
6554 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
6555 support the latter anymore.
6556
6557 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
6558 -DNO_PROTOTYPES.
6559 * gdb.base/callfuncs.c: Control use of prototypes based on
6560 NO_PROTOTYPES, not __STDC__.
6561 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
6562 t_float_values2 tests if prototypes in use.
6563
6564 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
6565 t_double_values): When checking differences against DELTA, check
6566 that difference is within the range (-DELTA,DELTA), not just
6567 (-infinity,DELTA).
6568
6569Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
6570
6571 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
6572 'file' command firts, then 'target', then 'load', this is due to gdb
6573 target set up.
6574 * config/mips-gdb.exp: Fix a couple regular exp bugs.
6575
6576Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
6577
6578 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
6579 FP load/store variants.
6580 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
6581
6582Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6583
6584 * gdb.base/term.exp: Do not give a warning if not native, it is
6585 not an abnormal condition.
6586
6587Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
6588
6589 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
6590 t_char_array".
6591
6592Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6593
6594 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
6595 are getting the version number.
6596
6597 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
6598 if not native, it is not an abnormal condition.
6599
6600Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6601
6602 * lib/gdb.exp: Just use "file exists", rather than undocumented
6603 dejagnu procedure "findfile".
6604
6605Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6606
6607 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
6608 (LDFLAGS): Set to -Xlinker -Ur.
6609
6610 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
6611 Removed, these values are set by lib/gdb.exp.
6612
6613 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
6614
6615Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6616
6617 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
6618 of replicating gdb startup code.
6619
6620 * config/mt-vxworks (LDFLAGS): Set to -r.
6621 (CFLAGS_FOR_TARGET): Removed.
6622
6623 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
6624 (gdb) and gdb for vxworks uses (vxgdb).
6625
6626 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
6627 executable is not in the tree and host != target, use sed and
6628 program_transform_name to determine the gdb name used by the
6629 target.
6630
6631 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
6632 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
6633
6634Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6635
6636 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
6637 floats, chars, and shorts where there are ANSI-style function
6638 definitions.
6639
6640 * gdb.base/langs.exp, gdb.base/langs*: New test.
6641 * gdb.base/Makefile.in: Build it.
6642 * TODO: Remove item about checking that C names don't get C++
6643 demangling applied; this test tests it.
6644
6645Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6646
6647 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
6648 went with the const70 xfail. The xfail went away a year ago.
6649
6650 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
6651
6652 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
6653 for hp300.
6654
6655 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
6656
6657 * gdb.base/a1-selftest.exp: Don't run on hp300.
6658
6659Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6660
6661 * Makefile.in (site.exp): Set host_alias and target_alias as well
6662 as host_triplet and target_triplet.
6663
6664Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6665
6666 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
6667
6668 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
6669 places as other ecoff systems).
6670
6671 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
6672 ultrix.
6673
6674Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6675
6676 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
6677 remove them.
6678 * gdb.base/nodebug.exp: Accept "function" in addition to "text
6679 variable and "variable" in addition to "data variable".
6680 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
6681
6682 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
6683 2.
6684 * gdb.base/list1.c (long_line): Add additional statement at start
6685 of function.
6686 * gdb.base/list.exp (test_forward_search): Update line number to
6687 reflect new statement.
6688
6689Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6690
6691 * gdb.base/signals.exp: Reinitialize searched source directories
6692 after gdb_start call.
6693
6694Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
6695
6696 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
6697 * gdb.stabs/Makefile.in: Likewise.
6698
6699 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
6700 change. Instead split the tests into smaller pieces.
6701 * gdb.disasm/hppa.s: Corresponding changes.
6702
6703Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6704
6705 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6706 Quote ^C when passing it to stty. For some shells ^ is a pipe.
6707
6708 * gdb.base/funcargs.exp: Modify many tests so that every test
6709 either passes or fails. Make some test names unique.
6710
6711Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6712
6713 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6714 Call stty to set interrupt character.
6715
6716 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
6717 for HP assembler versus GNU assembler based on actual behavior of
6718 $(CC), rather than assuming that $(AS) is always the GNU assembler.
6719
6720 * TODO: Suggest a few more stepping tests.
6721
6722Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
6723
6724 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
6725 restart GDB for h8300 after a continue.
6726 (return): Add pattern to match a29k-udi behavior.
6727 * gdb.base/nodebug.exp: Remove obsolete comment.
6728 * gdb.base/regs.exp: New file, testing of register displays.
6729 * gdb.base/return.exp: Fix typo in reference to $objdir.
6730 * gdb.base/whatis.exp: Always start with a fresh GDB.
6731
6732Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6733
6734 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
6735 higher, these tests generate a lot of output.
6736
6737Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6738
6739 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
6740 code following the catch silently ignored some errors; without the
6741 catch they should be thrown like any other tcl error. Also, the
6742 catch used "" instead of {} which meant all the callers who wanted
6743 to include one of the characters "[]$ had to quote it an extra time.
6744 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
6745 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
6746 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
6747 Remove extra quoting.
6748
6749Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
6750
6751 * gdb.base/commands.exp: Make test names unique; every test either
6752 passes or fails. Update some comments.
6753
6754 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
6755
6756Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6757
6758 The following fixes a FAIL caused by the fact that the alpha stabs
6759 configuration didn't use the ".if alpha" code in weird.def.
6760 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
6761 bit pointer, so the 32 bit version works even on the alpha.
6762 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
6763 Remove the stuff which allowed us to have separate versions for
6764 alpha and everything else.
6765
6766 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
6767 regexp which "info func operator\[\](" is supposed to match. Fix
6768 string to send to GDB. Note that GDB still doesn't work right. Add a
6769 new test for "info func .perator\[\](" which GDB does handle correctly.
6770
6771 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
6772
6773Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6774
6775 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
6776 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
6777 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
6778 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
6779 it makes the tests harder to understand and confuses test-o-matic.
6780 The preferred style is that each test provides a PASS or a FAIL,
6781 and has a unique message (e.g. "continue #54" not just "continue")
6782 which is the same for the pass and the fail.
6783 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6784 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
6785 to lib/gdb.exp.
6786 * gdb.base/printcmds.exp: Use test_print_accept. Remove
6787 prt_accept which was basically the same thing. Likewise for
6788 test_print_reject and prt_reject.
6789 * lib/gdb.exp (test_print_reject): Add some more error message
6790 patterns to match from the former printcmds.exp (prt_reject).
6791 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
6792 One defect of the passcount stuff is that some of it failed to
6793 report XPASS where appropriate.
6794 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
6795 stuff before and after arg in expected pattern.
6796 (test_paddr_operator_functions): Re-do test without print_addr_of;
6797 this is the only test which seems to want extra stuff there.
6798
6799Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6800
6801 * gdb.base/nodebug.exp: Update new tests to reflect improved
6802 wording of gdb output.
6803
6804 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
6805 and "ptype" work on variables in files compiled without -g.
6806 Replaces commented out "maint print msymbol" tests.
6807
6808Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6809
6810 * gdb.base/setvar.c (dummy): Call malloc.
6811
6812 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
6813 losing with the irix4 sed.
6814
6815 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
6816 ALRM" on irix4.
6817
6818Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6819
6820 * TODO: Remove items about corefile.exp testing new exec-file and
6821 backtrace; both are now done. Add items about printing enums.
6822
6823Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6824
6825 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
6826 "get signal $thissig" test fails.
6827
6828 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
6829
6830Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6831
6832 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
6833 compiler warning with dec alpha compiler.
6834
6835 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
6836 extra \n from gdb_test call (this explains why the prompt test
6837 that I removed yesterday was there).
6838 (user_defined_command_test): Remove extra \n and prompt test.
6839
6840 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
6841 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
6842 doesn't exist.
6843 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
6844 Also remove alpha workaround, which turns out to be because
6845 SIGABRT == SIGLOST.
6846
6847 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
6848
6849 * gdb.base/help.exp: Don't test "help show".
6850
6851Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6852
6853 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
6854 "set print address" is on.
6855 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
6856 pass prompt to gdb_test; gdb_test already looks for the prompt.
6857
6858 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
6859
6860 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
6861 was a vestige of the manual TESTSTRATEGY, and the purpose of it
6862 was to make sure that gdb can read a core file. But (a) the "read
6863 the corefile" part didn't make it to a1-selftest.exp, we just
6864 delete the corefile after creating it, and (b) we test reading
6865 corefiles in corefile.exp anyway. Also, this test left around a
6866 xgdb process on Solaris.
6867
6868 * gdb.base/corefile.exp: Also test backtrace.
6869
6870Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
6871
6872 * gdb.base/commands.exp: Test a simple user defined command with
6873 arguments and if/while statements; verify the full user command is
6874 printed by "show user".
6875
6876 * gdb.base/commands.exp: Test if/while commands as part of a
6877 breakpoint command list; verify they appear in breakpoint
6878 information.
6879
6880Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6881
6882 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
6883 than by dividing by zero.
6884
6885Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
6886
6887 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
6888 performing an inferior call with watchpoints enabled.
6889 * gdb.base/watchpoint.c (main): Delete second unnecessary read
6890 call.
6891
6892Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6893
6894 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
6895 of "file" command.
6896
6897 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
6898 Add additional pattern for when "int operator int(void);" appears
6899 in a different order.
6900
6901Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6902
6903 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
6904
6905 * gdb.base/help.exp: Replace most of docstrings for "info signals"
6906 and "signal" with ".*".
6907
6908Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6909
6910 * TODO: Add note about "handle all nostop".
6911
6912 * gdb.base/{sigall.c, sigall.exp}: New test.
6913 * gdb.base/Makefile.in: Add it.
6914
6915Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
6916
6917 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
6918 when invoking GDB, suppresses any windowing interface.
6919
6920Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
6921
6922 * config/sim-gdb: New file, simulator testing support.
6923
6924Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
6925
6926 * gdb.base/interrupt.exp: Test calling func1 twice.
6927
6928Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
6929
6930 * gdb.base/list.exp (test_forward_search): Set timeout higher
6931 when we'll be getting lots of output from gdb.
6932
6933 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
6934 "init_malloc" to after the expect statement. Run it if that
6935 regexp is taken, but also for two others which happen if source
6936 cannot be found.
6937
6938Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6939
6940 * gdb.base/printcmds.exp: New test, for printing register before
6941 program is running.
6942
6943Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6944
6945 * gdb.base/list.exp: Correct some alternate expect patterns
6946 to reflect changes in list1.c.
6947
6948Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6949
6950 * TODO: Add item regarding large frames.
6951
6952 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
6953
6954 * TODO: Remove item about enabling return.exp; it
6955 is enabled. Suggest a few more "return" tests.
6956
6957Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6958
6959 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
6960 anonymous unions.
6961
6962Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6963
6964 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
6965 and pr-5646.o, so "make" is the same as "make all", not "make
6966 pr-4975.o".
6967
6968Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
6969
6970 * gdb.base/list.exp: Adjust expectations to reflect changes in
6971 list1.c.
6972 (test_forward_search): New test proc.
6973 * gdb.base/list1.c (long_line): New function, has long source line.
6974
6975Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
6976
6977 * gdb.base/a1-selftest.exp: Change initial stepping to know about
6978 additional line of code that was added.
6979
6980Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
6981
6982 * gdb.disasm/hppa.s: Break the large branching tests into smaller
6983 tests so as not to overflow expect's input buffers.
6984 * gdb.disasm/hppa.exp: Corresponding changes.
6985
6986Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6987
6988 Beginnings of template debugging tests.
6989 * gdb.c++/templ-info.cc: New file to test for template
6990 debugging capability of the compiler.
6991 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
6992 templ-info.cc.
6993 * gdb.c++/templates.cc: Add explicit template instantiations
6994 to enable compiling with -fno-implicit-templates. Add destructor
6995 and 'value' method to T5 class for template tests.
6996 * gdb.c++/templates.exp: Add testcases for printing of template
6997 types, setting breakpoints on template methods and calling a
beb998c6 6998 template method.
c906108c
SS
6999
7000Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7001
7002 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7003 branch target since some assemblers (gas-2.5) may emit a
7004 relocation for the branch instead of resolving it in the
7005 assembler.
7006
7007Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7008
7009 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7010 through signal handler.
7011
7012Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7013
7014 * configure.in (*-*-netware): Use config/mt-netware.
7015
7016 * config/mt-netware: New file.
7017 * config/mt-i386-netware: Removed, separate configs for different
7018 netware architectures are no longer needed now that we have
7019 --with-headers.
7020
7021Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7022
7023 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7024 by the recent changes to use ANSI C arithmetic conversions.
7025
7026Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7027
7028 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7029 bug involving using inferior_pid to figure out whether to select a
7030 frame.
7031
7032Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7033
7034 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7035 match the current disassembler output.
7036
7037Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7038
7039 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7040 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7041 types, expect "int" as type of integer values (for now).
7042
7043Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7044
7045 * gdb.base/commands.exp: New tests for if/while commands.
7046
7047Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7048
7049 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7050 by .*, since hex values have different syntax in Chill mode.
7051
7052Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7053
7054 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7055 linefeed from expect pattern for repeated types with indices > 9.
7056
7057Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7058
7059 First part of Fortran test suite.
7060 * gdb.fortran: New directory.
7061 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7062
7063Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7064
7065 * gdb.base/default.exp: Update expect pattern for load command
7066 without arguments.
7067
7068Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7069
7070 * configure.in: Change i386 to i[345]86.
7071 * gdb.base/configure.in: Likewise.
7072 * gdb.c++/configure.in: Likewise.
7073 * gdb.chill/configure.in: Likewise.
7074
7075Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7076
7077 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7078 patterns, since that is not a valid context for comments.
7079
7080Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7081
7082 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7083 repeated types and repeated types with indices > 9.
7084
7085Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7086
7087 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7088 2417; old bug has been fixed.
7089
7090Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7091
7092 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7093 send the newline ourselves instead of assuming gdb_test will do
7094 so when passed an empty input string.
7095
7096 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7097 stabs testcode.
7098
7099Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7100
7101 * lib/gdb.exp (gdb_test): Don't send anything if the first
7102 argument is an empty string. This makes cases where we want to
7103 match output that is already in expect's buffers (for example,
7104 matching a breakpoint after gdb_run_cmd has been called) work
7105 reliably.
7106
7107Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7108
7109 * config/netware.exp: New file.
7110
7111Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7112
7113 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7114 the -B and -L prefixes so we can find the debugging stub.
7115
7116 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7117 there and we are using the gcc from the tree.
7118
7119 * gdb.base/types.c: Removed.
7120
7121 * gdb.base/configure.in: Look for makefile fragments in ../config.
7122 Recognize i386-*-netware.
7123 * gdb.c++/configure.in: Likewise.
7124
7125Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7126
7127 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7128 the correct TCL syntax.
7129
7130Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7131
7132 * gdb.base/opaque.exp: use runto instead of messing around with
7133 breakpoints. Simplify by using gdb_test.
7134
7135 * gdb.base/bitfields.exp: restart between tests on netware targets
7136 because breakpoints aren't relocated after target death. Run
7137 processes to completion.
7138
7139 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7140
7141Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7142
7143 * Makefile.in: Remove extra tabs that confuse some versions
7144 of "make". Use the newly built gdb to test with by default,
7145 rather than the first one in the tester's search path.
7146
7147Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7148
7149 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7150
7151 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7152 condition help.
7153
7154Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7155
7156 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7157
7158 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7159 running.
7160 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7161 * gdb.base/funcargs.exp: Likewise.
7162
7163 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7164 * gdb.base/funcargs.exp: Likewise.
7165
7166 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7167 message is "".
7168
7169Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7170
7171 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7172 return,signals,twice}.exp: Handle non-existant binaries
7173 consistantly.
7174
7175 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7176 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7177 might testing a cross development system.
7178
7179Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7180
7181 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7182 runtest script is relative to ${srcdir}, not ${rootdir}.
7183
7184Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7185
7186 * gdb.base/signals.exp: Allow for optionality of breakpoint
7187 address.
7188
7189Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7190
7191 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7192
7193Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7194
7195 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7196 for size_t definition.
7197 * gdb.c++/templates.cc: Likewise
7198
7199 * config/mt-i386-netware: New file.
7200
7201 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7202 defined.
7203
7204 * gdb.base/Makefile.in: Added support for systems that name core
7205 files by appending "core" to the program name.
7206 * gdb.base/a1-selftest.exp: Likewise.
7207
7208Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7209
7210 * gdb.base/return.exp: Add comment and message for `return double'
7211 test failure on Sparc Solaris.
7212
7213Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7214
7215 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7216
7217Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7218
7219 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7220 from optimizing them away.
7221 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7222 patterns to include default constructors and assignment operators,
7223 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7224 character in the output of the virtual base pointer.
7225
7226Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7227
7228 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7229 expression match in print_addr_of to avoid unintented matches.
7230 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7231 versions up to 2.5.8.
7232
7233Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7234
7235 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7236 included file to run under newer versions of expect.
7237 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7238 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7239 Remove xfail for the virtual table of BDDHookV.
7240
7241Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7242
7243 * lib/gdb.exp (string_to_regexp): Set a default result.
7244 (default_gdb_start): Fix misleading message.
7245
7246Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7247
7248 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7249 Remove all CC, etc definitions.
7250 * config/mt-hpux: New file.
7251 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7252 (CFLAGS, LDFLAGS): Define.
7253 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7254
7255 * Makefile.in (site.exp): Don't insert host_os, etc.
7256 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7257 (distclean): Check existence of subdir.
7258 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7259 * gdb.base/Makefile.in: General cleanup and simplification.
7260 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7261 to build executables. Use default rule to build .o files.
7262 (EXPECT, RUNTEST, CC): Fix relative pathname.
7263 (site.exp): Don't insert host_os, etc.
7264 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7265 and/or SIGUSR1 defined.
7266 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7267 * gdb.c++/Makefile.in: General cleanup and simplification.
7268 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7269 (CFLAGS): Remove.
7270 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7271
7272Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7273
7274 * gdb.base/recurse.exp: Misc changes to get tests running again
7275 after Kung's changes to the watchpoint code.
7276 * gdb.base/watchpoint.exp: Likewise.
7277
7278Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7279
7280 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7281
7282Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7283
7284 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7285 * lib/gdb.exp (default_gdb_start): Define.
7286 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7287 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7288 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7289 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7290 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7291 Don't call gdb_target_udi in between tests.
7292
7293Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7294
7295 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7296 (which was basically just a local version of the same thing). In
7297 addition to avoiding duplication, gdb_test_exact is faster.
7298 * lib/gdb.exp (gdb_test_exact): Fix typo.
7299
7300 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7301 don't give an error.
7302
7303 * gdb.base/term.exp: Call delete_breakpoints before starting.
7304
7305 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7306 (t10): Add comment.
7307
7308Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7309
7310 Reorganization of the GDB Test Suite.
7311
7312 * gdb.base: New directory, contains all the basic tests.
7313 * gdb.c++: New directory, tests specific to C++.
7314 * gdb.chill: New directory, tests specific to Chill.
7315 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7316 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7317 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7318 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7319 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7320 t30-31 to chill).
7321 * */gdbme.*: Rename to match appropriate expect scripts.
7322 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7323 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7324 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7325 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7326 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7327 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7328 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7329 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7330 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7331 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7332 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7333 gdb.c++/virtfunc.cc: New names of C++ files.
7334 * gdb.chill/chillvars.ch: New name of Chill file.
7335 * gdb.base/configure.in, gdb.c++/configure.in,
7336 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7337 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7338 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7339 * configure.in (configdirs): Update to reflect directory changes.
7340 (target_abbrev): No longer define for any configuration.
7341 * Makefile.in: Cosmetic improvements to header comments.
7342
7343Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7344
7345 Various changes to gdb.t31:
7346
7347 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7348 * gdbme.ch: Make all key-words and predefineds be upper-case.
7349 * chillvars.exp: Expect key-words and predefinds in upper-case.
7350
7351 * chillvars.exp: Use gdb_test_exact many places.
7352 Change expected output for arrays (which now includes index labels).
7353
7354 * pr-5020.exp, gdme.ch (module PR_5020):
7355 New test, for PR-5020.
7356
7357Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7358
7359 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7360 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7361
7362Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7363
7364 * Makefile.in: Fix bit-rot in definitions of CHILL,
7365 CHILL_FOR_TARGET and Chill_LIB.
7366 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7367 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7368 CHILL, and CHILL_LIB.
7369
7370Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7371
7372 * Revert the previous changes. Please see Rob's directory
7373 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7374
7375Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7376
7377 * Makefile.in, configure.in, config/mips-gdb.exp,
7378 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7379 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7380 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7381 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7382 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7383 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7384 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7385 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7386 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7387 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7388 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7389 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7390 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7391 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7392 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7393 changes from 94Q1.
7394
7395Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7396
7397 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7398 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7399 Rob's new testing fragments.
7400
7401Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7402
7403 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7404 lib/gdb.exp: Replace error proc calls with perror.
7405
7406Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7407
7408 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7409 version also, match on casted version strings, and match on
7410 gdb startup case where the line numbers might be messed up.
7411
7412Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7413
7414 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7415 (CFLAGS): Delete it from here.
7416
7417Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7418
7419 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7420
7421Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7422
7423 * Makefile.in (RUNTEST): Default to just "runtest".
7424
7425Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7426
7427 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7428 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7429 the code has been restructured.
7430
7431Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7432
7433 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7434 \n, not just one of each.
7435
7436 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7437 /bin/cc gives a warning if you do.
7438
7439Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7440
beb998c6 7441 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
7442 __t10ListS_link1ZUiRCUiPT0
7443
7444Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7445
7446 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7447 on local variables in recursive functions.
7448
7449 * gdb.t07/Makefile.in: Build the new test.
7450
7451Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7452
7453 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7454 directly. Instead compare the return values from actual calls.
7455
7456Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7457
7458 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7459
7460Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7461
7462 * From Peter Schauer with minor modifications.
7463 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7464 stops in mid-line in the caller. Add xfail for returning a float
7465 value on X86 targets.
7466
7467Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7468
7469 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7470 to avoid expect lossage.
7471 (fmem_LRbug_tests): Likewise.
7472 * gdb.disasm/hppa.s: Corresponding changes.
7473
7474 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7475 conditions to work with latest dejagnu/expect.
7476
7477 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7478 expected to fail on the PA.
7479 (backtrace in call with trampolines): Explicitly require main
7480 to be frame #1 (no trampolines should show up in backtrace).
7481
7482 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7483 "continue -expect".
7484 * gdb.t06/break.exp: Likewise.
7485 * gdb.t07/watchpoint.exp: Likewise.
7486 * gdb.t13/bitfields.exp: Likewise.
7487 * gdb.t15/{funcargs,return}.exp: Likewise.
7488 * gdb.stabs/weird.exp: Likewise.
7489 * config/{mips,udi}-gdb.exp: Likewise.
7490
7491 * hppa.sed: Enclose comments within a sed command to avoid
7492 losing with the old OSF1 sed.
7493
7494Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7495
7496 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7497 sequent dynix.
7498 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7499 * gdb.t15/funcargs.exp: Conditionally step again to really
7500 finish from marker_call_with_trampolines. Handle the case where
7501 the first step from within call_with_trampolines already steps
7502 us back to main.
7503 * gdb.t15/gdbme.c: Add comment to closing brace of
7504 call_with_trampolines for funcargs.exp.
7505
7506Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7507
beb998c6 7508 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
7509 Fix typo(s).
7510
7511Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7512
7513 * gdb.t07/gdbme.c: More code for watchpoint testing.
7514
7515 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7516 "Hardware watchpoint" throughout file.
7517 (test_watchpoint_triggered_in_syscall): New test.
7518 (test_complex_watchpoint): New test.
7519
7520Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7521
7522 * gdbme.c (call_with_trampolines): New function to try and step
7523 into. Tests trampoline problems on the PA.
7524
7525 * funcargs.exp (localvars_in_indirect_call): No longer expect
7526 stepping into indirect call to fail on PAs.
7527 (test_stepping_over_trampolines): New test.
7528
7529Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7530
7531 * TODO: Add suggestions for static member function tests, and
7532 completion tests.
7533
7534Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7535
7536 * TODO: Add suggestions for "p/a" tests.
7537
7538 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
7539 (default_gdb_exit): Replace all the hair with sending "quit" to
7540 the process with a simple close.
7541
7542Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7543
7544 * TODO: Add suggestions for shared library tests.
7545
7546Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7547
7548 * TODO: Add suggestions for x/s tests.
7549
7550Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7551
7552 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
7553 "enable once", and "enable breakpoints once" with ".*".
7554
7555Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7556
7557 * TODO: Add suggestions about structure passing tests.
7558
7559Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7560
7561 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
7562 the primary1 test, use work around if __GNUC__ < 2.
7563 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
7564 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
7565 Test for bad output rather than waiting for timeout. Issue
7566 second continue only if first continue failed.
7567
7568Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7569
7570 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
7571 operator[] test with gdb_test because the old code didn't seem to
7572 be getting the quoting right with the new dejagnu.
7573
7574Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
7575
7576 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
7577 one from the path.
7578 * Makefile.in: Use a fresh expect if there is one, use runtest
7579 from the src tree if there is one.
beb998c6 7580
c906108c
SS
7581Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7582
7583 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
7584 next over recursive call. Revise the tests from that point on
7585 (which had been skipped) to match GDB's actual (correct) output.
7586
7587 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
7588 with next over a breakpoint whose condition is false.
7589
7590 * gdb.t00/help.exp: Comment out "help set print" tests just like
7591 (and for same reason as) "help set" test.
7592
7593Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7594
7595 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
7596 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
7597
7598Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7599
7600 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
7601 necessary gdb_target_udi.
7602
7603 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
7604
7605 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
7606 1838 and 2417; they are fixed.
7607
7608 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
7609 gdb.t03/ptype.exp (ptype structure, ptype union):
7610 Remove xfails; the test is looser than when the xfails were added.
7611
7612 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
7613 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
7614
7615 * gdb.t01/run.exp: Only run shell test if isnative.
7616
7617 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
7618 since "run" automatically loads if necessary. Call gdb_target_udi
7619 after the "file" since "file" kills any execution target.
7620
7621 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
7622 GDB. GDB doesn't work that way (not anymore at least) on UDI.
7623 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
7624 argument for UDI.
7625
7626Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7627
7628 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
7629
7630 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
7631
7632Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7633
7634 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
7635 properly quoting regexps. This makes the second argument to
7636 demangle a fixed string, which matches the callers, instead of a
7637 shell-style pattern which is what the previous implementation
7638 used. Update some of the callers.
7639
7640Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7641
7642 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
7643 (comib_nullified_tests): Fix typo.
7644 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
7645 strings. No longer expected to fail.
7646
7647 * gdb.disasm/hppa.s (addib_tests): Fix typo.
7648 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
7649 strings. No longer expected to fail.
7650
7651 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
7652 string. No longer expected to fail.
7653
7654Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7655
7656 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
7657 No longer expected to fail.
7658
7659 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
7660 string. No longer expected to fail.
7661
7662Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7663
7664 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
7665 only in the names (I probably got most of them). I was even
7666 generous with some which differed in underscores in names, and
7667 probably missed a few, and I *still* was able to remove almost a
7668 third of the file with almost no impact on testsuite coverage.
7669
7670Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7671
7672 * gdb.t00/default.exp: Match udi_attach error message as well as
7673 the one from child_attach.
7674
7675 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
7676
7677 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
7678
7679 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
7680 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
7681
7682 * Move test with enums and partial symbols back to
7683 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
7684 Reverts the change of 26 May 93. Per today's change to
7685 stabs.texinfo, the behavior that weird.exp was expecting was
7686 unreasonable; what is important is that the compiler+gdb get
7687 things right, which happens with a recent gcc. Also fix the test
7688 to deal with native compilers which put out the stab gdb can't
7689 deal with.
7690
7691Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7692
7693 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
7694 in the names. The main thing these accomplish is to slow things down.
7695 Many more such duplicates surely remain.
7696
7697 * gdb.t00/help.exp: Comment out "help support" test just like
7698 (and for same reason as) "help set" test.
7699
7700Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
7701
7702 * gdb.t06/break.exp: Remove setup_xfails for
7703 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
7704 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
7705 about known bug in gcc to include up through 2.5.8.
7706 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
7707 well as "_vb$".
7708 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
7709 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
7710 with latest gcc and gdb.
7711 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
7712 well as "_vb$".
7713
7714Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7715
7716 * configure.in (hppa*-*-*): Also configure and build stabs-only
7717 tests.
7718
7719Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7720
7721 * gdb.t10/hppa.mt: A makefile fragment for the PA.
7722 * gdb.t10/configure.in (hppa*-*-*): Use it.
7723
7724Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7725
7726 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
7727
7728Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7729
7730 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
7731 versions prior to 1.13.5.
7732
7733Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7734
7735 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
7736 the prompt is at the start of a line.
7737
7738Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7739
7740 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
7741 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
7742 in the copr tests now.
7743 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
7744 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
7745 expected to fail.
7746
7747Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
7748
7749 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
7750 gdb.t31/chillvars.exp, lib/gdb.exp:
7751 Tweak to run under either version of expect.
7752 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
7753 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
7754 * gdb.t11/list.exp: Remove extraneous whitespace.
7755
7756Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7757
7758 * gdb.t16/printcmds.exp (test_print_strings): Accept
7759 "(unsigned char *) " before the string.
7760
7761 * TODO: Add notes about printing of fancy types and GDB expressions.
7762
7763Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
7764
7765 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
7766 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 7767 if doing mips-idt-ecoff.
c906108c
SS
7768
7769Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
7770
7771 * Most .exp files: Tweak to run under either version of expect.
7772
7773Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7774
7775 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
7776 xfails; I'm not sure why they are failing, but not because of PR 1806.
7777
7778Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
7779
7780 * config/unix-gdb.exp: Remove gdb_unload cause it's already
7781 defined in lib/gdb.exp.
7782
7783Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7784
7785 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
7786 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
7787 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
7788 have to be typeless.
7789
7790Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7791
7792 * TODO: Add suggestion for copyright year test.
7793
7794Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
7795
7796 * configure.in (*-*-lynxos*): Add stabs tests.
7797
7798Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7799
7800 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
7801 so insert a tab before any assembler directive in column zero.
7802
7803 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
7804 stores.
7805 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
7806 stores.
7807 (fpu_short_memory_tests): Likewise.
7808
7809Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7810
7811 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
7812 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
7813 .stabs directives in comments.
7814
7815Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7816
7817 * TODO: New file, describing tests we could write.
7818 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
7819
7820Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7821
7822 * gdb.t06/signals.exp: Add kludge to force re-sync.
7823
7824 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
7825 to xgdb instead of gdb, get out of gdb.
7826
7827Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
7828
7829 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
7830 for info.
7831
7832Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7833
7834 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
7835 * gdb.stabs/configure.in (hppa*-*-*): Use it.
7836 * gdb.stabs/hppa.sed: New sed script for the PA.
7837
7838Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7839
7840 * gdb.stabs: Re-write weird.def and configuration to use sed
7841 instead of cpp. sed is portable and POSIX; cpp is neither.
7842
7843Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7844
7845 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
7846
7847Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7848
7849 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
7850
7851Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7852
7853 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
7854 "_vb$".
7855 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
7856 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
7857
7858Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7859
7860 * lib/gdb.exp: Comment out code which depends on non-existent
7861 `transform' procedure.
7862
7863Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
7864
7865 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
7866 * lib/gdb.exp: Transform tool name.
7867 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
7868 1.1's new error handling system.
7869
7870Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7871
7872 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
7873
7874Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7875
7876 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
7877 They made pattern matching so slow that timeouts happened on
7878 heavily loaded systems. Now any output from "show print" which
7879 gets us back to the GDB prompt is a PASS.
7880
7881Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
7882
7883 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
7884
7885Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7886
7887 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
7888
7889 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
7890 It is not from PR 3220.
7891
7892Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7893
7894 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
7895 just started failing because they depended on the order the
7896 subcommands are presented, or exact docstring text. This kind of
7897 test is a pain and has minimal benefit.
7898
7899Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7900
7901 * gdb.t09/corefile.exp: At end of test, use "core" command with
7902 no arguments.
7903
7904Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
7905
7906 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
7907 17}/Makefile.in: Make it possible to run the testsuite with Sun
7908 make and CC = cross gcc by adding explicit build rules for .o
7909 files.
7910
7911Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7912
7913 * gdb.t15/funcargs.exp: Don't put comments on same line as
7914 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 7915
c906108c
SS
7916Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7917
7918 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
7919
7920Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
7921
7922 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
7923 * gdb.t20/inherit.exp: remove three dumplicate entries.
7924
7925Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7926
7927 * gdb.t06/break.exp: For "next over recursive call", fail on any
7928 incorrect output, not just on "factorial (value=2)".
7929
7930Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7931
7932 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
7933 working now. Add an xfail if accesing a bss variable causes
7934 a memory error if the target is not yet run.
7935
7936Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7937
7938 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
7939 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
7940 name of __st* demangling (2 strings). Did Kung really get the
7941 more than 95 others right without testing them?
7942
7943Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
7944
7945 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
7946
7947Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
7948
7949 * configure.in (configdirs): Add gdb.disasm
7950 * gdb.disasm: New directory for GDB disassembler tests.
7951 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
7952
7953Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7954
7955 * gdb.t00/help.exp: Don't test "help set".
7956
7957 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
7958 from within expect statements. None of these happen anymore and
7959 they cause regressions to be silently unnoticed.
7960
7961 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
7962 messages) about known failures with gcc cygnus-2.4.5-930417.
7963
7964 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
7965 comp-info.exp so it gets built if it doesn't exist.
7966
7967 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
7968 it is no longer used.
7969 * gdb.t13/comp-info.c: Removed.
7970
7971Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
7972
7973 * gdb.t06/signals.exp: Add xfail for sun3.
7974
7975Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7976
7977 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
7978 relevant because ^C doesn't get sent but failure can be reproduced
7979 interactively).
7980
7981Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7982
7983 * gdb.stabs/alpha.mt: New configuration file for alpha.
7984 * gdb.stabs/configure.in: Use it.
7985 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
7986 sharing with alpha.mt, redefine long to word via preprocessor.
7987 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
7988 for alpha.
7989 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
7990 native cc.
7991 * gdb.t00/teststrategy.exp: Change expect string so that we
7992 consume the `(xgdb)' from the command echo and from the gdb prompt.
7993 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
7994 gdb currently compares all values as long, so this failure probably
7995 applies to any configuration where LONGEST is bigger than a target int.
7996 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
7997 with gcc.
7998 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
7999 to handle opaque pointers, gcc is.
8000 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8001 as first argument. Include <sys/types.h> and change all operator
8002 new definitions to use size_t.
8003 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8004 now that we use size_t.
8005
8006Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8007
8008 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8009 a long or float array cast all array members to the same type.
8010 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8011 with 64 bit longs.
8012 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8013 on alpha.
8014 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8015
8016Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8017
8018 * gdb.t24 (demangle.exp): Constructors of templates have names like
8019 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8020 section 14.6 of the ARM.
8021
8022 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8023 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8024 accomplish little and slow down the testsuite.
8025
8026 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8027 Accept spaces various places.
8028
8029Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8030
8031 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8032 with watchpoint enabled.
8033
8034 * Makefile.in: Remove definition of CC and remove the second
8035 definition of CXX (the "CXX = gcc" one remains). These definitions
8036 were causing backquotes to be expanded within backquotes, which
8037 doesn't work.
8038
8039Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8040
8041 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8042
8043Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8044
8045 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8046 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8047 by mips cc and contains no stabs entries.
8048
8049Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8050
8051 * config/vx-gdb.exp: Use fake device to load files rather than
8052 NFS.
8053 * lib/gdb.exp: New proc to do "file" command.
8054 * config/unix-gdb.exp: Use new "file" proc.
8055
8056Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8057
8058 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8059 Rework board rebooting slightly.
8060 (gdb_exit): Don't exit from the remote shell; there isn't one.
8061 * gdb.stabs/weird.exp: If a program is being debugged already,
8062 kill it.
8063 * gdb.t04/setvar.exp: Stop and restart gdb.
8064 * gdb.t05/expr.exp: Likewise.
8065 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8066 restart gdb and reload the program.
8067 * gdb.t08/opaque.exp: Likewise.
8068 * gdb.t12/scope.exp: Likewise.
8069 * gdb.t13/bitfields.exp: Likewise.
8070 * gdb.t15/funcargs.exp: Likewise.
8071 * gdb.t20/classes.exp: Likewise.
8072 * gdb.t03/ptype.exp: Increase timeout.
8073 * gdb.t16/printcmds.exp (test_print_string_constants,
8074 test_print_array_constants): Likewise.
8075 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8076 * gdb.t20/classes.exp (do_tests): Likewise.
8077 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8078
8079Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8080
8081 * gdb.stabs: Renamed *wierd* to *weird*.
8082
8083Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8084
8085 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8086 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8087
8088Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8089
8090 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8091 (do_tests): Remove xfail for whatis on one_var and two_var.
8092
8093Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8094
8095 * Makefile.in: Made cross building work better by adding
8096 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8097
8098Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8099
8100 * gdb.t15/{return.c,return.exp,Makefile.in}:
8101 New test, currently commented out.
8102
8103Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8104
8105 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8106 still running and removes the leftover named socket so GDb can do
8107 clean restarts.
8108
8109Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8110
8111 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8112 console, not GDB.
8113 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8114 cross testing works better with "make check"
8115 * config/unix-gdb: Use default procedures for exit and version.
8116 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8117 with the newest VxWorks.
8118
8119Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8120
8121 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8122 old form.
8123
8124 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8125 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8126
8127 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8128
8129 * config/unix-gdb.exp: Remove this version of gdb_exit
8130 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8131 Rob says he'll look at it when he gets back to testing boards.
8132
8133Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8134
8135 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8136 an expected fail for certain ptype commands.
8137
8138 * gdb.t20/classes.exp: Update expected results of "ptype class
8139 Base1" to account for the constructor that now appears in the type.
8140
8141Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8142
8143 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8144 disappeared from list.
8145 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8146 "alldone" proc with call to cleanup and exit.
8147 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8148 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8149 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8150 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8151 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8152 "alldone" proc with simple returns that suppress remaining
8153 tests. The alldone proc went away many months ago.
8154
8155Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8156
8157 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8158
8159 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8160
8161Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8162
8163 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8164 as vax gdb will display them.
8165
8166Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8167
8168 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8169 optimizers.
8170
8171 * scope.exp: Change "bad value for localval" messages so each one
8172 is unique.
8173
8174 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8175 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8176
8177 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8178
8179Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8180
8181 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8182 doesn't exist (due to optimization).
8183
8184Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8185
8186 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8187 contains \r because the filename is long.
8188
8189 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8190 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8191
8192Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8193
8194 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8195 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8196 Ultrix.
8197 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8198 int tests.
8199 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8200
8201Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8202
8203 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8204
8205 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8206 to match does not match the passing case but still matches the
c906108c
SS
8207 failing case.
8208
8209Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8210
8211 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8212
8213Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8214
8215 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8216 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8217 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8218 Remove various versions of gdb_exit.
8219 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8220 gdb_exit.
8221 * config/unix-gdb.exp: gdb_exit remains here, and should override
8222 the generic version, since it's doing a lot of wierd stuff that
8223 the other versions aren't. FIXME, fold it in, or abandon this
8224 version.
8225
8226Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8227
8228 * gdb.t24/demangle.exp: Add tests for PR 3220.
8229
8230Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8231
8232 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8233
8234Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8235
8236 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8237 "i386-*-*". Works for i486 as well.
8238
8239 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8240 bug, and expand domain of xfail to all SVR4 systems, since the
8241 actual problem is likely to be in generic SVR4 /proc support.
8242
8243Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8244
8245 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8246
8247Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8248
8249 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8250 xfails for other systems. Match a missing 'Continuing.' as an
8251 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8252
8253 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8254 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8255 Only issue warning for missing executables if -all option is used.
8256
8257 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8258 file if -all option is used. It's like an unpredictable XFAIL.
8259
8260Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8261
8262 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8263 for dynamically linked binaries.
8264
8265 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8266
8267Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8268
8269 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8270 to state that this is a known bug in old versions of g++.
8271
8272Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8273
8274 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8275 while waiting for `Continuing'.
8276
8277Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8278
8279 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8280 in text, data, and bss.
8281 * gdb.t10/nodebug.c: Add local and global test variables for
8282 initialized and uninitialized data.
8283
8284Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8285
8286 * config/unix-gdb.exp (gdb_exit): Add "wait".
8287
8288Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8289
8290 * gdb.t06/signals.exp: xfail the continue from the handler for all
8291 targets.
8292
8293 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8294 function with watchpoints enabled, the i386 call dummy starts with
8295 a call.
8296
8297 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8298 386 bsd names its corefiles.
8299
8300Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8301
8302 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8303 compilers don't grok it.
8304 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8305 with small octal ints rather than character constants, which
8306 are signed and might not fit if first promoted to int.
8307
8308Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8309
8310 * gdb.t09/Makefile.in (clean): Remove corefile.
8311
8312Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8313
8314 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8315
8316Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8317 and Jim Kingdon (kingdon@cygnus.com)
8318
8319 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8320 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8321 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8322
8323Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8324
8325 * gdb.t17/interrupt.exp: Add xfail for hppa.
8326
8327Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8328
8329 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8330 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8331 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8332 to determine signed-ness of bitfields and use the result to setup
8333 the xfail.
8334 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8335 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8336 call line is reached if necessary.
8337
8338Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8339
8340 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8341
8342Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8343
8344 * gdb.t06/break.exp: Also test `clear' command.
8345
8346Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8347
8348 * gdb.t00/teststrategy.exp: Remove extra quote.
8349
8350 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8351 watchpoint enabled to be for all non-68k machines.
8352
8353 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8354
8355Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8356
8357 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8358 targets use aout.mt instead of ecoff.mt as gas understands
8359 standard aout format.
8360
8361Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8362
8363 * lib/gdb.exp (runto): Don't insist that function we are running to
8364 was compiled with -g.
8365
8366 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8367
8368 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8369 to get back into the read system call.
8370 Accept leading newline in case where we woke it up.
8371
8372Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8373
8374 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8375 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8376 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8377 enable ecoff configuration.
8378
8379Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8380
8381 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8382
8383Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8384
8385 * gdb.t16/printcmds.exp: Add another printf test.
8386
8387Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8388
8389 * configure.in: If configured -with-stabs on any target, add
8390 stabsdirs to configdirs.
8391
8392Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8393
8394 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8395 fun" so pattern does not match the command itself.
8396
8397Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8398
8399 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8400
8401Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8402
8403 * gdb.t17/interrupt.exp: Test for more things.
8404
8405Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8406
8407 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8408 compiler arranges the code and line numbers.
8409
8410 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8411
8412Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8413
8414 * gdb.t00/help.exp: Increase expect input buffer size.
8415
8416Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8417
8418 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8419
8420 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8421
8422 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8423
8424 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8425 [0-9]*, not just [0-9].
8426
8427Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8428
8429 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8430
8431 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8432
8433Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8434
8435 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8436
8437Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8438
8439 * gdb.t06/signals.c: Add xfails for sun3.
8440
8441 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8442
8443 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8444 test_stepping tests.
8445
8446Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8447
8448 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8449
8450 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8451
8452 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8453 rather than actually putting it through cpp twice.
8454
8455 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8456
8457Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8458
8459 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8460 no longer needed.
8461
8462Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8463
8464 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8465
8466 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8467 C++ features prints as "struct", make it a pass, not an xfail.
8468
8469Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8470
8471 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8472 Don't require VA to print as "class" rather than "struct".
8473
8474Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8475
8476 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8477
8478Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8479
8480 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8481
8482Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8483
8484 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8485 order.
8486
8487Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8488
8489 * gdb.t16/printcmds.exp: Add printf tests.
8490
8491 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8492
8493 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8494
8495Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8496
8497 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8498 pass counts, to counteract any existing or future setup_xfails.
8499
8500Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8501
8502 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8503 {BEGIN,END}_COMMON for common block instead of STAB.
8504 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8505
8506 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8507 intp_var should be N_GSYM not N_LSYM.
8508 wierd-aout.S: Use a label for the value of the N_SO.
8509 wierd.def: Remove all backslashes.
8510 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8511
8512Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8513
8514 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8515 get the expected next to inheritance3.
8516
8517Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8518
8519 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8520 now that gcc-2.4 gets it right.
8521
8522Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8523
8524 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8525
8526 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8527 generating comp-info.exp which works for cross-compilation.
8528
8529Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8530
8531 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8532 "*-*-sysv4.*".
8533
8534Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8535
8536 * gdb.t01/run.exp: Start with a fresh gdb.
8537 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8538 SVR4.x.
8539
8540Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
8541
8542 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
8543 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
8544 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
8545 Makefile.in (distclean, realclean): Remove gdbme.c from list of
8546 things to remove.
8547
8548Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
8549
8550 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
8551 test cases from bug reports.
8552
8553Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
8554
8555 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
8556 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
8557 avoid spurious xfails.
8558 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
8559 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
8560 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
8561
8562Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
8563
8564 * gdb.t00/teststrategy.exp: Rework to provide more useful
8565 description of each test, fix problem with systems that define
8566 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
8567 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
8568 results for "next over recursive call" so timeouts aren't taken
8569 by error.
8570
8571Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
8572
8573 * gdb.t12/scope.exp: Test printing of variables before run.
8574
8575 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
8576 printed in wrong order due to sorting.
8577
8578Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
8579
8580 * gdb.t00/teststrategy.exp: Fix expected results for printing
8581 user entered string constant. Is array of char, prints with no
8582 address.
8583
8584 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
8585 commands.
8586 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
8587 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
8588 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
8589 of struct of char arrays.
8590 * gdb.t00/radix.exp: New tests for radix commands.
8591
8592Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
8593
8594 * gdb.t16/printcmd.exp: Print a variable before running program
8595 (with xfail for AIX).
8596
8597Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
8598
8599 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
8600
8601 * gdb.t16/printcmd.exp: Don't print variables before running program.
8602
8603 * gdb.t06/break.exp: Don't require envp argument to main.
8604
8605 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
8606
8607 * gdb.t02/whatis.exp, gdb.t11/list.exp:
8608 Add xfails for rs6000.
8609
8610 * gdb.t02/whatis.exp: Change other tests not to re-test something
8611 we already tested.
8612
8613 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
8614 each type used has a variable of that type.
8615
8616Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
8617
8618 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
8619
8620Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8621
8622 * configure.in: change srctrigger to be a file, not a directory
8623
8624Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
8625
8626 * configure.in (mips-idt-ecoff*): Added trailing '*'.
8627
8628 * gdb.t11/list.exp: Fixed a couple of typos.
8629
8630Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
8631
8632 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
8633 is fixed and PR is closed.
8634 * gdb.t16 (gdbme.c): Add simple test string variable.
8635 * gdb.t16 (printcmds.exp): Add tests with simple test string
8636 variable, primarily for boundaries on "set print elements".
8637
8638Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
8639
8640 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
8641 Make leading 0's optional and don't expect a tab in the middle
8642 of the number.
8643
8644 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
8645
8646 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
8647 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
8648 don't end command passed to gdb_test with newline.
8649
8650 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
8651 signed keyword away, don't expect signed bitfields to be signed.
8652
8653 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
8654 printing with only as many 1's as are in the field as well as printing
8655 with 32 1's (see comment).
8656
8657Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
8658
8659 * gdb.t00/default.exp: Start with a fresh gdb.
8660 * configure.in (configdirs): Remove gdb.t31 until the chill
8661 compiler works again. It no longer is able to find chillrt0
8662 since it isn't in libchill.a anymore.
8663 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
8664 wierd.o, make more modular.
8665 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
8666 spurious newlines that caused problems.
8667
8668Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8669
8670 * Move test with enums and partial symbols from gdb.t03/ptype.exp
8671 to gdb.stabs/wierd.exp since GCC has worked around the bug.
8672 gdb.stabs/wierd.{exp,def}: Many new tests.
8673
8674 * gdb.t00/default.exp: update info line for new message.
8675
8676 * gdb.t02/{whatis.exp,gdbme.c}:
8677 Test that "char *" doesn't print as "caddr_t".
8678
8679Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8680
8681 * gdb.t00/help.exp: Use .* in place of some help messages which
8682 just changed.
8683 gdb.t00/default.exp: Update "info frame" test for new message.
8684 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
8685 Remove some xfails
8686
8687Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8688
8689 * gdb.t03/{gdbme.c,ptype.exp}:
8690 Add tests for typedef'd struct and union without tags.
8691 Also check "whatis" on a variable of a typedef'd enum without a tag.
8692
8693 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
8694 PRMS 1823; the bug still exists but isn't reproduced by this test
8695 anymore), and remove rs6000 XFAIL (the bug is fixed).
8696
8697 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
8698 duplicated from whatis.exp. For those that are left, accept
8699 "long", "long int", or "int" for long variables (whatis.exp already
8700 has an XFAIL for "int", so no need to fail it here).
8701
8702 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
8703 Deal with GCC's names for types now that GDB uses the compiler's names.
8704
8705 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
8706 setup_xfail's for sunos4. If we #defined the signed keyword away,
8707 don't expect GDB to know that char it is signed.
8708
8709 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
8710
8711Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
8712
8713 * configure.in (configdirs): Add gdb.t24 for C++ tests that
8714 should work on any system, regardless of debugging format.
8715 * gdb.t21/demangle.exp: Move to gdb.t24.
8716 * gdb.t24/demangle.exp: Move from gdb.t21.
8717 * gdb.t24/{Makefile.in, configure.in}: New files.
8718
8719Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8720
8721 * configure.in: Do gdb.stabs and C++ tests only for stabs.
8722 * gdb.stabs: New directory.
8723
8724Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8725
8726 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
8727 not just "Quit anyway?".
8728
8729Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
8730
8731 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
8732 that all setup_xfails are immediately followed by clear_xfails.
8733
8734Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
8735
8736 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
8737 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
8738 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
8739 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
8740 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
8741 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8742 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8743 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
8744 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
8745 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
8746 gdb.t31/chillvars.exp, lib/gdb.exp:
8747 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
8748 bug-gdb@prep.ai.mit.edu.
8749
8750Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
8751
8752 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
8753 with 0.0, not integer 0.
8754
8755Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
8756
8757 * gdb.t06/break.exp: Update for "Kill the program" message change.
8758
8759Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
8760
8761 * Makefile.in (GDBFLAGS): Set to -nx.
8762 * Makefile.in (site.exp): Use GDBFLAGS.
8763
8764Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8765
8766 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
8767 Makefiles.
8768 (check): depend on just-check.
8769 (just-check): added so that tests can be run without a noop
8770 build pass.
8771
8772Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8773
8774 Switch to using configure's configdirs.
8775 * Makefile.in (Makefile): add configure.in dependency.
8776 (SUBDIRS): removed redundant assignment.
8777 * configure.in: switch subdirs assignment to configdirs.
8778 * gdb.t*/configure.in: new files.
8779
8780Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
8781
8782 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
8783 works.
8784
8785Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
8786
8787 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
8788 in explicit rules. Apparently this is not supported by some makes.
8789
8790Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
8791
8792 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
8793
8794Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8795
8796 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
8797 disappeared.
8798
8799Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
8800
8801 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
8802
8803Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
8804
8805 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
8806 watchpoint problem that is now fixed.
8807 * gdb.t30/chexp.exp: Remove setup_xfail for printing
8808 uninitialized convenience variables.
8809 * gdb.t31/chillvars.exp: Fix expected patterns for printing
8810 structures.
8811
8812Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8813
8814 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
8815 which causes expect to get out of sync with gdb on long output
8816 from help set.
8817 * gdb.t09/corefile.exp: Make expected pattern for core file
8818 failing signal and frame output format less sun specific.
8819
8820Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
8821
8822 * gdb.t31/chillvars.exp: Add and remove initial dummy
8823 breakpoint, so that symbol table is forced in.
8824 (Needed at least on Sunos4, though it seems not SVR4.)
8825 * gdb.t31/chillvars.exp: Update for changed output format.
8826
8827Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
8828
8829 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
8830
8831Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
8832
8833 * Makefile.in: Added --srcdir when invoking runtest, removed the
8834 need for a local config file. (optional now)
8835
8836Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
8837
8838 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
8839 failure count used to force early termination. Add some more
8840 expected failures for gnu style demangling.
8841
8842Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8843
8844 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
8845 pmi variable from gdb.t20/gdbme to get optimized away.
8846 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
8847 Check for written corefile upon timeout _and_ eof.
8848
8849Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8850
8851 * config/unix-gdb.exp: Add missing return 0.
8852
8853Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8854
8855 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
8856 test termination.
8857
8858Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
8859
8860 * configure.in (subdirs): Put back gdb.t17 which mysteriously
8861 disappeared.
8862
8863Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
8864
8865 * gdb.t10/crossload.exp: Disable the i860-elf test until such
8866 time as i860 support works.
8867
beb998c6 8868 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
8869 "backtrace 100\r" rather than just "backtrace\r", to match last
8870 change.
8871
8872Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
8873
8874 * config/udi-gdb.exp (gdb_exit): Remove close command.
8875 (gdb_target_udi): New procedure to set the UDI target.
8876 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
8877 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
8878 Added waits for prompts after several question responses. Added
8879 some more responses used by a29k-amd-udi-gdb.
8880 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
8881 pass different arguments, restart UDI connection after program
8882 completion.
8883 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
8884 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8885 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
8886 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
8887 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
8888 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
8889 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8890 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
8891 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
8892 after program completion.
8893 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
8894 compiled with a SELECT_VECS setting.
8895 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
8896 infinite recursion.
8897
8898 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
8899 Added checks for COFF results, and made them expected failures for
8900 all targets. It would be better to make them expected failures
8901 for COFF targets only.
8902
8903Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
8904
8905 * Makefile.in: add null dvi target, don't bother to recurse
8906 through test directories for info and install-info; rename
8907 $(datadir) to be dejagnu instead of deja-gnu
8908
8909Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
8910
8911 * gdb.t31/gdbme.ch: Re-enable code that previously caused
8912 compiler to coredump.
8913 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
8914 code.
8915
8916Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
8917
8918 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
8919 coredump.
8920 * gdb.t31/chillvars.exp: Comment out tests that depend on that
8921 code.
8922
8923Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
8924
8925 * gdb.t03/ptype.exp: tests for return code from gdb_test.
8926 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
8927 which in a shell. Deletes xgdb when done.
8928 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
8929 Tests the return from the "set height" or "set width" commands.
8930 Added a few return codes where needed.
8931
8932Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
8933
8934 * Makefile.in (SUBDIRS): Add gdb.t17.
8935 * configure.in (subdirs): Add gdb.t17.
8936 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
8937 files to test gdb's calling of functions in the inferior with
8938 the correct arguments and gdb's ability to retrieve any
8939 result returned.
8940
8941Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
8942
8943 * config/unix-gdb.exp (gdb_exit): Remove close commands that
8944 may be called after gdb goes away. Previous versions of expect
8945 needed these to avoid file descriptor leaks, but they cause
8946 errors with the current revision of expect.
8947 * gdb.t00/gdbvars.exp: Use -re on expected output after
8948 setting sevenbit-strings.
8949 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
8950 to set sevenbit-strings consistent across tests.
8951 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
8952 set sevenbit-strings consistent across tests.
8953
8954Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
8955
8956 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
8957 expected output to match current "expect" expectations.
8958
8959Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
8960
8961 * gdb.t00/default.exp: Change expected output for default "source"
8962 command, to match new gdb behavior which requires a filename to
8963 source.
8964
8965Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
8966
8967 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
8968 expected fail for i486-*-* that misses the marker2 function.
8969 * gdb.t10/crossload.exp (bfddefault): Allow successful
8970 recognition of a format to pass even if no symbols are found.
8971 Explicitly catch failures where the format is not recognized
8972 or is ambiguous, and add the reason to the fail message.
8973 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
8974 the cause is and invalid target and add reason to failure message.
8975 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
8976 elf32-i386, elf32-sparc, and elf32-i860.
8977 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
8978 Set up expected failure for 'filename'::variable scope resolution,
8979 which is now apparently broken on all targets.
8980 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
8981 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
8982 gdb.t23/templates.exp: Change failure for missing binfile into
8983 just a warning.
8984 gdb.t21/demangle.exp: Change all cfront references to 'arm'
8985 references.
8986
8987Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
8988
8989 * gdb.t00/default.exp: Add expected output for default "source"
8990 command, to match new gdb behavior.
8991 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
8992
8993Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
8994
8995 * config/*-gdb.exp: returns an error, rather than exiting on
8996 internal errors.
8997
8998Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
8999
9000 * gdb.t03/gdbme.c: Add pointer to struct variable.
9001 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9002 referencing struct members.
9003
9004Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9005
9006 * configure.in (mips-idt-ecoff): New target.
9007 * config/mips-gdb.exp: New file for remote board using MIPS remote
9008 debugging protocol.
9009
9010 * Redid configuration scheme. Removed gdb.t*/configure.in.
9011 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9012 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9013 distclean targets. Built executables via .o files. Adjusted
9014 tests to account for source files in $(srcdir) rather than
9015 $(objdir).
9016 * lib/gdb.exp (runto): Don't expect () after the function name,
9017 because it may have arguments.
9018
9019Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9020
9021 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9022 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9023 expected failures for mips-idt-* and mips-sgi-*.
9024 * gdb.t00/default.exp (attach): Kill process if requested.
9025 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9026 that does not read core files.
9027 * gdb.t01/run.exp: Removed checks for exit status code.
9028 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9029 it is linked in.
9030 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9031 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9032 appropriate, rather than doing it by hand.
9033 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9034 execution.
9035 * gdb.t10/crossload.exp: Kill existing program if needed.
9036 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9037 appropriate, rather than doing it by hand. Always increase
9038 timeout for this test, not just for VxWorks.
9039
9040Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9041
9042 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9043 of Chill STRUCT types and STRUCT values.
9044 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9045 than "char".
9046 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9047 struct2): New struct definitions and initializations to test
c906108c
SS
9048 simple Chill STRUCT types.
9049
9050Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9051
9052 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9053 the null byte at the end of strings.
9054 * gdb.t00/default.exp: Make show version insensitive to copyright
9055 date.
9056 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9057 to avoid dependencies on target char signedness.
9058 * gdb.t16/printcmds.exp: Update expected results for explicitly
9059 unsigned char.
9060 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9061 now work.
9062 * gdb.t21/demangle.exp: Add many more patterns for template
9063 demangling, most of them being expected failures.
9064 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9065 string we are matching for, to match on the whole string.
9066 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9067 and fix a whole bunch that had incorrect expected output but were
9068 passing anyway because of the bug in "proc demangle".
9069 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9070 type.
9071 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9072
9073Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9074
9075 * gdb/testsuite: made modifications to testcases, etc., to allow
9076 them to work properly given the reorganization of deja-gnu and the
9077 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9078
9079Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9080
9081 * gdb/testsuite: Initial creation of gdb/testsuite.
9082 Migrated dejagnu testcases and support files for testing nm to
9083 gdb/testsuite from deja-gnu. These files were moved "as is"
9084 with no modifications. This migration is part of a major overhaul
9085 of dejagnu. The modifications to these testcases, etc., which
9086 will allow them to work with the new version of dejagnu will be
9087 made in a future update.
9088\f
9089Local Variables:
9090mode: indented-text
9091left-margin: 8
9092fill-column: 74
9093version-control: never
9094End:
This page took 0.686856 seconds and 4 git commands to generate.