]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
daily update
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ff683d9e
MK
12002-07-10 Mark Kettenis <kettenis@gnu.org>
2
3 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
4 function when asleep" test.
5
b5356753
AC
62002-07-10 Andrew Cagney <ac131313@redhat.com>
7
8 * gdb.base/page.exp: Rewrite to handle problems with very long
9 `info set' output. Update copyright.
10
6aa4d13a
AC
112002-06-26 Andrew Cagney <ac131313@redhat.com>
12
13 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14 gdb.threads-hp.
15 * gdb.hp/configure: Regenerate.
16 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17 * gdb.hp/gdb.threads-hp/configure: Delete file.
18 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
19
8cf8c2b8
AC
202002-06-22 Andrew Cagney <ac131313@redhat.com>
21
22 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23 setlocale, bindtextdomain and textdomain.
24
6827a8f8
JB
252002-06-11 Jim Blandy <jimb@redhat.com>
26
919d772c
JB
27 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
28 preprocessor macro information is present.
29
6827a8f8
JB
30 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
31 tests.
32
c15b0d21
MS
332002-06-06 Michael Snyder <msnyder@redhat.com>
34
c5984d70
MS
35 * gdb.base/overlays.exp: Record addresses of overlay
36 functions in TCL variables rather than in GDB variables,
37 to avoid having GDB convert them to pointers (with loss
38 of information).
39
99a8512b
MS
40 * gdb.base/d10v.ld: Merge in several years worth of
41 default linker script changes.
c15b0d21
MS
42 * gdb.base/long_long.exp: Add check for sizeof (long double).
43
be26fe0d
ML
442002-06-06 Michal Ludvig <mludvig@suse.cz>
45
46 * gdb.asm/asm-source.exp: Add x86-64 target.
47 * gdb.asm/x86_64.inc: New.
48
258093ca 492002-05-30 Michael Chastain <mec@shout.net>
258093ca 50
4b3153f1 51 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
52 * gdb.c++/m-static.cc: New file.
53 * gdb.c++/m-static.exp: New file.
54
241264c6
MS
552002-05-28 Michael Snyder <msnyder@redhat.com>
56
57 * gdb.base/call-ar-st.exp: Allow for reduced floating point
58 precision.
59
9bba8c8f 602002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 61
4b3153f1 62 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
63 * gdb.c++/m-data.cc: New file.
64 * gdb.c++/m-data.exp: New file.
65
662002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 67
4b3153f1 68 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
69 * gdb.c++/try_catch.cc: New file.
70 * gdb.c++/try_catch.exp: New file.
71
def1b996
MC
722002-05-27 Michael Chastain <mec@shout.net>
73
74 * gdb.c++/local.exp: Accept more nested types in output.
75
522ba268
MC
762002-05-26 Michael Chastain <mec@shout.net>
77
78 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
79
277254ba
MS
802002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
81
82 * lib/gdb.exp (gdb_wrapper_init): Just because
83 gdb_wrapper_file exists, this does not mean that the file
84 should not be rebuilt. That is what gdb_wrapper_initialized
85 is for.
86 (default_gdb_init): Reset gdb_wrapper_initialized.
87
b61a8733
MS
882002-05-23 Michael Snyder <msnyder@redhat.com>
89
5bdb6d01
MS
90 * gdb.base/all-bin.exp: Revise previous patch by just reducing
91 the precision of the floating point test results.
92 * gdb.base/call-rt-st.exp: Ditto.
93
b61a8733
MS
94 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
95 * gdb.base/call-rt-st.exp: Ditto.
96
56f6e910
MC
972002-05-19 Michael Chastain <mec@shout.net>
98
99 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
100
ad0b0016
EZ
1012002-05-19 Elena Zannoni <ezannoni@redhat.com>
102
103 * configure.in (configdirs): Add gdb.arch.
104 * configure: Regenerate.
105
f617d2b6
JB
1062002-05-17 Jim Blandy <jimb@redhat.com>
107
108 * gdb.base/completion.exp: Recognize the more detailed error
109 messages produced by the macro expander's lexical analyzer.
110
eac2a696
EZ
1112002-05-14 Elena Zannoni <ezannoni@redhat.com>
112
113 * gdb.arch/altivec-abi.c: New file.
114 * gdb.arch/altivec-abi.exp: New file.
115 * gdb.arch/altivec-regs.c: New file.
116 * gdb.arch/altivec-regs.exp: New file.
117
2fdde8f8
DJ
1182002-05-14 Daniel Jacobowitz <drow@mvista.com>
119
120 * gdb.base/maint.exp (maint print type): Update for new type
121 structure.
eac2a696 122
e31f1a7c
EZ
1232002-05-14 Elena Zannoni <ezannoni@redhat.com>
124
125 * gdb.arch: New directory.
126 * gdb.arch/configure.in: New file.
127 * gdb.arch/configure: New file.
128 * gdb.arch/Makefile.in: New file.
129
db589741
CV
1302002-05-13 Corinna Vinschen <vinschen@redhat.com>
131
132 * gdb.asm/asm-source.exp: Add v850 as supported target.
133 * gdb.asm/v850.inc: New file.
134
8ce2a7dc
DJ
1352002-05-13 Daniel Jacobowitz <drow@mvista.com>
136
137 * gdb.c++/annota2.exp (annotate-quit): Add comment.
138
df763c7f
DJ
1392002-05-12 Daniel Jacobowitz <drow@mvista.com>
140
141 * gdb.base/break.exp: Check 'break "marker2"'.
142
377daeed
MS
1432002-05-10 Michael Snyder <msnyder@redhat.com>
144
145 * gdb.base/long_long.exp: Fix typo.
146
c4b7bc2b
JB
1472002-05-10 Jim Blandy <jimb@redhat.com>
148
ecac9a4e
JB
149 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
150 a bug.
151
c4b7bc2b
JB
152 * gdb.base/printcmds.exp (test_integer_literals_rejected):
153 Recognize more detailed error message produced by the macro
154 expander's lexical analyzer.
155 * lib/gdb.exp (test_print_reject): Same.
156
e71019a1
MK
1572002-05-09 Mark Kettenis <kettenis@gnu.org>
158
159 * gdb.c++/method.exp: Fix typo.
160
fedfc8e6
MS
1612002-05-08 Michael Snyder <msnyder@redhat.com>
162
166a1957
MS
163 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
164 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 165 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
166 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
167 Add iftarget clause for strongarm.
168
f1c47eb2
MS
1692002-05-06 Michael Snyder <msnyder@redhat.com>
170
cb9a9d3e
MS
171 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
172 (gdb_continue_to_end): Accept output from status wrapper.
173 * gdb.base/ending-run.exp: Add case for output from status wrapper.
174 Clean up fail messages to match pass messages.
175
f1c47eb2
MS
176 Enable the "needs_status_wrapper" testsuite feature.
177 * lib/gdb.exp (gdb_wrapper_init): New procedure.
178 (gdb_compile): Conditionally call gdb_wrapper_init.
179 * gdb.base/a2-run.exp: Recognize output from status wrapper.
180 * gdb.c++/method.exp: Recognize output from status wrapper.
181
6079c749
BE
1822002-05-06 Ben Elliston <bje@redhat.com>
183From Graydon Hoare <graydon@redhat.com>
184
185 * config/sid.exp: Include support for "rawsid" protocol.
186
188baff3
JB
1872002-05-03 Jim Blandy <jimb@redhat.com>
188
189 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
190 * gdb.c++/hang3.C: New file.
191
b9c07f0f
AC
1922002-05-04 Andrew Cagney <ac131313@redhat.com>
193
194 * gdb.base/default.exp: Remove obsolete code.
195 * gdb.c++/misc.exp: Ditto. Update copyright.
196 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
197 * gdb.base/whatis.exp: Ditto. Update copyright.
198 * gdb.base/scope.exp: Ditto. Update copyright.
199 * gdb.base/ptype.exp: Ditto. Update copyright.
200 * gdb.base/printcmds.exp: Ditto. Update copyright.
201 * gdb.base/opaque.exp: Ditto. Update copyright.
202 * gdb.base/list.exp: Ditto.
203 * gdb.base/funcargs.exp: Ditto. Update copyright.
204 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
205 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
206 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
207 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
208 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
209 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
210
5c7a0397
MS
2112002-05-02 Michael Snyder <msnyder@redhat.com>
212
d6dcc264 213 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
214 * gdb.base/long_long.exp: Add xscale target.
215 * gdb.base/default.exp: Add xscale target.
216
eb7f1c48
JB
2172002-05-01 Jim Blandy <jimb@redhat.com>
218
219 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
220 gdb.c++/hang.exp: New test.
221
a6befae8
FF
2222002-05-01 Fred Fish <fnf@redhat.com>
223
224 * gdb.base/completion.exp: Handle completions of "./Make" for
225 more than one completion possibility, as is the case when we
226 build and test in the source tree.
227
0a310277
AG
2282002-04-29 Anthony Green <green@redhat.com>
229
230 * gdb.java/jmisc1.exp: New file.
231 * gdb.java/jmisc2.exp: New file.
232
6ff9af88
DJ
2332002-04-24 Daniel Jacobowitz <drow@mvista.com>
234
235 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
236
96b3d632
EZ
2372002-04-23 Elena Zannoni <ezannoni@redhat.com>
238
239 * gdb.base/help.exp: Change 'help status' to allow for target
240 dependent output differences.
241
5019bb54
MC
2422002-04-22 Michael Chastain <mec@shout.net>
243
244 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
245
a805a116
MC
2462002-04-22 Michael Chastain <mec@shout.net>
247
248 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
249
a1706bfd
DM
2502002-04-17 David S. Miller <davem@redhat.com>
251
252 * gdb.asm/sparc64.inc: New file.
253 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
254
a73a20a2
EZ
2552002-04-19 Elena Zannoni <ezannoni@redhat.com>
256
257 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
258 instruction file directly into the build tree. Clean up at end of
259 test.
260
ba678339
DM
2612002-04-18 David S. Miller <davem@redhat.com>
262
263 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
264 handle 64-bit platforms correctly.
265 * gdb.base/maint.exp: Likewise.
266
b03399da
KB
2672002-04-18 Kevin Buettner <kevinb@redhat.com>
268
269 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
270 ``-fpic'' when compiling files comprising a shared library, but
271 it does need additional linker flags in order to find shared
272 libraries at run time.
273
e2004992
KB
2742002-04-18 Kevin Buettner <kevinb@redhat.com>
275
276 * gdb.base/cvexpr.c (use): New function.
277 (main): Invoke use() on all global variables to prevent
278 some linkers from deleting these otherwise unused symbols.
279
d8937120
MC
2802002-04-17 Michael Chastain <mec@shout.net>
281From David S. Miller <davem@redhat.com>
282
283 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
284 handle 64-bit platforms correctly.
285
ffd61a58
MS
2862002-04-12 Michael Snyder <msnyder@redhat.com>
287From Jim Blandy <jimb@redhat.com>
288 * gdb.base/foo.c (foox): Remove section attribute; the linker
289 script can handle this instead.
290 * gdb.base/bar.c (barx): Same.
291 * gdb.base/baz.c (bazx): Same.
292 * gdb.base/grbx.c (grbxx): Same.
293
294 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
295 manager doesn't automatically unmap overlays unnecessarily.
296
6b8426a6
MH
2972002-04-10 Martin M. Hunt <hunt@redhat.com>
298
299 * gdb.base/ending-run.exp: Fix pattern for Mips targets
300 stepping out of main.
301
34af4875
MC
3022002-04-09 Michael Chastain <mec@shout.net>
303
304 * gdb.c++/local.cc (main): Move call to marker1() inside nested
305 scope so that the nested scope tests will make sense.
306 * gdb.c++/local.exp: Write patterns that actually work with gcc
307 (the HP patterns "were never known to work with gcc").
308 Keep the old aCC patterns too.
309
2d1676a0
DJ
3102002-04-09 Daniel Jacobowitz <drow@mvista.com>
311
312 * gdb.base/attach.exp: Correct target board test.
313
3a63e3f9
MC
3142002-04-08 Michael Chastain <mec@shout.net>
315
316 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
317 in a const method. Add some xfail and fail cases for configurations
318 that do not emit the "const ...".
319
f18dabd2
MC
3202002-04-07 Michael Chastain <mec@shout.net>
321
322 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
323 Accept "A * const" and "const A * const" as type of "this".
324 Fix spelling of getFunky throughout. Make messages uniform.
325
0fcddd82
EZ
3262002-04-07 Elena Zannoni <ezannoni@redhat.com>
327
328 Work around for PR gdb/285:
329 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
330
16a8534a
EZ
3312002-04-07 Elena Zannoni <ezannoni@redhat.com>
332
333 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
334 instructions file at run time instead of configure time.
335 Sometimes we run the test in a directory that is not the one we
336 configured in.
337 * gdb.asm/configure.in: Delete creation of symlink.
338 * gdb.asm/configure: Regenerate.
339
24181d81
JB
3402002-04-05 J. Brobecker <brobecker@gnat.com>
341
342 * gdb.gdb/xfullpath.exp: New test, to exercise the new
343 xfullpath () function.
344
7cdb7107
DJ
3452002-04-04 Daniel Jacobowitz <drow@mvista.com>
346
347 * gdb.asm/Makefile.in: Correct dependencies.
348
349 * gdb.asm/powerpc.inc: New file.
350 * gdb.asm/asm-source.exp: Add PowerPC.
351 * gdb.asm/configure.in: Likewise.
352 * gdb.asm/configure: Regenerated.
353
a7d17088
DJ
3542002-04-04 Daniel Jacobowitz <drow@mvista.com>
355
356 * gdb.base/relocate.exp: New file.
357 * gdb.base/relocate.c: New file.
358
cd721503
FF
3592002-04-04 Fred Fish <fnf@redhat.com>
360
361 * gdb.base/step-test.exp: Update comment regarding stopping in
362 memcpy/bcopy calls inserted as part of the compiler runtime.
363
b22ad7a7
MS
3642002-04-04 Michael Snyder <msnyder@redhat.com>
365
366 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
367
5f279fa6
DJ
3682002-04-03 Daniel Jacobowitz <drow@mvista.com>
369
370 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
371 (gdb_expect): Remove $notransfer hack.
372
dd0fd3ce
DJ
3732002-04-02 Daniel Jacobowitz <drow@mvista.com>
374
375 * gdb.c++/classes.exp ("calling method for small class"): Match
376 updated register output.
377
1e50cda1
DJ
3782002-03-30 Daniel Jacobowitz <drow@mvista.com>
379
380 Fix PR gdb/452
381 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
382 when finished. Make gdb_file_cmd send "exec-file" when
383 appropriate.
384
24015922
DJ
3852002-03-30 Daniel Jacobowitz <drow@mvista.com>
386
387 * gdb.base/attach.exp: Remove extra setup_xfail.
388
dd7dfd64
MS
3892002-03-26 Michael Snyder <msnyder@redhat.com>
390
391 * gdb.base/default.exp: Add tests for dump, append, and restore.
392 * gdb.base/help.exp: Add tests for dump, append, and restore.
393 * gdb.base/dump.exp: New file, test dump, append and restore.
394 * gdb.base/dump.c: New file.
395
48b2f8d7
MS
3962002-03-27 Michael Snyder <msnyder@redhat.com>
397
398 * gdb.base/help.exp: Modify expect strings to reflect
399 clean-ups in help messages.
400
05b4d525
FF
4012002-03-26 Fred Fish <fnf@redhat.com>
402
403 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
404 have debugging info for those functions and the compiler uses them
405 internally to copy structs around.
406
d7679631
FF
4072002-03-26 Fred Fish <fnf@redhat.com>
408
409 * gdb.base/list.exp: Revert the change made yesterday and add note
410 about why we don't list the default lines for remote targets.
411
523ac3f9
MS
4122002-03-25 Michael Snyder <msnyder@redhat.com>
413
414 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
415
754b2b8d
FF
4162002-03-25 Fred Fish <fnf@redhat.com>
417
418 * gdb.base/list.exp: This test works on remote targets so remove
419 the short circuit for remote targets. Update copyright.
420
33c3e192
FF
4212002-03-25 Fred Fish <fnf@redhat.com>
422
423 * gdb.base/attach.exp: Fix logic error that was suppressing this
424 test for all non hppa*-*-hpux* targets, instead of the hp target.
425 Move comments closer to the suppression point. Also now need to
426 check that we are running natively.
427
d43e73ee
MS
4282002-03-22 Michael Snyder <msnyder@redhat.com>
429
882c8f02
MS
430 * gdb.base/default.exp: Add test for gcore. Update copyright.
431 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 432
04c12f60
FF
4332002-03-06 Fred Fish <fnf@redhat.com>
434
435 * gdb.base/funcargs.c: Remove extraneous ';' character.
436 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
437
b43df995
MC
4382002-03-04 Michael Chastain <mec@shout.net>
439
440 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
441 accommodate gcc v3 function signature.
442 * gdb.mi/mi0-var-cmd-exp: Ditto.
443
92362027
AC
4442002-02-24 Andrew Cagney <ac131313@redhat.com>
445
446 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
447 ``GNU/Linux'' or ``Linux kernel''
448 * testsuite/gdb.threads/pthreads.c: Ditto.
449
258ad32d
MC
4502002-02-24 Michael Chastain <mec@shout.net>
451
452 * gdb.threads/pthreads.c (thread1): Add a return statement.
453 (thread2): Likewise.
454 (foo): Likewise.
455
04c3b3d4
MC
4562002-02-23 Michael Chastain <mec@shout.net>
457
458 * gdb.threads/linux-dp.c (philosopher): Add a return statement
459 to placate gcc.
460
5a2a0a20
MC
4612002-02-23 Michael Chastain <mec@shout.net>
462
463 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
464 test "ptype bint". The test passes on all my stabs configurations.
465
a640f7fc
JB
4662002-02-21 Jim Blandy <jimb@redhat.com>
467
27924826
JB
468 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
469 filename at a time, and watch for the ones we want to see.
470
a640f7fc
JB
471 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
472 types of pointers to prototyped functions.
473
edcc8c75
AC
4742002-02-20 Andrew Cagney <ac131313@redhat.com>
475
476 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
477 signed, unsigned and straight char.
478 (padding_char, padding_short, padding_int, padding_long,
479 padding_long_long, padding_float, padding_double,
480 padding_long_double): New global variables.
481 (fill, fill_structs): New functions.
482
483 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
484 for correctly sized writes. Update copyright.
485 (get_valueof): New procedure.
486 (get_sizeof): Call get_valueof.
487 (check_valueof): New procedure.
488 (check_padding): New procedure.
489
ac57ea44
MC
4902002-02-20 Michael Chastain <mec@shout.net>
491
492 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
493 to setup_xfail. Document some of the remaining calls.
494
7a10c941
MC
4952002-02-18 Michael Chastain <mec@shout.net>
496
497 * gdb.c++/userdef.exp: Update copyright year.
498
fb8acdcc
DJ
4992002-02-18 Daniel Jacobowitz <drow@mvista.com>
500
501 * gdb.c++/userdef.exp: Test overloaded operators properly.
502 Remove xfails.
503
fda6ae12
MS
5042002-02-14 Michael Snyder <msnyder@redhat.com>
505
506 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
507
676a0442
DJ
5082002-02-14 Daniel Jacobowitz <drow@mvista.com>
509
510 * gdb.base/a2-run.exp: Check for a remote target properly.
511 * gdb.base/annota1.exp: Likewise.
512 * gdb.base/list.exp: Likewise.
513 * gdb.base/reread.exp: Likewise.
514 * gdb.base/scope.exp: Likewise.
515 * gdb.base/shlib-call.exp: Likewise.
516 * gdb.base/term.exp: Likewise.
517 * gdb.c++/annota2.exp: Likewise.
518
78b4f468
RE
5192002-02-13 Richard Earnshaw <rearnsha@arm.com>
520
521 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
522
9a81ba51
MC
5232002-02-10 Michael Chastain <mec@shout.net>
524
525 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
526 (call_after_alloca): Ditto.
527
004af6c7
DJ
5282002-02-10 Daniel Jacobowitz <drow@mvista.com>
529
530 * gdb.base/ending-run.exp: Guard "cont" test with
531 gdb_skip_stdio_test.
532
37225f62
JB
5332002-02-06 Jim Blandy <jimb@redhat.com>
534
535 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
536 from here...
537 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
538 To here. Disable this test on non-HP platforms. Add big comment.
539
fe6fdd96
MS
5402002-02-04 Michael Snyder <msnyder@redhat.com>
541
542 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
543 other than d10v and m32r.
544
036fad3f
RE
5452002-02-02 Richard Earnshaw <rearnsha@arm.com>
546
547 * gdb.base/default.exp: Rewrite test patterns to reduce time
548 taken to match them.
549
7148ab62
DJ
5502002-01-30 Daniel Jacobowitz <drow@mvista.com>
551
552 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
553 Allow a start function above main.
554 * gdb.threads/linux-dp.exp: Fix copyright date.
555
396cc255
DJ
5562002-01-30 Daniel Jacobowitz <drow@mvista.com>
557
558 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
559 (check_philosopher_stack): Check for manager thread before checking
560 for a just-starting thread.
561
f038d31b
DJ
5622002-01-30 Daniel Jacobowitz <drow@mvista.com>
563
564 From Neil Booth <neil@daikokuya.demon.co.uk>:
565 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
566 warnings.
567
b3ff9d9a
FF
5682002-01-21 Fred Fish <fnf@redhat.com>
569
570 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
571 not caller.
572
39ad761d
JB
5732002-01-21 Jim Blandy <jimb@redhat.com>
574
575 * gdb.base/reread.exp: Check that GDB properly re-reads the
576 executable file when it changes while no inferior is running.
577
aaf320fa
FF
5782002-01-21 Fred Fish <fnf@redhat.com>
579
580 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
581 optionally accept the "shlib events" variation.
582
808a31f5
JB
5832002-01-21 Jim Blandy <jimb@redhat.com>
584
585 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
586 call `fflush' after every `printf', so that the output is produced
587 at predictable points, regardless of whatever buffering does (or
588 doesn't) take place.
589 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
590 at different points.
591
4420d5e2
DJ
5922002-01-20 Daniel Jacobowitz <drow@mvista.com>
593
594 * gdb.c++/inherit.exp: Update copyright years.
595 * gdb.c++/method.exp: Likewise.
596
3e36a0f4
DJ
5972002-01-20 Daniel Jacobowitz <drow@mvista.com>
598
599 * gdb.c++/classes.exp: Update for improved v3 support and skipping
600 artificial methods/arguments.
601 * gdb.c++/derivation.exp: Likewise.
602 * gdb.c++/inherit.exp: Likewise.
603 * gdb.c++/method.exp: Likewise.
604 * gdb.c++/virtfunc.exp: Likewise.
605
b4ceaee6
AC
6062002-01-18 Andrew Cagney <ac131313@redhat.com>
607
608 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
609 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
610 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
611 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
612 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
613 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
614
ecace851
JB
6152002-01-17 Jim Blandy <jimb@redhat.com>
616
617 * gdb.asm/asm-source.exp (info symbol): Take another shot at
618 anchoring the pattern matching the entry point symbol's name.
619
375fc983
AC
6202002-01-17 Andrew Cagney <ac131313@redhat.com>
621
622 * gdb.base/maint.exp: Update ``maint internal-error'' to match
623 continue/quit query. Update copyright.
624
fe6fdd96
MS
6252002-01-14 Michael Snyder <msnyder@redhat.com>
626
627 * gdb.base/gcore.exp: Remove extra debugging output.
628
e017c81f
DJ
6292002-01-13 Daniel Jacobowitz <drow@mvista.com>
630
631 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
632 for slightly dubious v2 mangled string.
633
37ab3bf8
DJ
6342002-01-13 Daniel Jacobowitz <drow@mvista.com>
635
636 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
637
1bc05c3a 6382002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 639
1bc05c3a 640 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 641
1bc05c3a
JM
642 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
643 constructors.
644 * gdb.c++/derivation.exp: Likewise.
645 * gdb.c++/templates.exp: Likewise.
646 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 647
1bc05c3a
JM
6482002-01-10 Michael Snyder <msnyder@redhat.com>
649
650 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 651
a911c360
MS
6522002-01-08 Michael Snyder <msnyder@redhat.com>
653
654 * gdb.base/gcore.exp: New test for generate-core-file command.
655 * gdb.base/gcore.c: Testcase for above.
656 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
657
ea2119ec
JM
6582002-01-08 Jason Merrill <jason@redhat.com>
659
660 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
661
68203136
FF
6622002-01-07 Fred Fish <fnf@redhat.com>
663
664 * gdb.c++/overload.exp: Remove unconditional xfails for:
665 print foo_instance1.overloadargs(1)
666 print foo_instance1.overloadargs(1, 2)
667 print foo_instance1.overloadargs(1, 2, 3)
668 print foo_instance1.overloadargs(1, 2, 3, 4)
669 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
670 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
671 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
672 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
673 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
674 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
675 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
676 print foo_instance1.overload1arg()
677 print foo_instance1.overload1arg((char)arg2)
678 print foo_instance1.overload1arg((signed char)arg3)
679 print foo_instance1.overload1arg((unsigned char)arg4)
680 print foo_instance1.overload1arg((int)arg7)
681 print foo_instance1.overload1arg((unsigned int)arg8)
682 print foo_instance1.overload1arg((float)arg11)
683 print foo_instance1.overload1arg((double)arg12)
684
21b9b5b1
MS
6852002-01-07 Michael Snyder <msnyder@redhat.com>
686
687 * gdb.base/huge.exp: New test. Print a very large target data object.
688 (skip_huge_test): New test variable. Define if you want to skip this
689 test. The test reads an 8 megabyte data object from the target, so it
690 might be very time consuming on remote targets with a slow connection.
691 * gdb.base/huge.c: New file. Test case for above.
692
725f922e
FF
6932002-01-07 Fred Fish <fnf@redhat.com>
694
695 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
696 g_instance.bfoo, and g_instance.cfoo.
697
634d57ec
JL
698Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
699
f286b2c3
JL
700 * gdb.base/break.c (multi_line_if_conditional): New function.
701 (multi_ilne_while_conditional): Likewise.
702 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
703 IF or WHILE condition puts the breakpoint at the start of
704 the condition.
705
634d57ec
JL
706 * gdb.base/selftest.exp (backtrace through signal handler): Remove
707 hppa*-*-hpux* expected failure.
708 * gdb.base/structs.exp (do_function_calls): Similarly.
709
710 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
711 watchpoints.
712
9fbfe2dc
AC
7132002-01-06 Andrew Cagney <ac131313@redhat.com>
714
715 Fix PR gdb/66.
716 * gdb.base/structs.exp: Replace skip for a29k with skip for
717 gdb,cannot_call_functions.
718 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
719 * gdb.base/callfuncs.exp: Ditto.
720 * gdb.base/call-rt-st.exp: Ditto.
721 * gdb.base/call-strs.exp: Ditto.
722 * gdb.base/callfwmall.exp: Ditto.
723 * gdb.base/scope.exp: Obsolete xfail a29k.
724 * gdb.c++/misc.exp: Ditto.
725 * gdb.c++/cplusfuncs.exp: Ditto.
726 * gdb.base/ptype.exp: Ditto.
727 * gdb.base/printcmds.exp: Ditto.
728 * gdb.base/opaque.exp: Ditto.
729 * gdb.base/list.exp: Ditto.
730 * gdb.base/funcargs.exp: Ditto.
731 * gdb.base/default.exp: Ditto.
732
8ddad156
MS
7332002-01-04 Michael Snyder <msnyder@redhat.com>
734
ca4976a6 735 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
736 * gdb.base/maint.exp: Add tests for maint info sections options.
737
1b074332
JL
738Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
739
740 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
741
7d159115
CV
7422001-12-20 Corinna Vinschen <vinschen@redhat.com>
743
744 * gdb.asm/arm.inc: New file.
745 * gdb.asm/asm-source.exp: Add arm targets.
746 * gdb.asm/configure.in: Ditto.
747 * gdb.asm/configure: Recreated from configure.in.
748
8fb87725
JL
749Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
750
afabe08c
JL
751 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
752 with HP's compiler.
753 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
754 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
755 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
756 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
757
758 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
759 either HP's compilers or GCC.
760
db521deb
JL
761 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
762 a SIGBUS or SIGSEGV.
763
764 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
765
766 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
767 can be compiled with either HP's compiler or GCC.
768
cfa88ab7
JL
769 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
770 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
771 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
772
ca344dff
JL
773 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
774 to match current gdb output. Update due to using auto-solib-limit
775 for limiting instead of overloading auto-solib-add.
776 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
777 test program.
778
3f3c6e55 779 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
780 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
781 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
782 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
783 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
784 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
785 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
786 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
787 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
788 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
789 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
790 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
791 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 792
8fb87725
JL
793 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
794 a SIGTRAP to the inferior.
795
cf599fa7
CV
7962001-12-19 Corinna Vinschen <vinschen@redhat.com>
797
798 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
799 Substitute call to target_link by call to gdb_compile.
800
2cd045cd
JL
801Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
802
803 * gdb.base/break.exp: Fix HP specific search string when testing
804 backtracing in a called function.
805
806 * gdb.base/constvars.exp: Only set lang to C++ if we're
807 compiling the test with HP's compilers.
808 * gdb.base/volatile.exp: Similarly.
809
99ebe9ac
JB
8102001-12-19 Jim Blandy <jimb@redhat.com>
811
812 * gdb.base/printcmds.exp: Expect the null character to be printed
813 as '\0', and the '\013' to be printed as '\v'.
814 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
815 * gdb.base/setvar.exp: Same.
816
b9891b29
JB
8172001-12-17 Jim Blandy <jimb@redhat.com>
818
0eba65ab
JB
819 * gdb.base/completion.exp: Rather than completing very long
820 filenames, which can make the readline library produce output we
821 don't recognize, cd to the directory first, and then complete
822 using nice, short relative paths.
823
6970b5b1
JB
824 * gdb.base/completion.exp: On some systems, there is, in fact, a
825 variable named `b' in scope, since GDB treats all static
826 variables as being in scope. So use `no_var_named_this'
827 instead of `b'.
828
b9891b29
JB
829 * gdb.base/corefile.exp: Recognize the message saying that GDB
830 can't find the core file's registers as a failure.
831
e6ccd35f
JSC
8322001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
833
834 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
835 test expect string more specific.
836
105ba819
CV
8372001-12-13 Corinna Vinschen <vinschen@redhat.com>
838
839 * gdb.asm/asm-source.exp: Add support for xstormy16.
840 * gdb.asm/configure.in: Ditto.
841 * gdb.asm/configure: Rebuild.
842 * gdb.asm/xstormy16.inc: New file.
843
e9e79dd9
FF
8442001-12-10 Fred Fish <fnf@redhat.com>
845
846 * gdb.base/maint.exp: Update to match changes in type dumping code.
847
347dc97d
JB
8482001-12-10 Jim Blandy <jimb@redhat.com>
849
850 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
851 matching the entry point symbol's name at the beginning of the
852 line.
853
5178b9d6
DJ
8542001-12-07 Daniel Jacobowitz <drow@mvista.com>
855
856 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
857 gdb.c++/inherit.exp, gdb.c++/method.exp,
858 gdb.c++/namespace.exp, gdb.c++/templates.exp,
859 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
860 and class layout support.
861
af890c52
DJ
8622001-12-07 Daniel Jacobowitz <drow@mvista.com>
863
864 * gdb.c++/classes.exp: Add test for static member function.
865 * gdb.c++/misc.cc: Add class with static member function.
866
7a345fb3
JB
8672001-12-07 Jim Blandy <jimb@redhat.com>
868
f2e54a80 869 If GDB says it can't find the struct the function returned, report
8032bf31
JB
870 those tests as `unsupported'.
871 * gdb.base/call-rt-st.exp (print_struct_call): New function.
872 Rewrite subsequent tests to use it.
873
874 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
875 those tests as `unsupported'.
876 * gdb.base/structs.exp (call_struct_func): New function.
877 (do_function_calls): Use call_struct_func to call the functions
878 returning structs.
879
0bc69509
JB
880 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
881 whether functions are prototyped or not, so we can't possibly pass
882 arguments to t_float_values2 properly.
883
7a345fb3
JB
884 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
885 value of `timeout' for targets other than the mips*tx39-*.
886
edb6ede1
MS
8872001-12-06 Michael Snyder <msnyder@redhat.com>
888
889 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
890 and detect whether the start symbol has a leading underscore.
891
2d842f13
JB
8922001-12-04 Jim Blandy <jimb@redhat.com>
893
894 * gdb.base/completion.exp: Clarify indentation.
895
68550daf
JB
8962001-12-03 Jim Blandy <jimb@redhat.com>
897
898 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
899 variables on the S/390, not `.word'.
900
cd5195a8
JB
9012001-11-30 Jim Blandy <jimb@redhat.com>
902
903 Add assembly-source tests for s390-ibm-linux.
904 * gdb.asm/s390.inc: New file.
905 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
906 the S/390 architecture.
907 * gdb.asm/configure: Regenerated.
908
ca9efc90
MS
9092001-11-30 Michael Snyder <msnyder@redhat.com>
910
911 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
912 next, info source, info sources, info line, global and static
913 variables, and static functions.
914 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
915 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
916 * gdb.asm/asmsrc1.s: Add a static function and some variables.
917 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
918 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
919 (gdbasm_leave): Restore frame pointer.
920 (gdbasm_startup): Copy stack set-up from crt0.S.
921
d0e66976
FN
9222001-11-26 Fernando Nasser <fnasser@redhat.com>
923
924 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
925 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
926 to a local (non-static) variable. Copy tstruct.a to a static buffer
927 and return a pointer to that buffer.
928 * gdb.base/callfwmall.c (t_structs_a): Ditto.
929
e2334072
MK
9302001-11-24 Mark Kettenis <kettenis@gnu.org>
931
932 * gdb.asm/configure.in: Fix recognition of ix86 target.
933 * gdb.asm/configure: Regenerate.
934
756caa3d
MS
9352001-11-21 Michael Snyder <msnyder@redhat.com>
936
937 * gdb.asm/sparc.inc: New file.
938 * gdb.asm/asm-source.exp: Recognize sparc target.
939 * gdb.asm/configure.in: Recognize sparc target.
940 * gdb.asm/configure: Regenerate.
941
9a4d72d5
MS
9422001-11-21 Michael Snyder <msnyder@redhat.com>
943
944 * gdb.asm/m32r.inc: New file.
945 * gdb.asm/asm-source.exp: Recognize m32r target.
946 * gdb.asm/configure.in: Recognize m32r target.
947 * gdb.asm/configure: Regenerate.
948
a773d1cd
MS
9492001-11-20 Michael Snyder <msnyder@redhat.com>
950
017ac23d
MS
951 * gdb.asm/i386.inc: New file.
952 * gdb.asm/asm-source.exp: Recognize ix86 target.
953 * gdb.asm/configure.in: Recognize ix86 target.
954 * gdb.asm/configure: Regenerate.
955
a773d1cd
MS
956 * gdb.c++/namespace.exp: Fix quotes in output messages.
957
bb632afb
MS
9582001-11-14 Michael Snyder <msnyder@redhat.com>
959
25d559ca 960 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
961 qualifier in a type cast expression, to designate an address
962 in the instruction space (Harvard architecture).
963
4749e309
MS
9642001-11-13 Michael Snyder <msnyder@redhat.com>
965
966 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
967 Tests for expressions using 'const' and 'volatile'.
968
25050984
CV
9692001-11-13 Corinna Vinschen <vinschen@redhat.com>
970
971 * gdb.asm/asm-sources.exp: Allow defining linker flags.
972
1902c51f
DJ
9732001-11-12 Daniel Jacobowitz <drow@mvista.com>
974
975 * lib/mi-support.exp (mi_run_to_helper): Move comments
976 outside of gdb_expect.
977
dcf95b47
DJ
9782001-11-11 Daniel Jacobowitz <drow@mvista.com>
979
980 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
981 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
982 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
983 mi0_run_to): New functions.
984 * gdb.mi/mi-simplerun.exp: Use them.
985 * gdb.mi/mi0-simplerun.exp: Likewise.
986 * gdb.mi/mi-var-cmd.exp: Likewise.
987 * gdb.mi/mi0-var-cmd.exp: Likewise.
988
45b074e1
AC
9892001-11-10 Andrew Cagney <ac131313@redhat.com>
990
991 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
992 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
993
bf50d346
AC
9942001-11-09 Andrew Cagney <ac131313@redhat.com>
995
996 * gdb.base/restore.exp: Include $expected value in restored test
997 message.
998
9383332c
AC
9992001-11-09 Andrew Cagney <ac131313@redhat.com>
1000
1001 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1002 implemented.
1003
db62520a
MS
10042001-11-08 Michael Snyder <msnyder@redhat.com>
1005
1006 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1007 Add pass/fail message for stop at breakpoint in call dummy function.
1008
b5703437
MS
10092001-11-07 Michael Snyder <msnyder@redhat.com>
1010
760f6330
MS
1011 * gdb.c++/templates.exp (test_template_breakpoints):
1012 If we get an overload menu, but it does not match what
1013 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1014 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1015 making the whitespace optional. Argument for "new" may be
1016 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1017 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1018 making the whitespace optional. Also replace "(void) with
1019 "((void|)), making the keyword "void" optional.
63f50499
MS
1020 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1021 making the whitespace optional. Also replace "(void) with
1022 "((void|)), making the keyword "void" optional.
3bf40917
MS
1023 * gdb.base/callfuncs.c (t_float_values): This function must
1024 _not_ be prototyped, and the following function (t_float_values2)
1025 must be prototyped (if the compiler supports it), so that GDB
1026 can be tested against both cases. Usually one case involves
1027 promotion of float to double, while the other does not.
1028 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1029 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1030 includes a stack frame for "start".
1031
c8ab4e6d
JB
10322001-11-05 Jim Blandy <jimb@redhat.com>
1033
1034 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1035 pointers are 32 bits long, and that offsets of relocs are always
1036 stored in the data (REL-style), and not in the reloc entry itself
1037 (RELA-style).
1038 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1039 stabs.
1040
3f08ced9
MS
10412001-11-01 Michael Snyder <msnyder@redhat.com>
1042
1043 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1044 and regular expression operators by using quoting.
1045
cbfa24cd
MS
10462001-10-31 Michael Snyder <msnyder@redhat.com>
1047
1048 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1049 depending on what the symbol table contains.
1050 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1051 the output of the ptype command. Similarly, accept both "const &"
1052 and "const&".
1053
aaa68313
CV
10542001-10-31 Corinna Vinschen <vinschen@redhat.com>
1055
1056 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1057 symbol `STORAGE' to allow to choose the storage class of
1058 the local datastructures.
1059 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1060 compiler directive.
1061
91740388
MS
10622001-10-30 Michael Snyder <msnyder@redhat.com>
1063
1064 * gdb.base/jump.exp: Allow it to run for all targets.
1065
1b7c05e7
CV
10662001-10-29 Corinna Vinschen <vinschen@redhat.com>
1067
1068 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1069 with new double_array size.
1070 (main): Change storage class of all local variables to static.
1071 Reduce size of double_array to 9.
1072 * gdb.base/call-ar-st.exp: Increase timeout value.
1073 Change expected output for double array to match new size in
1074 call-ar-st.c.
1075
36a22261
CV
10762001-10-29 Corinna Vinschen <vinschen@redhat.com>
1077
1078 * gdb.base/ending-run.exp: Create identical output when passing
1079 `step to end of run' case. Add regular expression branch satisfying
1080 Stormy16 target.
1081
92b8ae91
MK
10822001-10-28 Mark Kettenis <kettenis@gnu.org>
1083
1084 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1085 that we catch the expected failure under Linux/x86.
1086
cb135b83
OF
10872001-10-29 Orjan Friberg <orjanf@axis.com>
1088
1089 * gdb.base/setvar.exp: Escape curly braces.
1090 * gdb.stabs/weird.exp: Ditto.
1091
6884aa54
DJ
10922001-10-27 Daniel Jacobowitz <drow@mvista.com>
1093
1094 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1095 * gdm.mi/mi0-hack-cli.exp: Likewise.
1096
0398c9aa
AC
10972001-10-25 Andrew Cagney <ac131313@redhat.com>
1098
1099 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1100 messages.
1101
d20bf2e8
AC
11022001-10-21 Andrew Cagney <ac131313@redhat.com>
1103
1104 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1105 checking MI enabled.
1106
03dd63aa
CV
11072001-10-09 Corinna Vinschen <vinschen@redhat.com>
1108
1109 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1110
1d9d99f3
FCE
11112001-10-04 Frank Ch. Eigler <fche@redhat.com>
1112
1113 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1114 if gdb child process crashes, just signal an error.
1115
838ae6c4
JB
11162001-10-02 Jim Blandy <jimb@redhat.com>
1117
1118 * lib/gdb.exp (test_xfail_format): Simplify.
1119
1120 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1121 front of the variable name `format'. Simplify `if'.
1122
8f0cbc1c
DJ
11232001-10-01 Daniel Jacobowitz <drow@mvista.com>
1124
1125 * gdb.threads/pthreads.exp: Wait for output and delay
1126 before sending ^C.
1127
1f08dafd
DJ
11282001-10-01 Daniel Jacobowitz <drow@mvista.com>
1129
1130 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1131 some incorrect output instead of timing out.
1132 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1133
674f90ff
CV
11342001-09-28 Corinna Vinschen <vinschen@redhat.com>
1135
1136 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1137 check to allow additional `int'.
1138
9b284272
DJ
11392001-09-27 Daniel Jacobowitz <drow@mvista.com>
1140
1141 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1142 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1143
b55a4771
MS
11442001-09-27 Michael Snyder <msnyder@redhat.com>
1145
1146 * lib/gdb.exp (test_debug_format): New proc.
1147 (setup_xfail_format): Use new proc test_debug_format.
1148 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1149 proc; use new service proc test_debug_format.
1150 Replace all other "gcc_compiled" tests with this test.
1151 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1152 proc; use new service proc test_debug_format.
1153 Replace all other "gcc_compiled" tests with this test.
1154
11552001-09-27 Michael Snyder <msnyder@redhat.com>
1156
1157 * gdb.base/cvexpr.exp: New file.
1158 * gdb.base/cvexpr.c: New file
1159 Test for expressions using const and volatile keywords.
1160
4e6667ac
CV
11612001-09-26 Corinna Vinschen <vinschen@redhat.com>
1162
1163 * gdb.base/constvars.exp: Check for different orders of keywords
1164 and additional "int" strings in output.
1165
4f337972
AC
11662001-09-22 Andrew Cagney <ac131313@redhat.com>
1167
1168 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1169 responses from "help maint".
1170
2015650d
FCE
11712001-09-19 Frank Ch. Eigler <fche@redhat.com>
1172
1173 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1174 to localhost:NNN instead of :NNN, in case Xvfb is listening
1175 only on TCP.
1176
f3bcedc1
CV
11772001-09-19 Corinna Vinschen <vinschen@redhat.com>
1178
1179 * gdb.base/recurse.exp: When checking leaving the watchpoint
1180 scope, recognize when gdb is in function's epilogue and pass.
1181
6b819c92
KS
11822001-09-18 Keith Seitz <keiths@redhat.com>
1183
1184 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1185 support for running tests against sid targets.
1186 (gdbtk_done): Ditto.
1187
a10c9419
CV
11882001-09-18 Corinna Vinschen <vinschen@redhat.com>
1189
1190 * gdb.base/ending-run.c (main): Set stdout buffersize
1191 to the same reasonable value for any target.
1192 * gdb.base/ending-run.exp: Add a regular expression
1193 to make testsuite happy on Sanyo Stormy16 target.
1194
739d0d99
CV
11952001-09-17 Corinna Vinschen <vinschen@redhat.com>
1196
1197 * gdb.base/display.c (do_loops): Add float variable `f'.
1198 Increment f in loop.
1199 * gdb.base/display.exp: Increment timeout by 60 seconds.
1200 Change float display test to use variable `f'.
1201
1b8947f0
JB
12022001-09-17 Jim Blandy <jimb@redhat.com>
1203
1204 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1205 overflowing the limited breakpoint tables on some ROM monitors
1206 (like the ROM68K).
1207
9890ac81
FCE
12082001-09-15 Frank Ch. Eigler <fche@redhat.com>
1209
1210 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1211 the "-ac" (disable access control) flag.
1212
6db765ea
JH
12132001-08-30 Jeff Holcomb <jeffh@redhat.com>
1214
1215 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1216 ints.
1217
4c32cc04
KS
12182001-08-30 Keith Seitz <keiths@redhat.com>
1219
1220 * lib/gdb.exp: Move all insight-related functionality into
1221 separate file.
1222 * lib/insight-support.exp: New file.
1223
8d6e6f81
FCE
12242001-08-29 Frank Ch. Eigler <fche@redhat.com>
1225
1226 * config/sid.exp (sid_start): Never set sid verbosity; disable
1227 expect_background {} that consumed its stdout; tolerate </dev/null.
1228 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1229
6a90e1d0
AC
12302001-08-18 Andrew Cagney <ac131313@redhat.com>
1231
1232 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1233 CLI jump command to start it.
1234 (mi_run_to_main): Fail immediatly when unexpected output.
1235
1759b3c3
AC
12362001-08-18 Andrew Cagney <ac131313@redhat.com>
1237
1238 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1239 beginning of function. Fix PR gdb/191.
1240
61d11d80
FCE
12412001-08-16 Frank Ch. Eigler <fche@redhat.com>
1242
1243 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1244 what to force sid endianness to.
1245
942a4df2
KS
12462001-08-15 Keith Seitz <keiths@redhat.com>
1247
1248 * lib/gdb.exp (gdbtk_start): Don't set environment
1249 variables for TCL_LIBRARY and friends. Insight will
1250 now figure these out for itself.
1251
0521c418
MS
12522001-08-02 Michael Snyder <msnyder@redhat.com>
1253
1254 * gdb.base/completion.exp: Remove the symbol "a64l" from
1255 the expect string; this is target-specific, and not related
1256 to what is being tested.
1257
74a9a58a
DB
12582001-08-02 Dave Brolley <brolley@redhat.com>
1259
1260 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1261
c70819fa
MS
12622001-07-25 Michael Snyder <msnyder@redhat.com>
1263
c2b8fa57
MS
1264 * gdb.base/consecutive.exp: New file. Test stepping over
1265 breakpoints on consecutive instructions.
1266 * gdb.base/consecutive.c: New file.
1267
c70819fa
MS
1268 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1269 curly braces in regular expressions.
1270
2b1a1355
MS
12712001-07-25 Michael Snyder <msnyder@redhat.com>
1272
1273 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1274 legitimate output from stepping out of main.
1275
413eca6f
KS
12762001-07-22 Keith Seitz <keiths@redhat.com>
1277
1278 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1279 the empty string, do not run the tests.
1280
7e5a9322
SC
12812001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1282
1283 * gdb.base/long_long.exp: Detect size of pointer. Take into
1284 account 2-byte pointers when testing for p/a results.
1285
de58f10f
SC
12862001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1287
1288 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1289 and defined to 1K for m68hc11.
1290 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1291 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1292 (sizeof_random_data): New variable to tell the size of the data table;
1293 don't test past this size; always run to main.
1294
d6f5fea1
SC
12952001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1296
1297 * gdb.base/return2.exp: return of long long and double fails for
1298 68HC11; don't execute these tests on that platform.
1299 * gdb.base/return.exp: Return of a double fails for 68hc11.
1300
c477543d
SC
13012001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1302
1303 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1304 tests that print a float.
1305 * call-rt-st.exp: Likewise.
1306
63cf1c79
MK
13072001-07-12 Mark Kettenis <kettenis@gnu.org>
1308
1309 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1310 running this test on Linux.
1311
112f9ab5
MC
13122001-06-24 Michael Chastain <chastain@redhat.com>
1313
1314 * gdb.base/arithmet.exp: Remove some tests to make all test names
1315 unique.
1316
4970cb0f
MS
13172001-07-03 Michael Snyder <msnyder@redhat.com>
1318
1319 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1320 the output of the ptype command.
1321
d85da69f
MS
13222001-07-02 Michael Snyder <msnyder@redhat.com>
1323
4c8a82de
MS
1324 * gdb.base/completion.exp: Don't assume that break.c is the only
1325 source file that may contain functions named "marker".
d85da69f
MS
1326 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1327
8afc772b
AC
13282001-06-28 Andrew Cagney <ac131313@redhat.com>
1329
1330 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1331 of files to delete.
1332
1333 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1334 * gdb.disasm/h8300s.exp: New file.
1335 gdb.disasm/h8300s.s: Likewise.
1336
cff22675
AC
13372001-06-27 Andrew Cagney <ac131313@redhat.com>
1338
1339 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1340 empty breakpoint tables.
1341
68c81b54
AC
13422001-06-25 Andrew Cagney <ac131313@redhat.com>
1343
1344 * lib/mi-support.exp: Update args=... part of stop-reason
1345 patterns. Accept either a list or a tuple.
1346
2dd62704
AC
13472001-06-23 Andrew Cagney <ac131313@redhat.com>
1348
1349 * lib/mi-support.exp: Remove local emacs variable defining
1350 change-log-default-name.
1351
b4127474
MC
13522001-06-22 Michael Chastain <chastain@redhat.com>
1353
1354 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1355 This is operationally compatible with the previous version.
1356
8dbfb380
JB
13572001-06-13 Jim Blandy <jimb@redhat.com>
1358
1359 * lib/gdb.exp (gdb_test): Doc fix.
1360
f2d8c86d
MC
13612001-06-10 Michael Chastain <chastain@redhat.com>
1362
1363 * gdb.base/exprs.exp: Remove a duplicate test.
1364
81564d34
JB
13652001-06-06 Jim Blandy <jimb@redhat.com>
1366
1367 * gdb.base/return2.exp (main): Use values to test float and double
1368 returns that are not NaN's, to avoid being confused by IEEE
1369 comparison rules.
1370
da55addb
MS
13712001-06-04 Michael Snyder <msnyder@redhat.com>
1372
1373 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1374 non-zero if control_c fails. Terminate the test on failure,
1375 rather than wait for 12 more tests to time out.
1376
42c65987
JB
13772001-06-06 Jim Blandy <jimb@redhat.com>
1378
b18bced9
JB
1379 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1380 Don't forget to match the GDB prompt.
1381
42c65987
JB
1382 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1383
5b41e5f0
JB
13842001-06-04 Jim Blandy <jimb@redhat.com>
1385
1386 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1387 command.
1388
015e046f
KB
13892001-05-31 Kevin Buettner <kevinb@redhat.com>
1390
1391 * gdb.base/annota1.exp (info break): Match four or more spaces
1392 after "Address".
1393
fb1ffbbe
MC
13942001-05-31 Michael Chastain <chastain@redhat.com>
1395
1396 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1397 (dm_type_int_star): Likewise.
1398 (dm_type_long_star): Likewise.
1399 (dm_type_void_star): Likewise.
1400
5ea2a32c
KB
14012001-05-29 Kevin Buettner <kevinb@redhat.com>
1402
1403 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1404 to a known value in order to get consistent results regardless
1405 of the setting of INPUTRC or the presence or contents of .inputrc.
1406
ae23c492
MS
14072001-05-24 Michael Snyder <msnyder@redhat.com>
1408
ac55707e
MS
1409 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1410 Don't require that the main thread and the manager thread are the
1411 first in the list.
1412
ae23c492
MS
1413 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1414 debugging. If test fails, issue an "unsupported" not a "fail".
1415
400071f1
JB
14162001-05-24 Jim Blandy <jimb@redhat.com>
1417
1418 Don't assume that short is shorter than int.
1419 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1420 assume that shorts are smaller than ints. On a 16-bit machine,
1421 this isn't true.
1422 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1423 an int, is not equal to ~0 stored in an unsigned char. This tests
1424 the same thing that the previous test meant to, but works on
1425 16-bit machines, too.
1426 ("print unsigned char != (~0)"): Same test, complemented.
1427
0816a3e5
MS
14282001-05-24 Michael Snyder <msnyder@redhat.com>
1429
1430 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1431 test for (full_coverage == 0). This makes the test run faster,
1432 and prevents dejagnu getting out of step.
1433
f6dc23a9
KB
14342001-05-23 Kevin Buettner <kevinb@redhat.com>
1435
1436 * gdb.base/finish.exp (finish_void): Revise pattern for
1437 stopping on the call statement to not permit stopping at
1438 the start of the instructions comprising the call sequence.
1439
7dbd117d
MC
14402001-05-19 Michael Chastain <chastain@redhat.com>
1441
1442 * gdb.base/callfuncs.exp: Make all test names unique.
1443 * gdb.base/commands.exp: Make all test names unique.
1444 * gdb.base/condbreak.exp: Make all test names unique.
1445 * gdb.base/dbx.exp: Make all test names unique.
1446 * gdb.base/default.exp: Make all test names unique.
1447 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1448 and TIMEOUT messages to their corresponding PASS message.
1449 * gdb.base/ending-run.exp: Make all test names unique.
1450 * gdb.base/long_long.exp: Remove duplicate test.
1451
6b0b0a9e
KB
14522001-05-21 Kevin Buettner <kevinb@redhat.com>
1453
1454 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1455 stop on the call statement as well as the statement after the
1456 call.
1457
2caa35cb
MS
14582001-05-21 Michael Snyder <msnyder@redhat.com>
1459
1460 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1461
40713331
EZ
14622001-05-10 Elena Zannoni <ezannoni@redhat.com>
1463
1464 * gdb.base/completion.exp: Revamp test. Make it execute on all
1465 platforms.
1466
c2c1be8d
EZ
14672001-05-10 Elena Zannoni <ezannoni@redhat.com>
1468
2c9cd303
EZ
1469 * config/gdbserver.exp (gdb_load): Handle the case
1470 in which the arguments to gdbserver are given in the
1471 baseboard configuration file.
1472 Also handle the case in which the server needs to do a
1473 load.
1474
9671de48
KS
14752001-05-07 Keith Seitz <keiths@cygnus.com>
1476
1477 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1478 set up the display for testing.
1479 (gdbtk_start): Convert all paths to paths that tcl will like.
1480 Export target information to environment.
1481 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1482 necessary.
1483 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1484 (to_tcl_path): New proc to convert a given pathname into
1485 a path acceptible as an argument to a tcl command.
1486 (_gdbtk_export_target_info): New proc to export target info
1487 into the environment for gdbtk testing.
1488 (gdbtk_done): New proc to signal end-of-test.
1489
5a360f47
JB
14902001-05-06 Jim Blandy <jimb@redhat.com>
1491
1492 * restore.c: Make the code of caller0 correspond to its comment.
1493
66c756c6
MS
14942001-05-03 Michael Snyder <msnyder@redhat.com>
1495
1496 * config/sid.exp (gdb_target_sid): Check for error messages.
1497 On error or timeout, don't make expect exit (which will terminate
1498 all subsequent tests); instead just make gdb exit.
1499 (gdb_load): Check for error messages. On error or timeout,
1500 return a negative value.
1501
a966fde5
JB
15022001-04-24 Jim Blandy <jimb@redhat.com>
1503
851c18e0
JB
1504 * gdb.c++/templates.exp: If we see the prompt for the overload
1505 list, but we haven't recognized any of the longer patterns,
1506 arrange for this test to fail, not hang.
1507
a966fde5
JB
1508 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1509 variations.
1510
db144853
MC
15112001-04-22 Michael Chastain <chastain@redhat.com>
1512
1513 * gdb.c++/local.exp: Use the 'runto' library function.
1514 * gdb.c++/namespace.exp: Likewise.
1515 * gdb.c++/overload.exp: Likewise.
1516
3207ec21
KB
15172001-03-26 Kevin Buettner <kevinb@redhat.com>
1518
1519 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1520 * gdb.base/step-line.exp: New file. Test step/next in presence of
1521 #line directives.
1522 * gdb.base/step-line.c: New file. Test program for the above.
1523 * gdb.base/step-line.inp: New file. We pretend that this file has
1524 been transformed by some other tool into step-line.c.
1525
13b57657
JB
15262001-03-21 Jim Blandy <jimb@redhat.com>
1527
1528 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1529 unmangled operator names.
1530
754cbe1c
JB
15312001-03-20 Jim Blandy <jimb@redhat.com>
1532
1533 * gdb.threads/linux-dp.exp: Recognize an additional message
1534 generated by GDB when it doesn't understand how to debug threads
1535 on the target system.
1536
177495c9
AC
15372001-03-19 Andrew Cagney <ac131313@redhat.com>
1538
1539 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1540
f266096b
MC
15412001-03-12 Michael Chastain <chastain@redhat.com>
1542
1543 * gdb.c++/derivation.exp: Use the 'runto' library function.
1544
cac3c2ff
MC
15452001-03-12 Michael Chastain <chastain@redhat.com>
1546
1547 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1548
b6c11a24
MC
15492001-02-24 Michael Chastain <chastain@redhat.com>
1550
1551 * gdb.c++/ref-types.exp: Change handwritten code to library
1552 function 'runto'.
1553
6bae5bce
OF
15542001-03-16 Orjan Friberg <orjanf@axis.com>
1555
1556 * gdb.base/signals.exp: Set count to 0 explicitly.
1557
0015fd9a
MS
15582001-03-15 Mark Salter <msalter@redhat.com>
1559
1560 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1561 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
1562 (gdb_load): Add support for additional target_info: gdb_download_size
1563 and gdb_load_timeout.
0015fd9a 1564
fc33412a
DT
1565Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1566
1567 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1568 file -- to prevent failing when the compile fails but we have no
1569 intention of running the tests anyway.
1570
1571 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1572 tests if set.
1573
1574 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1575 integers.
1576
1577 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1578 * gdb.c++/namespace.exp: Ditto.
1579
115f06de
OF
15802001-03-07 Orjan Friberg <orjanf@axis.com>
1581
1582 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
1583 * gdb.base/pointers.exp: Relax pattern match of decimals.
1584
b6ba6518
KB
15852001-03-06 Kevin Buettner <kevinb@redhat.com>
1586
1587 * Makefile.in, config/abug.exp, config/cfdbug.exp,
1588 config/cpu32bug.exp, config/dve.exp, config/est.exp,
1589 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
1590 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
1591 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
1592 config/sh.exp, config/sid.exp, config/slite.exp,
1593 config/sparclet.exp, config/udi.exp, config/unknown.exp,
1594 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
1595 config/vxworks.exp, config/vxworks29k.exp,
1596 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
1597 gdb.base/all-bin.exp, gdb.base/annota1.exp,
1598 gdb.base/arithmet.exp, gdb.base/assign.exp,
1599 gdb.base/async.exp, gdb.base/attach.exp,
1600 gdb.base/bitfields.exp, gdb.base/bitops.exp,
1601 gdb.base/break.exp, gdb.base/call-ar-st.exp,
1602 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
1603 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
1604 gdb.base/commands.exp, gdb.base/completion.exp,
1605 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
1606 gdb.base/constvars.exp, gdb.base/corefile.exp,
1607 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1608 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
1609 gdb.base/ending-run.exp, gdb.base/environ.exp,
1610 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
1611 gdb.base/finish.exp, gdb.base/foll-exec.exp,
1612 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
1613 gdb.base/funcargs.exp, gdb.base/help.exp,
1614 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
1615 gdb.base/logical.exp, gdb.base/long_long.exp,
1616 gdb.base/maint.exp, gdb.base/mips_pro.exp,
1617 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
1618 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
1619 gdb.base/pointers.exp, gdb.base/printcmds.exp,
1620 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
1621 gdb.base/regs.exp, gdb.base/relational.exp,
1622 gdb.base/remote.exp, gdb.base/reread.exp,
1623 gdb.base/restore.exp, gdb.base/return2.exp,
1624 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
1625 gdb.base/selftest.exp, gdb.base/setshow.exp,
1626 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1627 gdb.base/sigall.exp, gdb.base/signals.exp,
1628 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
1629 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
1630 gdb.base/step-test.exp, gdb.base/structs.c,
1631 gdb.base/structs.exp, gdb.base/structs2.exp,
1632 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
1633 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
1634 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
1635 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1636 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
1637 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
1638 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
1639 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
1640 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
1641 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
1642 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
1643 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
1644 gdb.fortran/types.exp, gdb.java/jmisc.exp,
1645 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
1646 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
1647 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1648 gdb.trace/circ.exp, gdb.trace/collection.exp,
1649 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1650 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1651 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
1652 gdb.trace/report.exp, gdb.trace/save-trace.exp,
1653 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1654 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
1655 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
1656 notices.
1657
dc96c6c7 16582001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
1659
1660 * gdb.base/varargs.c (find_max_double): Fix printf format string:
1661 first arg is int not float.
1662
dc96c6c7 16632001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
1664
1665 * gdb.base/reread.exp: Unsupported for non-native targets;
1666 doesn't work for remote debugging.
1667
9b0c4aeb
FN
16682001-02-19 Fernando Nasser <fnasser@redhat.com>
1669
1670 From Drew Moseley <dmoseley@redhat.com>
1671 * gdb.base/ending-run.exp: Properly handle the BSP state when
1672 stepping past the end of main.
1673
02aa71d5
MC
16742001-02-19 John Moore <jmoore@redhat.com>
1675
1676 * gdb.base/commands.exp (infrun_breakpoint_command_test):
1677 Converted HPUX fix for non-expected items following multiple
1678 step commands into general solution for all platforms.
1679
1fa449a4
MC
16802001-02-18 Michael Chastain <chastain@redhat.com>
1681
1682 * gdb.c++/classes.exp (do_tests): Change runto statements
1683 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1684 statements demangler agnostic.
1685 * gdb.c++/virtfunc.exp (do_tests): Likewise.
1686 (gdb_virtfunc_restart): Likewise.
1687
b2f9ec70
MC
16882001-02-14 Michael Chastain <chastain@redhat.com>
1689
1690 * gdb.c++/inherit.exp (do_tests): Change runto statements
1691 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1692 statements demangler agnostic.
1693
cf74b8ca
AC
1694Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
1695
1696 * gdb.threads/pthreads.exp: Unify pass/fail messages for
1697 ``continue to bkpt at common_routine in thread 2'' and ``stopped
1698 before calling common_routine 15 times'' tests.
1699
99f78f56
MC
17002001-02-11 Michael Chastain <chastain@redhat.com>
1701
1702 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
1703 Helps the test script figure out which demangler is in use.
1704 (dm_type_foo_ref): Ditto.
1705 (dm_type_int_star): Ditto.
1706 (dm_type_long_star): Ditto.
1707 (dm_type_unsigned_int): Ditto.
1708 (dm_type_void): Ditto.
1709 (dm_type_void_star): Ditto.
99707966 1710 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
1711 Probe the gdb demangler and set variables to accommodate
1712 formatting differences.
1713 (info_func_regexp): New function. Same as info_func, but
1714 matches against a regexp.
1715 (info_func): Match against a literal string.
1716 (print_addr_2): New function. Match against a literal string,
1717 which can be different from the input to gdb.
1718 (print_addr): Simply call print_addr_2 with the same argument twice.
1719 (test_lookup_operator_functions): Use demangler formatting variables.
1720 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
1721 the tests in the same order as the C++ class declaration.
1722 (test_paddr_operator_functions): Ditto.
1723 (test_paddr_overloaded_functions): Ditto.
1724 (test_paddr_hairy_functions): Use demangler formatting variables.
1725 Add reference to gdb/19 for related tests.
1726 (do_tests): Call probe_demangler.
1727
1de8f023
KB
17282001-01-30 Kevin Buettner <kevinb@redhat.com>
1729
1730 * gdb.c++/templates.cc (printf): Remove unused function definition.
1731
ca3f91ed
MS
17322001-01-26 Felix Lee <flee@redhat.com>
1733
1734 * sid.exp (sid_exit): Pass host, not target, to remote_close.
1735
17362001-01-25 matthew green <mrg@redhat.com>
1737
1738 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
1739 up sid.
1740 (sid_exit): Call `remote_pop_conn' after GDB is gone.
1741
17422001-01-25 matthew green <mrg@redhat.com>
1743
1744 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
1745 Deprecate $sid_spawn_id.
1746 (sid_exit): Remove code necessary only for `spawn.'
1747
17482001-01-25 matthew green <mrg@redhat.com>
1749
1750 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
1751
fb18ec4a
MC
17522001-01-28 Michael Chastain <chastain@redhat.com>
1753
1754 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
1755 to call when tests fail. It takes gdb out of the overloaded
1756 function choice menu back to the main prompt, so that the test
1757 program stays synchronized.
1758 (set_bp_overloaded): New proc to collect all the common
1759 code for setting a breakpoint on an overloaded name. Calls
1760 take_gdb_out_of_choice_menu when needed.
1761 (menu_overload1arg): New variable to collect the repeated
1762 instances of the expected menu for an overloaded name. Change
1763 the regular expression to handle changes in g++ type encoding:
1764 "void" can be either "void" or "", and "unsigned int" can be
1765 either "unsigned int" or "unsigned".
1766 (continue_to_bp_overloaded): Change regular expressions to handle
1767 changes in g++ type encoding.
1768 (no proc): Call take_gdb_out_of_choice_menu when needed.
1769 Remove redundant calls to "info break". Accept either "canceled"
1770 or "cancelled". Change regular expressions in "info break"
1771 calls to handle changes in g++ type encoding. Give all tests
1772 unique strings.
1773
9c646a6e
BE
17742001-01-17 Ben Elliston <bje@redhat.com>
1775
1776 * config/sid.exp: New file.
1777
9549d9c1
AC
1778Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
1779
1780 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
1781
dc96c6c7 17822000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
1783
1784 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
1785 Add a RE to accept a non-ascii char if one is ever presented.
1786
b4df4f68
FN
17872000-12-20 Fernando Nasser <fnasser@redhat.com>
1788
297dd0fd 1789 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 1790
dc96c6c7 17912000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
1792
1793 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
1794 in regexp. One '\' does not suffice on Linux.
1795
4a7bddb6
MC
17962000-12-09 Michael Chastain <chastain@redhat.com>
1797
1798 * gdb.base/break.exp (test_clear_command): Use a marker function
1799 rather than 'main' for the test function. Also move this
1800 test to an execution point where the marker function names are
1801 guaranteed to be bound to functions. (Executing tests after a
1802 'finish' from main runs into name conflicts with local names
1803 in __libc_start_main).
1804
dc96c6c7 18052000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
1806
1807 * gdb.base/finish.exp: New test for gdb's "finish" command.
1808 * gdb.base/return2.exp: New test for gdb's "return" command.
1809 * gdb.base/return2.c: New source file for above.
1810
dc96c6c7 18112000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
1812
1813 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
1814 * gdb.base/miscexprs.exp: Ditto.
1815 * gdb.base/pointers.exp: Ditto.
1816 * gdb.c++/derivation.exp: Ditto.
1817 * gdb.c++/local.exp: Ditto.
1818 * gdb.c++/namespace.exp: Ditto.
1819 * gdb.c++/overload.exp: Ditto.
1820 * gdb.c++/ref-types.exp: Ditto.
1821
dc96c6c7 18222000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
1823
1824 * gdb.base/constvars.exp: Test result of "up" command.
1825 * gdb.base/miscexprs.exp: Ditto.
1826 * gdb.base/pointers.exp: Ditto.
1827 * gdb.base/scope.exp: Ditto.
1828 * gdb.c++/derivation.exp: Ditto.
1829 * gdb.c++/local.exp: Ditto.
1830 * gdb.c++/namespace.exp: Ditto.
1831 * gdb.c++/overload.exp: Ditto.
1832 * gdb.c++/ref-types.exp: Ditto.
1833
44097287
FN
18342000-11-22 Michael Chastain <chastain@redhat.com>
1835
1836 * mips_pro.exp: Accept either "middle -> top -> main" or
1837 "middle -> main" in the backtrace, because gcc can optimize
1838 tail calls to jumps. Remove setup_xfail for the hppa case.
1839 Add a comment with the original warning messages from PR 3016,
1840 which was filed in 1993, to preserve them for posterity.
1841
9d2e1bab
ND
18422000-11-17 Nick Duffek <nsd@redhat.com>
1843
1844 * lib/gdb.exp (gdb_test): Override timeout with board info.
1845
1aca8eb7
ND
18462000-11-17 Nick Duffek <nsd@redhat.com>
1847
1848 * gdb.base/display.exp: Don't kill running stub. Add "again" to
1849 the second kill and detach messages.
1850
93076499
ND
18512000-11-17 Nick Duffek <nsd@redhat.com>
1852
1853 * configure.in: Add AC_EXEEXT.
1854 * configure: Regenerate.
1855 * Makefile.in (just-check): Export EXEEXT.
1856 * lib/gdb.exp ($EXEEXT): Import from environment.
1857 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
1858 expect "maint dump-me" on Cygwin.
1859 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
1860 $EXEEXT.
1861
30e87cd3
ND
18622000-11-17 Nick Duffek <nsd@redhat.com>
1863
1864 * gdb.base/break.exp: Test backtrace and finish from called
1865 function on all platforms, not just HP-UX.
1866
dc96c6c7 18672000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
1868
1869 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
1870 code from gdb_target_monitor, so it can be used independantly
1871 for gdbserver. Also comment out an unnecessary PUTS.
1872
dc96c6c7 18732000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
1874
1875 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
1876 * gdb.base/corefile.exp: Expect the message "Program is being
1877 debugged already" when we send the "corefile" command, since
1878 the preceeding gdb_load may have connected gdb to a remote target.
1879 * gdb.base/display.exp: Disable hardware watchpoints if new
1880 board info variable "no_hardware_watchpoints" is true.
1881 Replace single-letter commands with more readable ones.
1882 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
1883 if new board info variable "no_hardware_watchpoints" is true.
1884 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
1885 to see if stdio (printf) testing is possible.
1886 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
1887 board info variable "no_hardware_watchpoints" is true. Use new
1888 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
1889
39124dea
FN
18902000-11-13 Fernando Nasser <fnasser@redhat.com>
1891
1892 From Orjan Friberg <orjanf@axis.com>:
1893 * gdb.base/printcmds.exp: Escape curly braces followed by a number
1894 in array print pattern match.
1895
a9e2e984
FN
18962000-11-09 Fernando Nasser <fnasser@redhat.com>
1897
1898 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
1899 spelling "cancelled" to U.S. spelling "canceled" to match changes
1900 made to gdb.
1901 * gdb.c++/ovldbreak.exp: Ditto.
1902
c7db355b
PS
19032000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1904
1905 * gdb.base/callfuncs.c (main): Moved to end of file, call
1906 t_double_values to initialize the FPU before inferior calls are made.
1907 * gdb.base/callfuncs.exp: Test for register preservation after calling
1908 inferior functions. Add tests for continuining, finishing and
1909 returning from a stop in a call dummy.
1910
dc96c6c7 19112000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
1912
1913 * gdb.base/commands.exp: Break up long lines, and re-indent.
1914
dc96c6c7 19152000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
1916
1917 * config/gdbserver.exp: Rewritten from the ground up, to make it
1918 compatible with the current dejagnu tree, and to make it work with
1919 the new "gdbserver" in libremote.
1920
dc96c6c7 19212000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1922
1923 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
1924 * gdb.base/varargs.exp: Skip entire test if no printf support.
1925 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
1926 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
1927
dc96c6c7 19282000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1929
1930 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
1931 no floating point support.
1932 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
1933 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
1934 * gdb.base/call-rt-st.exp: Ditto.
1935 * gdb.base/call-strs.exp: Ditto.
1936
bac5fc66
JG
19372000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
1938
1939 * gdb.base/sizeof.c: include <stdio.h>.
1940
1941 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
1942 'finish', otherwise uncaptured gdb_prompt would potentially
1943 throw remaining test points out of sync.
1944
b22a6027
SB
19452000-07-26 Scott Bambrough <scottb@netwinder.org>
1946
1947 * gdb.base/recurse.exp: Run tests for all targets.
1948 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
1949 gnu-oldld case on ARM.
1950 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
1951 for ARM targets.
1952
d8231941
AG
1953Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
1954
1955 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
1956 * gdb.java/configure: Rebuild.
1957
8caabe69
AG
1958Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
1959
1960 * gdb.java/jv-exp.exp: New file.
1961
9d273ca3
AG
1962Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
1963
1964 * configure: Rebuilt.
1965 * configure.in (configdirs): Add gdb.java.
1966 * gdb.java/jmisc.java: New file.
1967 * gdb.java/jmisc.exp: New file.
1968 * gdb.java/Makefile.in: New file.
1969 * gdb.java/configure: Rebuilt.
1970 * gdb.java/configure.in: New file.
1971 * lib/java.exp: New file.
1972
4f823a66
AC
1973Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
1974
1975 * gdb.base/exprs.exp: Test casts to a pointer including over and
1976 underflow.
1977
2391e11d
AC
1978Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
1979
1980 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
1981 and the compilers sizes.
1982
54602222
ND
19832000-07-09 Nick Duffek <nsd@redhat.com>
1984
1985 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
1986 (use_methods): New function.
1987 (main): Call use_methods().
1988 * gdb.c++/classes.exp (test_method_param_class): New procedure.
1989 (do_tests): Call test_method_param_class.
1990
2bec0572
ND
19912000-07-09 Nick Duffek <nsd@redhat.com>
1992
1993 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
1994 spelling.
1995 (test_enums): New procedure. Move enum tests from end of script
1996 to here. Set breakpoint on function name instead of line number.
1997 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
1998 (enums2): New marker function.
1999 (enums1): New function.
2000 (main): Call enums1(). Move enum tests to enums1().
2001
78492fde
AC
2002Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2003
2004 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2005 compile/link program. Update line numbers.
2006 * gdb.asm/d10v.inc: Define ``startup''.
2007 * gdb.asm/asmsrc1.s: Add definition of _start.
2008
49a2cef8
AC
2009Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2010
2011 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2012
3e6c8688
EZ
20132000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2014
2015 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2016 of 'help maint print' command.
2017
9ff5cbe9
AC
2018Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2019
2020 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2021 they use gdb_expect_list.
2022
17c579bd
AC
2023Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2024
2025 * gdb.base/commands.exp: Use ``set remote
2026 memory-read-packet-size'' instead of ``set endian big'' to test
2027 long commands.
2028
e6d71bf3
DB
20292000-06-03 Daniel Berlin <dan@cgsoftware.com>
2030
2031 * gdb.c++/templates.exp (do_tests): Make all of these work under
2032 g++, and stop skipping them.
2033
2034 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2035 work under g++.
2036
e5f9ba7b
MS
2037 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2038 initialization.
2039
dc96c6c7 20402000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2041
2042 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2043 the regular expression: accept an (almost) arbitrary sequence of
2044 "frames-invalid" and "breakpoints-invalid" messages both before
2045 and after the "starting" message.
2046
dc96c6c7 20472000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2048
2049 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2050
dc96c6c7 20512000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2052
2053 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2054 Relax the regular expression a little, make it pass on Solaris 8.
2055
8216cda9
KB
20562000-05-12 Kevin Buettner <kevinb@redhat.com>
2057
2058 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2059 a call, do not require that gdb stop on the line after the call.
2060 Instead, it is permissible for gdb to stop on the line of the
2061 call itself.
2062
1a570b2f
MS
20632000-05-12 Michael Snyder <msnyder@.cygnus.com>
2064
2065 * gdb.base/break.exp (bp on small function, optimized file):
2066 Add a second pass pattern. The behavior differs here between stabs
2067 and dwarf for one-line functions. Stabs preserves two line symbols
2068 (one before the prologue and one after) with the same line number,
2069 but dwarf regards these as duplicates and discards one of them.
2070 Therefore the address after the prologue (where the breakpoint is)
2071 has no exactly matching line symbol, and GDB reports the breakpoint
2072 as if it were in the middle of a line rather than at the beginning.
2073
dc96c6c7 20742000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2075
2076 * gdb.base/interrupt.exp: Make "pass" message say "send"
2077 rather than "send_gdb" (for consistancy).
2078
7d418785
AC
2079Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2080
2081 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2082 * gdb.c++/templates.cc: Properly check for GCC version number.
2083 * lib/compiler.cc: Likewise
2084
dc96c6c7 20852000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2086
2087 * gdb.base/break.exp: When compiled with -O2 optimization,
2088 gdb may not stop at the first line of main, due to code motion.
2089
dc96c6c7 20902000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2091
2092 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2093 This test depends on parsing the printf output from the target.
2094 Since the sparclet stub doesn't do stdio, this will never work.
2095 * gdb.base/call-rt-st.exp: ditto.
2096 * gdb.base/call-strs: ditto.
2097
dc96c6c7 20982000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2099
2100 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2101
2102 * gdb.base/ending-run.exp: After connecting to a remote target,
2103 but before running, the target will appear to be in a random
2104 location. Specify both a file and a line for breakpoints.
2105 Also, the function that calls main may be called 'init'
2106 rather than 'start'.
2107
a5a51225
EZ
21082000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2109
2110 * gdb.base/help.exp: Update output for add-symbol-file command.
2111
7930cc7c
FN
21122000-04-10 Fernando Nasser <fnasser@cygnus.com>
2113
2114 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2115 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2116
23e37ab1
C
21172000-04-07 J.T. Conklin <jtc@redback.com>
2118
e93c542c
C
2119 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2120
23e37ab1
C
2121 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2122
591b8fa3
PDM
2123Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2124
2125 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2126 values that can be represented exactly.
2127 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2128 above change, and to not check against the directory part of the source
2129 file name.
2130 (step into print_long_arg_list): Likewise.
2131 (print print_small_structs from print_long_arg_list): Likewise.
2132 (print print_long_arg_list): Likewise.
2133
7a495180
EZ
21342000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2135
30b53638 2136 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2137
beb998c6
AC
2138Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2139
2140 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2141
1c689132
DB
21422000-03-25 Daniel Berlin <dan@cgsoftware.com>
2143
2144 * gdb.base/commands.exp (deprecated_command_test): Add test for
2145 deprecate with no arguments.
2146
c1790a9d
JL
21472000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2148
2149 * gdb.base/break.exp: Add new test for setting breakpoints on
2150 optimized code so we can test breakpoints work even when function
2151 prologues may be optimized away
2152
003ba290
FN
21532000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2154
2155 From David Whedon <dwhedon@gordian.com>
2156 * gdb.base/commands.exp : Added command deprecator tests.
2157
6837a0a2
DB
21582000-03-22 Daniel Berlin <dan@cgsoftware.com>
2159
2160 * gdb.base/help.exp: Added test for new apropos command.
2161
b9593231
KB
21622000-03-21 Kevin Buettner <kevinb@redhat.com>
2163
2164 * gdb.base/pointers.c (usevar): New function.
2165 (main): Make sure that global variables v_int_pointer2, rptr,
2166 and y are all referenced someplace in the program by calling
2167 usevar() on them. [Some linkers delete symbols which are
2168 never referenced. The space remains, but there's no way to
2169 get a (symbolic) handle on the variable from the debugger.]
2170
751a959b
EZ
21712000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2172
2173 * gdb.base/printcmds.c: Add typedeffed arrays.
2174
2175 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2176 procedure to test arrays that are typedef'd.
2177
73a93a32
JI
21782000-03-13 James Ingham <jingham@leda.cygnus.com>
2179
2180 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 2181 the library directories.
73a93a32 2182
fb40c209
AC
2183Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2184
2185 * configure.in (configdirs): Add sub directory gdb.mi.
2186 * configure: Re-generate.
2187
2188 * gdb.mi: New directory.
beb998c6 2189
ee4dd2c9
AC
21902000-02-25 Scott Bambrough <scottb@netwinder.org>
2191
2192 * gdb.base/long_long.exp: Correct test suite failure when printing
2193 a long long value as a double on ARM platforms.
2194
70f0cc22
JB
21952000-02-16 Jim Blandy <jimb@redhat.com>
2196
2197 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2198 default source file is set properly before running this test.
2199
853819b8
EZ
22002000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2201
2202 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2203 gdbtk/library directory, not in gdbtcl2.
2204
dfcd3bfb
JM
22052000-02-04 Jim Blandy <jimb@redhat.com>
2206
2207 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2208 backslash from regexp pattern.
2209
2210 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2211 procedure. Use it to run all the "continue to bp overloaded"
2212 tests. Note that this changes the names of the tests slightly.
2213 If the breakpoint hit message includes a hex PC value, because
2214 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2215 from the real source code, still consider that a pass.
2216
2217 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2218 XFAIL here if the breakpoint message contains a hex address. Note
2219 similar change on 1999-11-02.
2220
2221 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2222
2223 * gdb.base/ptype.exp: Establish a default source file before
2224 calling get_debug_format.
2225
22262000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2227
2228 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2229
8b93c638
JM
22302000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2231
2232 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2233 of successive stepi commands -- while in the prologue we should see
2234 the function entry bracket.
2235
22362000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2237
2238 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2239 reach __change_mode() when stepping through the end of main().
2240
c5394b80
JM
22412000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2242
2243 * gdb.base/default.exp: Fix expected pattern.
2244 * gdb.base/help.exp: Same.
2245
0d06e24b
JM
22462000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2247
2248 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2249 Don't use xfail's because that affects only the following test.
beb998c6 2250
0d06e24b
JM
2251 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2252 solaris or linux.
2253
2254 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2255
dc96c6c7 22562000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2257
beb998c6 2258 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2259 "A syntax error" rather than "A parse error". Accept both.
2260
22612000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2262
2263 * gdb.base/default.exp: Remove OS dependent string from "target
2264 remote" test.
2265 * gdb.base/help.exp: Same for "help target remote" test.
2266
c3f6f71d
JM
22672000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2268
2269 From Jim Kingdon <kingdon@redhat.com>:
2270
2271 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2272 prompt (cleanup rather than necessity, but still might keep output
2273 from spilling to next test).
2274
22752000-01-02 Fred Fish <fnf@cygnus.com>
2276
2277 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2278 AIX, which defines them in <sys/types.h>.
2279
ed9a39eb 22801999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2281
ed9a39eb
JM
2282 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2283 float" test.
2284
22851999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2286
ed9a39eb 2287 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2288
2289 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2290 outermost frame disallowed".
2291
22921999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2293
2294 * gdb.base/setvar.exp: New tests for setting the value of a struct
2295 with a constant list.
2296
22971999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2298
2299 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2300 require the user to type a cast before setting the value of a struct.
2301
de57eccd
JM
23021999-12-06 Jim Blandy <jimb@cygnus.com>
2303
2304 * gdb.base/default.exp: Expect the new 'info float' command on
2305 all i386 platforms.
2306
2307 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2308 LinuxThreads libraries that don't support debugging.
2309
c2d11a7d
JM
2310Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2311
2312 * gdb.base/remote.c: Fill the buffer with truely random data.
2313 Change the buffer type to ``unsigned char'' to simplify size
2314 arithmetic.
2315
2316 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2317 stub only handles 400-1 byte packets. Verify that the download
2318 worked.
2319
23201999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2321
2322 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2323 tests, using UNRESOLVED for the untested cases. Also, does not wait
2324 for a timeout if the prompt was received before a recognizable pattern.
2325
23261999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2327
2328 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2329
23301999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2331
2332 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2333 watchpoints.
2334
23351999-11-24 Jason Merrill <jason@casey.cygnus.com>
2336
2337 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2338
2339 * gdb.c++/local.exp: Be more flexible in recognizing local class
2340 name mangling. Don't allow horribly truncated method names.
2341 * gdb.c++/derivation.exp: Expect protected inheritance.
2342 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2343 * gdb.c++/virtfunc.exp: Likewise.
2344 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2345 when printing a nested enum.
2346
23471999-11-22 Jim Blandy <jimb@cygnus.com>
2348
2349 * gdb.base/step-test.exp: Properly await GDB's response to setting
2350 a breakpoint on the call to large_struct_by_value.
2351
2352 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2353 just because we have debug info for the `start' function.
2354
23551999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2356
2357 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2358 "Unknown signal" messages, which indicate (on LinuxThreads) that
2359 GDB doesn't know how to debug threads on this system. This is
2360 better than hanging while philosopher 0 dumps chatter into gdb.log.
2361
23621999-11-18 Tom Tromey <tromey@cygnus.com>
2363
2364 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2365
23661999-11-18 Fred Fish <fnf@cygnus.com>
2367
2368 * gdb.base/coremaker2.c: Add sample program for generating
2369 cores that is more self contained than coremaker.c. Eventually
2370 I'll add more code to this and tie it into the testsuite.
2371
4ce44c66
JM
23721999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2373
2374 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2375
23761999-11-10 Jimmy Guo <guo@cup.hp.com>
2377
2378 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2379 from $srcdir/lib/.
2380 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2381 and gdb.c++/.
2382
2383 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2384
beb998c6 2385 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
2386 'continue with watch' test point.
2387
23881999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2389
2390 Merged from p2linux-990323-branch:
beb998c6 2391
4ce44c66
JM
2392 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2393
11cf8741
JM
2394Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2395
2396 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2397 {limit,fixed}''. Test ``set download-write-size''.
2398
2399Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2400
2401 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2402 gdb_expect_list.
2403
2404Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2405
2406 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2407
24081999-11-03 Mark Salter <msalter@cygnus.com>
2409
2410 * gdb.base/break.exp: Fix "stub continue" pattern.
2411
24121999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2413
2414 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2415
24161999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2417
2418 * gdb.base/display.exp ("finish"): Add timeout clause.
2419
2420 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2421 plain prompt clause, so this doesn't have to time out in order to
2422 fail.
2423
2424 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2425 breakpoint hit messages include an address.
2426
2427 * gdb.base/display.exp: Don't forget to escape parens in regular
2428 expressions. Unix regexp notatation sucks.
2429
24301999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2431
2432 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2433 order for 'signalled' message.
2434
5c44784c
JM
24351999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2436
2437 From Jimmy Guo <guo@cup.hp.com>:
2438 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2439 * gdb.base/annota1.c: Add code for tests to work with.
2440
24411999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2442
2443 * gdb.base/remote.exp: New test for remote downloading settings.
2444 * gdb.base/remote.c: New file with large .data.
2445
917317f4
JM
24461999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2447
2448 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2449 for LinuxThreads support, merged from the Code Fusion branch.
2450
2451Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2452
2453 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2454 containing exp_continue into a while within an expect. Don't
2455 attempt a start more than three times. Check return value from
2456 gdb_load.
beb998c6 2457
2df3850c
JM
2458Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2459
2460 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2461 a pass case.
2462
2acceee2
JM
24631999-10-01 Kevin Buettner <kevinb@cygnus.com>
2464
2465 * gdb.base/break.c (main): Added a statement that we can step
2466 off of.
2467 * gdb.base/break.exp: Added tests for setting a breakpoint
2468 at an offset and stepping onto a breakpoint.
2469
24701999-10-01 Fred Fish <fnf@cygnus.com>
2471
beb998c6 2472 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
2473 gdb output.
2474
c2c6d25f
JM
24751999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2476
2477 * gdb.base/break.exp: Code locations are in hex, don't forget!
2478 (For HP-UX.)
2479
24801999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2481
2482 * condbreak.exp: Use break.c as test program.
2483 * condbreak.c: Remove, redundant with break.c.
2484
24851999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2486
2487 * config/monitor.exp (gdb_target_monitor): Disable X- and
2488 Z-packets if the target needs it.
2489
24901999-09-13 James Ingham <jingham@leda.cygnus.com>
2491
2492 * gdb.c++/overload.exp: Added tests for listing overloaded
2493 functions with function pointers in the arg, explicitly calling
2494 out the version you want.
2495
cff3e48b
JM
24961999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2497
2498 * long_long.exp: Add variations of test cases that work for
2499 targets with 16-bit ints and 32-bit doubles.
2500
d4f3574e
SS
25011999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2502
2503 * break.c (main): Compare a possibly-uninitialized argc with an
2504 unlikely value that fits in 16 bits.
2505
25061999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2507
2508 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2509 0xfeeb, don't want negative numbers if ints are 16 bits.
2510
2511 * lib/gdb.exp (skip_cplus_tests): New proc.
2512 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2513 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2514 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2515 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2516 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2517 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2518 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2519 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2520
2521 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2522
2523Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2524
2525 * gdb.base/corefile.exp (up): Allow a parameter to appear
2526 in the frame that we're going up to.
2527
2528 From Jim Blandy <jimb@cygnus.com>:
2529
2530 * gdb.base/default.exp (info float): Expect some output now.
2531
2532 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2533 returning floating-point values to fail on the x86.
2534 * gdb.base/callfwmall.exp (do_function_calls): Same.
2535
2536 * gdb.base/list.exp (test_listsize): Correct expectations for
2537 listing line 1 with listsize 2. Also, listing a single line
2538 works now, as does listing three lines. [Kevin's note: There
2539 were a number of other cases fixed too where the expectations
2540 differed...]
2541
25421999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2543
2544 * gdb.base/selftest.exp: Add case for when version prints as
2545 constant string instead of char pointer.
2546
104c1213
JM
25471999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2548
2549 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2550 stepping out of main.
2551
2552 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2553 G++ used.
2554
2555 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2556 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2557
2558 * gdb.c++/ovldbreak.exp: Update match string in test that
2559 includes a warning of multiple breakpoints.
2560
25611999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2562
2563 * gdb.base/display.exp: Improve precision of step-after-finish
2564 added yesterday.
2565
2566 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2567 test.
2568
2569 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2570 configs when using G++, not just hppa*.
2571
25721999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2573
2574 * gdb.base/async.c: New file.
2575 * gdb.base/async.exp: New file.
2576
2577Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2578
2579 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2580 PA64.
2581
53a5351d
JM
2582Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
2583
104c1213
JM
2584 * gdb.base/display.exp: "finish" can leave us mid-line on many
2585 targets, deal with it. Add a small constant to main, instead of
2586 1000 since main+1000 may not be a valid address in the target.
2587
53a5351d
JM
2588 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
2589 on hpux11.
2590
2591 * gdb.base/attach.exp: Handle another hpux11 error message variant
2592 when attaching to a process that does not exist.
2593
25941999-08-19 J.T. Conklin <jtc@redback.com>
2595
2596 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
2597 characters in 'continue to 1241' test.
2598
25991999-08-17 Stan Shebs <shebs@andros.cygnus.com>
2600
2601 * gdb.base/call-ar-st.exp: Add a shorter match case for the
2602 stop in print_long_arg_list, define and use a whitespace
2603 variable in print_small_structs test, add an XFAIL for Solaris.
2604 * gdb.base/dbx.exp: XFAIL func commands until somebody is
2605 interested enough to fix.
2606
7be570e7
JM
26071999-08-13 Keith Seitz <keiths@cygnus.com>
2608
2609 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
2610 (dbx_gdb_load): Remove. Use gdb_load instead, since that
2611 proc knows about targets other than the natives.
2612 (test_assign): Use "gdb_run_cmd" to "run" the target.
2613 Check that we've actually hit the breakpoint at main.
2614 When we attempt to assign a value to a local variable, check
2615 that the variable is in the current scope, i.e., don't use
2616 a test with an empty result.
2617
2618Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2619
2620 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
2621 command.
2622
26231999-08-09 Stan Shebs <shebs@andros.cygnus.com>
2624
2625 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2626 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
2627 gdb.compat, gdb.threads-hp.
2628 gdb.hp/configure, gdb.hp/configure.in: New files.
2629 gdb.hp/Makefile.in: Recurse into new subdirs.
2630 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
2631 gdb.hp/gdb.objdbg: New directory, tests for debugging info
2632 in object files.
2633 gdb.hp/tools: New directory, aux tools for HP-specific tests.
2634
96baa820
JM
26351999-08-05 Stan Shebs <shebs@andros.cygnus.com>
2636
2637 * gdb.base/display.exp: Help expect by putting a newline in the
2638 funky printf, remove a bogus p/a test.
2639
26401999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2641
2642 * gdb.base/display.exp: Make sure that when we say 'run', we are
2643 connected to the target. This is necessary when running not
2644 natively.
2645
26461999-08-03 Stan Shebs <shebs@andros.cygnus.com>
2647
2648 * gdb.base/step-test.exp: Removed some extraneous messages.
2649
2650 * gdb.base/long_long.exp: Don't run memory examination tests
2651 on little-endian targets (they will need a different set of
2652 results to match).
2653
26541999-08-02 Stan Shebs <shebs@andros.cygnus.com>
2655
2656 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
2657 until somebody decides to fix GDB.
2658
2659 * gdb.base/long_long.c: Stop compiler complaint by specifying long
2660 constant as "ULL".
2661 * gdb.base/long_long.exp: Loosen x/c test, add partial result
2662 matches for a couple x/2 commands.
2663
a0b3c4fd
JM
26641999-07-30 Stan Shebs <shebs@andros.cygnus.com>
2665
2666 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
2667 by merging in ref-types2 tests.
2668 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
2669
2670 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2671 * gdb.c++/Makefile.in: Add standard actions.
2672 (EXECUTABLES): Rename from PROGS, update list.
2673 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
2674 from gdb.hp.
2675 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
2676 foo and bar locals.
2677 * gdb.c++/anon-union.exp: Fix tests to match.
2678 * gdb.c++/classes.exp: Run if HP compiler used, add extra
2679 expect matches to handle output variations.
2680 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
2681 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
2682 output, add HP alternatives for new and delete prints.
2683 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
2684 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
2685 * gdb.c++/demangle.exp: Use $style when reporting failure.
2686 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
2687 * gdb.c++/inherit.exp: Run if HP compiler used, add some
2688 match alternatives.
2689 * gdb.c++/local.exp: Add match alternatives or xfails for HP
2690 compilers.
2691 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
2692 * gdb.c++/method.exp: Add match alternatives.
2693 * gdb.c++/misc.cc: Add bool types.
2694 * gdb.c++/misc.exp: Add tests for bool types.
2695 * gdb.c++/overload.exp: Add xfails.
2696 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
2697 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
2698 add some more template parameter tests (only for HP currently).
2699 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
2700 * gdb.c++/virtfunc.cc: Add return type and value for main.
2701 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
2702 match alternatives.
beb998c6 2703
a0b3c4fd
JM
27041999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2705
2706 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
2707
27081999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
2709
2710 * gdb.base/signals.exp: Don't expect getting a backtrace from
2711 within a signal handler to fail on Linux.
2712
27131999-07-29 Stan Shebs <shebs@andros.cygnus.com>
2714
2715 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2716 * lib/gdb.exp: Remove some gratuitious semicolons.
2717 (delete_breakpoints): Increase timeout.
2718 (gdb_expect): Add -notransfer option.
2719 (gdb_test): Use -notransfer option.
2720 (get_compiler_info): Add f77 case.
2721 (get_compiler): New proc, split out from gdb_preprocess, add f77
2722 case.
2723 (gdb_preprocess): Call get_compiler.
2724
2725 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
2726 * gdb.base/attach.exp, gdb.base/display.exp,
2727 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
2728 gdb.base/long_long.exp, gdb.base/printcmds.exp,
2729 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
2730 third arg to gdb_test.
2731 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
2732 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
2733 HP-UX xfails, add others.
2734 * gdb.base/completion.exp: Reflect name change of self-test.
2735 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
2736 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
2737 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
2738 HP failure number.
2739 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
2740 useless HP-UX 10.30 references.
2741 * gdb.base/maint.exp: Loosen matches.
2742 * gdb.base/pointers.c (main): Declare more_code.
2743 * gdb.base/pointers.exp: Match on output of a `next'.
2744 * gdb.base/structs.c: Add prototypes.
2745 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
2746 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
2747
27481999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2749
2750 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
2751 command.
2752
27531999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2754
2755 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
2756 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
2757
2758 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
2759 debug info. Deal with lack of signal hanlder info in stack.
2760
2761 From Jim Kingdon <kingdon@redhat.com>:
2762 * gdb.base/annota1.exp: If printf has debug info, deal with it.
2763
5a2468f5
JM
27641999-07-19 Stan Shebs <shebs@andros.cygnus.com>
2765
2766 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
2767 gdb.base/foll-vfork.exp: Don't run for crosses.
2768
adf40b2e
JM
2769Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2770
2771 * gdb.base/configure.in: Check for gdbvars.exp instead of
2772 a1-selftest.exp.
2773 * gdb.base/configure: Re-generate.
2774
27751999-07-12 Stan Shebs <shebs@andros.cygnus.com>
2776
2777 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
2778 in trying to run first and name is too long.
2779
2780 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
2781 pointers2.c and pointers2.exp, respectively.
2782 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
2783 doschk happier.
2784
43e526b9
JM
27851999-07-08 Stan Shebs <shebs@andros.cygnus.com>
2786
2787 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
2788 callfuncs2.c and callfuncs2.exp.
2789
2790 * gdb.base/list.exp: Remove mistaken xfails.
2791 * gdb.base/list0.h: Add optional prototypes.
2792
9846de1b
JM
2793Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
2794
2795 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
2796 calling malloc.
2797 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
2798 * ptype.exp: Move test for get_debug_format to before its first
2799 use.
2800
28011999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2802
2803 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
2804 * gdb.base/annota2.cc, annota2.exp: Move from here.
2805 * gdb.c++/annota2.cc, annota2.exp: To here.
2806 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
2807
43ff13b4
JM
2808Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
2809
2810 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
2811 a consistent format.
2812
085dd6e6
JM
28131999-06-25 Stan Shebs <shebs@andros.cygnus.com>
2814
2815 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2816 * lib/gdb.exp (get_compiler_info): Add detection for assorted
2817 HP compilers, also set the globals $true and $false.
2818
2819 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
2820 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
2821 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
2822 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
2823 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
2824 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
2825 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
2826 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
2827 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
2828 whatis.c} Add C++ compatible function definitions and return
2829 types, add includes for library functions.
2830 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
2831 * gdb.base/step-test.c (myglob): Rename from glob.
2832 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
2833 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
2834 files, move here from gdb.hp.
2835 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
2836 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
2837 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
2838 Adjust line numbers in regexps.
2839
2840 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
2841 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
2842 instead of 0/1.
2843
2844 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
2845 foll-vfork.exp: New files, move here from gdb.hp.
2846 * gdb.base/page.exp: New file, test of pagination command.
2847
2848 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
2849 recursion test.
2850 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
2851
2852 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
2853 gdb.base/solib.exp: Fix compiler invocation process.
2854
2855 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
2856 HP-UX 11, turn off overload resolution explicitly.
2857 * gdb.base/commands.exp: Set argument list explicitly, add
2858 watchpoint test.
2859 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
2860 them work.
2861 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
2862 expressions properly.
2863 * gdb.base/corefile.exp: Loosen the match slightly.
2864 * gdb.base/default.exp: Allow "Error accessing memory" message
2865 also.
2866 * gdb.base/display.exp: Skip over x/0 j if PA64.
2867 * gdb.base/funcargs.exp: Add xfails for HP-UX.
2868 * gdb.base/interrupt.exp: Ditto.
2869 * gdb.base/langs.exp: Add symbolic matches governed by compiler
2870 in use.
2871 * gdb.base/list.exp: Add xfails for HP-UX.
2872 * gdb.base/long_long.exp: Refine some of the numeric matches.
2873 * gdb.base/mips_pro.exp: Xfail on HP-UX.
2874 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
2875 * gdb.base/nodebug.exp: Succeed on more varieties of output.
2876 * gdb.base/opaque.exp: Remove some HP-UX xfails.
2877 * gdb.base/ptype.exp: Succeed on more varieties of output.
2878 * gdb.base/scope.exp: Add xfails for HP-UX.
2879 * gdb.base/sect-cmd.exp: Add more cases.
2880 * gdb.base/setvar.exp: Add xfails for HP-UX.
2881 * gdb.base/shlib-call.exp: Loosen some matches slightly.
2882 * gdb.base/signals.exp: Match on void symbolically.
2883 * gdb.base/step-test.exp: Add case for PA64.
2884 * gdb.base/term.exp: Add exit and restart.
2885 * gdb.base/twice.exp: Clean up after self.
2886 * gdb.base/varargs.exp: Disable overload resolution explicitly.
2887 * gdb.base/whatis.exp: Allow more ways to pass tests.
2888
2889 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
2890 no longer useful.
2891
2892Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
2893
2894 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
2895 list of patterns.
2896 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
2897 print_double_array(double_array)", "continuing to breakpoint
2898 1018", "print print_double_array(array_d)" and "continuing to
2899 1034" tests.
beb998c6 2900
085dd6e6
JM
29011999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
2902
2903 * Makefile.in: Add empty html and install-html targets.
2904
29051999-06-24 Stan Shebs <shebs@andros.cygnus.com>
2906
2907 * config/mt-*: Remove, these haven't been used since 1996.
2908
29091999-06-22 Stan Shebs <shebs@andros.cygnus.com>
2910
2911 * gdb.base/call-strs.c, gdb.base/ending-run.c,
2912 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
2913 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
2914
9e0b60a8
JM
29151999-06-18 Stan Shebs <shebs@andros.cygnus.com>
2916
2917 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
2918 simpler match case for the ptype of the big class.
2919
29201999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2921
2922 * gdb.exp: Fix test for gdb_prompt existence.
2923
29241999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2925
2926 * gdb.exp (gdb_test): Add fail after calls to perror.
2927
29281999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2929
2930 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
2931
29321999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2933
2934 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
2935
0f71a2f6
JM
2936Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
2937
2938 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
2939 malloc() is linked in.
2940
29411999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2942
2943 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
2944 step at end.
2945
2946 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
2947
29481999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
2949
2950 * gdb.java/jv-print.exp: New file. (Our first Java test!)
2951
cce74817
JM
2952Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
2953
2954 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
2955 * gdb.base/mips_pro.exp: Likewise.
2956
29571999-06-02 Keith Seitz <keiths@cygnus.com>
2958
2959 * gdb.c++/templates.cc: Change all "new" operators to throw
2960 an exception.
2961 * gdb.c++/cplusfuncs.cc: Likewise.
2962
2963 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
2964
2965Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
2966
2967 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
2968 * gdb.base/ending-run.exp: When stepping out of main, accept a
2969 step into an arbitrary assembler file.
2970
392a587b
JM
29711999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2972
beb998c6 2973 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 2974 "breakpoint-invalid" to be printed.
beb998c6 2975 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
2976 number of "frames-invalid" and "breakpoint-invalid" to be printed.
2977 * gdb.base/annota2.cc: Initialize a.x to 0.
2978
9e086581
JM
29791999-05-17 Keith Seitz <keiths@cygnus.com>
2980
2981 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
2982 when "skip_float_tests" set.
2983 Ditto for "print print_double_array(array_d)", "print print_small_structs",
2984 "print print_ten_doubles", and "step into print_long_arg_list".
2985 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
2986 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
2987 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
2988 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
2989 "skip_float_tests" is set.
2990 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
2991 when "skip_float_tests" set.
beb998c6 2992
cd0fc7c3
SS
29931999-05-06 Keith Seitz <keiths@cygnus.com>
2994
2995 * gdb.base/annota2.cc: Include stdio.h.
2996
2997Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
2998
2999 * gdb.base/crossload.exp: Remove, this has been disabled ever
3000 since BFD stopped including all targets, and cross-GDB gets
3001 plenty of testing anyway.
3002 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3003 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3004 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3005 * gdb.base/README: Remove, was doc for this.
3006 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3007 needed.
3008
b83266a0
SS
30091999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3010
3011 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3012 output.
3013
3014 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3015 * gdb.base/annota2.exp: New file. More annotation tests.
3016 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3017 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3018
30191999-04-23 Angela Marie Thomas <angela@cygnus.com>
3020
3021 * config/cfdbug.exp: New file.
3022
7a292a7a
SS
30231999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3024
3025 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3026 Marcus Daniel's and Dale Hawkins's demangler crashes.
3027
3028 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3029 test_lucid_style_demangling, test_arm_style_demangling,
3030 test_hp_style_demangling): Try Tom Tromey's core-dumping
3031 identifier under each demangling style.
3032
30331999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3034
3035 * gdb.c++/demangle.exp: Include the current demangling style
3036 in all test names.
3037 (current_demangling_style): New global variable.
3038 (set_demangling_style, test_demangling_core, test_demangling,
3039 test_demangling_exact): New functions.
3040 (test_gnu_style_demangling, test_lucid_style_demangling,
3041 test_arm_style_demangling, test_hp_style_demangling): Use those,
3042 instead of calling gdb_test and gdb_test_exact directly.
3043 (catch_demangling_errors): New function, which reports errors
3044 signalled by the demangling test functions in an orderly way.
3045 (do_tests): Use catch_demangling_errors.
3046
30471999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3048
3049 * gdb.base/signals.exp (test_handle_all_print): Use () for
3050 grouping in expressions, not {}.
3051
3052 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3053 initialized yet.
3054
30551999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3056
3057 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3058 are listed.
3059
30601999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3061
3062 * gdb.stabs/weird.exp: Test for CC being defined before
3063 looking at its value.
3064
30651999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3066
3067 * gdb.base/call-ar-st.exp: Remove stray '#'.
3068 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3069 "short int" and "long int".
3070 * gdb.c++/overload.cc: Cast the string added in the previous
3071 change, to mollify finicky HP compiler.
3072 * gdb.hp/reg-test.exp (testfile): Fix file name.
3073 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3074
7a292a7a
SS
3075 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3076 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3077 alternate form of enum ptype.
3078
c906108c
SS
30791999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3080
7a292a7a
SS
3081 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3082 * gdb.hp/*.exp: Change all to run compiler probe only after
3083 passing skip_hp_tests, so as not to waste time on guaranteed
3084 failure.
3085
c906108c
SS
3086 * gdb.c++/overload.cc: Pass string instead of char addr, always
3087 init ccpfoo.
3088 * gdb.c++/templates.cc: Fix syntax error.
3089
7a292a7a
SS
3090Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3091
3092 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3093 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3094 command.
3095
30961999-03-18 James Ingham <jingham@cygnus.com>
3097
3098 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3099
3100 * gdb.c++/method.exp: It was testing an uninitialized int on the
3101 stack and assuming it was positive.
3102
3103 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3104
3105 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3106 keep it from killing the rest of the tests.
7a292a7a
SS
3107 Use gdb_continue_to_end.
3108
3109 * gdb.base/sigall.exp: use gdb_continue_to_end.
3110
3111 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3112
3113 * gdb.base/display.exp: use runto_main, not run.
3114
beb998c6
AC
3115 * gdb.base/default.exp: Check for the current error message in the
3116 r abbreviation test.
7a292a7a
SS
3117 Add strongarm to the targets that know info float.
3118
beb998c6 3119 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3120 run which doesn't work with monitors.
3121
3122 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3123
3124 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3125
3126 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3127 program. Traps the case (in Cygmon) when the program never really
3128 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3129 more places, so I used my name. Sorry Mark...
3130
3131 * config/monitor.exp (gdb_target_monitor): added another
3132 target_info parameter: remotebinarydownload. This will set the
3133 remotebinarydownload flag if this is causing some boards trouble.
3134
31351999-03-18 Mark Salter <msalter@cygnus.com>
3136
3137 * lib/gdb.exp (continue_to_exit): New function.
3138
3139 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3140 * gdb.base/ending-run.exp: Ditto.
3141 * gdb.base/step-test.exp: Ditto.
3142
31431999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3144
3145 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3146 (suggested by Art Haas <ahaas@neosoft.com>).
3147
31481999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3149
3150 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3151
3152Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3153
3154 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3155 descriptions of types (short unsigned int vs unsigned short, etc).
3156
31571999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3158
3159 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3160 a call to strlen; sometimes we do have sources.
3161
31621999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3163
3164 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3165 character, so GDB won't print garbage after its end.
beb998c6 3166
c906108c
SS
3167 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3168 breakpoint there instead. Sometimes GCC emits memcpy to handle
3169 the large structures being passed by value, so we step into that
3170 instead of sum_array_print, which obscures what we're really testing.
3171 * gdb.base/step-test.exp: However, we do want a test that notices
3172 the bizarre steps into memcpy, so do that here. Add check for
3173 stepping into function calls that pass large structures by value.
3174 ("Is that a noun clause, or are you just happy to see me?")
3175 Remove all references to specific line numbers.
3176 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3177 New type and function.
3178 (main): Call large_struct_by_value, passing it a large struct by value.
3179 * lib/gdb.exp (gdb_get_line_number): New function.
3180
3181 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3182 more portable.
3183
7a292a7a
SS
31841999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3185
c906108c
SS
3186 * lib/gdb.exp: Doc fixes.
3187
7a292a7a
SS
31881999-03-05 Nick Clifton <nickc@cygnus.com>
3189
beb998c6 3190 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3191
31921999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3193
c906108c
SS
3194 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3195 commands. They're not germane to this test, and they don't work
3196 that way on remote targets.
3197
3fc11d3e
JM
31981999-03-01 James Ingham <jingham@cygnus.com>
3199
3200 * Changelog entries merged over from gdb development branch.
3201
3fc11d3e
JM
3202 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3203
3204 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3205 for outputting results of test run.
3206
2d4a1622 3207 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
3208
3209 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 3210
7a292a7a
SS
32111999-02-25 Felix Lee <flee@cygnus.com>
3212
3213 * lib/gdb.exp (debug_format): initialize
3214
c906108c
SS
32151999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3216
3217 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3218 * gdb.base/call-rt-st.c: Ditto.
3219
c906108c
SS
32201999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3221
3222 * gdb.threads/pthreads.exp (horiz): New variable.
3223 (test_startup): Fix regexps that capture thread numbers.
3224
32251999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3226
3227 * gdb.base/smoke.exp: Disambiguate two test case names (both
3228 called ``print'').
3229
3230Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3231
3232 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3233 compilation.
3234
32351999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3236
3237 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3238 actual output formatting.
3239 * gdb.base/smoke.exp: GDB removes leading 0's.
3240 * gdb.base/volatile.exp: Don't check type of remuneration;
3241 that variable is no longer defined in constvars.c.
3242 * gdb.base/step-test.c (main): Exit with explicit exit code.
3243 * gdb.base/step-test.exp: Remove two nexti checks--they are
3244 not portable.
3245
32461999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3247
3248 * gdb.base/help.exp ("help delete display"): Fix test to match
3249 gdb's output.
3250
3251 * gdb.base/long_long.c (known_types): Initialize values to zero.
3252 * gdb.base/long_long.exp: Step one more line
3253 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3254 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3255 unique test case names.
3256
3257Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3258
beb998c6 3259 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3260
3261 * gdb.c++/method.exp: Add missing close brace.
3262
32631999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3264
3265 * gdb.base/maint.exp: Use 'set height 0' to disable page
3266 prompting, not 'set height 400'.
3267
3268 Fix a bunch of timeouts.
3269 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3270 four separate tests, so expect doesn't take forever to match a ton
3271 of text against a regexp with lots of .* forms.
3272 ("maint print psymbols", "maint print symbols"): Make some of
3273 these greps more selective, so that expect doesn't try to wade
3274 through huge piles of output and time out.
3275
3276 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3277
3278 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3279 tests: one which doesn't expect shlib events to be reported, and
3280 another which does, but is XFAIL for all platforms other than
3281 HP/UX.
3282
3283 * gdb.base/break.exp: Teach the test suite that the `catch
3284 fork', `catch vfork', and `catch exec' commands produce error
3285 messages on platforms that don't provide these features.
3286
3287Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3288
3289 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3290 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3291 (shortening names from solib_threshold.exp etc), won't run on
3292 anything but HP-UX for the foreseeable future.
3293 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3294 reflect move.
3295
3296Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3297
3298 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3299 gdb.trace/Makefile.in (clean): Remove all test executables.
3300
3301Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3302
3303 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3304 successfully re-sets breakpoints in shared libraries.
3305 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3306
3307Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3308
beb998c6
AC
3309 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3310 and compiled w/o GCC.
c906108c
SS
3311
3312 * gdb.hp/watch-cmd.exp: ditto.
3313
3314 * gdb.hp/watch-hp.exp: ditto.
3315
3316 * gdb.hp/xdb1.exp: ditto.
3317
3318 * gdb.hp/xdb2.exp: ditto.
3319
3320 * gdb.hp/dbx.exp: ditto.
3321
3322Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3323
3324 * constvars.c: Remove C++-isms.
3325 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3326 with GCC.
3327
3328Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3329
3330 The following changes are part of the HP merge.
3331
3332 * gdb.base/break.exp: new tests to verify that catchpoints for
3333 fork, vfork, and exec don't trigger inappropriately.
3334
3335 * gdb.base/opaque.exp: compile one file at a time, then link.
3336
3337 * gdb.base/signals.exp: be more restrictive about which hppa
3338 systems receive a setup_xfail. new tests.
3339
3340 * gdb.base/solib_threshold.build: new file.
3341 * gdb.base/solib_threshold.exp: new file.
3342 * gdb.base/solib_threshold.link_opts: new file.
3343 * gdb.base/solib_threshold.mk: new file.
3344 * gdb.base/gen_solib_threshold.c: new file.
3345
3346 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3347 tests. New tests for enums inside classes.
3348
3349 * gdb.c++/compiler.cc: indicate support of template debugging.
3350
3351 * gdb.c++/demangle.exp: run hp style demangling tests.
3352
3353 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3354 tests.
3355
3356 * gdb.c++/misc.cc: changes to support new tests.
3357
3358 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3359 to support new tests.
3360
3361 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3362 gcc, then skip these tests.
3363
3364Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3365
3366 The following files are part of the HP merge; some had longer
3367 names at HP, but have been renamed to be no more than 14
3368 characters in length.
3369
3370 * gdb.hp/ambiguous.cc: new file.
3371 * gdb.hp/ambiguous.exp: new file.
3372 * gdb.hp/attach.exp: new file.
3373 * gdb.hp/attach2.exp: new file.
3374 * gdb.hp/classes-hp.exp: new file.
3375 * gdb.hp/ctti.exp: new file.
3376 * gdb.hp/ctti-add.cc: new file.
3377 * gdb.hp/ctti-add1.cc: new file.
3378 * gdb.hp/ctti-add2.cc: new file.
3379 * gdb.hp/ctti-add3.cc: new file.
3380 * gdb.hp/dbx.exp: new file.
3381 * gdb.hp/exception.cc: new file.
3382 * gdb.hp/exception.exp: new file.
3383 * gdb.hp/foll-exec.c: new file.
3384 * gdb.hp/foll-exec.exp: new file.
3385 * gdb.hp/foll-fork.c: new file.
3386 * gdb.hp/foll-fork.exp: new file.
3387 * gdb.hp/foll-vfork.c: new file.
3388 * gdb.hp/foll-vfork.exp: new file.
3389 * gdb.hp/inherit-hp.exp: new file.
3390 * gdb.hp/more-steps.exp: new file.
3391 * gdb.hp/namespace.cc: new file.
3392 * gdb.hp/namespace.exp: new file.
3393 * gdb.hp/optimize.exp: new file.
3394 * gdb.hp/pxdb.c: new file.
3395 * gdb.hp/pxdb.exp: new file.
3396 * gdb.hp/quicksort.exp: new file.
3397 * gdb.hp/reg-test.exp: new file.
3398 * gdb.hp/reg-test.s: new file.
3399 * gdb.hp/sized-enum.c: new file.
3400 * gdb.hp/sized-enum.exp: new file.
3401 * gdb.hp/start-stop.exp: new file.
3402 * gdb.hp/templ-hp.cc: new file.
3403 * gdb.hp/templ-hp.exp: new file.
3404 * gdb.hp/thr-lib.c: new file.
3405 * gdb.hp/thr-lib.exp: new file.
3406 * gdb.hp/thr-lib.h: new file.
3407 * gdb.hp/thr-liblib.c: new file.
3408 * gdb.hp/virtfun-hp.c: new file.
3409 * gdb.hp/virtfun-hp.exp: new file.
3410 * gdb.hp/watch-cmd.exp: new file.
3411 * gdb.hp/watch-hp.exp: new file.
3412 * gdb.hp/xdb1.exp: new file.
3413 * gdb.hp/xdb2.exp: new file.
3414 * gdb.hp/xdb3.exp: new file.
3415
3416Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3417
3418 The following files are part of the HP merge; some had longer
3419 names at HP, but have been renamed to be no more than 14
3420 characters in length.
3421
3422 * gdb.base/ss.h: new file.
3423 * gdb.base/call-ar-st.c: new file.
3424 * gdb.base/call-ar-st.exp: new file.
3425 * gdb.base/call-rt-st.c: new file.
3426 * gdb.base/call-rt-st-exp: new file.
3427 * gdb.base/call-strs.exp: new file.
3428 * gdb.base/ena-dis-br.exp: new file.
3429 * gdb.base/environ.exp: new file.
3430 * gdb.base/long_long.exp: new file.
3431 * gdb.base/sect-cmd.exp: new file.
3432 * gdb.base/shlib-cl2.exp: new file.
3433 * gdb.base/smoke.exp: new file.
3434 * gdb.base/so-impl-ld.c: new file.
3435 * gdb.base/so-impl-ld.exp: new file.
3436 * gdb.base/so-indr-cl.c: new file.
3437 * gdb.base/so-indr-cl.exp: new file.
3438 * gdb.base/varargs.exp: new file.
3439 * gdb.base/volatile.exp: new file.
3440 * gdb.base/whatis-exp.exp: new file.
7a292a7a 3441 * gdb.base/display.exp: new file.
c906108c
SS
3442 * gdb.c++/derivation.exp: new file.
3443 * gdb.c++/local.exp: new file.
3444 * gdb.c++/member-ptr.exp: new file.
3445 * gdb.c++/overload.exp: new file.
3446 * gdb.c++/ovldbreak.exp: new file.
3447 * gdb.c++/ref-types.exp: new file.
3448 * gdb.c++/ref-types2.exp: new file.
3449 * gdb.c++/userdef.exp: new file.
beb998c6 3450
c906108c
SS
3451Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3452
3453 * gdb.base/default.exp: Reflect wording change in remote.c.
3454
dc96c6c7 3455Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3456
3457 * gdb.base/help.exp: Update to reflect current text.
3458
3459Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3460
3461 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3462 they're stack variables and contain garbage.
3463 * gdb.c++/anon-union.exp: new file.
3464
3465 The following changes were made by David Taylor
3466 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3467 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3468 in changes by HP.
3469
3470 * gdb.base/bitops.exp: new file.
3471 * gdb.base/default.exp: change expected messages for catch and
3472 info catch tests to reflect HP merge changes.
3473 * gdb.base/enable-disable-break.exp
3474 * gdb.base/ending-run.c: new file.
3475 * gdb.base/long_long.c: new file.
3476 * gdb.base/maint.exp: new file.
3477 * gdb.base/pointers2.exp: new file.
3478 * gdb.base/shlib-call2.exp: new file.
3479 * gdb.base/solib.exp: new file.
3480 * gdb.base/step-test.c: new file.
3481 * gdb.c++/anon-union.cc: new file.
3482 * gdb.c++/local.cc: new file.
3483 * gdb.c++/member-pointer.cc: new file.
3484 * gdb.c++/method.cc: new file.
3485 * gdb.c++/ref-types.cc: new file.
3486 * gdb.c++/ref-types2.cc: new file.
3487 * gdb.c++/userdef.cc: new file.
beb998c6 3488
c906108c
SS
3489 * gdb.base/scope.exp: compile one file at a time, then link.
3490 * gdb.base/langs.exp: ditto.
3491 * gdb.base/list.exp: ditto.
beb998c6 3492
c906108c
SS
3493Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3494
3495 The following changes were made by David Taylor
3496 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3497 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3498 in changes by HP.
beb998c6 3499
c906108c
SS
3500 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3501 skip tests. When compiling pass c++ flag to gdb_compile.
3502 * gdb.c++/
beb998c6 3503
c906108c
SS
3504 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3505 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3506 (skip_hp_tests): new function.
3507 (gdb_preprocess): new function.
3508
3509 * configure.in (hpdir): decide whether to configure gdb.hp.
3510 * configure: regenerated.
3511
3512 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3513 to delete on clean.
3514 (EXECUTABLES): update to reflect new additions.
3515 * gdb.base/commands.exp: update message expected.
3516 * gdb.base/default.exp: add copyright notice.
3517 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3518 * gdb.base/help.exp: update messages to reflect current text.
3519 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3520 targets for recurse tests.
3521 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3522 skip this file.
3523
3524 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3525 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3526 compilation.
3527 * gdb.c++/misc.exp: ditto.
3528 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3529 run the tests. tell gdb_compile that it's a c++ compilation.
3530
3531 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 3532
c906108c
SS
3533 * gdb.base/all-bin.exp: new file.
3534 * gdb.base/arithmet.exp: new file.
3535 * gdb.base/assign.exp: new file.
3536 * gdb.base/completion.exp: new file.
3537 * gdb.base/cond-expr.exp: new file.
3538 * gdb.base/condbreak.exp: new file.
3539 * gdb.base/define.exp: new file.
3540 * gdb.base/dollar.exp: new file.
3541 * gdb.base/environment.exp: new file.
3542 * gdb.base/eval-skip.exp: new file.
3543 * gdb.base/jump.exp: new file.
3544 * gdb.base/logical.exp: new file.
3545 * gdb.base/pointers.exp: new file.
3546 * gdb.base/relational.exp: new file.
3547 * gdb.base/section_command.exp: new file.
3548 * gdb.base/whatis-expr.exp: new file.
3549
3550 * gdb.base/all-types.c: new file.
3551 * gdb.base/call-array-struct.c: new file.
3552 * gdb.base/call-return-struct.c: new file.
3553 * gdb.base/call-strings.c: new file.
3554 * gdb.base/callfuncs2.c: new file.
3555 * gdb.base/condbreak.c: new file.
3556 * gdb.base/constvars.c: new file.
3557 * gdb.base/display.c: new file.
3558 * gdb.base/int-type.c: new file.
3559 * gdb.base/jump.c: new file.
3560 * gdb.base/miscexprs.c: new file.
3561 * gdb.base/pointers.c: new file.
3562 * gdb.base/pointers2.c: new file.
3563 * gdb.base/shmain.c: new file.
3564 * gdb.base/shr1.c: new file.
3565 * gdb.base/shr2.c: new file.
3566 * gdb.base/solib.c: new file.
3567 * gdb.base/solib1.c: new file.
3568 * gdb.base/solib2.c: new file.
3569 * gdb.base/varargs.c: new file.
3570 * gdb.c++/derivation.cc: new file.
3571 * gdb.c++/overload.cc: new file.
3572 * gdb.c++/ovldbreak.cc: new file.
3573 * gdb.hp/attach.c: new file.
3574 * gdb.hp/attach2.c: new file.
3575 * gdb.hp/average.c: new file.
3576 * gdb.hp/compiler.c: new file.
3577 * gdb.hp/compiler.cc: new file.
3578 * gdb.hp/execd-program.c: new file.
3579 * gdb.hp/follow-exec.c: new file.
3580 * gdb.hp/follow-fork.c: new file.
3581 * gdb.hp/follow-vfork-and-exec.c: new file.
3582 * gdb.hp/misc-hp.cc: new file.
3583 * gdb.hp/more-steps.c: new file.
3584 * gdb.hp/optimize.c: new file.
3585 * gdb.hp/quicksort.c: new file.
3586 * gdb.hp/run-hp.c: new file.
3587 * gdb.hp/start-stop.c: new file.
3588 * gdb.hp/sum.c: new file.
3589 * gdb.hp/templates-hp.cc: new file.
3590 * gdb.hp/thread-local-in-lib.c: new file.
3591 * gdb.hp/thread-local-in-lib.h: new file.
3592 * gdb.hp/thread-local-in-lib.lib.c: new file.
3593 * gdb.hp/vforked-program.c: new file.
3594 * gdb.hp/virtfunc-hp.cc: new file.
3595 * gdb.hp/watchpoint-hp.c: new file.
3596 * gdb.hp/xdb.c: new file.
3597 * gdb.hp/xdb0.c: new file.
3598 * gdb.hp/xdb0.h: new file.
3599 * gdb.hp/xdb1.c: new file.
3600
3601Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
3602
3603 The following change was made by Edith Epstein
3604 <eepstein@cygnus.com> as part of a project to merge in changes
3605 originally made by HP; HP did not create ChangeLog entries.
3606
3607 * gdb.c++/demangle.exp: changed the expected output for some
3608 ARM-style mangling -- removed second reference to datatype.
3609 For example, maint demangle __dt__11T1__pt__2_cFv
3610 T1<char>::~T1<char>(void)
3611 becomes,
3612 maint demangle __dt__11T1__pt__2_cFv
3613 T1<char>::~T1(void)
3614
3615 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 3616
c906108c
SS
3617Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
3618
3619 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
3620 * gdb.trace/backtrace.exp: Likewise.
3621 * gdb.trace/circ.exp: Likewise.
3622 * gdb.trace/collection.exp: Likewise.
3623 * gdb.trace/deltrace.exp: Likewise.
3624 * gdb.trace/infotrace.exp: Likewise.
3625 * gdb.trace/limits.exp: Likewise.
3626 * gdb.trace/packetlen.exp: Likewise.
3627 * gdb.trace/passc-dyn.exp: Likewise.
3628 * gdb.trace/passcount.exp: Likewise.
3629 * gdb.trace/report.exp: Likewise.
3630 * gdb.trace/save-trace.exp: Likewise.
3631 * gdb.trace/tfind.exp: Likewise.
3632 * gdb.trace/tracecmd.exp: Likewise.
3633 * gdb.trace/while-dyn.exp: Likewise.
3634 * gdb.trace/while-stepping.exp: Likewise.
3635
36361998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3637
3638 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
3639
3640Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
3641
3642 From Brendan Kehoe:
3643 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
3644 int return types.
3645
3646Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
3647
3648 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
3649 remote dos host testing right.
3650
3651Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
3652
3653 * gdb.base/corefile.exp: remove some xfails.
3654
3655Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
3656
3657 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
3658 have different timestamps.
3659
3660Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
3661
3662 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
3663 gdb.base/default.exp: Replace "exec" with "executable".
3664
3665Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
3666
3667 * gdb.base/default.exp: Change else if to elseif from previous
3668 delta.
3669
3670Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
3671
3672 * gdb.base/default.exp: Add brace missing from previous delta.
3673
3674Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
3675
3676 * gdb.base/default.exp: Support test for info float for all
3677 varieties of arm toolchain.
3678
dc96c6c7 3679Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3680
3681 * gdb.trace/*.exp: remove "remote_download" command.
3682
dc96c6c7 3683Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3684
3685 * gdb.trace/*.exp: remove -gdwarf from compile.
3686
3687Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
3688
3689 * gdb.trace/configure.in(AC_INIT): typo
3690 * gdb.trace/configure: regenerated
3691
dc96c6c7 3692Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3693
3694 * config/m68k-emc.exp: New file.
3695 * lib/<emc-support.exp trace-support.exp}: New files.
3696 * configure.in: add new test directory gdb.trace.
3697 * gdb.trace/{configure configure.in Makefile.in}: New files.
3698 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
3699 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
3700 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
3701 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
3702 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
3703 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
3704 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 3705
dc96c6c7 3706Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3707
3708 * gdb.c++/classes.exp: Change all regular expressions to match
3709 arbitrary combinations of newline/carriage-return, so that they
3710 will work equally well on Unix and Windows.
3711 * gdb.c++/inherit.exp: ditto.
3712 * gdb.c++/virtfunc.exp: ditto.
3713
37141998-08-11 Dawn Perchik <dawn@cygnus.com>
3715
3716 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
3717
c2d11a7d
JM
3718Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
3719
3720 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
3721 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
3722 to use a0-a3/d0-d3 as needed.
3723
3724Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
3725
3726 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
3727 * gdb.disasm/am33.exp: Corresponding changes.
3728
c906108c
SS
37291998-07-11 Felix Lee <flee@cygnus.com>
3730
3731 * gdb.base/callfuncs.exp: add cmp10 test.
3732 * gdb.base/callfuncs.c (cmp10): new function.
3733
3734Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
3735
beb998c6 3736 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
3737 into two parts to get around a synchronization problem in expect.
3738
3fc11d3e
JM
3739Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
3740
3741 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
3742
3743 * configure.in: Add options for gdbtk testsuite.
3744
3745 * configure: Regenerate.
3746
3747 * gdb.gdbtk: New directory to hold gdbtk tests.
3748
c906108c
SS
3749Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3750
3751 * gdb.fortran/types.exp: Escape brackets in expect patterns
3752 for test_float_literal_types_accepted tests.
3753 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
3754 before run test.
3755
c2d11a7d
JM
3756Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
3757
3758 * am33.exp: Just compile, do not link the testcase.
3759 * am33.s: Add ".am33" pseudoop to force am33 mode.
3760
c906108c
SS
37611998-06-25 Felix Lee <flee@cygnus.com>
3762
3763 * gdb.base/setshow.exp: make sure $pc is sane.
3764
3765 * gdb.stabs/weird.exp: split expect patterns properly.
3766
c2d11a7d
JM
3767Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
3768
3769 * gdb.disasm/am33.s: New disassembler testfile for the am33.
3770 * gdb.disasm/am33.exp: Run it.
3771
dc96c6c7 3772Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3773
3774 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
3775 match processing (and eliminate spurious timeouts when running).
3776
dc96c6c7 3777Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3778
3779 * gdb.base/signals.exp (test_handle_all_print): put back Mach
3780 exception test, but conditionalize it on target [mach | gnu].
3781
dc96c6c7 3782Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3783
3784 * gdb.base/overlays.exp: fixup compile line for linker script.
3785
3786Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
3787
3788 * gdb.fortran/types.exp: don't guess at float size.
3789
3790Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
3791
3792 * gdb.base/exprs.exp: delete test that depends on int size.
3793
3794Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
3795
3796 * config/sim.exp: Removed checks for target triplets.
3797 (gdb_target_sim): Use gdb,target_sim_options.
3798
3799Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
3800
3801 * gdb.base/reread.exp: New file.
3802 * gdb.base/reread1.c: New file.
3803 * gdb.base/reread2.c: New file.
3804
3805Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
3806
3807 * config/sim.exp: Use 'target sim -sparclite' when running
3808 SPARClite programs.
3809
3810Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
3811
3812 * gdb.base/structs2.exp: New file.
3813 * gdb.base/structs2.c: New file.
3814
3815Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
3816
3817 * gdb.asm/common.inc: New file.
3818 * gdb.asm/d10v.inc: New file.
3819 * asm-source.exp: Pass -I's to gas to find .inc files.
3820 Update line numbers in expected output.
3821 * asmsrc1.s: Rewrite.
3822 * asmsrc2.s: Rewrite.
3823 * configure.in: Create arch.inc symlink.
3824 * configure: Regenerate.
3825 * Makefile.in (distclean): Delete arch.inc.
3826
3827Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
3828
3829 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
3830 (t_enum_value2): ditto
3831 (t_enum_value3): ditto
3832 (main): ditto
3833Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3834
3835 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
3836 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
3837 change.
3838 Use gdb_test instead of send_gdb/gdb_expect sequences.
3839
3840Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
3841
3842 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
3843 not void.
3844
3845Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
3846
3847 * gdb.base/branches.c: Code with lots of loops and
3848 subroutines. Used to test gdbs ability to single step through PC
3849 changes, especially to test mips-tdep.c:mips_next_pc
3850
3851Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
3852
3853 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
3854 more rigorous EGCS C++ error checking.
3855
3856Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3857
3858 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 3859 tests.
c906108c 3860 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 3861 function when asleep.
c906108c 3862 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
3863 for i*86 Linux and SVR4 signal handling problems.
3864 Remove linux xfail for `next to handler in signals_tests_1', fixed
3865 by recent infrun.c change.
c906108c 3866 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 3867 stack backtraces.
c906108c
SS
3868 Adjust expect pattern in `handle all print' test to match Apr 28 1997
3869 target.[ch] change.
3870
3871Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
3872
3873 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
3874 for a newline from gdb before continuing.
3875 (default_gdb_exit): Just look for y or n.
3876 (gdb_test): Detect abnormal exit from GDB running on DOS; if
3877 it does, fail the rests of the tests in the file.
3878
3879Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
3880
3881 * config/cygmon.exp: New file.
3882
3883Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
3884
3885 * gdb.base/list.exp: Fix problem with "list default lines around
3886 main" test on remote targets.
3887
3888 * gdb.base/scope.exp: Fix problem with filelocal_bss before
3889 run test on remote targets.
3890
3891Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
3892
3893 * gdb.asm: New directory.
3894 * configure.in: Configure it.
3895 * configure: Regenerate.
3896 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
3897 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
3898
3899Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
3900
3901 * config/mn10300-eval.exp: New file to support MN10300 eval board.
3902
dc96c6c7 3903Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3904
c906108c
SS
3905 * gdb.base/overlays (several files): Merge the two overlay
3906 managers into one. Change variables (foox, barx, bazx, grbxx)
3907 back into ints but force them to load in their proper sections.
3908
3909Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
3910
3911 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
3912 on-chip insn memory and IMAP1 to upper 128k.
3913 (D10VCopy): Handle memory regions crossing 16k boundaries.
3914 (D10VCopy): Transfer data in 32 bit chunks.
3915
3916Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
3917
3918 * gdb.base/overlays.c (main): Exit normally when result is
3919 correct.
3920
3921 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
3922 map. Include space for printf in .text segment.
3923
3924 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
3925 updated d10v memory VMA/LMA map.
3926 (D10VCopy): Call D10VTranslate.
beb998c6 3927
c906108c
SS
3928Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
3929
3930 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
3931
3932 * gdb.base/bar.c (barx, bar): Change variable to small array so
3933 that it won't be put into the .sdata - small data -
3934 section. Update reference.
3935 * gdb.base/baz.c (bazx, baz): Ditto.
3936 * gdb.base/foo.c (foox, foo): Ditto.
3937 * gdb.base/grbx.c (grbxx, grbx): Ditto.
3938
3939 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
3940 to be arrays.
beb998c6 3941
dc96c6c7 3942Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3943
c906108c
SS
3944 * gdb.base/overlays.exp: fix up and get working again.
3945 Add tests for backtraces from an overlay function.
beb998c6 3946
c906108c
SS
3947Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
3948
3949 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
3950 "calling function with watchpoint enabled".
3951
3952Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
3953
3954 * gdb.base/break.exp (test_next_with_recursion): Remove
3955 gdb_suppress_tests for d10v-*-*.
3956 * lib/gdb.exp (gdb_suppress_tests): Disable this function
3957 pending review of whether it is useful or not.
3958
3959Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
3960
3961 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
3962
3963Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
3964
3965 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
3966 * config/dve.exp: New file to support Densan boards.
3967
3968Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
3969
3970 * gdb.base/interrupt.exp: Document problem of simulators, signals,
3971 reads and BSD.
3972
3973Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
3974
3975 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
3976 response.
3977
3978 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
3979
3980Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
3981
3982 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
3983 test.
3984
3985 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
3986 target_sizeof_long and target_bigendian_p.
3987 (structs_by_value, structs_by_reference): Check values according
3988 to targets word size and endianess.
beb998c6 3989
c906108c
SS
3990Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
3991
3992 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
3993 output.
3994
3995Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
3996
3997 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
3998 Update test of set args help to match source change.
3999
4000Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4001
4002 * gdb.base/default.exp: Expect help system output to be in
4003 alphabetical order.
4004 * gdb.base/help.exp: Ditto.
4005
4006Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4007
4008 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4009 "i*86-pc-linux-gnu*".
4010 * gdb.base/interrupt.exp: Ditto.
4011 * gdb.base/corefile.exp: Ditto.
4012
4013 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4014 define vxworks when building the testcase.
4015
4016 * gdb.base/ptype.exp: Fix testnames to be unique.
4017 * gdb.base/radix.exp: Ditto.
4018 * gdb.base/term.exp: Ditto.
4019 * gdb.base/whatis.exp: Ditto.
4020 * gdb.c++/classes.exp: Ditto.
4021
4022Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4023
4024 * gdb.base/callfuncs.exp: Fix indentation.
4025
4026 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4027 suppress_flag has been set.
4028 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4029 target feature.
4030
4031Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4032
4033 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4034 the testcase.
4035
4036 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4037 set_debug_traps() and breakpoint().
4038 * gdb.c++/misc.cc (main): Ditto.
4039 * gdb.c++/templates.cc (main): Ditto.
4040 * gdb.c++/virtfunc.cc (main): Ditto.
4041
4042Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4043
4044 * lib/gdb.exp(gdb_step_for_stub): New function.
4045 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4046 exists, reload the executable and do a "continue" instead of
4047 doing a jump.
4048 (runto_main): Use gdb_step_for_stub.
beb998c6 4049
c906108c
SS
4050 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4051 tests to have unique names.
4052 * gdb.base/callfuncs.exp: Ditto.
4053 * gdb.base/commands.exp: Ditto.
4054 * gdb.base/default.exp: Ditto.
4055 * gdb.base/help.exp: Ditto.
4056 * gdb.base/list.exp: Ditto.
4057 * gdb.base/opaque.exp: Ditto.
4058 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4059 similar tests.
beb998c6 4060
c906108c
SS
4061 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4062 * gdb.c++/cplusfuncs.cc: Ditto.
4063 * gdb.c++/virtfunc.cc: Ditto.
4064
4065 * config/monitor.exp: Keep track of the last file we saw, rather
4066 than trying to get the info from gdb.
4067
4068 * gdb.fortran/types.exp: Move comment to previous line.
4069
4070Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4071
4072 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4073 target mode.
4074
4075Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4076
4077 From Bob Manson:
4078 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4079 string from GDB when it connects.
4080
4081 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4082
4083Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4084
4085 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4086 if we can't get a debug format from GDB (we may be testing an
4087 older GDB). Use a 10 second timeout when checking for the format.
4088
4089 * gdb.stabs/weird.exp: Fix quoting.
4090
4091 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4092
4093Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4094
4095 * config/arm-ice.exp: New file.
4096
4097Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4098
4099 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4100 until it has been modified to work with the new testsuite.
4101
99707966 4102 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4103 testcase won't compile, cause all of the testcases in the file to
4104 fail instead.
4105
4106 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4107 (gdb_clear_suppressed): New procedure.
4108 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4109 it contains a positive value.
4110
4111Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4112
4113 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4114
4115 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4116
4117Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4118
4119 * lib/gdb.exp (setup_xfail_format): New function.
4120 (get_debug_format): New function to get debug format.
4121 (debug_format): New global variable to hold last value set
4122 by get_debug_format.
4123 * gdb.base/list.exp: Call get_debug_format and expect some
4124 tests to fail for DWARF 1 and COFF formats.
4125 * gdb.c++/ptype.exp: Ditto.
4126 * gdb.c++/classes.exp: Ditto.
4127 * gdb.c++/cplusfuncs.exp: Ditto.
4128 * gdb.c++/inherit.exp: Ditto.
4129 * gdb.c++/templates.exp: Ditto.
4130 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4131
c906108c
SS
4132Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4133
4134 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4135 host doesn't have a currently-open connection.
4136
4137 * config/sparclet.exp: Cleanups and fixes to make it generic for
4138 any gdb stub target. Handle cases where gdb doesn't respond when
4139 interrupted in a sane fashion.
4140
4141 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4142 same thing in a totally different way.
4143
4144 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4145 setting "timeout".
4146 (gdb_start): We set the global gdb_prompt variable in
4147 default_gdb_init now.
4148
4149Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4150
4151 * gdb.base/printcmds.exp: Fix "check for floating addition"
4152 regexp to accept results within approx +/- .01 of exact value.
4153 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4154
4155Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4156
4157 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4158 properly.
4159 (gdb_expect): Add optional timeout parameter, and add timeout
4160 value to various calls.
4161 (gdb_suppress_tests): Only give one warning message per group.
4162
4163Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4164
4165 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4166 global variables. Handle getting a value for $timeout more
4167 gracefully.
4168
4169Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4170
4171 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4172 initialize.
4173 (default_gdb_init): New procedure; allow gdb_init to be overridden
4174 by a target configuration file.
4175 (gdb_expect): Pass the timeout to remote_expect.
4176
4177 * config/monitor.exp(gdb_load): Fix typo in regexp.
4178
4179Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4180
4181 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4182
4183Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4184
4185 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4186 here. Call gdb_target_exec before rebooting the target, to make
4187 sure the connection to the target is closed.
4188 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4189 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4190 Also detect "Timeout reading from remote" error.
4191
4192 * config/gdbserver.exp: Pass the executable being loaded to
4193 gdb_target_monitor. Don't call gdb_file_cmd here; let
4194 gdb_target_monitor do it.
4195
4196 * gdb.disasm/hppa.exp: Don't use exec_output.
4197
4198Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4199
4200 * gdb.base/list.exp: If we're debugging a non-native target,
4201 try to set the pc register to point to the start of the
4202 program before doing the first list command.
4203
4204 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4205 test_calls after restarting.
4206
4207 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4208 reloading.
4209
4210 * gdb.base/watchpoint.exp: Fix typo.
4211
4212 * gdb.base/setshow.exp: Check for use_gdb_stub.
4213
4214 * gdb.base/break.exp: Fix continue until exit test for the gdb
4215 stub case.
4216 * gdb.base/langs.exp: Ditto.
4217
4218 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4219 gdb_load_offset. If we weren't given a file to load, figure out
4220 what the current file is and use it.
4221
4222 * config/i386-bozo.exp: New file.
4223
4224Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4225
4226 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4227 feature.
4228
4229 * config/proelf.exp: New entry.
4230
4231Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4232
4233 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4234 of regexps.
4235
4236 * gdb.base/watchpoint.exp: Don't run the test_stepping
4237 tests if gdb can't call functions on the target.
4238
4239 * gdb.base/setshow.exp: Don't run the set prompt tests if
4240 the board has gdb_prompt set.
4241
4242Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4243
4244 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4245 * gdb.base/commands.exp: Likewise.
4246 * gdb.base/setshow.exp: Likewise.
4247
4248Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4249
4250 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4251 feature.
4252
4253 * config/i960.exp: New file.
4254
4255Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4256
4257 * gdb.base/funcargs.exp: Check for gdb,short_int target
4258 feature instead of looking for explicit target triplets.
4259
dc96c6c7 4260Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4261
beb998c6 4262 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4263 "p 123DEADBEEF", to check parse_number.
4264 * top.c: change "to enable to enable" to "to enable" in a couple
4265 of help strings.
4266
4267Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4268
4269 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4270 on the mn10300.
beb998c6 4271
c906108c
SS
4272Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4273
4274 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4275 where the test executable is run with explicit args.
4276 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4277
4278Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4279
4280 * gdb.base/run.c: Use FAKEARGV to build test executable that
4281 does not require a command line arg, since most simulators
4282 don't currently support passing such an arg into the simulated
4283 program.
4284 * gdb.base/commands.exp: Change tests to insert the proper
4285 value as the arg to the first recursive factorial call. Change
4286 compilation line to define FAKEARGV at compile time.
4287
4288Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4289
4290 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4291 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4292 function with watchpoint enabled" test.
4293
4294Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4295
4296 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4297 Don't call gdb_test when the command doesn't return to a gdb prompt.
4298
4299 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4300 "Tests restarted" messages.
4301
4302Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4303
4304 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4305
dc96c6c7 4306Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4307
4308 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4309 for INFO SYMBOL; add help tests for OVERLAY commands.
4310 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4311 add tests for OVERLAY commands
4312 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4313 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4314 * gdb.base/sigall.c: add usestubs code frag
4315 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4316
c906108c
SS
4317Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4318
4319 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4320 failures.
4321 (gdb_stop_suppressing_tests): Note that tests have restarted.
4322
4323Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4324
4325 * config/h8300.exp: New file.
4326
4327Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4328
4329 * gdb.base/setshow.exp: Check for the existence of a
4330 feature, not its value.
4331
4332Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4333
4334 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4335
4336 * gdb.base/scope.exp: It's now init0(), not init().
4337
4338 * gdb.base/scope0.c: For now, change init() to be init0().
4339
4340 * config/monitor.exp: Use gdb_serial in preference to serial
4341 or netport.
4342
4343 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4344 and it's not already set.
4345
4346Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4347
4348 * gdb.base/setshow.exp: Only test the run command if the target
4349 isn't using a stub and if it supports argument passing.
4350
4351Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4352
4353 * config/udi.exp(gdb_start): Make sure UDICONF is set
4354 properly before starting gdb.
4355
4356Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4357
4358 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4359 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4360 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4361
4362Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4363
4364 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4365 specialized code to reboot the board, use remote_reboot instead.
4366
4367 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4368
4369 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4370
4371 * config/monitor.exp: Make sure we disconnect from the target.
4372 Also, try a reboot/reload cycle instead of failing if the
4373 load fails.
4374
4375Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4376
4377 * gdb.base/default.exp: Don't set match_max.
4378 * gdb.base/help.exp: Ditto.
4379 * gdb.base/list.exp: Ditto.
4380 * gdb.base/signals.exp: Ditto.
4381
4382 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4383 set, use remote_ld to download the testcase instead of
4384 the GDB loader.
4385
4386Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4387
4388 * config/vr5000.exp: New file.
4389
4390 * config/monitor.exp(gdb_target_monitor): Add pattern for
4391 "Ending remote" to detect errors in connecting.
4392
4393 * gdb.base/setshow.exp: Add .* within auto language test.
4394
4395 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4396 target feature.
4397
4398 * config/monitor.exp(gdb_load): Check for a failure when loading,
4399 and reboot the board if necessary.
4400
4401 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4402 a set of tests. Remove print.* from the patterns being checked.
4403
4404Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4405
4406 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4407 refer to gdb_spawn_id.
4408
4409 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4410 longer used.
4411 * config/sparclet.exp: Ditto.
4412 * config/sparclet-old.exp: Ditto.
4413 * config/slite.exp: Ditto.
4414 * config/sim.exp: Ditto.
4415 * gdb.base/funcargs.exp: Ditto.
4416
4417 * lib/gdb.exp:Remove references to gdb_spawn_id.
4418 (gdb_expect): Move to remote.exp.
4419
4420Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4421
4422 * config/monitor.exp: Detect the "Couldn't establish connection"
4423 message from GDB.
4424
4425Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4426
4427 * gdb.base/bitfields.exp: Use runto instead of explicit
4428 gdb_run_cmd/gdb_expect sequences.
4429
4430 * gdb.base/break.exp(text_next_with_recursion): Add match for
4431 gdb_expect call.
4432
4433 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4434 We also need to handle the "A program is being debugged already"
4435 prompt from gdb. Use gdb_test to set the baud rate.
4436
4437 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4438 to 20000. Really. I mean it.
4439
4440Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4441
4442 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4443 fails. If suppress_flag is set, skip perror message about not
4444 being able to send to GDB.
4445 (send_gdb): If suppress_flag is set, don't try to send commands to
4446 GDB.
4447 (gdb_expect): If suppress_flag is set, always fail immediately.
4448 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4449 (gdb_init): Call gdb_stop_suppressing_tests.
4450 (default_gdb_exit): Ditto.
4451 (default_gdb_start): Ditto.
4452
4453 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4454 gdb_stop_suppressing_tests as appropriate.
4455 * gdb.base/break.exp: Ditto.
4456 * gdb.base/callfuncs.exp: Ditto.
4457 * gdb.base/commands.exp: Ditto.
4458 * gdb.base/exprs.exp: Ditto.
4459 * gdb.base/funcargs.exp: Ditto.
4460 * gdb.base/list.exp: Ditto.
4461 * gdb.base/recurse.exp: Ditto.
4462 * gdb.base/scope.exp: Ditto.
4463 * gdb.base/structs.exp: Ditto.
4464 * gdb.c++/inherit.exp: Ditto.
4465
4466Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4467
4468 * config/vr4300.exp: New file.
4469
99707966
MC
4470 * gdb.*/*.exp: Call gdb_expect instead of expect.
4471
4472 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
4473
4474Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4475
4476 * lib/gdb.exp(gdb_init): New function.
4477
4478 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4479 for each individual variable set.
4480
4481 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4482 name.
4483
4484 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4485
4486 * gdb.base/scope.exp: Use gdb_test.
4487
4488 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4489 aborting; the testsuite driver will do that for us (see
4490 gdb_finish). Also, use gdb_test in a few more places.
4491
4492Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4493
4494 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4495
4496Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4497
4498 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4499 and "add_tests" are not at the same address.
4500
4501Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4502
4503 * gdb.base/ptype.exp: Use gdb_test.
4504
4505Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4506
4507 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4508 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4509 left in. No longer expect them to fail.
4510
4511 * gdb.stabs/*.mt; Deleted, no longer used.
4512 * gdb.stabs/configure.in: Remove references to target makefile
4513 frags.
4514 * gdb.stabs/configure: Rebuilt.
4515
4516 * gdb.disasm/*.mt: Deleted, no longer used.
4517 * gdb.disasm/configure.in: Remove references to target makefile
4518 frags. Use "sh3.s" as the unique filename for this directory.
4519 * gdb.disasm/configure: Rebuilt.
4520
4521 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4522 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4523 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4524
4525Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4526
4527 * config/udi.exp: Use mondfe,name instead of remote_host.
4528
4529Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4530
4531 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4532 a function with a watchpoint enabled on the mn10200.
4533
4534 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4535 before trying to create it!
4536
4537Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4538
4539 * config/vx.exp: Use hostname instead of netport.
4540
4541 * config/vxworks.exp: New file.
4542
4543 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4544
4545 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4546 gdb before assuming everything worked. Send a ^C if a timeout
4547 occurs.
4548
4549 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4550 $gdb_spawn_id directly.
4551 (gdb_run_cmd): Try _start as well as start. Use the target feature
4552 gdb,start_symbol as the symbol to start from when jumping.
4553
4554Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4555
4556 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4557 redundant) test.
4558
4559 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4560 it doesn't lose for 16bit integer systems.
4561
4562Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4563
4564 * gdb.fortran/types.exp: If the target doesn't support "double"
4565 data types, then expect "real" types to only be 4 bytes.
4566
4567 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4568 call tests if the target doesn't support inferior function calls.
4569
4570 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4571 in printf tests.
4572
4573Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4574
4575 * gdb.base/help.exp: Disable "help set", "help show", and
4576 "help support". Simplify regexp for "help stack".
4577
4578 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4579 to 60 seconds. Temporarily set match_max to 15000 around the
4580 "info copying" test.
4581
4582 * gdb.base/nodebug.exp: Don't try to do an inferior function
4583 call if the target doesn't support them.
4584 * gdb.base/printcmds.exp: Likewise.
4585 * gdb.base/setvar.exp: Likewise.
4586 * gdb.base/structs.exp: Likewise.
4587 * gdb.c++/templates.exp: Likewise.
4588 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
4589
4590 * gdb.base/recurse.exp: Enable for the mn10200.
4591
4592 * configure.in: Do configure gdb.stabs directory for *-*-elf
4593 targets.
4594 * configure: Rebuilt.
4595
4596 * gdb.base/break.exp: Check for gdb,noresults before testing
4597 exit status and/or results from the target.
4598 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
4599 * lib/gdb.exp: Remove old (now bogus) initialization of
4600 noinferior, noargs, noresults and nosignals.
4601
4602Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
4603
4604 * config/sh.exp: New file.
4605
4606 * config/slite.exp: Try to connect multiple times to the board
4607 before rebooting. Only send a "monitor run" if need_monitor_run
4608 is set.
4609
4610 * gdb.base/break.exp: Don't do the "stub continue" test if
4611 the target has gdb_stub set.
4612
4613 * gdb.base/callfuncs.exp: Increase the timeout.
4614
4615 * gdb.base/interrupt.exp: Don't even try to compile the testcase
4616 if the target has gdb,noinferiorio set.
4617
4618 * gdb.base/list.exp: Increase match_max to 10000 characters.
4619
4620 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
4621
4622 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
4623 target.
4624
4625 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
4626
4627Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
4628
4629 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
4630 trying to delete the copy of gdb. Catch the file delete so we
4631 don't die if the delete fails; also, the file should be copied to
4632 the host, not to the build.
4633
4634Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
4635
4636 * lib/gdb.exp(gdb_test): Surround the result pattern with
4637 parenthesis in case it contains multiple regexps separated
4638 with |.
4639
4640 * gdb.base/watchpoint.exp: Use gdb_test.
4641 * gdb.base/default.exp: Ditto.
4642
4643Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
4644
99707966 4645 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 4646
c906108c
SS
4647 * gdb.base/scope.exp: Use gdb_test.
4648 * gdb.c++/classes.exp: Ditto.
4649 * gdb.c++/inherit.exp: Ditto.
4650
4651Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
4652
4653 * gdb.base/crossload.exp: Don't use execute_anywhere, use
4654 remote_exec instead.
4655 * gdb.base/corefile.exp: Don't be ridiculous.
4656 * gdb.base/*.c: Add missing stub invocations.
4657
4658Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
4659
4660 * config/slite.exp: Miscellaneous fixes.
4661
4662 * lib/gdb.exp: Fix runto.
4663
4664 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
4665 the target.
4666
4667 * gdb.base/watchpoint.exp: Fix regexp.
4668
4669 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4670 close and wait commands, as the descriptor may now be
4671 invalid. Always call "remote_close host".
4672
4673Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
4674
4675 Major rewrite for testsuite revision.
beb998c6 4676
c906108c
SS
4677 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
4678 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
4679 instead of relying on spawn_id to always contain a valid
4680 spawn id.
4681 (get_compiler_info): New procedure to build the ${binfile}.ci
4682 file, instead of replicating this in N different places.
4683 (gdb_compile): New procedure.
beb998c6 4684
c906108c
SS
4685 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
4686 appropriate arguments) instead of compile. Use gdb_test in a lot
4687 more places. Use send_gdb instead of send. Always run gdb_start
4688 at the start of a testcase, as this is no longer done magically.
4689
4690 config/*-gdb.exp: Rename without the -gdb suffix.
4691
4692 config/mips.exp: Use remote_close instead of exit_remote_shell.
4693 config/monitor.exp: Use target_info instead of looking at
4694 baud, timeout, etc.
4695 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
4696
4697Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4698
4699 * gdb.c++/templates.exp (test_ptype_of_templates),
4700 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
4701 Update expect patterns for destructors and assignment operators
4702 to match corresponding c-typeprint.c changes.
4703 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
4704 to destructor breakpoint test, GDB should be able to set the
4705 destructor breakpoint without specifying arguments.
4706
4707Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
4708
4709 * gdb.threads/pthreads.exp: Change result for failure to compile due
4710 to lack of pthreads runtime support from an error to simply an
4711 unsupported test, per dejagnu standards.
4712
4713Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4714
4715 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
4716 where GDB exits to reduce pattern match time.
4717 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
4718
4719 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
4720
dc96c6c7 4721Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4722
4723 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
4724 * gdb.base/default.exp: ditto.
4725 * gdb.base/nodebug.exp: ditto.
4726 * gdb.base/printcmds.exp: ditto.
4727 * gdb.base/ptype.exp: ditto.
4728 * gdb.base/setvar.exp: ditto.
4729 * gdb.base/structs.exp: ditto.
4730 * gdb.base/setshow.c: Guard against uninitialized values of argc.
4731
4732Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
4733
4734 * configure, */configure: Rebuild with autoconf 2.12.
4735
4736Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
4737
4738 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
4739 use new i*86-pc-linux*-gnu quads.
4740 * gdb.base/corefile.exp: Ditto.
4741 * gdb.base/signals.exp: Ditto.
4742 * gdb.base/sigall.exp: Ditto.
4743 * gdb.base/interrupt.exp: Ditto.
4744
4745 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
4746 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
4747 RedHat 4.0.
beb998c6 4748
c906108c
SS
4749 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
4750 linux. This allows the test case to at least compile on latest
4751 linux, but still not run due to missing the threads runtime library.
4752
4753Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4754
4755 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
4756 directory to search gdb directory. Accept and step over conditional
4757 stack alignment code. Consume $prompt in failure cases.
4758 Reset timeout to $oldtimeout instead of some arbitrary value.
4759 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
4760 timeout problems with infinite stack backtraces.
4761 * gdb.base/ptype.exp (ptype struct link, union tu_link):
4762 Accept function parameters for linkfunc member.
4763
4764Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
4765
4766 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
4767 (CXXFLAGS): Remove, unreferenced.
4768 (B_OPTIONS): Add for -B options and add code to initialize with
4769 previous -B options and also add -B option to pick up cross compiled
4770 runtime.
4771 (TARGET_INCLUDES): Add for -I options and add code to initialize when
4772 doing cross compiles.
4773 (target_alias): Declare global.
4774 (xgcc): Set variable to full path of gcc in build tree. Use findfile
4775 to verify that gcc exists in build tree, and if so set CC to that
4776 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 4777
c906108c
SS
4778Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
4779
4780 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
4781 ptype test for anonymous union. Fixup testcase to match
4782 current gcc debug output.
4783
4784Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
4785
4786 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
4787 force argument to an unsigned long type.
4788
4789Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
4790
4791 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
4792 tests and anonymous union print/ptype tests.
4793 * gdb.base/list.exp (test_forward-search): Increase timeout by
4794 5 minutes for the "search extremely long line" case.
4795 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
4796 completely optional and that the pass/fail messages use the command as
4797 the message if that third arg is a null string.
4798 (gdb_test_exact): Arrange that a null string pattern means match a
4799 null string output rather than any output, which might include random
4800 errors.
4801 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
4802 backtrace test.
4803 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
4804 always failing and failure is now exposed by gdb.exp changes.
4805
4806Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
4807
4808 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
4809 weren't being noted.
4810
4811Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4812
4813 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
4814 * gdb.stabs/weird.exp: Remove v_comb xfails.
4815
dc96c6c7 4816Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4817
4818 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
4819 list.exp scope.exp watchpoint.exp]
4820 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 4821
dc96c6c7 4822Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4823
4824 * config/monitor.exp: Increase download timeout to 1000 seconds.
4825
dc96c6c7 4826Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4827
4828 * config/m32r.exp: Increase timeout to 120 seconds.
4829
4830Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
4831
4832 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
4833 and accept older ordering as obsolescent gcc or gdb.
4834 * gdb.c++/templates.exp: Ditto.
4835 * gdb.c++/virtfunc.exp: Ditto.
4836
4837Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
4838
4839 * gdb.base/coremaker.c: Add code to mmap some data so we
4840 can check that it ends up in the core file.
4841 * gdb.base/corefile.exp: Add test to read mmapped data
4842 from core file.
4843
dc96c6c7 4844Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4845
4846 * config/m32r.exp: New file.
4847
4848Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
4849
4850 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
4851 that cflags can contains -gstabs, and work correctly for other tests.
4852
dc96c6c7 4853Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4854
4855 * gdb.base/setshow.exp: New file, tests show and set.
4856 * gdb.base/setshow.c: New file, tests show and set.
4857 * gdb.base/help.exp: Add test for help set|show annotate.
4858 * gdb.base/default.exp: Add test for set|show annotate.
4859
4860Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
4861
4862 * testsuite/gdb.base/break.exp: Make backtrace from factorial
4863 errors unique.
4864 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
4865 explicitly.
4866
4867Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
4868
4869 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
4870 and width commands. This is done elsewhere.
4871 * (gdb_start): Don't call gdb_start_sim here. That's already
4872 done in gdb_load. This fixes lots of failures in default.exp.
4873
4874Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
4875
4876 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
4877 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
4878 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
4879 in the same we we treat other failures (since it may be an expected
4880 condition), rather than as an error.
4881 * gdb.base/signals.exp (test_handle_all_print): Revert back to
4882 old test format.
4883
4884Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
4885
4886 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
4887 (distclean maintainer-clean realclean): No need to remove files
4888 twice. Nuke the duplicates.
4889 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 4890 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
4891 Remove config.h along with other config files.
4892
4893Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
4894
4895 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
4896 "p func1 ()" and note that rests of tests are skipped.
4897 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
4898 setup_xfails for "print func2::coremaker_local".
4899 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
4900 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
4901 affected by the previous run test.
4902 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
4903 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
4904 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
4905 "pass int powerset tuple" and "pass modeless int powerset tuple".
4906 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
4907 "real write 4" and "real write 8".
4908 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
4909 setup_xfails for "print vs1 after tuple assign 2",
4910 "print \$i after tuple assign 2", and
4911 "print vs2 after tuple assign 2".
4912 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
4913 meaningful error message and return -1 so the caller can
4914 suppress further tests and avoid a cascade of errors.
beb998c6 4915
c906108c
SS
4916Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
4917
4918 * gdb.base/a1-selftest.exp: Tweak tests to account for new
4919 format for printing version.
4920 * gdb.base/default.exp: Ditto.
4921 * gdb.base/interrupt.exp: Fix problem with cascade of
4922 errors if child process dies while calling a function.
beb998c6 4923
c906108c
SS
4924Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
4925
4926 * Makefile.in (VPATH): Add
4927 * Makefile.in (Makefile, config.status): Fix rules so things get
4928 remade when necessary.
4929
4930Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
4931
4932 * Makefile.in (just-check): Add path to sibling expect dir
4933 to environment variable specified by RPATH_ENVVAR.
4934
4935Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
4936
4937 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
4938 (just-check): Add shared library paths for libstdc++, tk,
4939 tcl, bfd, and opcodes to the environment variable specified
4940 in RPATH_ENVVAR.
4941 * configure.in: Add support to recognize --enable-shared flag
4942 and generate correct value for RPATH_ENVVAR.
4943 * configure: Regenerated with autoconf.
4944
4945Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
4946
4947 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
4948 include all osf versions.
4949 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
4950 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
4951 when target is linux. When failing to build pthreads test
4952 executable, give more meaningful message.
4953 * gdb.threads/pthreads.c: Hpux also uses old definition of second
4954 arg for pthread_create.
beb998c6 4955
c906108c
SS
4956Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
4957
4958 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
4959 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
4960 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
4961 and -lpthreads (everybody else).
4962 (test_startup): Fail gracefully if threads are not supported.
4963 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
4964 "p/c array_index("abcdef",2)" when not gcc compiled.
4965 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
4966 "print func2::coremaker_local" when not gcc compiled.
4967 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
4968 "ptype on opaque struct tagname (statically)",
4969 "ptype on opaque struct tagname (dynamically) 1", and
4970 "ptype on opaque struct tagname (dynamically) 2"
4971 for not compiled with gcc.
4972 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
4973 backtrace when compiled with gcc.
beb998c6 4974 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
4975 than always return success.
4976
4977Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
4978
4979 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
4980
4981Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
4982
4983 * gdb.base/structs.exp: Undo last change.
4984
4985Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
4986
4987 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
4988 encapsulate all the steps/nexts done during self test, starting
4989 at main, and makes them less sensitive to optimization issues.
4990 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
4991 signal handler" test.
4992 * gdb.threads/pthreads.exp: Only run this for native configs.
4993 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
4994 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
4995 tests.
4996 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
4997 for "runto test_calls(void)" test.
beb998c6 4998
c906108c
SS
4999Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5000
5001 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5002 and don't expect address info in breakpoint confirmations.
5003
5004Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5005
5006 * gdb.base/list.exp (test_forward_search): Increase timeout
5007 temporarily by 60 seconds for searching extremely long line,
5008 and then reset to old value when done. Increase expect input
5009 buffer to 10000.
5010
5011Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5012
5013 * gdb.base/list.exp (test_forward_search): Fix to handle very
5014 long source line without overflowing expect's input buffer.
5015
5016Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5017
5018 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5019 "buffer_full".
5020
5021 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5022 "buffer_full".
5023
5024 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5025 "buffer_full".
5026
5027 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5028 "buffer_full".
5029
5030Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5031
5032 * configure.in (configdirs): Add gdb.threads.
5033 * configure: Regenerated with autoconf.
5034 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5035 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5036 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5037
c906108c
SS
5038Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5039
5040 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5041
5042Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5043
5044 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5045 each signal's status in the output of "handle all print".
5046 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5047 the \r\n sequence that immediately precedes the gdb prompt.
5048 * gdb.base/a1-selftest.exp: Save original timeout and restore
5049 after test.
5050
5051Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5052
5053 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5054 symbol.
5055
5056Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5057
5058 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5059
5060Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5061
5062 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5063 timeout by 60 seconds.
5064
5065Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5066
5067 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5068 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5069 error return.
5070
5071Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5072
5073 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5074 gdb initialization, also report how long dejagnu waited. Restore
5075 old timeout before doing error return. Temporarily increase timeout
5076 by 3 minutes to allow for slow startups over heavy NFS use.
5077
5078Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5079
5080 * lib/gdb.exp: Report timeout value for verbosity level 2.
5081 * config/gdbserver.exp: Ditto.
5082 * config/hppro.exp: Ditto.
5083 * config/mips-gdb.exp: Ditto.
5084 * config/monitor.exp: Ditto.
5085 * config/netware.exp: Ditto.
5086 * config/sim-gdb.exp: Ditto.
5087 * config/slite-gdb.exp: Ditto.
5088 * config/udi-gdb.exp: Ditto.
5089 * config/unix-gdb.exp: Ditto.
5090 * config/vx-gdb.exp: Ditto.
5091 * gdb.base/a1-selftest.exp: Ditto.
5092 * gdb.base/a2-run.exp: Ditto.
5093 * gdb.base/break.exp: Ditto.
5094 * gdb.base/corefile.exp: Ditto.
5095 * gdb.base/list.exp: Ditto.
5096 * gdb.base/recurse.exp: Ditto.
5097 * gdb.base/scope.exp: Ditto.
5098 * gdb.base/signals.exp: Ditto.
5099
5100Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5101
5102 * gdb.threads/Makefile.in (docdir): Removed.
5103
5104Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5105
5106 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5107 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5108 @srcdir@.
beb998c6 5109 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5110 autoconf 2.5 or higher.
5111 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5112
5113Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5114
5115 * configure: Regenerated.
5116 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5117 avoid name clashes with SunOS headers.
5118
5119Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5120
5121 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5122
5123Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5124
5125 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5126 prototype information ends up in the compiler info file.
5127
5128Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5129
5130 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5131 attempting to regenerate it. Eliminate use of a temporary file
5132 and just generate the info file directly. Source it immediately,
5133 for consistency of use.
5134 * gdb.base/corefile.exp: Ditto
5135 * gdb.base/exprs.exp: Ditto.
5136 * gdb.base/funcargs.exp: Ditto.
5137 * gdb.base/langs.exp: Ditto.
5138 * gdb.base/list.exp: Ditto.
5139 * gdb.base/mips_pro.exp: Ditto.
5140 * gdb.base/nodebug.exp: Ditto.
5141 * gdb.base/opaque.exp: Ditto.
5142 * gdb.base/ptype.exp: Ditto.
5143 * gdb.base/scope.exp: Ditto.
5144 * gdb.base/setvar.exp: Ditto.
5145 * gdb.base/signals.exp: Ditto.
5146 * gdb.base/whatis.exp: Ditto.
5147 * gdb.c++/templates.exp: Ditto.
5148 * gdb.c++/virtfunc.exp: Ditto.
5149 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5150 whether or not to add -lstdc++ to the compile command line args.
5151
5152Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5153
5154 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5155 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5156 Increase timeout, a lot of single stepping might be needed if the
5157 target has no hardware watchpoints.
5158
5159Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5160
5161 * gdb.base/break.exp: Ignore compiler warnings when compiling
5162 break.c.
5163 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5164 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5165 from remote-sim.
5166 * gdb.base/exprs.exp: Add h8300 xfails.
5167 * gdb.base/funcargs.exp: Likewise.
5168 * gdb.base/nodebug.exp: Likewise.
5169 * gdb.base/printcmds.exp: Likewise.
5170 * gdb.base/ptype.exp: Likewise.
5171 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5172 h8300 xfails.
beb998c6 5173 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
5174 on the h8300.
5175 * gdb.base/funcargs.c: Explicitly make last constant argument to
5176 call_after_alloca_subr an unsigned long type.
5177 * gdb.base/return.c: Include stdio.h.
5178
5179Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5180
5181 * config/abug.exp: New file for the older Motorola Bug monitor
5182 that runs on the mvme13x series VME boards.
5183 * config/monitor.exp: Use the new config array for target settings
5184 if they exist.
5185
5186Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5187
5188 * sim-gdb.exp: Make the SH simulator allocate less space when
5189 it is targeted.
5190
5191Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5192
5193 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5194 test.
5195
5196Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5197
5198 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5199 "rs6000-*-*" for "list function in include file" when gcc compiled.
5200 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5201 for "p ctable1[120]".
5202 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5203 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5204 Remove setup_xfail for "rs6000-*-*" for
5205 "print 'scope0.c'::filelocal before run".
5206 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5207 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5208 since some compilers don't allow both options to be given
5209 on the same command line. Create object file and move it.
beb998c6 5210
c906108c
SS
5211Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5212
5213 * gdb.base/corefile.exp: Always regenerate the core file, since
5214 we always regenerate the coremaker program. Detect special case
5215 where registers cannot be read from core file.
beb998c6 5216
c906108c
SS
5217Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5218
5219 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5220 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5221 * gdb.c++/templates.exp: Only match on basename of file since
5222 some formats like xcoff don't encode directory information.
5223 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5224 and rs6000 AIX xcoff targets.
5225 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5226 * configure: Regenerate.
5227 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5228 here, rather than in distclean.
beb998c6 5229
c906108c
SS
5230Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5231
5232 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5233 defined, and use it to compile the test case with -O2. The
5234 native compilation still uses no optimization.
5235 * gdb.base/mips_pro.c: Remove inline assembly code since
5236 it is compiled PIC by default, which results in assembler
5237 warnings that make the testsuite think the compilation
5238 was unsuccessful.
5239
5240Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5241
5242 * gdb.c++/misc.exp: Add note to message for
5243 "print s.a for foo struct" that this is a known gcc 2.7.2
5244 and earlier bug.
5245
5246Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5247
5248 * gdb.base/break.exp: Fix pattern for matching "Delete all
5249 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5250 setup_xfail for deleting all breakpoints test. Fix various
5251 timeout messages to include "(timeout)".
5252 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5253 for "p t_float_values2(3.14159,float_val2)".
5254 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5255 for "continue to call2g" when gcc compiled.
5256 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5257 "up to foo in langs.exp", "show language at foo in langs.exp",
5258 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5259 and "show language at fsub in langs.exp".
5260 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5261 "list line 1 in include file", "list message for lines past EOF",
5262 "list function in include file", "list list0.h:foo", and
5263 "list filename:function; nonexistant function".
5264 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5265 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5266 and "ptype t_char_array" to be for native cc only.
beb998c6 5267
c906108c
SS
5268Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5269
beb998c6 5270 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5271 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5272 "print func2::coremaker_local", and "backtrace in corefile.exp".
5273
5274Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5275
5276 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5277 "bt in signals.exp". This problem only appears when running
5278 the testsuite, and then only intermittently.
5279
5280Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5281
5282 * gdb.base/return.exp (return_tests): Differentiate between
5283 two tests of continuing.
5284
5285Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5286
5287 * */Makefile.in (maintainer-clean): Remove config.log.
5288 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5289 * gdb.c++/Makefile.in (PROGS): Add inherit.
5290 (clean): Remove *.ci.
5291
5292Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5293
5294 * gdb.c++/misc.cc: Add test code from Mike Stump.
5295 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5296
5297Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5298
5299 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5300 to "alpha-*-osf2*" and add comment.
5301 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5302 setup_xfail for "step over execarg initialization" and
5303 "step over corearg initialization".
5304 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5305 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5306 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5307 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5308 "print func2::coremaker_local", and "backtrace in corefile.exp".
5309 * gdb.base/signals.exp: Build and source signals.ci.
5310 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5311 to be for gcc only.
5312 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5313
c906108c
SS
5314Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5315
5316 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5317 Feb 3 procfs.c change.
5318
5319Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5320
5321 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5322
5323Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5324
5325 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5326 from dejagnu's apparent default of 10 seconds, which gives random
5327 results when running the tests over NFS on moderately loaded systems.
5328 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5329
5330Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5331
5332 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5333 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5334 result reports.
5335
5336Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5337
5338 * configure.in (CY_AC_PATH_TCLH): Remove.
5339 * configure: Regenerate.
5340
5341Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5342
5343 * gdb.c++/Makefile.in (clean): Add missing '{'.
5344
5345Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5346
5347 * lib/gdb.exp: Provide a default value for noinferior.
5348
5349 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5350 Load libgloss.exp.
5351
5352Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5353
5354 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5355 the executable, not the .o to run the tests from.
5356
5357Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5358
5359 * gdb.base/break.exp: Don't test for program exit or exit status
5360 if $noresults if nonzero.
5361 * gdb.base/langs.exp: Likewise.
5362 * gdb.base/watchpoint.exp: Likewise.
5363
5364 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5365 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5366 trying to compile the testcase.
5367
5368Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5369
5370 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5371 * gdb.base/signals.exp (continue to handler): Likewise.
5372
5373Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5374
5375 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5376
5377 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5378
5379Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5380
5381 * gdb.base/corefile.exp: Recognize "not found" as failure
5382 when trying to determine if a core file was generated.
5383 If no core file was generate the first time, try again without
5384 the ulimit -c to work around braindamaged shells.
5385
5386Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5387
5388 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5389 [] tests with "test" and enclose string in quotes.
5390 * gdb.stabs/configure: Rebuild
beb998c6 5391
c906108c
SS
5392Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5393
5394 Changes in sync with expect:
5395 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5396 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5397 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5398 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5399 argument to AC_REQUIRE.
5400 * configure: Regenerated.
5401
5402Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5403
5404 * gdb.base/corefile.exp: When generating a core, discard any
5405 error messages about ulimit not found and the "core dumped"
5406 message from the shell that runs the coredumper.
5407
5408Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5409
5410 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5411
5412 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5413 which sed script to run. Expect failure for v_comb test
5414 on PA targets too.
beb998c6 5415
c906108c
SS
5416Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5417
5418 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5419 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5420
5421Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5422
5423 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5424 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5425 "sparc-sun-solaris*" xfails for "p v_comb".
5426 * lib/gdb.exp (default_gdb_start): Fix typo.
5427 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5428 messages to not include the full program name that caused
5429 the core dump since some systems (such as solaris) apparently
5430 truncate this path to about 80 characters.
5431 When generating a core file first try increasing the core file
5432 size limit to unlimited since some systems may default it to
5433 zero, and it is harmless to try it. Move the test for failing
5434 to generate a core file to where it will actually get executed.
5435 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5436 new gdb result from g++ debug info improvements and make old
5437 pattern obsolescent. Also account for size_t differences
5438 (may be int or long).
5439 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5440 initialization before function call is placed in the delay slot
5441 and thus appears to be skipped over by commands such as "next".
5442
5443Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5444
5445 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5446
5447Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5448
5449 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5450 input source file; fix code to compile test to deal with this
5451 convention.
5452 * gdb.c++/*.exp: Likewise.
5453
5454Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5455
5456 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5457 "bt in signals.exp".
5458
5459Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5460
5461 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5462 "step over execarg initialization" and
5463 "step over corearg initialization".
5464
5465Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5466
5467 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5468 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5469
5470Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5471
5472 From Rob Savoye (rob@poseidon.cygnus.com)
5473 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5474 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5475 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5476 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5477 configure.in}: Major reworking for autoconfig.
5478 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5479 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5480 New files.
5481 * config/unix-gdb.exp: Make GDB global.
5482 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5483 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5484 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5485 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5486 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5487 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5488 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5489 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5490 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5491 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5492 pr-8136.exp, result.exp, string.exp, tuples.exp},
5493 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5494 to returns as necessary, arrange for test to compile own testcase
5495 executable.
5496 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 5497
c906108c
SS
5498Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5499
5500 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5501 clear_xfail at end of test which might not call either pass or fail.
5502 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5503 "backtrace through signal handler".
5504
5505Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5506
5507 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5508 continuing from a job control stop signal.
5509 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5510
5511Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5512
5513 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5514 * gdb.base/corefile.exp: Likewise.
5515 * gdb.base/funcargs.exp: Likewise.
5516
5517Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5518
5519 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5520 * config/monitor.exp: Add support for setting baud rate.
5521
5522Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5523
5524 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5525 i*86-*-linux* xfails for "backtrace through signal handler".
5526 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5527 "print func2::coremaker_local".
5528 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5529 alpha-dec-osf2* xfail for
5530 "delete all breakpoints when none".
5531
5532Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5533
5534 * gdb.base/break.exp: Change test that deletes all breakpoints
5535 when no user breakpoints are installed. A post 4.15 change
5536 causes gdb to no longer prompt in this case.
5537
5538Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5539
5540 * gdb.base/return.exp (return_tests): Change xfail for test
5541 "correct value returned double test" to stop xfailing at
5542 Solaris 2.5. Apparently the bug has been fixed.
5543
5544Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5545
5546 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5547 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5548
5549Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5550
5551 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5552 * gdb.disasm/hppa.s: Corresponding changes.
5553
5554Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5555
5556 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5557 makefile fragment.
5558 * config/mt-hpux: Deleted.
5559
5560Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5561
beb998c6 5562 * Many files: When warning about suppressed tests due to a
c906108c
SS
5563 nonexistant test binary, avoid incrementing the warning count.
5564
5565Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5566
5567 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 5568
c906108c
SS
5569Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5570
5571 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5572 "sparc-*-solaris2*".
5573
5574Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5575
5576 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5577 Add global and local variables and initialize them.
5578 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5579 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5580 extracts the file name and terminating signal from the core file.
5581 * TODO: Remove note about tests for correct mapping of corefile.
5582 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
5583 from optimizing it away.
5584 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
5585 handles common blocks.
5586
5587Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
5588
5589 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
5590 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
5591
5592Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
5593
5594 * Makefile.in (maintainer-clean): New target, synonym for
5595 realclean.
5596 * gdb.base/Makefile.in (maintainer-clean): Likewise.
5597 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
5598 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
5599 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
5600 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
5601 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
5602
5603Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
5604
5605 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
5606 xfails when not gcc compiled for "print foo::funclocal".
5607 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
5608 "print foo::funclocal at foo",
5609 "print 'scope1.c'::foo::funclocal at foo",
5610 "print foo::funclocal_bss at foo",
5611 "print 'scope1.c'::foo::funclocal_bss at foo",
5612 "print foo::funclocal_ro at foo",
5613 "print 'scope1.c'::foo::funclocal_ro at foo",
5614 "print bar::funclocal at foo" and
5615 "print 'scope1.c'::bar::funclocal at foo".
5616 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
5617 gcc compiled for "print foo::funclocal at bar".
5618 Expand all messages to ensure that they identify that
5619 the test is at bar().
5620 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
5621 gcc compiled for:
5622 "ptype on opaque struct pointer (statically)",
5623 "ptype on opaque struct tagname (statically)",
5624 "ptype on opaque struct pointer (dynamically) 1",
5625 "ptype on opaque struct tagname (dynamically) 1",
5626 "ptype on opaque struct pointer (dynamically) 2" and
5627 "ptype on opaque struct tagname (dynamically) 2
5628 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
5629 gcc compiled for:
5630 "p datalocal"
5631 "whatis datalocal",
5632 "ptype datalocal",
5633 "p bsslocal",
5634 "whatis bsslocal", and
5635 "ptype bsslocal".
5636 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
5637 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
5638 when not gcc compiled.
5639 * gdb.base/funcargs.exp (float_and_integral_args): Add
5640 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
5641 compiled.
5642 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
5643 "backtrace from call6a" when not gcc compiled.
5644 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
5645 "backtrace from call7a" when not gcc compiled.
5646 * gdb.base/callfuncs.exp (do_function_calls):
5647 Add "hppa*-*-hpux*" xfail when not gcc compiled for
5648 "p t_char_array_values(char_array_val2,char_array_val1)",
5649 "p t_char_array_values(char_array_val1,char_array_val2)",
5650 "p t_char_array_values("carray 1","carray 2")",
5651 "p t_char_array_values("carray 1",char_array_val2)",
5652 "p t_char_array_values(char_array_val1,"carray 2")",
5653 "p sum_args(1,{2})",
5654 "p sum_args(2,{2,3})",
5655 "p sum_args(3,{2,3,4})",
5656 "p sum_args(4,{2,3,4,5})"
5657 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
5658 "backtrace in corefile.exp" when not gcc compiled.
5659
5660Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5661
5662 * gdb.base/signals.exp: Rewrite `handle all print' test as
5663 a procedure. Accept blanks or TABs as whitespace, increase
5664 timeout and expect input buffer size for the large output
5665 from the command. Remove "i*86-*-bsdi2.0" xfail.
5666
5667Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5668
5669 * gdb.base/setvar.exp: Add new testcases for truncation when
5670 assigning invalid values to bitfields.
5671
5672Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
5673
beb998c6 5674 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
5675 mips-sgi-irix* xfail for
5676 "call inferior func with struct - returns char *"
5677 and fix test so that an optional (unsigned char *) cast is
5678 accepted in the result.
5679
5680Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
5681
5682 * gdb.base/funcargs.exp (float_and_integral_args): Remove
5683 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5684 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
5685 * gdb.base/signals.exp: Remove duplicate "handle all print" test
5686 that accidentally got checked in.
5687
5688Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
5689
beb998c6 5690 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
5691 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
5692 compiled test.
5693 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
5694 Add mips-sgi-irix5* xfail for not gcc compiled.
5695 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
5696 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
5697 "p top", "whatis top", "p middle", and "whatis middle".
5698 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
5699 "whatis signed char" for not gcc compiled.
5700 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
5701 "set variable signed char=-1 (-1)" and
5702 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
5703 * gdb.base/funcargs.exp (float_and_integral_args):
5704 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
5705 Add mips-sgi-irix* xfail when not gcc compiled for
5706 "continue to call2b".
5707 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
5708 "continue to call2g".
5709 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
5710 "backtrace from call6a"
5711 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
5712 "backtrace from call7k".
5713 Add mips-sgi-irix5* xfail when not gcc compiled for
5714 "backtrace from call7a".
5715 (localvars_after_alloca): Fix gdb_test cmds for
5716 "print * after runto ...".
5717 Remove rs6000-*-* xfails for
5718 "print i after runto localvars_after_alloca" and
5719 "print l after runto localvars_after_alloca"
5720 for all compilers.
5721 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
5722 when not compiled with gcc, for:
5723 "print signed char == (minus)",
5724 "print signed char != (minus)",
5725 "print signed char < (minus)",
5726 "print signed char > (minus)".
5727 * gdb.base/callfuncs.exp (do_function_calls):
5728 Add mips-sgi-irix* xfail, when compiled with native compiler, for
5729 "call inferior func with struct - returns char *".
beb998c6 5730 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
5731 "correct value returned double test" to include Solaris 2.4.
5732 * gdb.base/funcargs.exp (float_and_integral_args):
5733 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 5734
c906108c
SS
5735Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5736
5737 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
5738 enumeration bitfields if compiling with GNU C.
5739 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
5740 to empty' prompt.
5741
5742Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
5743
5744 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
5745 test for PRO targets.
5746
5747 * gdb.base/funcargs.exp: Avoid ever setting more than 8
5748 breakpoints in the inferior at any given time by making
5749 two groups of breakpoints for call2*, call6* and call7*
5750 tests.
5751
5752Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5753
5754 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
5755 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
5756 from optimizing it away.
5757 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
5758 "call inferior func with struct".
5759
5760Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
5761
5762 * configure.in: Only configure gdb.chill for particular targets.
5763
5764Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
5765
5766 * gdb.base/Makefile.in: Add action to .c.o transformation
5767 rule that generates a .ci file for each .o file and remove
5768 explicit .c.o rules except for callfuncs.o.
5769 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
5770 generates a .ci file for each .o file and remove explicit
5771 .cc.o rules.
5772 (clean): Remove *.tmp *.ci files.
5773 (EXECUTABLES): Remove templ-info.exp.
5774 * gdb.base/compiler.c: New file.
5775 * gdb.c++/compiler.cc: New file
5776 * gdb.base/scope.exp: Source gdb.base/scope.ci.
5777 Change rs6000-*-* xfail for
5778 "print 'scope0.c'::filelocal_ro" and
5779 "print 'scope1.c'::filelocal" and
5780 "print 'scope1.c'::filelocal_bss" and
5781 "print 'scope1.c'::filelocal_ro" and
5782 "print 'scope1.c'::foo::funclocal" and
5783 "print 'scope1.c'::foo::funclocal_ro" and
5784 "print 'scope1.c'::bar::funclocal" and
5785 "print 'scope0.c'::filelocal_ro" and
5786 "print 'scope1.c'::filelocal at foo" and
5787 "print 'scope1.c'::filelocal_bss at foo" and
5788 "print 'scope1.c'::filelocal_ro at foo" and
5789 "print 'scope1.c'::foo::funclocal at foo" and
5790 "print 'scope1.c'::foo::funclocal_bss at foo" and
5791 "print 'scope1.c'::foo::funclocal_ro at foo" and
5792 "print 'scope1.c'::bar::funclocal at foo" and
5793 "print 'scope0.c'::filelocal_ro" and
5794 "print 'scope1.c'::filelocal" and
5795 "print 'scope1.c'::filelocal_bss" and
5796 "print 'scope1.c'::filelocal_ro" and
5797 "print 'scope1.c'::foo::funclocal" and
5798 "print 'scope1.c'::foo::funclocal_bss" and
5799 "print 'scope1.c'::foo::funclocal_ro" and
5800 "print 'scope1.c'::bar::funclocal" and
5801 "print 'scope1.c'::bar::funclocal_bss"
5802 to only be xfail'd when not compiled with gcc.
beb998c6 5803 Add rs6000-*-* xfail for
c906108c
SS
5804 "print 'scope0.c'::filelocal_bss before run"
5805 when compiled with gcc.
5806 (test_at_main): Add rs6000-*-* xfail for
5807 "print filelocal_ro in test_at_main"
5808 when compiled with gcc.
5809 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 5810 Add rs6000-*-aix* xfail for
c906108c
SS
5811 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
5812 "ptype t_char_array", not compiled with gcc.
5813 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
5814 xfail for "list foo (in include file)" when gcc compiled.
5815 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
5816 (integral_args): Add rs6000-*-* xfail for
5817 "run to call0a" if not compiled with gcc.
5818 (unsigned_integral_args): Add rs6000-*-* xfail for
5819 "run to call1a" if not compiled with gcc.
5820 (float_and_integral_args): Add rs6000-*-* xfail for
5821 "run to call2a" if not compiled with gcc and for
5822 "continue to call2b" for any compiler.
5823 Add rs6000-*-* xfail to
5824 "print f1 after run to call2a" for gcc compiled.
5825 (discard_and_shuffle): Add rs6000-*-* xfail for
5826 "run to call6a".
5827 (shuffle_round_robin): Add rs6000-*-* xfail for
5828 "backtrace from call7a" if not compiled with gcc.
5829 Add rs6000-*-* xfail for
5830 "backtrace from call7b" if compiled with gcc.
5831 (call_after_alloca): Add rs6000-*-* xfail for
5832 "print c in call_after_alloca" and
5833 "print s in call_after_alloca" and
5834 "backtrace from call_after_alloca_subr"
5835 if not compiled with gcc.
5836 (localvars_in_indirect_call): Add rs6000-*-* xfail for
5837 "print c in localvars_in_indirect_call" and
5838 "print c in localvars_in_indirect_call" and
5839 "backtrace in indirectly called function" and
5840 "stepping into indirectly called function"
5841 if not compiled with gcc.
5842 (localvars_after_alloca): Add rs6000-*-* xfail for
5843 "print c after runto localvars_after_alloca" and
5844 "print s after runto localvars_after_alloca" and
5845 "print i after runto localvars_after_alloca" and
5846 "print l after runto localvars_after_alloca"
5847 for all compilers.
5848 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
5849 than whatis-info.exp.
5850 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
5851 than opaque-info.exp.
5852 Setup rs6000-*-* xfail for
beb998c6 5853 "ptype on opaque struct pointer (statically)" and
c906108c
SS
5854 "ptype on opaque struct pointer (dynamically)" when
5855 not compiled with gcc.
5856 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
5857 rather than callf-info.exp.
5858 (do_function_calls): Add clear_xfail for rs6000-*-* for
5859 "p t_float_values2(3.14159,float_val2)". Seems to work
5860 fine there, both with xlc and gcc. Need to find out what
5861 it is doing right and fix other platforms.
5862 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
5863 "call inferior func with struct - returns int",
5864 "call inferior func with struct - returns long",
5865 "call inferior func with struct - returns float",
5866 "call inferior func with struct - returns double",
5867 "call inferior func with struct - returns char *",
5868 but only if not gcc compiled (presumes xlc compiled).
5869 Change rs6000-*-* xfails for
5870 "call inferior func with struct - returns char" and
5871 " call inferior func with struct - returns short" to only
5872 xfail if not using gcc.
5873 (clean mostlyclean): Remove *.ci and *.tmp files.
5874 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
5875 than templ-info.exp.
5876 * gdb.base/langs.exp: Source gdb.base/langs.ci.
5877 Add rs6000-*-* xfail for "up to foo in langs.exp"
5878 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
5879 when not gcc compiled.
beb998c6 5880
c906108c
SS
5881Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5882
5883 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
5884 * gdb.base/corefile.exp: Likewise.
5885 * gdb.base/list.exp: Likewise.
5886 * gdb.base/scope.exp: Likewise.
5887 * gdb.base/siganls.exp: Likewise.
5888
5889 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
5890 compiler output.
5891 * gdb.base/whatis.exp: Likewise.
5892
5893Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
5894
5895 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
5896 failure (opcode table has been fixed to match reality).
5897
5898Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
5899
5900 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
5901 "call inferior func with struct - returns char",
5902 "call inferior func with struct - returns short"
5903
5904 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
5905 "print 'scope0.c'::filelocal at main",
5906 "print 'scope0.c'::filelocal_bss in test_at_main",
5907 "print 'scope0.c'::filelocal at foo",
5908 "print 'scope0.c'::filelocal_bss in test_at_foo",
5909 "print 'scope0.c'::filelocal at bar",
5910 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 5911
c906108c
SS
5912 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
5913 in source file 1". This bug seems to have been fixed with both
5914 gcc and native cc (was native assembler bug?).
5915
5916Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
5917
5918 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
5919 "backtrace through signal handler" to "i*86-*-sysv4*".
5920 * gdb.base/signals.exp: Add xfail for "'next' behaved as
5921 continue" case. Add "known SVR4 bug" to fail message.
5922 Add "i*86-*-bsdi2.0" xfail for "handle all print".
5923 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
5924 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
5925 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
5926 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
5927 "up to foo in langs.exp", "show language at foo in
5928 langs.exp", "up to cppsub_ in langs.exp", "show
5929 language at cppsub_ in langs.exp", "up to fsub in
5930 langs.exp", and "show language at fsub in langs.exp".
5931 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
5932 "bactrace in corefile.exp".
5933 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
5934 "call inferior function with struct - returns float" and
5935 "call inferior function with struct - returns double".
beb998c6 5936
c906108c
SS
5937Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
5938
5939 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
5940 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
5941 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
5942 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
5943
5944Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
5945
5946 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
5947 (or overriden) "CHILL" macro rather then bare "gcc".
5948 Also look for ../../gcc/xgcc since that is what we will
5949 actually need, not "Makefile". Remove following assignment
5950 of CHILL to CHILL_FOR_TARGET because that results in
5951 recursive definition.
5952
5953Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
5954
5955 * gdb.base/corefile.exp: Change xfail for backtrace in
5956 corefile.exp from linuxaout to all linux.
5957 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
5958 cases where we miss the breakpoint at the signal handler
5959 for some reason. Setup xfail for linuxoldld/linuxaout and
5960 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
5961 hitting SIGURG breakpoint.
5962 * gdb.base/signals.exp: Setup xfail for "next" acting like
5963 continue to add linuxoldld. Setup xfail for all linux for
5964 "next to handler in signals_tests_1", "backtrace in
5965 signals_tests_1", "continue to func1", "pass SIGUSR1",
5966 and continue to handler".
5967
5968Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
5969
5970 * Update all FSF addresses except those in COPYING* files.
5971
5972Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
5973
5974 * gdb.base/a2-run.exp: Change messages to be more explicit about
5975 the status of args, and quote binfile in results.
5976
5977Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
5978
5979 * gdb.base/callfuncs.exp: Add tests for passing structs to
5980 inferior functions and return various types.
5981 * gdb.base/callfuncs.c: Add functions to receive a struct
5982 and return a member of the struct, in various types.
5983
5984Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5985
5986 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
5987
5988Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
5989
5990 * config/vxworks29k.exp: New file, sources vxworks.exp.
5991
5992Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5993
5994 * config/gdbremote.exp: New file. Testing framework using
5995 gdbserver.
5996
5997Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
5998
5999 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6000 "call function when asleep" and "send end of file".
6001 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6002 for "backtrace in corefile.exp".
6003 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6004 for "backtrace through signal handler".
6005 * gdb.base/corefile.exp: Make sure we actually generate a core file
6006 before trying the core tests. Some systems allow the user to suppress
6007 generation of core files and default to that (linux for example).
6008 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6009 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6010
6011Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6012
6013 * gdb.threads: New directory with some crude multi-threaded
6014 gdb tests (step.exp and step2.exp).
6015 * config/mt-lynx (STEP_EXECUTABLE): Define.
6016 (THREADFLAGS): Define.
6017
6018Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6019
6020 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6021
6022 * gdb.base/signals.exp: Disable whole file for lynx until
6023 further notice.
6024
6025 * gdb.base/signals.exp: xfail test where "next" acts like
6026 "continue" for lynx.
6027
6028 * gdb.base/interrupt.exp: xfail test for calling function while
6029 inferior is asleep for lynx.
6030
6031 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6032 than one cr-lf after each command.
6033
6034Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6035
6036 * configure.in: Reinstate setting of stabsdirs variable, fix
6037 typo in setting up configdirs for native builds.
6038
6039 * gdb.base/return.exp: Fix typo in return double test.
6040 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6041 compiler from optimizing them away.
6042
6043Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6044
6045 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6046 sequences to be echo'd by gdb when using gdb_test.
6047 * gdb.chill/chexp.exp: Likewise.
6048 * gdb.fortran/exprs.exp: Likewise
6049
6050Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6051
6052 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6053 after the inferior gdb has started.
6054
6055 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6056 after each command.
6057 * gdb.base/funcargs.exp: Likewise.
6058 * gdb.base/gdbvars.exp: Likewise.
6059 * gdb.base/interrupt.exp: Likewise.
6060 * gdb.base/list.exp: Likewise.
6061 * gdb.base/watchpoint.exp: Likewise.
6062 * gdb.c++/demangle.exp: Likewise.
6063 * gdb.c++/inherit.exp: Likewise.
6064 * gdb.chill/chexp.exp: Likewise.
6065 * gdb.fortran/exprs.exp: Likewise.
6066
6067 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6068 test if we can't handle IO to/from the inferior.
6069
6070 * gdb.c++/misc.exp: Always check for a program already being
6071 started after sending a "run" command to gdb.
6072
6073 * gdb.base/twice.exp: Start with a fresh gdb.
6074
6075 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6076 only depend on gdb's expression code, not the chill runtime.
6077
6078 * gdb.base/return.c: Put return values into variables so we
6079 can have gdb print them rather than depending on the program
6080 to print them.
6081 * gdb.base/return.exp: Corresponding changes.
6082
6083 * lib/gdb.exp: Provide default value for noinferiorio.
6084 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6085 the inferior.
6086
6087 * gdb.base/break.exp: Always check for a program already being
6088 started after sending a "run" command to gdb.
6089 (text_next_with_recursion): Don't check the output from the
6090 program's printf statement. Instead just make sure the program
6091 exited.
6092
6093 * gdb.base/commands.exp: Protect tests which need arguments with
6094 $noargs conditionals.
6095
6096Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6097
6098 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6099 of structure member arrays to match gdb/valops.c:value_addr change.
6100
6101Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6102
6103 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6104 cases.
6105
6106Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6107
6108 * configure.in (configdirs): Remove gdb.chill from default list
6109 of subdirs and then add it back in only if doing a native build.
6110 The current chill compiler does not yet work in any cross build.
6111 * Revert all signal changes from Jul 6.
6112 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6113 for sh-hms targets, allowing these tests to link, with no other
6114 changes. Testing is suppressed by setting "nosignals" in site.exp.
6115
6116Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6117
6118 * configure.in (signaldirs): Define and add to configdirs for all
6119 targets except some specific ones that are known to not support signals.
6120 Also clean up formatting.
6121 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6122 (signals, sigall): Remove rules to build.
6123 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6124 Moved to new gdb.signals directory.
6125 * gdb.signals: New test directory.
6126 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6127 signals.c signals.exp}: New or moved files.
6128
6129Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6130
6131 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6132
6133Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6134
6135 * gdb.base/return.exp: Xfail `return double' test failure
6136 on at least Solaris 2.3 and handle future/past versions on
6137 a case by case basis as appropriate. Also update message
6138 to include i*86 failures.
6139
6140Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6141
6142 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6143
6144 * lib/gdb.exp: Fix comment which erroneously identified
6145 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6146 gdb_file_cmd not gdb_load).
6147 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6148
6149 * gdb.base/setvar.exp: Make test names consistent between pass and
6150 fail cases. Use gdb_test more.
6151
6152Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6153
6154 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6155
6156Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6157
6158 * gdb.base/help.exp: Fix expected help string for `show commands'.
6159
6160Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6161
6162 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6163
6164 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6165 of a text section.
6166
6167Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6168
6169 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6170 that loop eventually terminates. Fix Connection refused logic so
6171 that testsuite will expire nicely.
6172
6173Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6174
6175 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6176 config/rom68k.exp: New tcl glue for the appropriate monitors.
6177 These all just end up calling monitor.exp.
6178 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6179 refused' by retrying. Cleanup some timeout issues.
6180 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6181 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6182 callers don't have to set/restore global timeout variable.
6183
6184 * The following set of changes centralizes management of the global
6185 timeout variable. This way, it can be set in one target dependent
6186 place instead of dozens of places scattered throughout the test suite.
6187 If you need to lengthen a timeout, then you should either set timeout
6188 in one of the config/{target}.exp files, or multiply it by a factor.
6189 Setting it to an absolute value is always going to lose for some
6190 targets.
6191 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6192 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6193 * gdb.base/funcargs.exp: Don't set timeout.
6194 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6195 * gdb.base/printcmds.exp (test_print_string_constants
6196 test_print_array_constants): Don't set timeout.
6197 * gdb.base/ptype.exp: Don't set timeout.
6198 * gdb.base/recurse.exp: Don't set timeout.
6199 * gdb.base/return.exp: Don't set timeout.
6200 * gdb.base/watchpoint.exp: Don't set timeout.
6201 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6202 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6203
6204Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6205
6206 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6207
6208Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6209
6210 * lib/gdb.exp: Disable chill tests for irix5.
6211
6212Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6213
6214 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6215 each test pass or fail.
6216
6217Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6218
6219 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6220 xlc not gcc.
6221
6222Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6223
6224 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6225
6226Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6227
6228 * config/est.exp: Fix copyright and comments. Remove dead code.
6229 Use targetname, serialport and baud variables instead of fixed
6230 constants.
6231 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6232 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6233
6234Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6235
6236 * gdb.base/watchpoint.exp: Don't run
6237 test_watchpoint_triggered_in_syscall for sunos.
6238
6239Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6240
6241 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6242 they don't seem to exist. Do include stdio.h.
6243
6244Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6245
6246 * gdb.base/a1-selftest.exp: Add alpha xfail.
6247
6248Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6249
6250 * gdb.base/watchpoint.c (main): Prompt before calling read().
6251 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6252 Revise accordingly. Remove cruft about sending "123" several
6253 times, until it gets noticed. Clean up the "print buf[0]" stuff
6254 so that it passes or fails, and waits for prompts in the usual way.
6255
6256Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6257
6258 * gdb.base/recurse.exp: Fix comment.
6259
6260 * TODO: Remove item about printing variables in nodebug.exp. Add
6261 item about enabling tests which are only run on some targets.
6262
6263 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6264 fail, make test names unique, use new gdb_test convention
6265 regarding pattern, use gdb_test more, etc.).
6266
6267 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6268 fail, make test names unique, etc.).
6269
6270Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6271
6272 * gdb.base/nodebug.c: Change return type of top and middle to
6273 short.
6274 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6275 are fixed by the recent mdebugread.c changes. Allow `short ()'
6276 as type for top and middle.
6277
6278Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6279
6280 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6281 nearly as I can tell, the whole thing was an accident in Stu's
6282 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6283 to replace a send/expect pair with gdb_test, but ended up only
6284 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6285 of 30 Mar 1995 took care of it, but left this vestigial comment
6286 which I am now nuking.
6287
6288Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6289
6290 * gdb.base/break.exp: Look for different line number for
6291 breakpoint at main depending on usestubs.
6292
6293Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6294
6295 * gdb.base/list.exp: Adjust some alternate expect patterns to
6296 match recent list0.c change. Add alternate expect pattern for
6297 output from `list default lines around main' for optimizing
6298 compilers.
6299
6300Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6301
6302 * lib/gdb.exp: If nosignals is not set, set it to 0.
6303
6304Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6305
6306 * config/slite-gdb.exp: Responds to load symbol table prompt.
6307 * gdb.base/break.exp: Adjust line number, fix rerun.
6308 * gdb.base/langs0.c: Add #ifdef usestubs.
6309
6310Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6311
6312 * gdb.base/list.exp: Adjust line contents after adding new lines in
6313 list0.c. Also fix a syntax error.
6314
6315 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6316 * gdb.base/break.exp: ditto.
6317 * gdb.base/list.exp: ditto.
6318 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6319 * gdb.base/run.c: ditto.
6320 * gdb.base/list0.c: ditto.
6321 * gdb.base/funcargs.c: ditto.
6322
6323Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6324
6325 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6326 $targetname, $serialport and $baud instead of hardwired variables.
6327 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6328 target doesn't support signals.
6329
6330Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6331
6332 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6333
6334Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6335
6336 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6337 Don't rely on the value of an auto variable before it has been
6338 initialized. Use gdb_test more.
6339
6340Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6341
6342 * lib/gdb.exp (default_gdb_version): A version number must start
6343 with a digit, but other than that contains all characters up to
6344 the first whitespace character.
6345
6346Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6347
6348 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6349
6350Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6351
6352 * gdb.c++/*.exp: Warn if executable does not exist. The original
6353 reason for skipping the warning was that configure.in sometimes
6354 intentionally skipped building the executables but the tcl code
6355 had no way of knowing. That (a) was always bogus with respect to
6356 error handling, (b) is no longer true (right now there is no way
6357 to skip C++ tests).
6358
6359 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6360
6361Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6362
6363 * gdb.base/list.exp: Add expect patterns for output from
6364 SunPRO compiled executables.
6365 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6366 types.
6367
6368Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6369
6370 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6371 number (we are already testing that the correct source line text
6372 gets printed).
6373
6374 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6375 that is what is intended, but something needed to be done to get
6376 sunos4 native working again.
6377
6378 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6379
6380 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6381 apparently went with a (very) old xfail.
6382
6383Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6384
6385 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6386 runto_main is a proc in gdb.exp that will do 'step' for target use
6387 stubs.
6388 * gdb.base/exprs.exp: ditto.
6389 * gdb.base/interrupt.exp: ditto.
6390 * gdb.base/opaque.exp: ditto.
6391 * gdb.base/printcmds.exp: ditto.
6392 * gdb.base/ptype.exp: ditto.
6393 * gdb.base/scope.exp: ditto.
6394 * gdb.base/setvar.exp: ditto.
6395 * gdb.base/signals.exp: ditto.
6396 * gdb.base/twice.exp: ditto.
6397 * gdb.c++/classes.exp: ditto.
6398 * gdb.c++/inherit.exp: ditto.
6399 * gdb.c++/templates.exp: ditto.
6400 * gdb.base/break.exp: no run and hit main for stubs. Change line
6401 numbers for breakpoints and info breakpoint.
6402 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6403 breakpoint().
6404 * gdb.base/callfuncs.c: ditto.
6405 * gdb.base/exprs: ditto.
6406 * gdb.base/interrupt.c: ditto.
6407 * gdb.base/opaque0.c: ditto.
6408 * gdb.base/printcmds.c: ditto.
6409 * gdb.base/ptype.c: ditto.
6410 * gdb.base/scope0.c: ditto.
6411 * gdb.base/setvar.c: ditto.
6412 * gdb.base/signals.c: ditto.
6413 * gdb.base/twice.c: ditto.
6414 * gdb.c++/misc.cc: ditto.
6415 * gdb.c++/templates.cc: ditto.
6416
6417Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6418
6419 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6420
6421 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6422 somewhere between `read' and `main.c'. I'm pretty sure the
6423 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6424 and it isn't particularly useful.
6425
6426 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6427
6428Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6429
6430 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6431
6432Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6433
6434 * config/mt-slite: add LIBS and -nostdlib.
6435 * config/slite-gdb.exp: add this new file to support sparclite target.
6436
6437Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6438
6439 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6440
6441 * gdb.base/a2-run.exp: Change argument to istarget from
6442 "*-*-vxworks" to "*-*-vxworks*".
6443 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6444
6445Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6446
6447 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6448 will not runto main but do a 'step' to step out of breakpoint().
6449 * config/mt-slite: add -Dusestubs.
6450
6451Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6452
6453 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6454 instead of just @.
6455
6456 * gdb.base/signals.exp: Add test for "handle all print".
6457 * TODO: Remove "handle all print". Also remove item about
6458 checking copyright date (I don't like the idea of a spurious FAIL
6459 based on when we run the tests).
6460
6461 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6462 for SunOS4 (reason for failure not investigated). Remove
6463 redundant test for $binfile.
6464
6465 * gdb.base/nodebug.c (array_index): Call malloc.
6466
6467 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6468
6469Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6470
6471 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6472 conventions and slightly simplify the matching regexp.
6473
6474Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6475
6476 * gdb.base/break.exp: Update gdb_test invocation to use new
6477 convention.
6478
6479 * lib/gdb.exp: If noargs is not set, set it to 0.
6480
6481 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6482 tests unique.
6483
6484 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6485
6486Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6487
6488 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6489 one argument of type "<non-float parameter>".
6490
6491Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6492
6493 * config/rom68k.exp: New file to support Motorola IDP board.
6494 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6495 * gdb.base/break.c: Change things around so that this program
6496 doesn't depend upon args. This is necessary to make remote
6497 targets work (in general, they can't take args).
6498 * gdb.base/break.exp: Don't try to send args to program. Don't
6499 expect output. Also, replace lots of code with gdb_test.
6500
6501Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6502
6503 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6504 printing of '\'' (which is what the comment says we are testing,
6505 even though we were not), not '''.
6506 (test_integer_literals_rejected): Test that printing ''' is an error.
6507
6508 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6509 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6510 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6511 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6512 Use gdb_test not test_print_accept.
6513 * lib/gdb.exp: Remove test_print_accept.
6514
6515 * gdb.base/signals.exp (signal_tests_1): Make pass message
6516 consistent with fail message.
6517
6518 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6519 unsigned char; the bug (PR 1821) is fixed.
6520
6521 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6522
6523 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6524 successful tests--makes xfailing them work right.
6525
6526Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6527
6528 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6529 only \r\n, not .*. The test can pass .* as the last thing in
6530 $pattern if that is what it wants. In addition to providing this
6531 flexibility, this change should speed up pattern matching in cases
6532 where the pattern already ended with .* (there were a number of
6533 them). This change also helps catch bad patterns--in the old
6534 scheme the typo "char \*" instead of "char \\*" would pass. Now
6535 it is caught.
6536 * Many .exp files: Update callers.
6537
6538 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6539 clearer and does not spuriously match multiple ('s. Likewise for
6540 ) and *.
6541
6542 * gdb.base/nodebug.exp: Test ability to call a function and pass
6543 it a string (even with no debugging info).
6544
6545 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6546 "p '\'", which is the same as "p ''" once tcl gets done with
6547 quoting, to "p '\\'", which I suspect is what is intended (one
6548 backslash gets sent to GDB).
6549
6550 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6551
6552Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6553
6554 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6555 1817) was fixed literally years ago.
6556
6557Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6558
6559 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6560 test, it causes stepping out of call_after_alloca_subr with
6561 optimizing compilers.
6562 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6563 fails.
6564
6565 * gdb.c++/templates.exp: Source templ-info.exp only if
6566 the templates executable exists.
6567
6568 * gdb.c++/misc.cc (class Contains_static_instance,
6569 class Contains_nested_static_instance),
6570 gdb.c++/classes.exp (test_static_members): Test printing of
6571 a class that contains a static instance of the class.
6572
6573Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6574
6575 * gdb.base/langs2.c (cppsub_): Don't prototype.
6576 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6577 only, I believe).
6578
6579Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6580
6581 * lib/gdb.exp (skip_chill_tests): New procedure.
6582
6583 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
6584
6585Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
6586
6587 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
6588 each expect pattern. Cuts runtime from 12 to about 4 seconds.
6589
6590Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6591
6592 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
6593
6594 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
6595 disassemble 8, not 16, instructions for part 4.
6596
6597 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
6598 support the latter anymore.
6599
6600 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
6601 -DNO_PROTOTYPES.
6602 * gdb.base/callfuncs.c: Control use of prototypes based on
6603 NO_PROTOTYPES, not __STDC__.
6604 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
6605 t_float_values2 tests if prototypes in use.
6606
6607 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
6608 t_double_values): When checking differences against DELTA, check
6609 that difference is within the range (-DELTA,DELTA), not just
6610 (-infinity,DELTA).
6611
6612Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
6613
6614 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
6615 'file' command firts, then 'target', then 'load', this is due to gdb
6616 target set up.
6617 * config/mips-gdb.exp: Fix a couple regular exp bugs.
6618
6619Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
6620
6621 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
6622 FP load/store variants.
6623 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
6624
6625Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6626
6627 * gdb.base/term.exp: Do not give a warning if not native, it is
6628 not an abnormal condition.
6629
6630Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
6631
6632 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
6633 t_char_array".
6634
6635Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6636
6637 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
6638 are getting the version number.
6639
6640 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
6641 if not native, it is not an abnormal condition.
6642
6643Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6644
6645 * lib/gdb.exp: Just use "file exists", rather than undocumented
6646 dejagnu procedure "findfile".
6647
6648Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6649
6650 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
6651 (LDFLAGS): Set to -Xlinker -Ur.
6652
6653 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
6654 Removed, these values are set by lib/gdb.exp.
6655
6656 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
6657
6658Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6659
6660 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
6661 of replicating gdb startup code.
6662
6663 * config/mt-vxworks (LDFLAGS): Set to -r.
6664 (CFLAGS_FOR_TARGET): Removed.
6665
6666 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
6667 (gdb) and gdb for vxworks uses (vxgdb).
6668
6669 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
6670 executable is not in the tree and host != target, use sed and
6671 program_transform_name to determine the gdb name used by the
6672 target.
6673
6674 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
6675 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
6676
6677Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6678
6679 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
6680 floats, chars, and shorts where there are ANSI-style function
6681 definitions.
6682
6683 * gdb.base/langs.exp, gdb.base/langs*: New test.
6684 * gdb.base/Makefile.in: Build it.
6685 * TODO: Remove item about checking that C names don't get C++
6686 demangling applied; this test tests it.
6687
6688Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6689
6690 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
6691 went with the const70 xfail. The xfail went away a year ago.
6692
6693 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
6694
6695 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
6696 for hp300.
6697
6698 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
6699
6700 * gdb.base/a1-selftest.exp: Don't run on hp300.
6701
6702Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6703
6704 * Makefile.in (site.exp): Set host_alias and target_alias as well
6705 as host_triplet and target_triplet.
6706
6707Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6708
6709 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
6710
6711 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
6712 places as other ecoff systems).
6713
6714 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
6715 ultrix.
6716
6717Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6718
6719 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
6720 remove them.
6721 * gdb.base/nodebug.exp: Accept "function" in addition to "text
6722 variable and "variable" in addition to "data variable".
6723 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
6724
6725 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
6726 2.
6727 * gdb.base/list1.c (long_line): Add additional statement at start
6728 of function.
6729 * gdb.base/list.exp (test_forward_search): Update line number to
6730 reflect new statement.
6731
6732Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6733
6734 * gdb.base/signals.exp: Reinitialize searched source directories
6735 after gdb_start call.
6736
6737Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
6738
6739 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
6740 * gdb.stabs/Makefile.in: Likewise.
6741
6742 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
6743 change. Instead split the tests into smaller pieces.
6744 * gdb.disasm/hppa.s: Corresponding changes.
6745
6746Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6747
6748 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6749 Quote ^C when passing it to stty. For some shells ^ is a pipe.
6750
6751 * gdb.base/funcargs.exp: Modify many tests so that every test
6752 either passes or fails. Make some test names unique.
6753
6754Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6755
6756 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6757 Call stty to set interrupt character.
6758
6759 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
6760 for HP assembler versus GNU assembler based on actual behavior of
6761 $(CC), rather than assuming that $(AS) is always the GNU assembler.
6762
6763 * TODO: Suggest a few more stepping tests.
6764
6765Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
6766
6767 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
6768 restart GDB for h8300 after a continue.
6769 (return): Add pattern to match a29k-udi behavior.
6770 * gdb.base/nodebug.exp: Remove obsolete comment.
6771 * gdb.base/regs.exp: New file, testing of register displays.
6772 * gdb.base/return.exp: Fix typo in reference to $objdir.
6773 * gdb.base/whatis.exp: Always start with a fresh GDB.
6774
6775Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6776
6777 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
6778 higher, these tests generate a lot of output.
6779
6780Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6781
6782 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
6783 code following the catch silently ignored some errors; without the
6784 catch they should be thrown like any other tcl error. Also, the
6785 catch used "" instead of {} which meant all the callers who wanted
6786 to include one of the characters "[]$ had to quote it an extra time.
6787 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
6788 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
6789 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
6790 Remove extra quoting.
6791
6792Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
6793
6794 * gdb.base/commands.exp: Make test names unique; every test either
6795 passes or fails. Update some comments.
6796
6797 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
6798
6799Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6800
6801 The following fixes a FAIL caused by the fact that the alpha stabs
6802 configuration didn't use the ".if alpha" code in weird.def.
6803 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
6804 bit pointer, so the 32 bit version works even on the alpha.
6805 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
6806 Remove the stuff which allowed us to have separate versions for
6807 alpha and everything else.
6808
6809 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
6810 regexp which "info func operator\[\](" is supposed to match. Fix
6811 string to send to GDB. Note that GDB still doesn't work right. Add a
6812 new test for "info func .perator\[\](" which GDB does handle correctly.
6813
6814 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
6815
6816Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6817
6818 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
6819 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
6820 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
6821 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
6822 it makes the tests harder to understand and confuses test-o-matic.
6823 The preferred style is that each test provides a PASS or a FAIL,
6824 and has a unique message (e.g. "continue #54" not just "continue")
6825 which is the same for the pass and the fail.
6826 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6827 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
6828 to lib/gdb.exp.
6829 * gdb.base/printcmds.exp: Use test_print_accept. Remove
6830 prt_accept which was basically the same thing. Likewise for
6831 test_print_reject and prt_reject.
6832 * lib/gdb.exp (test_print_reject): Add some more error message
6833 patterns to match from the former printcmds.exp (prt_reject).
6834 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
6835 One defect of the passcount stuff is that some of it failed to
6836 report XPASS where appropriate.
6837 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
6838 stuff before and after arg in expected pattern.
6839 (test_paddr_operator_functions): Re-do test without print_addr_of;
6840 this is the only test which seems to want extra stuff there.
6841
6842Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6843
6844 * gdb.base/nodebug.exp: Update new tests to reflect improved
6845 wording of gdb output.
6846
6847 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
6848 and "ptype" work on variables in files compiled without -g.
6849 Replaces commented out "maint print msymbol" tests.
6850
6851Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6852
6853 * gdb.base/setvar.c (dummy): Call malloc.
6854
6855 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
6856 losing with the irix4 sed.
6857
6858 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
6859 ALRM" on irix4.
6860
6861Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6862
6863 * TODO: Remove items about corefile.exp testing new exec-file and
6864 backtrace; both are now done. Add items about printing enums.
6865
6866Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6867
6868 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
6869 "get signal $thissig" test fails.
6870
6871 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
6872
6873Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6874
6875 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
6876 compiler warning with dec alpha compiler.
6877
6878 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
6879 extra \n from gdb_test call (this explains why the prompt test
6880 that I removed yesterday was there).
6881 (user_defined_command_test): Remove extra \n and prompt test.
6882
6883 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
6884 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
6885 doesn't exist.
6886 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
6887 Also remove alpha workaround, which turns out to be because
6888 SIGABRT == SIGLOST.
6889
6890 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
6891
6892 * gdb.base/help.exp: Don't test "help show".
6893
6894Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6895
6896 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
6897 "set print address" is on.
6898 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
6899 pass prompt to gdb_test; gdb_test already looks for the prompt.
6900
6901 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
6902
6903 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
6904 was a vestige of the manual TESTSTRATEGY, and the purpose of it
6905 was to make sure that gdb can read a core file. But (a) the "read
6906 the corefile" part didn't make it to a1-selftest.exp, we just
6907 delete the corefile after creating it, and (b) we test reading
6908 corefiles in corefile.exp anyway. Also, this test left around a
6909 xgdb process on Solaris.
6910
6911 * gdb.base/corefile.exp: Also test backtrace.
6912
6913Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
6914
6915 * gdb.base/commands.exp: Test a simple user defined command with
6916 arguments and if/while statements; verify the full user command is
6917 printed by "show user".
6918
6919 * gdb.base/commands.exp: Test if/while commands as part of a
6920 breakpoint command list; verify they appear in breakpoint
6921 information.
6922
6923Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6924
6925 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
6926 than by dividing by zero.
6927
6928Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
6929
6930 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
6931 performing an inferior call with watchpoints enabled.
6932 * gdb.base/watchpoint.c (main): Delete second unnecessary read
6933 call.
6934
6935Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6936
6937 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
6938 of "file" command.
6939
6940 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
6941 Add additional pattern for when "int operator int(void);" appears
6942 in a different order.
6943
6944Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6945
6946 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
6947
6948 * gdb.base/help.exp: Replace most of docstrings for "info signals"
6949 and "signal" with ".*".
6950
6951Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6952
6953 * TODO: Add note about "handle all nostop".
6954
6955 * gdb.base/{sigall.c, sigall.exp}: New test.
6956 * gdb.base/Makefile.in: Add it.
6957
6958Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
6959
6960 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
6961 when invoking GDB, suppresses any windowing interface.
6962
6963Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
6964
6965 * config/sim-gdb: New file, simulator testing support.
6966
6967Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
6968
6969 * gdb.base/interrupt.exp: Test calling func1 twice.
6970
6971Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
6972
6973 * gdb.base/list.exp (test_forward_search): Set timeout higher
6974 when we'll be getting lots of output from gdb.
6975
6976 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
6977 "init_malloc" to after the expect statement. Run it if that
6978 regexp is taken, but also for two others which happen if source
6979 cannot be found.
6980
6981Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6982
6983 * gdb.base/printcmds.exp: New test, for printing register before
6984 program is running.
6985
6986Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6987
6988 * gdb.base/list.exp: Correct some alternate expect patterns
6989 to reflect changes in list1.c.
6990
6991Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6992
6993 * TODO: Add item regarding large frames.
6994
6995 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
6996
6997 * TODO: Remove item about enabling return.exp; it
6998 is enabled. Suggest a few more "return" tests.
6999
7000Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7001
7002 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7003 anonymous unions.
7004
7005Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7006
7007 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7008 and pr-5646.o, so "make" is the same as "make all", not "make
7009 pr-4975.o".
7010
7011Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7012
7013 * gdb.base/list.exp: Adjust expectations to reflect changes in
7014 list1.c.
7015 (test_forward_search): New test proc.
7016 * gdb.base/list1.c (long_line): New function, has long source line.
7017
7018Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7019
7020 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7021 additional line of code that was added.
7022
7023Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7024
7025 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7026 tests so as not to overflow expect's input buffers.
7027 * gdb.disasm/hppa.exp: Corresponding changes.
7028
7029Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7030
7031 Beginnings of template debugging tests.
7032 * gdb.c++/templ-info.cc: New file to test for template
7033 debugging capability of the compiler.
7034 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7035 templ-info.cc.
7036 * gdb.c++/templates.cc: Add explicit template instantiations
7037 to enable compiling with -fno-implicit-templates. Add destructor
7038 and 'value' method to T5 class for template tests.
7039 * gdb.c++/templates.exp: Add testcases for printing of template
7040 types, setting breakpoints on template methods and calling a
beb998c6 7041 template method.
c906108c
SS
7042
7043Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7044
7045 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7046 branch target since some assemblers (gas-2.5) may emit a
7047 relocation for the branch instead of resolving it in the
7048 assembler.
7049
7050Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7051
7052 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7053 through signal handler.
7054
7055Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7056
7057 * configure.in (*-*-netware): Use config/mt-netware.
7058
7059 * config/mt-netware: New file.
7060 * config/mt-i386-netware: Removed, separate configs for different
7061 netware architectures are no longer needed now that we have
7062 --with-headers.
7063
7064Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7065
7066 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7067 by the recent changes to use ANSI C arithmetic conversions.
7068
7069Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7070
7071 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7072 bug involving using inferior_pid to figure out whether to select a
7073 frame.
7074
7075Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7076
7077 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7078 match the current disassembler output.
7079
7080Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7081
7082 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7083 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7084 types, expect "int" as type of integer values (for now).
7085
7086Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7087
7088 * gdb.base/commands.exp: New tests for if/while commands.
7089
7090Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7091
7092 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7093 by .*, since hex values have different syntax in Chill mode.
7094
7095Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7096
7097 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7098 linefeed from expect pattern for repeated types with indices > 9.
7099
7100Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7101
7102 First part of Fortran test suite.
7103 * gdb.fortran: New directory.
7104 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7105
7106Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7107
7108 * gdb.base/default.exp: Update expect pattern for load command
7109 without arguments.
7110
7111Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7112
7113 * configure.in: Change i386 to i[345]86.
7114 * gdb.base/configure.in: Likewise.
7115 * gdb.c++/configure.in: Likewise.
7116 * gdb.chill/configure.in: Likewise.
7117
7118Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7119
7120 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7121 patterns, since that is not a valid context for comments.
7122
7123Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7124
7125 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7126 repeated types and repeated types with indices > 9.
7127
7128Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7129
7130 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7131 2417; old bug has been fixed.
7132
7133Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7134
7135 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7136 send the newline ourselves instead of assuming gdb_test will do
7137 so when passed an empty input string.
7138
7139 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7140 stabs testcode.
7141
7142Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7143
7144 * lib/gdb.exp (gdb_test): Don't send anything if the first
7145 argument is an empty string. This makes cases where we want to
7146 match output that is already in expect's buffers (for example,
7147 matching a breakpoint after gdb_run_cmd has been called) work
7148 reliably.
7149
7150Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7151
7152 * config/netware.exp: New file.
7153
7154Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7155
7156 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7157 the -B and -L prefixes so we can find the debugging stub.
7158
7159 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7160 there and we are using the gcc from the tree.
7161
7162 * gdb.base/types.c: Removed.
7163
7164 * gdb.base/configure.in: Look for makefile fragments in ../config.
7165 Recognize i386-*-netware.
7166 * gdb.c++/configure.in: Likewise.
7167
7168Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7169
7170 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7171 the correct TCL syntax.
7172
7173Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7174
7175 * gdb.base/opaque.exp: use runto instead of messing around with
7176 breakpoints. Simplify by using gdb_test.
7177
7178 * gdb.base/bitfields.exp: restart between tests on netware targets
7179 because breakpoints aren't relocated after target death. Run
7180 processes to completion.
7181
7182 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7183
7184Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7185
7186 * Makefile.in: Remove extra tabs that confuse some versions
7187 of "make". Use the newly built gdb to test with by default,
7188 rather than the first one in the tester's search path.
7189
7190Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7191
7192 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7193
7194 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7195 condition help.
7196
7197Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7198
7199 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7200
7201 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7202 running.
7203 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7204 * gdb.base/funcargs.exp: Likewise.
7205
7206 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7207 * gdb.base/funcargs.exp: Likewise.
7208
7209 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7210 message is "".
7211
7212Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7213
7214 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7215 return,signals,twice}.exp: Handle non-existant binaries
7216 consistantly.
7217
7218 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7219 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7220 might testing a cross development system.
7221
7222Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7223
7224 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7225 runtest script is relative to ${srcdir}, not ${rootdir}.
7226
7227Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7228
7229 * gdb.base/signals.exp: Allow for optionality of breakpoint
7230 address.
7231
7232Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7233
7234 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7235
7236Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7237
7238 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7239 for size_t definition.
7240 * gdb.c++/templates.cc: Likewise
7241
7242 * config/mt-i386-netware: New file.
7243
7244 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7245 defined.
7246
7247 * gdb.base/Makefile.in: Added support for systems that name core
7248 files by appending "core" to the program name.
7249 * gdb.base/a1-selftest.exp: Likewise.
7250
7251Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7252
7253 * gdb.base/return.exp: Add comment and message for `return double'
7254 test failure on Sparc Solaris.
7255
7256Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7257
7258 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7259
7260Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7261
7262 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7263 from optimizing them away.
7264 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7265 patterns to include default constructors and assignment operators,
7266 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7267 character in the output of the virtual base pointer.
7268
7269Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7270
7271 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7272 expression match in print_addr_of to avoid unintented matches.
7273 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7274 versions up to 2.5.8.
7275
7276Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7277
7278 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7279 included file to run under newer versions of expect.
7280 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7281 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7282 Remove xfail for the virtual table of BDDHookV.
7283
7284Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7285
7286 * lib/gdb.exp (string_to_regexp): Set a default result.
7287 (default_gdb_start): Fix misleading message.
7288
7289Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7290
7291 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7292 Remove all CC, etc definitions.
7293 * config/mt-hpux: New file.
7294 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7295 (CFLAGS, LDFLAGS): Define.
7296 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7297
7298 * Makefile.in (site.exp): Don't insert host_os, etc.
7299 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7300 (distclean): Check existence of subdir.
7301 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7302 * gdb.base/Makefile.in: General cleanup and simplification.
7303 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7304 to build executables. Use default rule to build .o files.
7305 (EXPECT, RUNTEST, CC): Fix relative pathname.
7306 (site.exp): Don't insert host_os, etc.
7307 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7308 and/or SIGUSR1 defined.
7309 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7310 * gdb.c++/Makefile.in: General cleanup and simplification.
7311 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7312 (CFLAGS): Remove.
7313 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7314
7315Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7316
7317 * gdb.base/recurse.exp: Misc changes to get tests running again
7318 after Kung's changes to the watchpoint code.
7319 * gdb.base/watchpoint.exp: Likewise.
7320
7321Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7322
7323 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7324
7325Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7326
7327 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7328 * lib/gdb.exp (default_gdb_start): Define.
7329 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7330 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7331 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7332 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7333 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7334 Don't call gdb_target_udi in between tests.
7335
7336Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7337
7338 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7339 (which was basically just a local version of the same thing). In
7340 addition to avoiding duplication, gdb_test_exact is faster.
7341 * lib/gdb.exp (gdb_test_exact): Fix typo.
7342
7343 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7344 don't give an error.
7345
7346 * gdb.base/term.exp: Call delete_breakpoints before starting.
7347
7348 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7349 (t10): Add comment.
7350
7351Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7352
7353 Reorganization of the GDB Test Suite.
7354
7355 * gdb.base: New directory, contains all the basic tests.
7356 * gdb.c++: New directory, tests specific to C++.
7357 * gdb.chill: New directory, tests specific to Chill.
7358 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7359 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7360 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7361 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7362 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7363 t30-31 to chill).
7364 * */gdbme.*: Rename to match appropriate expect scripts.
7365 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7366 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7367 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7368 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7369 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7370 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7371 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7372 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7373 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7374 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7375 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7376 gdb.c++/virtfunc.cc: New names of C++ files.
7377 * gdb.chill/chillvars.ch: New name of Chill file.
7378 * gdb.base/configure.in, gdb.c++/configure.in,
7379 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7380 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7381 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7382 * configure.in (configdirs): Update to reflect directory changes.
7383 (target_abbrev): No longer define for any configuration.
7384 * Makefile.in: Cosmetic improvements to header comments.
7385
7386Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7387
7388 Various changes to gdb.t31:
7389
7390 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7391 * gdbme.ch: Make all key-words and predefineds be upper-case.
7392 * chillvars.exp: Expect key-words and predefinds in upper-case.
7393
7394 * chillvars.exp: Use gdb_test_exact many places.
7395 Change expected output for arrays (which now includes index labels).
7396
7397 * pr-5020.exp, gdme.ch (module PR_5020):
7398 New test, for PR-5020.
7399
7400Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7401
7402 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7403 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7404
7405Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7406
7407 * Makefile.in: Fix bit-rot in definitions of CHILL,
7408 CHILL_FOR_TARGET and Chill_LIB.
7409 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7410 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7411 CHILL, and CHILL_LIB.
7412
7413Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7414
7415 * Revert the previous changes. Please see Rob's directory
7416 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7417
7418Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7419
7420 * Makefile.in, configure.in, config/mips-gdb.exp,
7421 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7422 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7423 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7424 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7425 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7426 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7427 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7428 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7429 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7430 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7431 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7432 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7433 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7434 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7435 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7436 changes from 94Q1.
7437
7438Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7439
7440 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7441 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7442 Rob's new testing fragments.
7443
7444Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7445
7446 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7447 lib/gdb.exp: Replace error proc calls with perror.
7448
7449Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7450
7451 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7452 version also, match on casted version strings, and match on
7453 gdb startup case where the line numbers might be messed up.
7454
7455Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7456
7457 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7458 (CFLAGS): Delete it from here.
7459
7460Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7461
7462 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7463
7464Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7465
7466 * Makefile.in (RUNTEST): Default to just "runtest".
7467
7468Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7469
7470 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7471 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7472 the code has been restructured.
7473
7474Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7475
7476 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7477 \n, not just one of each.
7478
7479 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7480 /bin/cc gives a warning if you do.
7481
7482Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7483
beb998c6 7484 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
7485 __t10ListS_link1ZUiRCUiPT0
7486
7487Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7488
7489 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7490 on local variables in recursive functions.
7491
7492 * gdb.t07/Makefile.in: Build the new test.
7493
7494Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7495
7496 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7497 directly. Instead compare the return values from actual calls.
7498
7499Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7500
7501 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7502
7503Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7504
7505 * From Peter Schauer with minor modifications.
7506 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7507 stops in mid-line in the caller. Add xfail for returning a float
7508 value on X86 targets.
7509
7510Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7511
7512 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7513 to avoid expect lossage.
7514 (fmem_LRbug_tests): Likewise.
7515 * gdb.disasm/hppa.s: Corresponding changes.
7516
7517 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7518 conditions to work with latest dejagnu/expect.
7519
7520 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7521 expected to fail on the PA.
7522 (backtrace in call with trampolines): Explicitly require main
7523 to be frame #1 (no trampolines should show up in backtrace).
7524
7525 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7526 "continue -expect".
7527 * gdb.t06/break.exp: Likewise.
7528 * gdb.t07/watchpoint.exp: Likewise.
7529 * gdb.t13/bitfields.exp: Likewise.
7530 * gdb.t15/{funcargs,return}.exp: Likewise.
7531 * gdb.stabs/weird.exp: Likewise.
7532 * config/{mips,udi}-gdb.exp: Likewise.
7533
7534 * hppa.sed: Enclose comments within a sed command to avoid
7535 losing with the old OSF1 sed.
7536
7537Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7538
7539 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7540 sequent dynix.
7541 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7542 * gdb.t15/funcargs.exp: Conditionally step again to really
7543 finish from marker_call_with_trampolines. Handle the case where
7544 the first step from within call_with_trampolines already steps
7545 us back to main.
7546 * gdb.t15/gdbme.c: Add comment to closing brace of
7547 call_with_trampolines for funcargs.exp.
7548
7549Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7550
beb998c6 7551 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
7552 Fix typo(s).
7553
7554Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7555
7556 * gdb.t07/gdbme.c: More code for watchpoint testing.
7557
7558 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7559 "Hardware watchpoint" throughout file.
7560 (test_watchpoint_triggered_in_syscall): New test.
7561 (test_complex_watchpoint): New test.
7562
7563Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7564
7565 * gdbme.c (call_with_trampolines): New function to try and step
7566 into. Tests trampoline problems on the PA.
7567
7568 * funcargs.exp (localvars_in_indirect_call): No longer expect
7569 stepping into indirect call to fail on PAs.
7570 (test_stepping_over_trampolines): New test.
7571
7572Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7573
7574 * TODO: Add suggestions for static member function tests, and
7575 completion tests.
7576
7577Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7578
7579 * TODO: Add suggestions for "p/a" tests.
7580
7581 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
7582 (default_gdb_exit): Replace all the hair with sending "quit" to
7583 the process with a simple close.
7584
7585Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7586
7587 * TODO: Add suggestions for shared library tests.
7588
7589Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7590
7591 * TODO: Add suggestions for x/s tests.
7592
7593Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7594
7595 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
7596 "enable once", and "enable breakpoints once" with ".*".
7597
7598Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7599
7600 * TODO: Add suggestions about structure passing tests.
7601
7602Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7603
7604 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
7605 the primary1 test, use work around if __GNUC__ < 2.
7606 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
7607 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
7608 Test for bad output rather than waiting for timeout. Issue
7609 second continue only if first continue failed.
7610
7611Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7612
7613 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
7614 operator[] test with gdb_test because the old code didn't seem to
7615 be getting the quoting right with the new dejagnu.
7616
7617Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
7618
7619 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
7620 one from the path.
7621 * Makefile.in: Use a fresh expect if there is one, use runtest
7622 from the src tree if there is one.
beb998c6 7623
c906108c
SS
7624Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7625
7626 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
7627 next over recursive call. Revise the tests from that point on
7628 (which had been skipped) to match GDB's actual (correct) output.
7629
7630 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
7631 with next over a breakpoint whose condition is false.
7632
7633 * gdb.t00/help.exp: Comment out "help set print" tests just like
7634 (and for same reason as) "help set" test.
7635
7636Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7637
7638 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
7639 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
7640
7641Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7642
7643 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
7644 necessary gdb_target_udi.
7645
7646 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
7647
7648 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
7649 1838 and 2417; they are fixed.
7650
7651 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
7652 gdb.t03/ptype.exp (ptype structure, ptype union):
7653 Remove xfails; the test is looser than when the xfails were added.
7654
7655 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
7656 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
7657
7658 * gdb.t01/run.exp: Only run shell test if isnative.
7659
7660 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
7661 since "run" automatically loads if necessary. Call gdb_target_udi
7662 after the "file" since "file" kills any execution target.
7663
7664 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
7665 GDB. GDB doesn't work that way (not anymore at least) on UDI.
7666 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
7667 argument for UDI.
7668
7669Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7670
7671 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
7672
7673 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
7674
7675Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7676
7677 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
7678 properly quoting regexps. This makes the second argument to
7679 demangle a fixed string, which matches the callers, instead of a
7680 shell-style pattern which is what the previous implementation
7681 used. Update some of the callers.
7682
7683Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7684
7685 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
7686 (comib_nullified_tests): Fix typo.
7687 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
7688 strings. No longer expected to fail.
7689
7690 * gdb.disasm/hppa.s (addib_tests): Fix typo.
7691 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
7692 strings. No longer expected to fail.
7693
7694 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
7695 string. No longer expected to fail.
7696
7697Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7698
7699 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
7700 No longer expected to fail.
7701
7702 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
7703 string. No longer expected to fail.
7704
7705Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7706
7707 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
7708 only in the names (I probably got most of them). I was even
7709 generous with some which differed in underscores in names, and
7710 probably missed a few, and I *still* was able to remove almost a
7711 third of the file with almost no impact on testsuite coverage.
7712
7713Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7714
7715 * gdb.t00/default.exp: Match udi_attach error message as well as
7716 the one from child_attach.
7717
7718 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
7719
7720 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
7721
7722 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
7723 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
7724
7725 * Move test with enums and partial symbols back to
7726 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
7727 Reverts the change of 26 May 93. Per today's change to
7728 stabs.texinfo, the behavior that weird.exp was expecting was
7729 unreasonable; what is important is that the compiler+gdb get
7730 things right, which happens with a recent gcc. Also fix the test
7731 to deal with native compilers which put out the stab gdb can't
7732 deal with.
7733
7734Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7735
7736 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
7737 in the names. The main thing these accomplish is to slow things down.
7738 Many more such duplicates surely remain.
7739
7740 * gdb.t00/help.exp: Comment out "help support" test just like
7741 (and for same reason as) "help set" test.
7742
7743Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
7744
7745 * gdb.t06/break.exp: Remove setup_xfails for
7746 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
7747 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
7748 about known bug in gcc to include up through 2.5.8.
7749 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
7750 well as "_vb$".
7751 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
7752 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
7753 with latest gcc and gdb.
7754 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
7755 well as "_vb$".
7756
7757Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7758
7759 * configure.in (hppa*-*-*): Also configure and build stabs-only
7760 tests.
7761
7762Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7763
7764 * gdb.t10/hppa.mt: A makefile fragment for the PA.
7765 * gdb.t10/configure.in (hppa*-*-*): Use it.
7766
7767Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7768
7769 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
7770
7771Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7772
7773 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
7774 versions prior to 1.13.5.
7775
7776Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7777
7778 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
7779 the prompt is at the start of a line.
7780
7781Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7782
7783 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
7784 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
7785 in the copr tests now.
7786 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
7787 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
7788 expected to fail.
7789
7790Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
7791
7792 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
7793 gdb.t31/chillvars.exp, lib/gdb.exp:
7794 Tweak to run under either version of expect.
7795 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
7796 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
7797 * gdb.t11/list.exp: Remove extraneous whitespace.
7798
7799Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7800
7801 * gdb.t16/printcmds.exp (test_print_strings): Accept
7802 "(unsigned char *) " before the string.
7803
7804 * TODO: Add notes about printing of fancy types and GDB expressions.
7805
7806Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
7807
7808 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
7809 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 7810 if doing mips-idt-ecoff.
c906108c
SS
7811
7812Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
7813
7814 * Most .exp files: Tweak to run under either version of expect.
7815
7816Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7817
7818 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
7819 xfails; I'm not sure why they are failing, but not because of PR 1806.
7820
7821Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
7822
7823 * config/unix-gdb.exp: Remove gdb_unload cause it's already
7824 defined in lib/gdb.exp.
7825
7826Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7827
7828 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
7829 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
7830 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
7831 have to be typeless.
7832
7833Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7834
7835 * TODO: Add suggestion for copyright year test.
7836
7837Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
7838
7839 * configure.in (*-*-lynxos*): Add stabs tests.
7840
7841Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7842
7843 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
7844 so insert a tab before any assembler directive in column zero.
7845
7846 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
7847 stores.
7848 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
7849 stores.
7850 (fpu_short_memory_tests): Likewise.
7851
7852Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7853
7854 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
7855 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
7856 .stabs directives in comments.
7857
7858Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7859
7860 * TODO: New file, describing tests we could write.
7861 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
7862
7863Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7864
7865 * gdb.t06/signals.exp: Add kludge to force re-sync.
7866
7867 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
7868 to xgdb instead of gdb, get out of gdb.
7869
7870Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
7871
7872 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
7873 for info.
7874
7875Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7876
7877 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
7878 * gdb.stabs/configure.in (hppa*-*-*): Use it.
7879 * gdb.stabs/hppa.sed: New sed script for the PA.
7880
7881Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7882
7883 * gdb.stabs: Re-write weird.def and configuration to use sed
7884 instead of cpp. sed is portable and POSIX; cpp is neither.
7885
7886Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7887
7888 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
7889
7890Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7891
7892 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
7893
7894Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7895
7896 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
7897 "_vb$".
7898 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
7899 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
7900
7901Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7902
7903 * lib/gdb.exp: Comment out code which depends on non-existent
7904 `transform' procedure.
7905
7906Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
7907
7908 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
7909 * lib/gdb.exp: Transform tool name.
7910 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
7911 1.1's new error handling system.
7912
7913Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7914
7915 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
7916
7917Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7918
7919 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
7920 They made pattern matching so slow that timeouts happened on
7921 heavily loaded systems. Now any output from "show print" which
7922 gets us back to the GDB prompt is a PASS.
7923
7924Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
7925
7926 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
7927
7928Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7929
7930 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
7931
7932 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
7933 It is not from PR 3220.
7934
7935Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7936
7937 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
7938 just started failing because they depended on the order the
7939 subcommands are presented, or exact docstring text. This kind of
7940 test is a pain and has minimal benefit.
7941
7942Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7943
7944 * gdb.t09/corefile.exp: At end of test, use "core" command with
7945 no arguments.
7946
7947Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
7948
7949 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
7950 17}/Makefile.in: Make it possible to run the testsuite with Sun
7951 make and CC = cross gcc by adding explicit build rules for .o
7952 files.
7953
7954Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7955
7956 * gdb.t15/funcargs.exp: Don't put comments on same line as
7957 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 7958
c906108c
SS
7959Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7960
7961 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
7962
7963Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
7964
7965 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
7966 * gdb.t20/inherit.exp: remove three dumplicate entries.
7967
7968Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7969
7970 * gdb.t06/break.exp: For "next over recursive call", fail on any
7971 incorrect output, not just on "factorial (value=2)".
7972
7973Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7974
7975 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
7976 working now. Add an xfail if accesing a bss variable causes
7977 a memory error if the target is not yet run.
7978
7979Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7980
7981 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
7982 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
7983 name of __st* demangling (2 strings). Did Kung really get the
7984 more than 95 others right without testing them?
7985
7986Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
7987
7988 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
7989
7990Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
7991
7992 * configure.in (configdirs): Add gdb.disasm
7993 * gdb.disasm: New directory for GDB disassembler tests.
7994 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
7995
7996Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7997
7998 * gdb.t00/help.exp: Don't test "help set".
7999
8000 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8001 from within expect statements. None of these happen anymore and
8002 they cause regressions to be silently unnoticed.
8003
8004 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8005 messages) about known failures with gcc cygnus-2.4.5-930417.
8006
8007 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8008 comp-info.exp so it gets built if it doesn't exist.
8009
8010 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8011 it is no longer used.
8012 * gdb.t13/comp-info.c: Removed.
8013
8014Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8015
8016 * gdb.t06/signals.exp: Add xfail for sun3.
8017
8018Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8019
8020 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8021 relevant because ^C doesn't get sent but failure can be reproduced
8022 interactively).
8023
8024Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8025
8026 * gdb.stabs/alpha.mt: New configuration file for alpha.
8027 * gdb.stabs/configure.in: Use it.
8028 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8029 sharing with alpha.mt, redefine long to word via preprocessor.
8030 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8031 for alpha.
8032 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8033 native cc.
8034 * gdb.t00/teststrategy.exp: Change expect string so that we
8035 consume the `(xgdb)' from the command echo and from the gdb prompt.
8036 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8037 gdb currently compares all values as long, so this failure probably
8038 applies to any configuration where LONGEST is bigger than a target int.
8039 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8040 with gcc.
8041 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8042 to handle opaque pointers, gcc is.
8043 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8044 as first argument. Include <sys/types.h> and change all operator
8045 new definitions to use size_t.
8046 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8047 now that we use size_t.
8048
8049Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8050
8051 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8052 a long or float array cast all array members to the same type.
8053 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8054 with 64 bit longs.
8055 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8056 on alpha.
8057 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8058
8059Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8060
8061 * gdb.t24 (demangle.exp): Constructors of templates have names like
8062 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8063 section 14.6 of the ARM.
8064
8065 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8066 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8067 accomplish little and slow down the testsuite.
8068
8069 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8070 Accept spaces various places.
8071
8072Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8073
8074 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8075 with watchpoint enabled.
8076
8077 * Makefile.in: Remove definition of CC and remove the second
8078 definition of CXX (the "CXX = gcc" one remains). These definitions
8079 were causing backquotes to be expanded within backquotes, which
8080 doesn't work.
8081
8082Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8083
8084 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8085
8086Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8087
8088 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8089 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8090 by mips cc and contains no stabs entries.
8091
8092Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8093
8094 * config/vx-gdb.exp: Use fake device to load files rather than
8095 NFS.
8096 * lib/gdb.exp: New proc to do "file" command.
8097 * config/unix-gdb.exp: Use new "file" proc.
8098
8099Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8100
8101 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8102 Rework board rebooting slightly.
8103 (gdb_exit): Don't exit from the remote shell; there isn't one.
8104 * gdb.stabs/weird.exp: If a program is being debugged already,
8105 kill it.
8106 * gdb.t04/setvar.exp: Stop and restart gdb.
8107 * gdb.t05/expr.exp: Likewise.
8108 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8109 restart gdb and reload the program.
8110 * gdb.t08/opaque.exp: Likewise.
8111 * gdb.t12/scope.exp: Likewise.
8112 * gdb.t13/bitfields.exp: Likewise.
8113 * gdb.t15/funcargs.exp: Likewise.
8114 * gdb.t20/classes.exp: Likewise.
8115 * gdb.t03/ptype.exp: Increase timeout.
8116 * gdb.t16/printcmds.exp (test_print_string_constants,
8117 test_print_array_constants): Likewise.
8118 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8119 * gdb.t20/classes.exp (do_tests): Likewise.
8120 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8121
8122Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8123
8124 * gdb.stabs: Renamed *wierd* to *weird*.
8125
8126Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8127
8128 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8129 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8130
8131Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8132
8133 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8134 (do_tests): Remove xfail for whatis on one_var and two_var.
8135
8136Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8137
8138 * Makefile.in: Made cross building work better by adding
8139 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8140
8141Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8142
8143 * gdb.t15/{return.c,return.exp,Makefile.in}:
8144 New test, currently commented out.
8145
8146Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8147
8148 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8149 still running and removes the leftover named socket so GDb can do
8150 clean restarts.
8151
8152Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8153
8154 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8155 console, not GDB.
8156 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8157 cross testing works better with "make check"
8158 * config/unix-gdb: Use default procedures for exit and version.
8159 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8160 with the newest VxWorks.
8161
8162Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8163
8164 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8165 old form.
8166
8167 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8168 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8169
8170 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8171
8172 * config/unix-gdb.exp: Remove this version of gdb_exit
8173 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8174 Rob says he'll look at it when he gets back to testing boards.
8175
8176Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8177
8178 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8179 an expected fail for certain ptype commands.
8180
8181 * gdb.t20/classes.exp: Update expected results of "ptype class
8182 Base1" to account for the constructor that now appears in the type.
8183
8184Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8185
8186 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8187 disappeared from list.
8188 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8189 "alldone" proc with call to cleanup and exit.
8190 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8191 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8192 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8193 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8194 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8195 "alldone" proc with simple returns that suppress remaining
8196 tests. The alldone proc went away many months ago.
8197
8198Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8199
8200 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8201
8202 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8203
8204Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8205
8206 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8207 as vax gdb will display them.
8208
8209Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8210
8211 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8212 optimizers.
8213
8214 * scope.exp: Change "bad value for localval" messages so each one
8215 is unique.
8216
8217 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8218 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8219
8220 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8221
8222Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8223
8224 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8225 doesn't exist (due to optimization).
8226
8227Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8228
8229 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8230 contains \r because the filename is long.
8231
8232 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8233 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8234
8235Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8236
8237 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8238 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8239 Ultrix.
8240 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8241 int tests.
8242 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8243
8244Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8245
8246 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8247
8248 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8249 to match does not match the passing case but still matches the
c906108c
SS
8250 failing case.
8251
8252Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8253
8254 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8255
8256Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8257
8258 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8259 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8260 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8261 Remove various versions of gdb_exit.
8262 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8263 gdb_exit.
8264 * config/unix-gdb.exp: gdb_exit remains here, and should override
8265 the generic version, since it's doing a lot of wierd stuff that
8266 the other versions aren't. FIXME, fold it in, or abandon this
8267 version.
8268
8269Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8270
8271 * gdb.t24/demangle.exp: Add tests for PR 3220.
8272
8273Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8274
8275 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8276
8277Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8278
8279 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8280 "i386-*-*". Works for i486 as well.
8281
8282 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8283 bug, and expand domain of xfail to all SVR4 systems, since the
8284 actual problem is likely to be in generic SVR4 /proc support.
8285
8286Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8287
8288 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8289
8290Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8291
8292 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8293 xfails for other systems. Match a missing 'Continuing.' as an
8294 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8295
8296 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8297 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8298 Only issue warning for missing executables if -all option is used.
8299
8300 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8301 file if -all option is used. It's like an unpredictable XFAIL.
8302
8303Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8304
8305 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8306 for dynamically linked binaries.
8307
8308 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8309
8310Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8311
8312 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8313 to state that this is a known bug in old versions of g++.
8314
8315Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8316
8317 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8318 while waiting for `Continuing'.
8319
8320Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8321
8322 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8323 in text, data, and bss.
8324 * gdb.t10/nodebug.c: Add local and global test variables for
8325 initialized and uninitialized data.
8326
8327Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8328
8329 * config/unix-gdb.exp (gdb_exit): Add "wait".
8330
8331Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8332
8333 * gdb.t06/signals.exp: xfail the continue from the handler for all
8334 targets.
8335
8336 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8337 function with watchpoints enabled, the i386 call dummy starts with
8338 a call.
8339
8340 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8341 386 bsd names its corefiles.
8342
8343Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8344
8345 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8346 compilers don't grok it.
8347 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8348 with small octal ints rather than character constants, which
8349 are signed and might not fit if first promoted to int.
8350
8351Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8352
8353 * gdb.t09/Makefile.in (clean): Remove corefile.
8354
8355Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8356
8357 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8358
8359Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8360 and Jim Kingdon (kingdon@cygnus.com)
8361
8362 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8363 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8364 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8365
8366Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8367
8368 * gdb.t17/interrupt.exp: Add xfail for hppa.
8369
8370Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8371
8372 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8373 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8374 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8375 to determine signed-ness of bitfields and use the result to setup
8376 the xfail.
8377 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8378 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8379 call line is reached if necessary.
8380
8381Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8382
8383 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8384
8385Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8386
8387 * gdb.t06/break.exp: Also test `clear' command.
8388
8389Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8390
8391 * gdb.t00/teststrategy.exp: Remove extra quote.
8392
8393 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8394 watchpoint enabled to be for all non-68k machines.
8395
8396 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8397
8398Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8399
8400 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8401 targets use aout.mt instead of ecoff.mt as gas understands
8402 standard aout format.
8403
8404Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8405
8406 * lib/gdb.exp (runto): Don't insist that function we are running to
8407 was compiled with -g.
8408
8409 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8410
8411 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8412 to get back into the read system call.
8413 Accept leading newline in case where we woke it up.
8414
8415Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8416
8417 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8418 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8419 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8420 enable ecoff configuration.
8421
8422Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8423
8424 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8425
8426Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8427
8428 * gdb.t16/printcmds.exp: Add another printf test.
8429
8430Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8431
8432 * configure.in: If configured -with-stabs on any target, add
8433 stabsdirs to configdirs.
8434
8435Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8436
8437 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8438 fun" so pattern does not match the command itself.
8439
8440Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8441
8442 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8443
8444Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8445
8446 * gdb.t17/interrupt.exp: Test for more things.
8447
8448Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8449
8450 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8451 compiler arranges the code and line numbers.
8452
8453 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8454
8455Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8456
8457 * gdb.t00/help.exp: Increase expect input buffer size.
8458
8459Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8460
8461 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8462
8463 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8464
8465 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8466
8467 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8468 [0-9]*, not just [0-9].
8469
8470Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8471
8472 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8473
8474 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8475
8476Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8477
8478 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8479
8480Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8481
8482 * gdb.t06/signals.c: Add xfails for sun3.
8483
8484 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8485
8486 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8487 test_stepping tests.
8488
8489Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8490
8491 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8492
8493 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8494
8495 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8496 rather than actually putting it through cpp twice.
8497
8498 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8499
8500Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8501
8502 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8503 no longer needed.
8504
8505Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8506
8507 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8508
8509 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8510 C++ features prints as "struct", make it a pass, not an xfail.
8511
8512Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8513
8514 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8515 Don't require VA to print as "class" rather than "struct".
8516
8517Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8518
8519 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8520
8521Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8522
8523 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8524
8525Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8526
8527 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8528 order.
8529
8530Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8531
8532 * gdb.t16/printcmds.exp: Add printf tests.
8533
8534 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8535
8536 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8537
8538Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8539
8540 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8541 pass counts, to counteract any existing or future setup_xfails.
8542
8543Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8544
8545 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8546 {BEGIN,END}_COMMON for common block instead of STAB.
8547 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8548
8549 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8550 intp_var should be N_GSYM not N_LSYM.
8551 wierd-aout.S: Use a label for the value of the N_SO.
8552 wierd.def: Remove all backslashes.
8553 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8554
8555Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8556
8557 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8558 get the expected next to inheritance3.
8559
8560Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8561
8562 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8563 now that gcc-2.4 gets it right.
8564
8565Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8566
8567 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8568
8569 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8570 generating comp-info.exp which works for cross-compilation.
8571
8572Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8573
8574 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8575 "*-*-sysv4.*".
8576
8577Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8578
8579 * gdb.t01/run.exp: Start with a fresh gdb.
8580 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8581 SVR4.x.
8582
8583Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
8584
8585 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
8586 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
8587 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
8588 Makefile.in (distclean, realclean): Remove gdbme.c from list of
8589 things to remove.
8590
8591Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
8592
8593 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
8594 test cases from bug reports.
8595
8596Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
8597
8598 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
8599 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
8600 avoid spurious xfails.
8601 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
8602 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
8603 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
8604
8605Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
8606
8607 * gdb.t00/teststrategy.exp: Rework to provide more useful
8608 description of each test, fix problem with systems that define
8609 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
8610 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
8611 results for "next over recursive call" so timeouts aren't taken
8612 by error.
8613
8614Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
8615
8616 * gdb.t12/scope.exp: Test printing of variables before run.
8617
8618 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
8619 printed in wrong order due to sorting.
8620
8621Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
8622
8623 * gdb.t00/teststrategy.exp: Fix expected results for printing
8624 user entered string constant. Is array of char, prints with no
8625 address.
8626
8627 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
8628 commands.
8629 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
8630 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
8631 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
8632 of struct of char arrays.
8633 * gdb.t00/radix.exp: New tests for radix commands.
8634
8635Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
8636
8637 * gdb.t16/printcmd.exp: Print a variable before running program
8638 (with xfail for AIX).
8639
8640Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
8641
8642 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
8643
8644 * gdb.t16/printcmd.exp: Don't print variables before running program.
8645
8646 * gdb.t06/break.exp: Don't require envp argument to main.
8647
8648 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
8649
8650 * gdb.t02/whatis.exp, gdb.t11/list.exp:
8651 Add xfails for rs6000.
8652
8653 * gdb.t02/whatis.exp: Change other tests not to re-test something
8654 we already tested.
8655
8656 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
8657 each type used has a variable of that type.
8658
8659Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
8660
8661 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
8662
8663Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8664
8665 * configure.in: change srctrigger to be a file, not a directory
8666
8667Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
8668
8669 * configure.in (mips-idt-ecoff*): Added trailing '*'.
8670
8671 * gdb.t11/list.exp: Fixed a couple of typos.
8672
8673Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
8674
8675 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
8676 is fixed and PR is closed.
8677 * gdb.t16 (gdbme.c): Add simple test string variable.
8678 * gdb.t16 (printcmds.exp): Add tests with simple test string
8679 variable, primarily for boundaries on "set print elements".
8680
8681Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
8682
8683 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
8684 Make leading 0's optional and don't expect a tab in the middle
8685 of the number.
8686
8687 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
8688
8689 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
8690 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
8691 don't end command passed to gdb_test with newline.
8692
8693 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
8694 signed keyword away, don't expect signed bitfields to be signed.
8695
8696 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
8697 printing with only as many 1's as are in the field as well as printing
8698 with 32 1's (see comment).
8699
8700Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
8701
8702 * gdb.t00/default.exp: Start with a fresh gdb.
8703 * configure.in (configdirs): Remove gdb.t31 until the chill
8704 compiler works again. It no longer is able to find chillrt0
8705 since it isn't in libchill.a anymore.
8706 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
8707 wierd.o, make more modular.
8708 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
8709 spurious newlines that caused problems.
8710
8711Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8712
8713 * Move test with enums and partial symbols from gdb.t03/ptype.exp
8714 to gdb.stabs/wierd.exp since GCC has worked around the bug.
8715 gdb.stabs/wierd.{exp,def}: Many new tests.
8716
8717 * gdb.t00/default.exp: update info line for new message.
8718
8719 * gdb.t02/{whatis.exp,gdbme.c}:
8720 Test that "char *" doesn't print as "caddr_t".
8721
8722Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8723
8724 * gdb.t00/help.exp: Use .* in place of some help messages which
8725 just changed.
8726 gdb.t00/default.exp: Update "info frame" test for new message.
8727 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
8728 Remove some xfails
8729
8730Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8731
8732 * gdb.t03/{gdbme.c,ptype.exp}:
8733 Add tests for typedef'd struct and union without tags.
8734 Also check "whatis" on a variable of a typedef'd enum without a tag.
8735
8736 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
8737 PRMS 1823; the bug still exists but isn't reproduced by this test
8738 anymore), and remove rs6000 XFAIL (the bug is fixed).
8739
8740 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
8741 duplicated from whatis.exp. For those that are left, accept
8742 "long", "long int", or "int" for long variables (whatis.exp already
8743 has an XFAIL for "int", so no need to fail it here).
8744
8745 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
8746 Deal with GCC's names for types now that GDB uses the compiler's names.
8747
8748 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
8749 setup_xfail's for sunos4. If we #defined the signed keyword away,
8750 don't expect GDB to know that char it is signed.
8751
8752 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
8753
8754Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
8755
8756 * configure.in (configdirs): Add gdb.t24 for C++ tests that
8757 should work on any system, regardless of debugging format.
8758 * gdb.t21/demangle.exp: Move to gdb.t24.
8759 * gdb.t24/demangle.exp: Move from gdb.t21.
8760 * gdb.t24/{Makefile.in, configure.in}: New files.
8761
8762Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8763
8764 * configure.in: Do gdb.stabs and C++ tests only for stabs.
8765 * gdb.stabs: New directory.
8766
8767Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8768
8769 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
8770 not just "Quit anyway?".
8771
8772Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
8773
8774 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
8775 that all setup_xfails are immediately followed by clear_xfails.
8776
8777Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
8778
8779 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
8780 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
8781 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
8782 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
8783 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
8784 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8785 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8786 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
8787 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
8788 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
8789 gdb.t31/chillvars.exp, lib/gdb.exp:
8790 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
8791 bug-gdb@prep.ai.mit.edu.
8792
8793Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
8794
8795 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
8796 with 0.0, not integer 0.
8797
8798Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
8799
8800 * gdb.t06/break.exp: Update for "Kill the program" message change.
8801
8802Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
8803
8804 * Makefile.in (GDBFLAGS): Set to -nx.
8805 * Makefile.in (site.exp): Use GDBFLAGS.
8806
8807Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8808
8809 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
8810 Makefiles.
8811 (check): depend on just-check.
8812 (just-check): added so that tests can be run without a noop
8813 build pass.
8814
8815Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8816
8817 Switch to using configure's configdirs.
8818 * Makefile.in (Makefile): add configure.in dependency.
8819 (SUBDIRS): removed redundant assignment.
8820 * configure.in: switch subdirs assignment to configdirs.
8821 * gdb.t*/configure.in: new files.
8822
8823Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
8824
8825 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
8826 works.
8827
8828Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
8829
8830 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
8831 in explicit rules. Apparently this is not supported by some makes.
8832
8833Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
8834
8835 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
8836
8837Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8838
8839 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
8840 disappeared.
8841
8842Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
8843
8844 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
8845
8846Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
8847
8848 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
8849 watchpoint problem that is now fixed.
8850 * gdb.t30/chexp.exp: Remove setup_xfail for printing
8851 uninitialized convenience variables.
8852 * gdb.t31/chillvars.exp: Fix expected patterns for printing
8853 structures.
8854
8855Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8856
8857 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
8858 which causes expect to get out of sync with gdb on long output
8859 from help set.
8860 * gdb.t09/corefile.exp: Make expected pattern for core file
8861 failing signal and frame output format less sun specific.
8862
8863Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
8864
8865 * gdb.t31/chillvars.exp: Add and remove initial dummy
8866 breakpoint, so that symbol table is forced in.
8867 (Needed at least on Sunos4, though it seems not SVR4.)
8868 * gdb.t31/chillvars.exp: Update for changed output format.
8869
8870Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
8871
8872 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
8873
8874Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
8875
8876 * Makefile.in: Added --srcdir when invoking runtest, removed the
8877 need for a local config file. (optional now)
8878
8879Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
8880
8881 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
8882 failure count used to force early termination. Add some more
8883 expected failures for gnu style demangling.
8884
8885Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8886
8887 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
8888 pmi variable from gdb.t20/gdbme to get optimized away.
8889 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
8890 Check for written corefile upon timeout _and_ eof.
8891
8892Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8893
8894 * config/unix-gdb.exp: Add missing return 0.
8895
8896Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8897
8898 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
8899 test termination.
8900
8901Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
8902
8903 * configure.in (subdirs): Put back gdb.t17 which mysteriously
8904 disappeared.
8905
8906Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
8907
8908 * gdb.t10/crossload.exp: Disable the i860-elf test until such
8909 time as i860 support works.
8910
beb998c6 8911 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
8912 "backtrace 100\r" rather than just "backtrace\r", to match last
8913 change.
8914
8915Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
8916
8917 * config/udi-gdb.exp (gdb_exit): Remove close command.
8918 (gdb_target_udi): New procedure to set the UDI target.
8919 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
8920 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
8921 Added waits for prompts after several question responses. Added
8922 some more responses used by a29k-amd-udi-gdb.
8923 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
8924 pass different arguments, restart UDI connection after program
8925 completion.
8926 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
8927 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8928 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
8929 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
8930 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
8931 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
8932 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8933 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
8934 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
8935 after program completion.
8936 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
8937 compiled with a SELECT_VECS setting.
8938 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
8939 infinite recursion.
8940
8941 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
8942 Added checks for COFF results, and made them expected failures for
8943 all targets. It would be better to make them expected failures
8944 for COFF targets only.
8945
8946Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
8947
8948 * Makefile.in: add null dvi target, don't bother to recurse
8949 through test directories for info and install-info; rename
8950 $(datadir) to be dejagnu instead of deja-gnu
8951
8952Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
8953
8954 * gdb.t31/gdbme.ch: Re-enable code that previously caused
8955 compiler to coredump.
8956 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
8957 code.
8958
8959Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
8960
8961 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
8962 coredump.
8963 * gdb.t31/chillvars.exp: Comment out tests that depend on that
8964 code.
8965
8966Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
8967
8968 * gdb.t03/ptype.exp: tests for return code from gdb_test.
8969 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
8970 which in a shell. Deletes xgdb when done.
8971 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
8972 Tests the return from the "set height" or "set width" commands.
8973 Added a few return codes where needed.
8974
8975Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
8976
8977 * Makefile.in (SUBDIRS): Add gdb.t17.
8978 * configure.in (subdirs): Add gdb.t17.
8979 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
8980 files to test gdb's calling of functions in the inferior with
8981 the correct arguments and gdb's ability to retrieve any
8982 result returned.
8983
8984Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
8985
8986 * config/unix-gdb.exp (gdb_exit): Remove close commands that
8987 may be called after gdb goes away. Previous versions of expect
8988 needed these to avoid file descriptor leaks, but they cause
8989 errors with the current revision of expect.
8990 * gdb.t00/gdbvars.exp: Use -re on expected output after
8991 setting sevenbit-strings.
8992 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
8993 to set sevenbit-strings consistent across tests.
8994 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
8995 set sevenbit-strings consistent across tests.
8996
8997Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
8998
8999 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9000 expected output to match current "expect" expectations.
9001
9002Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9003
9004 * gdb.t00/default.exp: Change expected output for default "source"
9005 command, to match new gdb behavior which requires a filename to
9006 source.
9007
9008Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9009
9010 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9011 expected fail for i486-*-* that misses the marker2 function.
9012 * gdb.t10/crossload.exp (bfddefault): Allow successful
9013 recognition of a format to pass even if no symbols are found.
9014 Explicitly catch failures where the format is not recognized
9015 or is ambiguous, and add the reason to the fail message.
9016 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9017 the cause is and invalid target and add reason to failure message.
9018 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9019 elf32-i386, elf32-sparc, and elf32-i860.
9020 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9021 Set up expected failure for 'filename'::variable scope resolution,
9022 which is now apparently broken on all targets.
9023 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9024 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9025 gdb.t23/templates.exp: Change failure for missing binfile into
9026 just a warning.
9027 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9028 references.
9029
9030Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9031
9032 * gdb.t00/default.exp: Add expected output for default "source"
9033 command, to match new gdb behavior.
9034 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9035
9036Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9037
9038 * config/*-gdb.exp: returns an error, rather than exiting on
9039 internal errors.
9040
9041Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9042
9043 * gdb.t03/gdbme.c: Add pointer to struct variable.
9044 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9045 referencing struct members.
9046
9047Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9048
9049 * configure.in (mips-idt-ecoff): New target.
9050 * config/mips-gdb.exp: New file for remote board using MIPS remote
9051 debugging protocol.
9052
9053 * Redid configuration scheme. Removed gdb.t*/configure.in.
9054 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9055 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9056 distclean targets. Built executables via .o files. Adjusted
9057 tests to account for source files in $(srcdir) rather than
9058 $(objdir).
9059 * lib/gdb.exp (runto): Don't expect () after the function name,
9060 because it may have arguments.
9061
9062Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9063
9064 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9065 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9066 expected failures for mips-idt-* and mips-sgi-*.
9067 * gdb.t00/default.exp (attach): Kill process if requested.
9068 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9069 that does not read core files.
9070 * gdb.t01/run.exp: Removed checks for exit status code.
9071 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9072 it is linked in.
9073 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9074 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9075 appropriate, rather than doing it by hand.
9076 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9077 execution.
9078 * gdb.t10/crossload.exp: Kill existing program if needed.
9079 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9080 appropriate, rather than doing it by hand. Always increase
9081 timeout for this test, not just for VxWorks.
9082
9083Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9084
9085 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9086 of Chill STRUCT types and STRUCT values.
9087 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9088 than "char".
9089 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9090 struct2): New struct definitions and initializations to test
c906108c
SS
9091 simple Chill STRUCT types.
9092
9093Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9094
9095 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9096 the null byte at the end of strings.
9097 * gdb.t00/default.exp: Make show version insensitive to copyright
9098 date.
9099 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9100 to avoid dependencies on target char signedness.
9101 * gdb.t16/printcmds.exp: Update expected results for explicitly
9102 unsigned char.
9103 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9104 now work.
9105 * gdb.t21/demangle.exp: Add many more patterns for template
9106 demangling, most of them being expected failures.
9107 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9108 string we are matching for, to match on the whole string.
9109 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9110 and fix a whole bunch that had incorrect expected output but were
9111 passing anyway because of the bug in "proc demangle".
9112 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9113 type.
9114 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9115
9116Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9117
9118 * gdb/testsuite: made modifications to testcases, etc., to allow
9119 them to work properly given the reorganization of deja-gnu and the
9120 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9121
9122Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9123
9124 * gdb/testsuite: Initial creation of gdb/testsuite.
9125 Migrated dejagnu testcases and support files for testing nm to
9126 gdb/testsuite from deja-gnu. These files were moved "as is"
9127 with no modifications. This migration is part of a major overhaul
9128 of dejagnu. The modifications to these testcases, etc., which
9129 will allow them to work with the new version of dejagnu will be
9130 made in a future update.
9131\f
9132Local Variables:
9133mode: indented-text
9134left-margin: 8
9135fill-column: 74
9136version-control: never
9137End: