2002-09-10 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ce3abcfb
CV
12002-09-09 Corinna Vinschen <vinschen@redhat.com>
2
3 * gdb.base/default.exp: Fix expected string in `info float' test.
4
d1f5b980
BE
52002-09-09 Ben Elliston <bje@redhat.com>
6
7 * config/mips.exp: Update comments.
8 * config/mips-idt.exp: Likewise.
9 * config/nind.exp: Likewise.
10 * config/slite.exp: Likewise.
11 * config/sparclet.exp: Likewise.
12 * config/udi.exp: Likewise.
13 * config/vx.exp: Likewise.
14 * config/vxworks29k.exp: Likewise.
15
2f71430b
JB
162002-09-05 Jim Blandy <jimb@redhat.com>
17
18 * gdb.threads/killed.exp: Fix test failure message.
19
7ddebc7e
KS
202002-09-04 Keith Seitz <keiths@redhat.com>
21
22 * lib/mi-support.exp: Update copyright.
23 (mi_gdb_test): Increase the priority of the expected pattern
24 so that it matches gdb_test.
25
0ae67eb3
KS
262002-09-03 Keith Seitz <keiths@redhat.com>
27
28 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
29 Use integer comparison instead of string comparison for testing
30 whether binary was built.
31
38fc42c8
JB
322002-09-03 Jim Blandy <jimb@redhat.com>
33
34 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
35
b6ff0e81
JB
362002-08-29 Jim Blandy <jimb@redhat.com>
37
38 * gdb.threads/pthreads.exp: Move the portable thread compilation
39 code into a function in lib/gdb.exp, and call that from here.
40 * lib/gdb.exp (gdb_compile_pthreads): New function.
41
07c98896
KS
422002-08-29 Keith Seitz <keiths@redhat.com>
43
44 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
45 expect_out so that callers can get at it.
46
0312286c
DJ
472002-08-23 Daniel Jacobowitz <drow@mvista.com>
48
49 * gdb.threads/print-threads.c: New file.
50 * gdb.threads/print-threads.exp: New file.
51 * gdb.threads/schedlock.c: New file.
52 * gdb.threads/schedlock.exp: New file.
53
dd039bc4
EZ
542002-08-22 Elena Zannoni <ezannoni@redhat.com>
55
56 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
57 not altivec.c.
58
1f36144c
MK
592002-08-17 Mark Kettenis <kettenis@gnu.org>
60
61 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
62 targets. The problem should be fixed now.
63
16057ec7 642002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
65
66 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
67 2002-07-24 change that removes final dots from error messages.
68
3c1499ad
TT
692002-08-13 Tom Tromey <tromey@redhat.com>
70
71 * gdb.base/readline.exp: New file.
72
a20ce2c3
AC
732002-08-01 Andrew Cagney <ac131313@redhat.com>
74
75 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
76 supress message.
77
db034ac5
AC
782002-08-01 Andrew Cagney <cagney@redhat.com>
79
80 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
81 CHILL_FOR_TARGET and CHILL_LIB.
82 * configure.in (configdirs): Remove gdb.chill.
83 * configure: Regenerate.
84 * lib/gdb.exp: Obsolete references to chill.
85 * gdb.fortran/types.exp: Ditto.
86 * gdb.fortran/exprs.exp: Ditto.
87
3e000b18
KB
882002-07-30 Kevin Buettner <kevinb@redhat.com>
89
90 * gdb.base/shlib-call.exp (additional_flags): Conditionally
91 set Irix-specific compile and link flags.
92
28f4966b
KB
932002-07-29 Kevin Buettner <kevinb@redhat.com>
94
95 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
96 source files. The ``-o'' option doesn't work with the ``-E'' option
97 when using the Irix compiler.
98
46c0d5a6
DJ
992002-07-19 Daniel Jacobowitz <drow@mvista.com>
100
101 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
102 Improve support for reusing an exec file. Copy exec file
103 to target, and run gdbserver on the target instead of on the host.
104
eecf4bed
JB
1052002-07-18 Jim Blandy <jimb@redhat.com>
106
0f815cdf
JB
107 * gdb.base/ending-run.exp: Don't expect to see the program end in
108 some orderly fashion when we're running on a real stand-alone
109 board.
110
eecf4bed
JB
111 * gdb.base/interrupt.exp: Correct logic for skipping tests on
112 targets that don't support interrupts.
113
52d309e4
JB
1142002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
115
116 * gdb.base/attach.exp: Add patterns to match output from /proc-based
117 systems.
118 Move comments in expect statements to inside the actions, so that they
119 don't get matched against.
120
ff683d9e
MK
1212002-07-10 Mark Kettenis <kettenis@gnu.org>
122
123 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
124 function when asleep" test.
125
b5356753
AC
1262002-07-10 Andrew Cagney <ac131313@redhat.com>
127
128 * gdb.base/page.exp: Rewrite to handle problems with very long
129 `info set' output. Update copyright.
130
6aa4d13a
AC
1312002-06-26 Andrew Cagney <ac131313@redhat.com>
132
133 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
134 gdb.threads-hp.
135 * gdb.hp/configure: Regenerate.
136 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
137 * gdb.hp/gdb.threads-hp/configure: Delete file.
138 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
139
8cf8c2b8
AC
1402002-06-22 Andrew Cagney <ac131313@redhat.com>
141
142 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
143 setlocale, bindtextdomain and textdomain.
144
6827a8f8
JB
1452002-06-11 Jim Blandy <jimb@redhat.com>
146
919d772c
JB
147 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
148 preprocessor macro information is present.
149
6827a8f8
JB
150 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
151 tests.
152
c15b0d21
MS
1532002-06-06 Michael Snyder <msnyder@redhat.com>
154
c5984d70
MS
155 * gdb.base/overlays.exp: Record addresses of overlay
156 functions in TCL variables rather than in GDB variables,
157 to avoid having GDB convert them to pointers (with loss
158 of information).
159
99a8512b
MS
160 * gdb.base/d10v.ld: Merge in several years worth of
161 default linker script changes.
c15b0d21
MS
162 * gdb.base/long_long.exp: Add check for sizeof (long double).
163
be26fe0d
ML
1642002-06-06 Michal Ludvig <mludvig@suse.cz>
165
166 * gdb.asm/asm-source.exp: Add x86-64 target.
167 * gdb.asm/x86_64.inc: New.
168
258093ca 1692002-05-30 Michael Chastain <mec@shout.net>
258093ca 170
4b3153f1 171 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
172 * gdb.c++/m-static.cc: New file.
173 * gdb.c++/m-static.exp: New file.
174
241264c6
MS
1752002-05-28 Michael Snyder <msnyder@redhat.com>
176
177 * gdb.base/call-ar-st.exp: Allow for reduced floating point
178 precision.
179
9bba8c8f 1802002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 181
4b3153f1 182 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
183 * gdb.c++/m-data.cc: New file.
184 * gdb.c++/m-data.exp: New file.
185
1862002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 187
4b3153f1 188 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
189 * gdb.c++/try_catch.cc: New file.
190 * gdb.c++/try_catch.exp: New file.
191
def1b996
MC
1922002-05-27 Michael Chastain <mec@shout.net>
193
194 * gdb.c++/local.exp: Accept more nested types in output.
195
522ba268
MC
1962002-05-26 Michael Chastain <mec@shout.net>
197
198 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
199
277254ba
MS
2002002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
201
202 * lib/gdb.exp (gdb_wrapper_init): Just because
203 gdb_wrapper_file exists, this does not mean that the file
204 should not be rebuilt. That is what gdb_wrapper_initialized
205 is for.
206 (default_gdb_init): Reset gdb_wrapper_initialized.
207
b61a8733
MS
2082002-05-23 Michael Snyder <msnyder@redhat.com>
209
5bdb6d01
MS
210 * gdb.base/all-bin.exp: Revise previous patch by just reducing
211 the precision of the floating point test results.
212 * gdb.base/call-rt-st.exp: Ditto.
213
b61a8733
MS
214 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
215 * gdb.base/call-rt-st.exp: Ditto.
216
56f6e910
MC
2172002-05-19 Michael Chastain <mec@shout.net>
218
219 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
220
ad0b0016
EZ
2212002-05-19 Elena Zannoni <ezannoni@redhat.com>
222
223 * configure.in (configdirs): Add gdb.arch.
224 * configure: Regenerate.
225
f617d2b6
JB
2262002-05-17 Jim Blandy <jimb@redhat.com>
227
228 * gdb.base/completion.exp: Recognize the more detailed error
229 messages produced by the macro expander's lexical analyzer.
230
eac2a696
EZ
2312002-05-14 Elena Zannoni <ezannoni@redhat.com>
232
233 * gdb.arch/altivec-abi.c: New file.
234 * gdb.arch/altivec-abi.exp: New file.
235 * gdb.arch/altivec-regs.c: New file.
236 * gdb.arch/altivec-regs.exp: New file.
237
2fdde8f8
DJ
2382002-05-14 Daniel Jacobowitz <drow@mvista.com>
239
240 * gdb.base/maint.exp (maint print type): Update for new type
241 structure.
eac2a696 242
e31f1a7c
EZ
2432002-05-14 Elena Zannoni <ezannoni@redhat.com>
244
245 * gdb.arch: New directory.
246 * gdb.arch/configure.in: New file.
247 * gdb.arch/configure: New file.
248 * gdb.arch/Makefile.in: New file.
249
db589741
CV
2502002-05-13 Corinna Vinschen <vinschen@redhat.com>
251
252 * gdb.asm/asm-source.exp: Add v850 as supported target.
253 * gdb.asm/v850.inc: New file.
254
8ce2a7dc
DJ
2552002-05-13 Daniel Jacobowitz <drow@mvista.com>
256
257 * gdb.c++/annota2.exp (annotate-quit): Add comment.
258
df763c7f
DJ
2592002-05-12 Daniel Jacobowitz <drow@mvista.com>
260
261 * gdb.base/break.exp: Check 'break "marker2"'.
262
377daeed
MS
2632002-05-10 Michael Snyder <msnyder@redhat.com>
264
265 * gdb.base/long_long.exp: Fix typo.
266
c4b7bc2b
JB
2672002-05-10 Jim Blandy <jimb@redhat.com>
268
ecac9a4e
JB
269 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
270 a bug.
271
c4b7bc2b
JB
272 * gdb.base/printcmds.exp (test_integer_literals_rejected):
273 Recognize more detailed error message produced by the macro
274 expander's lexical analyzer.
275 * lib/gdb.exp (test_print_reject): Same.
276
e71019a1
MK
2772002-05-09 Mark Kettenis <kettenis@gnu.org>
278
279 * gdb.c++/method.exp: Fix typo.
280
fedfc8e6
MS
2812002-05-08 Michael Snyder <msnyder@redhat.com>
282
166a1957
MS
283 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
284 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 285 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
286 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
287 Add iftarget clause for strongarm.
288
f1c47eb2
MS
2892002-05-06 Michael Snyder <msnyder@redhat.com>
290
cb9a9d3e
MS
291 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
292 (gdb_continue_to_end): Accept output from status wrapper.
293 * gdb.base/ending-run.exp: Add case for output from status wrapper.
294 Clean up fail messages to match pass messages.
295
f1c47eb2
MS
296 Enable the "needs_status_wrapper" testsuite feature.
297 * lib/gdb.exp (gdb_wrapper_init): New procedure.
298 (gdb_compile): Conditionally call gdb_wrapper_init.
299 * gdb.base/a2-run.exp: Recognize output from status wrapper.
300 * gdb.c++/method.exp: Recognize output from status wrapper.
301
6079c749
BE
3022002-05-06 Ben Elliston <bje@redhat.com>
303From Graydon Hoare <graydon@redhat.com>
304
305 * config/sid.exp: Include support for "rawsid" protocol.
306
188baff3
JB
3072002-05-03 Jim Blandy <jimb@redhat.com>
308
309 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
310 * gdb.c++/hang3.C: New file.
311
b9c07f0f
AC
3122002-05-04 Andrew Cagney <ac131313@redhat.com>
313
314 * gdb.base/default.exp: Remove obsolete code.
315 * gdb.c++/misc.exp: Ditto. Update copyright.
316 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
317 * gdb.base/whatis.exp: Ditto. Update copyright.
318 * gdb.base/scope.exp: Ditto. Update copyright.
319 * gdb.base/ptype.exp: Ditto. Update copyright.
320 * gdb.base/printcmds.exp: Ditto. Update copyright.
321 * gdb.base/opaque.exp: Ditto. Update copyright.
322 * gdb.base/list.exp: Ditto.
323 * gdb.base/funcargs.exp: Ditto. Update copyright.
324 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
325 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
326 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
327 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
328 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
329 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
330
5c7a0397
MS
3312002-05-02 Michael Snyder <msnyder@redhat.com>
332
d6dcc264 333 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
334 * gdb.base/long_long.exp: Add xscale target.
335 * gdb.base/default.exp: Add xscale target.
336
eb7f1c48
JB
3372002-05-01 Jim Blandy <jimb@redhat.com>
338
339 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
340 gdb.c++/hang.exp: New test.
341
a6befae8
FF
3422002-05-01 Fred Fish <fnf@redhat.com>
343
344 * gdb.base/completion.exp: Handle completions of "./Make" for
345 more than one completion possibility, as is the case when we
346 build and test in the source tree.
347
0a310277
AG
3482002-04-29 Anthony Green <green@redhat.com>
349
350 * gdb.java/jmisc1.exp: New file.
351 * gdb.java/jmisc2.exp: New file.
352
6ff9af88
DJ
3532002-04-24 Daniel Jacobowitz <drow@mvista.com>
354
355 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
356
96b3d632
EZ
3572002-04-23 Elena Zannoni <ezannoni@redhat.com>
358
359 * gdb.base/help.exp: Change 'help status' to allow for target
360 dependent output differences.
361
5019bb54
MC
3622002-04-22 Michael Chastain <mec@shout.net>
363
364 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
365
a805a116
MC
3662002-04-22 Michael Chastain <mec@shout.net>
367
368 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
369
a1706bfd
DM
3702002-04-17 David S. Miller <davem@redhat.com>
371
372 * gdb.asm/sparc64.inc: New file.
373 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
374
a73a20a2
EZ
3752002-04-19 Elena Zannoni <ezannoni@redhat.com>
376
377 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
378 instruction file directly into the build tree. Clean up at end of
379 test.
380
ba678339
DM
3812002-04-18 David S. Miller <davem@redhat.com>
382
383 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
384 handle 64-bit platforms correctly.
385 * gdb.base/maint.exp: Likewise.
386
b03399da
KB
3872002-04-18 Kevin Buettner <kevinb@redhat.com>
388
389 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
390 ``-fpic'' when compiling files comprising a shared library, but
391 it does need additional linker flags in order to find shared
392 libraries at run time.
393
e2004992
KB
3942002-04-18 Kevin Buettner <kevinb@redhat.com>
395
396 * gdb.base/cvexpr.c (use): New function.
397 (main): Invoke use() on all global variables to prevent
398 some linkers from deleting these otherwise unused symbols.
399
d8937120
MC
4002002-04-17 Michael Chastain <mec@shout.net>
401From David S. Miller <davem@redhat.com>
402
403 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
404 handle 64-bit platforms correctly.
405
ffd61a58
MS
4062002-04-12 Michael Snyder <msnyder@redhat.com>
407From Jim Blandy <jimb@redhat.com>
408 * gdb.base/foo.c (foox): Remove section attribute; the linker
409 script can handle this instead.
410 * gdb.base/bar.c (barx): Same.
411 * gdb.base/baz.c (bazx): Same.
412 * gdb.base/grbx.c (grbxx): Same.
413
414 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
415 manager doesn't automatically unmap overlays unnecessarily.
416
6b8426a6
MH
4172002-04-10 Martin M. Hunt <hunt@redhat.com>
418
419 * gdb.base/ending-run.exp: Fix pattern for Mips targets
420 stepping out of main.
421
34af4875
MC
4222002-04-09 Michael Chastain <mec@shout.net>
423
424 * gdb.c++/local.cc (main): Move call to marker1() inside nested
425 scope so that the nested scope tests will make sense.
426 * gdb.c++/local.exp: Write patterns that actually work with gcc
427 (the HP patterns "were never known to work with gcc").
428 Keep the old aCC patterns too.
429
2d1676a0
DJ
4302002-04-09 Daniel Jacobowitz <drow@mvista.com>
431
432 * gdb.base/attach.exp: Correct target board test.
433
3a63e3f9
MC
4342002-04-08 Michael Chastain <mec@shout.net>
435
436 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
437 in a const method. Add some xfail and fail cases for configurations
438 that do not emit the "const ...".
439
f18dabd2
MC
4402002-04-07 Michael Chastain <mec@shout.net>
441
442 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
443 Accept "A * const" and "const A * const" as type of "this".
444 Fix spelling of getFunky throughout. Make messages uniform.
445
0fcddd82
EZ
4462002-04-07 Elena Zannoni <ezannoni@redhat.com>
447
448 Work around for PR gdb/285:
449 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
450
16a8534a
EZ
4512002-04-07 Elena Zannoni <ezannoni@redhat.com>
452
453 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
454 instructions file at run time instead of configure time.
455 Sometimes we run the test in a directory that is not the one we
456 configured in.
457 * gdb.asm/configure.in: Delete creation of symlink.
458 * gdb.asm/configure: Regenerate.
459
24181d81
JB
4602002-04-05 J. Brobecker <brobecker@gnat.com>
461
462 * gdb.gdb/xfullpath.exp: New test, to exercise the new
463 xfullpath () function.
464
7cdb7107
DJ
4652002-04-04 Daniel Jacobowitz <drow@mvista.com>
466
467 * gdb.asm/Makefile.in: Correct dependencies.
468
469 * gdb.asm/powerpc.inc: New file.
470 * gdb.asm/asm-source.exp: Add PowerPC.
471 * gdb.asm/configure.in: Likewise.
472 * gdb.asm/configure: Regenerated.
473
a7d17088
DJ
4742002-04-04 Daniel Jacobowitz <drow@mvista.com>
475
476 * gdb.base/relocate.exp: New file.
477 * gdb.base/relocate.c: New file.
478
cd721503
FF
4792002-04-04 Fred Fish <fnf@redhat.com>
480
481 * gdb.base/step-test.exp: Update comment regarding stopping in
482 memcpy/bcopy calls inserted as part of the compiler runtime.
483
b22ad7a7
MS
4842002-04-04 Michael Snyder <msnyder@redhat.com>
485
486 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
487
5f279fa6
DJ
4882002-04-03 Daniel Jacobowitz <drow@mvista.com>
489
490 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
491 (gdb_expect): Remove $notransfer hack.
492
dd0fd3ce
DJ
4932002-04-02 Daniel Jacobowitz <drow@mvista.com>
494
495 * gdb.c++/classes.exp ("calling method for small class"): Match
496 updated register output.
497
1e50cda1
DJ
4982002-03-30 Daniel Jacobowitz <drow@mvista.com>
499
500 Fix PR gdb/452
501 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
502 when finished. Make gdb_file_cmd send "exec-file" when
503 appropriate.
504
24015922
DJ
5052002-03-30 Daniel Jacobowitz <drow@mvista.com>
506
507 * gdb.base/attach.exp: Remove extra setup_xfail.
508
dd7dfd64
MS
5092002-03-26 Michael Snyder <msnyder@redhat.com>
510
511 * gdb.base/default.exp: Add tests for dump, append, and restore.
512 * gdb.base/help.exp: Add tests for dump, append, and restore.
513 * gdb.base/dump.exp: New file, test dump, append and restore.
514 * gdb.base/dump.c: New file.
515
48b2f8d7
MS
5162002-03-27 Michael Snyder <msnyder@redhat.com>
517
518 * gdb.base/help.exp: Modify expect strings to reflect
519 clean-ups in help messages.
520
05b4d525
FF
5212002-03-26 Fred Fish <fnf@redhat.com>
522
523 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
524 have debugging info for those functions and the compiler uses them
525 internally to copy structs around.
526
d7679631
FF
5272002-03-26 Fred Fish <fnf@redhat.com>
528
529 * gdb.base/list.exp: Revert the change made yesterday and add note
530 about why we don't list the default lines for remote targets.
531
523ac3f9
MS
5322002-03-25 Michael Snyder <msnyder@redhat.com>
533
534 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
535
754b2b8d
FF
5362002-03-25 Fred Fish <fnf@redhat.com>
537
538 * gdb.base/list.exp: This test works on remote targets so remove
539 the short circuit for remote targets. Update copyright.
540
33c3e192
FF
5412002-03-25 Fred Fish <fnf@redhat.com>
542
543 * gdb.base/attach.exp: Fix logic error that was suppressing this
544 test for all non hppa*-*-hpux* targets, instead of the hp target.
545 Move comments closer to the suppression point. Also now need to
546 check that we are running natively.
547
d43e73ee
MS
5482002-03-22 Michael Snyder <msnyder@redhat.com>
549
882c8f02
MS
550 * gdb.base/default.exp: Add test for gcore. Update copyright.
551 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 552
04c12f60
FF
5532002-03-06 Fred Fish <fnf@redhat.com>
554
555 * gdb.base/funcargs.c: Remove extraneous ';' character.
556 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
557
b43df995
MC
5582002-03-04 Michael Chastain <mec@shout.net>
559
560 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
561 accommodate gcc v3 function signature.
562 * gdb.mi/mi0-var-cmd-exp: Ditto.
563
92362027
AC
5642002-02-24 Andrew Cagney <ac131313@redhat.com>
565
566 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
567 ``GNU/Linux'' or ``Linux kernel''
568 * testsuite/gdb.threads/pthreads.c: Ditto.
569
258ad32d
MC
5702002-02-24 Michael Chastain <mec@shout.net>
571
572 * gdb.threads/pthreads.c (thread1): Add a return statement.
573 (thread2): Likewise.
574 (foo): Likewise.
575
04c3b3d4
MC
5762002-02-23 Michael Chastain <mec@shout.net>
577
578 * gdb.threads/linux-dp.c (philosopher): Add a return statement
579 to placate gcc.
580
5a2a0a20
MC
5812002-02-23 Michael Chastain <mec@shout.net>
582
583 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
584 test "ptype bint". The test passes on all my stabs configurations.
585
a640f7fc
JB
5862002-02-21 Jim Blandy <jimb@redhat.com>
587
27924826
JB
588 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
589 filename at a time, and watch for the ones we want to see.
590
a640f7fc
JB
591 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
592 types of pointers to prototyped functions.
593
edcc8c75
AC
5942002-02-20 Andrew Cagney <ac131313@redhat.com>
595
596 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
597 signed, unsigned and straight char.
598 (padding_char, padding_short, padding_int, padding_long,
599 padding_long_long, padding_float, padding_double,
600 padding_long_double): New global variables.
601 (fill, fill_structs): New functions.
602
603 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
604 for correctly sized writes. Update copyright.
605 (get_valueof): New procedure.
606 (get_sizeof): Call get_valueof.
607 (check_valueof): New procedure.
608 (check_padding): New procedure.
609
ac57ea44
MC
6102002-02-20 Michael Chastain <mec@shout.net>
611
612 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
613 to setup_xfail. Document some of the remaining calls.
614
7a10c941
MC
6152002-02-18 Michael Chastain <mec@shout.net>
616
617 * gdb.c++/userdef.exp: Update copyright year.
618
fb8acdcc
DJ
6192002-02-18 Daniel Jacobowitz <drow@mvista.com>
620
621 * gdb.c++/userdef.exp: Test overloaded operators properly.
622 Remove xfails.
623
fda6ae12
MS
6242002-02-14 Michael Snyder <msnyder@redhat.com>
625
626 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
627
676a0442
DJ
6282002-02-14 Daniel Jacobowitz <drow@mvista.com>
629
630 * gdb.base/a2-run.exp: Check for a remote target properly.
631 * gdb.base/annota1.exp: Likewise.
632 * gdb.base/list.exp: Likewise.
633 * gdb.base/reread.exp: Likewise.
634 * gdb.base/scope.exp: Likewise.
635 * gdb.base/shlib-call.exp: Likewise.
636 * gdb.base/term.exp: Likewise.
637 * gdb.c++/annota2.exp: Likewise.
638
78b4f468
RE
6392002-02-13 Richard Earnshaw <rearnsha@arm.com>
640
641 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
642
9a81ba51
MC
6432002-02-10 Michael Chastain <mec@shout.net>
644
645 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
646 (call_after_alloca): Ditto.
647
004af6c7
DJ
6482002-02-10 Daniel Jacobowitz <drow@mvista.com>
649
650 * gdb.base/ending-run.exp: Guard "cont" test with
651 gdb_skip_stdio_test.
652
37225f62
JB
6532002-02-06 Jim Blandy <jimb@redhat.com>
654
655 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
656 from here...
657 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
658 To here. Disable this test on non-HP platforms. Add big comment.
659
fe6fdd96
MS
6602002-02-04 Michael Snyder <msnyder@redhat.com>
661
662 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
663 other than d10v and m32r.
664
036fad3f
RE
6652002-02-02 Richard Earnshaw <rearnsha@arm.com>
666
667 * gdb.base/default.exp: Rewrite test patterns to reduce time
668 taken to match them.
669
7148ab62
DJ
6702002-01-30 Daniel Jacobowitz <drow@mvista.com>
671
672 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
673 Allow a start function above main.
674 * gdb.threads/linux-dp.exp: Fix copyright date.
675
396cc255
DJ
6762002-01-30 Daniel Jacobowitz <drow@mvista.com>
677
678 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
679 (check_philosopher_stack): Check for manager thread before checking
680 for a just-starting thread.
681
f038d31b
DJ
6822002-01-30 Daniel Jacobowitz <drow@mvista.com>
683
684 From Neil Booth <neil@daikokuya.demon.co.uk>:
685 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
686 warnings.
687
b3ff9d9a
FF
6882002-01-21 Fred Fish <fnf@redhat.com>
689
690 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
691 not caller.
692
39ad761d
JB
6932002-01-21 Jim Blandy <jimb@redhat.com>
694
695 * gdb.base/reread.exp: Check that GDB properly re-reads the
696 executable file when it changes while no inferior is running.
697
aaf320fa
FF
6982002-01-21 Fred Fish <fnf@redhat.com>
699
700 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
701 optionally accept the "shlib events" variation.
702
808a31f5
JB
7032002-01-21 Jim Blandy <jimb@redhat.com>
704
705 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
706 call `fflush' after every `printf', so that the output is produced
707 at predictable points, regardless of whatever buffering does (or
708 doesn't) take place.
709 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
710 at different points.
711
4420d5e2
DJ
7122002-01-20 Daniel Jacobowitz <drow@mvista.com>
713
714 * gdb.c++/inherit.exp: Update copyright years.
715 * gdb.c++/method.exp: Likewise.
716
3e36a0f4
DJ
7172002-01-20 Daniel Jacobowitz <drow@mvista.com>
718
719 * gdb.c++/classes.exp: Update for improved v3 support and skipping
720 artificial methods/arguments.
721 * gdb.c++/derivation.exp: Likewise.
722 * gdb.c++/inherit.exp: Likewise.
723 * gdb.c++/method.exp: Likewise.
724 * gdb.c++/virtfunc.exp: Likewise.
725
b4ceaee6
AC
7262002-01-18 Andrew Cagney <ac131313@redhat.com>
727
728 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
729 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
730 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
731 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
732 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
733 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
734
ecace851
JB
7352002-01-17 Jim Blandy <jimb@redhat.com>
736
737 * gdb.asm/asm-source.exp (info symbol): Take another shot at
738 anchoring the pattern matching the entry point symbol's name.
739
375fc983
AC
7402002-01-17 Andrew Cagney <ac131313@redhat.com>
741
742 * gdb.base/maint.exp: Update ``maint internal-error'' to match
743 continue/quit query. Update copyright.
744
fe6fdd96
MS
7452002-01-14 Michael Snyder <msnyder@redhat.com>
746
747 * gdb.base/gcore.exp: Remove extra debugging output.
748
e017c81f
DJ
7492002-01-13 Daniel Jacobowitz <drow@mvista.com>
750
751 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
752 for slightly dubious v2 mangled string.
753
37ab3bf8
DJ
7542002-01-13 Daniel Jacobowitz <drow@mvista.com>
755
756 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
757
1bc05c3a 7582002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 759
1bc05c3a 760 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 761
1bc05c3a
JM
762 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
763 constructors.
764 * gdb.c++/derivation.exp: Likewise.
765 * gdb.c++/templates.exp: Likewise.
766 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 767
1bc05c3a
JM
7682002-01-10 Michael Snyder <msnyder@redhat.com>
769
770 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 771
a911c360
MS
7722002-01-08 Michael Snyder <msnyder@redhat.com>
773
774 * gdb.base/gcore.exp: New test for generate-core-file command.
775 * gdb.base/gcore.c: Testcase for above.
776 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
777
ea2119ec
JM
7782002-01-08 Jason Merrill <jason@redhat.com>
779
780 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
781
68203136
FF
7822002-01-07 Fred Fish <fnf@redhat.com>
783
784 * gdb.c++/overload.exp: Remove unconditional xfails for:
785 print foo_instance1.overloadargs(1)
786 print foo_instance1.overloadargs(1, 2)
787 print foo_instance1.overloadargs(1, 2, 3)
788 print foo_instance1.overloadargs(1, 2, 3, 4)
789 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
790 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
791 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
792 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
793 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
794 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
795 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
796 print foo_instance1.overload1arg()
797 print foo_instance1.overload1arg((char)arg2)
798 print foo_instance1.overload1arg((signed char)arg3)
799 print foo_instance1.overload1arg((unsigned char)arg4)
800 print foo_instance1.overload1arg((int)arg7)
801 print foo_instance1.overload1arg((unsigned int)arg8)
802 print foo_instance1.overload1arg((float)arg11)
803 print foo_instance1.overload1arg((double)arg12)
804
21b9b5b1
MS
8052002-01-07 Michael Snyder <msnyder@redhat.com>
806
807 * gdb.base/huge.exp: New test. Print a very large target data object.
808 (skip_huge_test): New test variable. Define if you want to skip this
809 test. The test reads an 8 megabyte data object from the target, so it
810 might be very time consuming on remote targets with a slow connection.
811 * gdb.base/huge.c: New file. Test case for above.
812
725f922e
FF
8132002-01-07 Fred Fish <fnf@redhat.com>
814
815 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
816 g_instance.bfoo, and g_instance.cfoo.
817
634d57ec
JL
818Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
819
f286b2c3
JL
820 * gdb.base/break.c (multi_line_if_conditional): New function.
821 (multi_ilne_while_conditional): Likewise.
822 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
823 IF or WHILE condition puts the breakpoint at the start of
824 the condition.
825
634d57ec
JL
826 * gdb.base/selftest.exp (backtrace through signal handler): Remove
827 hppa*-*-hpux* expected failure.
828 * gdb.base/structs.exp (do_function_calls): Similarly.
829
830 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
831 watchpoints.
832
9fbfe2dc
AC
8332002-01-06 Andrew Cagney <ac131313@redhat.com>
834
835 Fix PR gdb/66.
836 * gdb.base/structs.exp: Replace skip for a29k with skip for
837 gdb,cannot_call_functions.
838 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
839 * gdb.base/callfuncs.exp: Ditto.
840 * gdb.base/call-rt-st.exp: Ditto.
841 * gdb.base/call-strs.exp: Ditto.
842 * gdb.base/callfwmall.exp: Ditto.
843 * gdb.base/scope.exp: Obsolete xfail a29k.
844 * gdb.c++/misc.exp: Ditto.
845 * gdb.c++/cplusfuncs.exp: Ditto.
846 * gdb.base/ptype.exp: Ditto.
847 * gdb.base/printcmds.exp: Ditto.
848 * gdb.base/opaque.exp: Ditto.
849 * gdb.base/list.exp: Ditto.
850 * gdb.base/funcargs.exp: Ditto.
851 * gdb.base/default.exp: Ditto.
852
8ddad156
MS
8532002-01-04 Michael Snyder <msnyder@redhat.com>
854
ca4976a6 855 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
856 * gdb.base/maint.exp: Add tests for maint info sections options.
857
1b074332
JL
858Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
859
860 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
861
7d159115
CV
8622001-12-20 Corinna Vinschen <vinschen@redhat.com>
863
864 * gdb.asm/arm.inc: New file.
865 * gdb.asm/asm-source.exp: Add arm targets.
866 * gdb.asm/configure.in: Ditto.
867 * gdb.asm/configure: Recreated from configure.in.
868
8fb87725
JL
869Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
870
afabe08c
JL
871 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
872 with HP's compiler.
873 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
874 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
875 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
876 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
877
878 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
879 either HP's compilers or GCC.
880
db521deb
JL
881 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
882 a SIGBUS or SIGSEGV.
883
884 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
885
886 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
887 can be compiled with either HP's compiler or GCC.
888
cfa88ab7
JL
889 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
890 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
891 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
892
ca344dff
JL
893 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
894 to match current gdb output. Update due to using auto-solib-limit
895 for limiting instead of overloading auto-solib-add.
896 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
897 test program.
898
3f3c6e55 899 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
900 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
901 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
902 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
903 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
904 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
905 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
906 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
907 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
908 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
909 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
910 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
911 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 912
8fb87725
JL
913 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
914 a SIGTRAP to the inferior.
915
cf599fa7
CV
9162001-12-19 Corinna Vinschen <vinschen@redhat.com>
917
918 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
919 Substitute call to target_link by call to gdb_compile.
920
2cd045cd
JL
921Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
922
923 * gdb.base/break.exp: Fix HP specific search string when testing
924 backtracing in a called function.
925
926 * gdb.base/constvars.exp: Only set lang to C++ if we're
927 compiling the test with HP's compilers.
928 * gdb.base/volatile.exp: Similarly.
929
99ebe9ac
JB
9302001-12-19 Jim Blandy <jimb@redhat.com>
931
932 * gdb.base/printcmds.exp: Expect the null character to be printed
933 as '\0', and the '\013' to be printed as '\v'.
934 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
935 * gdb.base/setvar.exp: Same.
936
b9891b29
JB
9372001-12-17 Jim Blandy <jimb@redhat.com>
938
0eba65ab
JB
939 * gdb.base/completion.exp: Rather than completing very long
940 filenames, which can make the readline library produce output we
941 don't recognize, cd to the directory first, and then complete
942 using nice, short relative paths.
943
6970b5b1
JB
944 * gdb.base/completion.exp: On some systems, there is, in fact, a
945 variable named `b' in scope, since GDB treats all static
946 variables as being in scope. So use `no_var_named_this'
947 instead of `b'.
948
b9891b29
JB
949 * gdb.base/corefile.exp: Recognize the message saying that GDB
950 can't find the core file's registers as a failure.
951
e6ccd35f
JSC
9522001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
953
954 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
955 test expect string more specific.
956
105ba819
CV
9572001-12-13 Corinna Vinschen <vinschen@redhat.com>
958
959 * gdb.asm/asm-source.exp: Add support for xstormy16.
960 * gdb.asm/configure.in: Ditto.
961 * gdb.asm/configure: Rebuild.
962 * gdb.asm/xstormy16.inc: New file.
963
e9e79dd9
FF
9642001-12-10 Fred Fish <fnf@redhat.com>
965
966 * gdb.base/maint.exp: Update to match changes in type dumping code.
967
347dc97d
JB
9682001-12-10 Jim Blandy <jimb@redhat.com>
969
970 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
971 matching the entry point symbol's name at the beginning of the
972 line.
973
5178b9d6
DJ
9742001-12-07 Daniel Jacobowitz <drow@mvista.com>
975
976 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
977 gdb.c++/inherit.exp, gdb.c++/method.exp,
978 gdb.c++/namespace.exp, gdb.c++/templates.exp,
979 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
980 and class layout support.
981
af890c52
DJ
9822001-12-07 Daniel Jacobowitz <drow@mvista.com>
983
984 * gdb.c++/classes.exp: Add test for static member function.
985 * gdb.c++/misc.cc: Add class with static member function.
986
7a345fb3
JB
9872001-12-07 Jim Blandy <jimb@redhat.com>
988
f2e54a80 989 If GDB says it can't find the struct the function returned, report
8032bf31
JB
990 those tests as `unsupported'.
991 * gdb.base/call-rt-st.exp (print_struct_call): New function.
992 Rewrite subsequent tests to use it.
993
994 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
995 those tests as `unsupported'.
996 * gdb.base/structs.exp (call_struct_func): New function.
997 (do_function_calls): Use call_struct_func to call the functions
998 returning structs.
999
0bc69509
JB
1000 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1001 whether functions are prototyped or not, so we can't possibly pass
1002 arguments to t_float_values2 properly.
1003
7a345fb3
JB
1004 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1005 value of `timeout' for targets other than the mips*tx39-*.
1006
edb6ede1
MS
10072001-12-06 Michael Snyder <msnyder@redhat.com>
1008
1009 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1010 and detect whether the start symbol has a leading underscore.
1011
2d842f13
JB
10122001-12-04 Jim Blandy <jimb@redhat.com>
1013
1014 * gdb.base/completion.exp: Clarify indentation.
1015
68550daf
JB
10162001-12-03 Jim Blandy <jimb@redhat.com>
1017
1018 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1019 variables on the S/390, not `.word'.
1020
cd5195a8
JB
10212001-11-30 Jim Blandy <jimb@redhat.com>
1022
1023 Add assembly-source tests for s390-ibm-linux.
1024 * gdb.asm/s390.inc: New file.
1025 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1026 the S/390 architecture.
1027 * gdb.asm/configure: Regenerated.
1028
ca9efc90
MS
10292001-11-30 Michael Snyder <msnyder@redhat.com>
1030
1031 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1032 next, info source, info sources, info line, global and static
1033 variables, and static functions.
1034 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1035 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1036 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1037 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1038 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1039 (gdbasm_leave): Restore frame pointer.
1040 (gdbasm_startup): Copy stack set-up from crt0.S.
1041
d0e66976
FN
10422001-11-26 Fernando Nasser <fnasser@redhat.com>
1043
1044 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1045 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1046 to a local (non-static) variable. Copy tstruct.a to a static buffer
1047 and return a pointer to that buffer.
1048 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1049
e2334072
MK
10502001-11-24 Mark Kettenis <kettenis@gnu.org>
1051
1052 * gdb.asm/configure.in: Fix recognition of ix86 target.
1053 * gdb.asm/configure: Regenerate.
1054
756caa3d
MS
10552001-11-21 Michael Snyder <msnyder@redhat.com>
1056
1057 * gdb.asm/sparc.inc: New file.
1058 * gdb.asm/asm-source.exp: Recognize sparc target.
1059 * gdb.asm/configure.in: Recognize sparc target.
1060 * gdb.asm/configure: Regenerate.
1061
9a4d72d5
MS
10622001-11-21 Michael Snyder <msnyder@redhat.com>
1063
1064 * gdb.asm/m32r.inc: New file.
1065 * gdb.asm/asm-source.exp: Recognize m32r target.
1066 * gdb.asm/configure.in: Recognize m32r target.
1067 * gdb.asm/configure: Regenerate.
1068
a773d1cd
MS
10692001-11-20 Michael Snyder <msnyder@redhat.com>
1070
017ac23d
MS
1071 * gdb.asm/i386.inc: New file.
1072 * gdb.asm/asm-source.exp: Recognize ix86 target.
1073 * gdb.asm/configure.in: Recognize ix86 target.
1074 * gdb.asm/configure: Regenerate.
1075
a773d1cd
MS
1076 * gdb.c++/namespace.exp: Fix quotes in output messages.
1077
bb632afb
MS
10782001-11-14 Michael Snyder <msnyder@redhat.com>
1079
25d559ca 1080 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1081 qualifier in a type cast expression, to designate an address
1082 in the instruction space (Harvard architecture).
1083
4749e309
MS
10842001-11-13 Michael Snyder <msnyder@redhat.com>
1085
1086 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1087 Tests for expressions using 'const' and 'volatile'.
1088
25050984
CV
10892001-11-13 Corinna Vinschen <vinschen@redhat.com>
1090
1091 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1092
1902c51f
DJ
10932001-11-12 Daniel Jacobowitz <drow@mvista.com>
1094
1095 * lib/mi-support.exp (mi_run_to_helper): Move comments
1096 outside of gdb_expect.
1097
dcf95b47
DJ
10982001-11-11 Daniel Jacobowitz <drow@mvista.com>
1099
1100 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1101 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1102 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1103 mi0_run_to): New functions.
1104 * gdb.mi/mi-simplerun.exp: Use them.
1105 * gdb.mi/mi0-simplerun.exp: Likewise.
1106 * gdb.mi/mi-var-cmd.exp: Likewise.
1107 * gdb.mi/mi0-var-cmd.exp: Likewise.
1108
45b074e1
AC
11092001-11-10 Andrew Cagney <ac131313@redhat.com>
1110
1111 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1112 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1113
bf50d346
AC
11142001-11-09 Andrew Cagney <ac131313@redhat.com>
1115
1116 * gdb.base/restore.exp: Include $expected value in restored test
1117 message.
1118
9383332c
AC
11192001-11-09 Andrew Cagney <ac131313@redhat.com>
1120
1121 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1122 implemented.
1123
db62520a
MS
11242001-11-08 Michael Snyder <msnyder@redhat.com>
1125
1126 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1127 Add pass/fail message for stop at breakpoint in call dummy function.
1128
b5703437
MS
11292001-11-07 Michael Snyder <msnyder@redhat.com>
1130
760f6330
MS
1131 * gdb.c++/templates.exp (test_template_breakpoints):
1132 If we get an overload menu, but it does not match what
1133 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1134 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1135 making the whitespace optional. Argument for "new" may be
1136 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1137 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1138 making the whitespace optional. Also replace "(void) with
1139 "((void|)), making the keyword "void" optional.
63f50499
MS
1140 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1141 making the whitespace optional. Also replace "(void) with
1142 "((void|)), making the keyword "void" optional.
3bf40917
MS
1143 * gdb.base/callfuncs.c (t_float_values): This function must
1144 _not_ be prototyped, and the following function (t_float_values2)
1145 must be prototyped (if the compiler supports it), so that GDB
1146 can be tested against both cases. Usually one case involves
1147 promotion of float to double, while the other does not.
1148 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1149 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1150 includes a stack frame for "start".
1151
c8ab4e6d
JB
11522001-11-05 Jim Blandy <jimb@redhat.com>
1153
1154 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1155 pointers are 32 bits long, and that offsets of relocs are always
1156 stored in the data (REL-style), and not in the reloc entry itself
1157 (RELA-style).
1158 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1159 stabs.
1160
3f08ced9
MS
11612001-11-01 Michael Snyder <msnyder@redhat.com>
1162
1163 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1164 and regular expression operators by using quoting.
1165
cbfa24cd
MS
11662001-10-31 Michael Snyder <msnyder@redhat.com>
1167
1168 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1169 depending on what the symbol table contains.
1170 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1171 the output of the ptype command. Similarly, accept both "const &"
1172 and "const&".
1173
aaa68313
CV
11742001-10-31 Corinna Vinschen <vinschen@redhat.com>
1175
1176 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1177 symbol `STORAGE' to allow to choose the storage class of
1178 the local datastructures.
1179 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1180 compiler directive.
1181
91740388
MS
11822001-10-30 Michael Snyder <msnyder@redhat.com>
1183
1184 * gdb.base/jump.exp: Allow it to run for all targets.
1185
1b7c05e7
CV
11862001-10-29 Corinna Vinschen <vinschen@redhat.com>
1187
1188 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1189 with new double_array size.
1190 (main): Change storage class of all local variables to static.
1191 Reduce size of double_array to 9.
1192 * gdb.base/call-ar-st.exp: Increase timeout value.
1193 Change expected output for double array to match new size in
1194 call-ar-st.c.
1195
36a22261
CV
11962001-10-29 Corinna Vinschen <vinschen@redhat.com>
1197
1198 * gdb.base/ending-run.exp: Create identical output when passing
1199 `step to end of run' case. Add regular expression branch satisfying
1200 Stormy16 target.
1201
92b8ae91
MK
12022001-10-28 Mark Kettenis <kettenis@gnu.org>
1203
1204 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1205 that we catch the expected failure under Linux/x86.
1206
cb135b83
OF
12072001-10-29 Orjan Friberg <orjanf@axis.com>
1208
1209 * gdb.base/setvar.exp: Escape curly braces.
1210 * gdb.stabs/weird.exp: Ditto.
1211
6884aa54
DJ
12122001-10-27 Daniel Jacobowitz <drow@mvista.com>
1213
1214 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1215 * gdm.mi/mi0-hack-cli.exp: Likewise.
1216
0398c9aa
AC
12172001-10-25 Andrew Cagney <ac131313@redhat.com>
1218
1219 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1220 messages.
1221
d20bf2e8
AC
12222001-10-21 Andrew Cagney <ac131313@redhat.com>
1223
1224 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1225 checking MI enabled.
1226
03dd63aa
CV
12272001-10-09 Corinna Vinschen <vinschen@redhat.com>
1228
1229 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1230
1d9d99f3
FCE
12312001-10-04 Frank Ch. Eigler <fche@redhat.com>
1232
1233 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1234 if gdb child process crashes, just signal an error.
1235
838ae6c4
JB
12362001-10-02 Jim Blandy <jimb@redhat.com>
1237
1238 * lib/gdb.exp (test_xfail_format): Simplify.
1239
1240 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1241 front of the variable name `format'. Simplify `if'.
1242
8f0cbc1c
DJ
12432001-10-01 Daniel Jacobowitz <drow@mvista.com>
1244
1245 * gdb.threads/pthreads.exp: Wait for output and delay
1246 before sending ^C.
1247
1f08dafd
DJ
12482001-10-01 Daniel Jacobowitz <drow@mvista.com>
1249
1250 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1251 some incorrect output instead of timing out.
1252 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1253
674f90ff
CV
12542001-09-28 Corinna Vinschen <vinschen@redhat.com>
1255
1256 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1257 check to allow additional `int'.
1258
9b284272
DJ
12592001-09-27 Daniel Jacobowitz <drow@mvista.com>
1260
1261 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1262 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1263
b55a4771
MS
12642001-09-27 Michael Snyder <msnyder@redhat.com>
1265
1266 * lib/gdb.exp (test_debug_format): New proc.
1267 (setup_xfail_format): Use new proc test_debug_format.
1268 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1269 proc; use new service proc test_debug_format.
1270 Replace all other "gcc_compiled" tests with this test.
1271 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1272 proc; use new service proc test_debug_format.
1273 Replace all other "gcc_compiled" tests with this test.
1274
12752001-09-27 Michael Snyder <msnyder@redhat.com>
1276
1277 * gdb.base/cvexpr.exp: New file.
1278 * gdb.base/cvexpr.c: New file
1279 Test for expressions using const and volatile keywords.
1280
4e6667ac
CV
12812001-09-26 Corinna Vinschen <vinschen@redhat.com>
1282
1283 * gdb.base/constvars.exp: Check for different orders of keywords
1284 and additional "int" strings in output.
1285
4f337972
AC
12862001-09-22 Andrew Cagney <ac131313@redhat.com>
1287
1288 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1289 responses from "help maint".
1290
2015650d
FCE
12912001-09-19 Frank Ch. Eigler <fche@redhat.com>
1292
1293 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1294 to localhost:NNN instead of :NNN, in case Xvfb is listening
1295 only on TCP.
1296
f3bcedc1
CV
12972001-09-19 Corinna Vinschen <vinschen@redhat.com>
1298
1299 * gdb.base/recurse.exp: When checking leaving the watchpoint
1300 scope, recognize when gdb is in function's epilogue and pass.
1301
6b819c92
KS
13022001-09-18 Keith Seitz <keiths@redhat.com>
1303
1304 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1305 support for running tests against sid targets.
1306 (gdbtk_done): Ditto.
1307
a10c9419
CV
13082001-09-18 Corinna Vinschen <vinschen@redhat.com>
1309
1310 * gdb.base/ending-run.c (main): Set stdout buffersize
1311 to the same reasonable value for any target.
1312 * gdb.base/ending-run.exp: Add a regular expression
1313 to make testsuite happy on Sanyo Stormy16 target.
1314
739d0d99
CV
13152001-09-17 Corinna Vinschen <vinschen@redhat.com>
1316
1317 * gdb.base/display.c (do_loops): Add float variable `f'.
1318 Increment f in loop.
1319 * gdb.base/display.exp: Increment timeout by 60 seconds.
1320 Change float display test to use variable `f'.
1321
1b8947f0
JB
13222001-09-17 Jim Blandy <jimb@redhat.com>
1323
1324 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1325 overflowing the limited breakpoint tables on some ROM monitors
1326 (like the ROM68K).
1327
9890ac81
FCE
13282001-09-15 Frank Ch. Eigler <fche@redhat.com>
1329
1330 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1331 the "-ac" (disable access control) flag.
1332
6db765ea
JH
13332001-08-30 Jeff Holcomb <jeffh@redhat.com>
1334
1335 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1336 ints.
1337
4c32cc04
KS
13382001-08-30 Keith Seitz <keiths@redhat.com>
1339
1340 * lib/gdb.exp: Move all insight-related functionality into
1341 separate file.
1342 * lib/insight-support.exp: New file.
1343
8d6e6f81
FCE
13442001-08-29 Frank Ch. Eigler <fche@redhat.com>
1345
1346 * config/sid.exp (sid_start): Never set sid verbosity; disable
1347 expect_background {} that consumed its stdout; tolerate </dev/null.
1348 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1349
6a90e1d0
AC
13502001-08-18 Andrew Cagney <ac131313@redhat.com>
1351
1352 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1353 CLI jump command to start it.
1354 (mi_run_to_main): Fail immediatly when unexpected output.
1355
1759b3c3
AC
13562001-08-18 Andrew Cagney <ac131313@redhat.com>
1357
1358 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1359 beginning of function. Fix PR gdb/191.
1360
61d11d80
FCE
13612001-08-16 Frank Ch. Eigler <fche@redhat.com>
1362
1363 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1364 what to force sid endianness to.
1365
942a4df2
KS
13662001-08-15 Keith Seitz <keiths@redhat.com>
1367
1368 * lib/gdb.exp (gdbtk_start): Don't set environment
1369 variables for TCL_LIBRARY and friends. Insight will
1370 now figure these out for itself.
1371
0521c418
MS
13722001-08-02 Michael Snyder <msnyder@redhat.com>
1373
1374 * gdb.base/completion.exp: Remove the symbol "a64l" from
1375 the expect string; this is target-specific, and not related
1376 to what is being tested.
1377
74a9a58a
DB
13782001-08-02 Dave Brolley <brolley@redhat.com>
1379
1380 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1381
c70819fa
MS
13822001-07-25 Michael Snyder <msnyder@redhat.com>
1383
c2b8fa57
MS
1384 * gdb.base/consecutive.exp: New file. Test stepping over
1385 breakpoints on consecutive instructions.
1386 * gdb.base/consecutive.c: New file.
1387
c70819fa
MS
1388 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1389 curly braces in regular expressions.
1390
2b1a1355
MS
13912001-07-25 Michael Snyder <msnyder@redhat.com>
1392
1393 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1394 legitimate output from stepping out of main.
1395
413eca6f
KS
13962001-07-22 Keith Seitz <keiths@redhat.com>
1397
1398 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1399 the empty string, do not run the tests.
1400
7e5a9322
SC
14012001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1402
1403 * gdb.base/long_long.exp: Detect size of pointer. Take into
1404 account 2-byte pointers when testing for p/a results.
1405
de58f10f
SC
14062001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1407
1408 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1409 and defined to 1K for m68hc11.
1410 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1411 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1412 (sizeof_random_data): New variable to tell the size of the data table;
1413 don't test past this size; always run to main.
1414
d6f5fea1
SC
14152001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1416
1417 * gdb.base/return2.exp: return of long long and double fails for
1418 68HC11; don't execute these tests on that platform.
1419 * gdb.base/return.exp: Return of a double fails for 68hc11.
1420
c477543d
SC
14212001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1422
1423 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1424 tests that print a float.
1425 * call-rt-st.exp: Likewise.
1426
63cf1c79
MK
14272001-07-12 Mark Kettenis <kettenis@gnu.org>
1428
1429 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1430 running this test on Linux.
1431
112f9ab5
MC
14322001-06-24 Michael Chastain <chastain@redhat.com>
1433
1434 * gdb.base/arithmet.exp: Remove some tests to make all test names
1435 unique.
1436
4970cb0f
MS
14372001-07-03 Michael Snyder <msnyder@redhat.com>
1438
1439 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1440 the output of the ptype command.
1441
d85da69f
MS
14422001-07-02 Michael Snyder <msnyder@redhat.com>
1443
4c8a82de
MS
1444 * gdb.base/completion.exp: Don't assume that break.c is the only
1445 source file that may contain functions named "marker".
d85da69f
MS
1446 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1447
8afc772b
AC
14482001-06-28 Andrew Cagney <ac131313@redhat.com>
1449
1450 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1451 of files to delete.
1452
1453 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1454 * gdb.disasm/h8300s.exp: New file.
1455 gdb.disasm/h8300s.s: Likewise.
1456
cff22675
AC
14572001-06-27 Andrew Cagney <ac131313@redhat.com>
1458
1459 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1460 empty breakpoint tables.
1461
68c81b54
AC
14622001-06-25 Andrew Cagney <ac131313@redhat.com>
1463
1464 * lib/mi-support.exp: Update args=... part of stop-reason
1465 patterns. Accept either a list or a tuple.
1466
2dd62704
AC
14672001-06-23 Andrew Cagney <ac131313@redhat.com>
1468
1469 * lib/mi-support.exp: Remove local emacs variable defining
1470 change-log-default-name.
1471
b4127474
MC
14722001-06-22 Michael Chastain <chastain@redhat.com>
1473
1474 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1475 This is operationally compatible with the previous version.
1476
8dbfb380
JB
14772001-06-13 Jim Blandy <jimb@redhat.com>
1478
1479 * lib/gdb.exp (gdb_test): Doc fix.
1480
f2d8c86d
MC
14812001-06-10 Michael Chastain <chastain@redhat.com>
1482
1483 * gdb.base/exprs.exp: Remove a duplicate test.
1484
81564d34
JB
14852001-06-06 Jim Blandy <jimb@redhat.com>
1486
1487 * gdb.base/return2.exp (main): Use values to test float and double
1488 returns that are not NaN's, to avoid being confused by IEEE
1489 comparison rules.
1490
da55addb
MS
14912001-06-04 Michael Snyder <msnyder@redhat.com>
1492
1493 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1494 non-zero if control_c fails. Terminate the test on failure,
1495 rather than wait for 12 more tests to time out.
1496
42c65987
JB
14972001-06-06 Jim Blandy <jimb@redhat.com>
1498
b18bced9
JB
1499 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1500 Don't forget to match the GDB prompt.
1501
42c65987
JB
1502 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1503
5b41e5f0
JB
15042001-06-04 Jim Blandy <jimb@redhat.com>
1505
1506 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1507 command.
1508
015e046f
KB
15092001-05-31 Kevin Buettner <kevinb@redhat.com>
1510
1511 * gdb.base/annota1.exp (info break): Match four or more spaces
1512 after "Address".
1513
fb1ffbbe
MC
15142001-05-31 Michael Chastain <chastain@redhat.com>
1515
1516 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1517 (dm_type_int_star): Likewise.
1518 (dm_type_long_star): Likewise.
1519 (dm_type_void_star): Likewise.
1520
5ea2a32c
KB
15212001-05-29 Kevin Buettner <kevinb@redhat.com>
1522
1523 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1524 to a known value in order to get consistent results regardless
1525 of the setting of INPUTRC or the presence or contents of .inputrc.
1526
ae23c492
MS
15272001-05-24 Michael Snyder <msnyder@redhat.com>
1528
ac55707e
MS
1529 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1530 Don't require that the main thread and the manager thread are the
1531 first in the list.
1532
ae23c492
MS
1533 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1534 debugging. If test fails, issue an "unsupported" not a "fail".
1535
400071f1
JB
15362001-05-24 Jim Blandy <jimb@redhat.com>
1537
1538 Don't assume that short is shorter than int.
1539 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1540 assume that shorts are smaller than ints. On a 16-bit machine,
1541 this isn't true.
1542 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1543 an int, is not equal to ~0 stored in an unsigned char. This tests
1544 the same thing that the previous test meant to, but works on
1545 16-bit machines, too.
1546 ("print unsigned char != (~0)"): Same test, complemented.
1547
0816a3e5
MS
15482001-05-24 Michael Snyder <msnyder@redhat.com>
1549
1550 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1551 test for (full_coverage == 0). This makes the test run faster,
1552 and prevents dejagnu getting out of step.
1553
f6dc23a9
KB
15542001-05-23 Kevin Buettner <kevinb@redhat.com>
1555
1556 * gdb.base/finish.exp (finish_void): Revise pattern for
1557 stopping on the call statement to not permit stopping at
1558 the start of the instructions comprising the call sequence.
1559
7dbd117d
MC
15602001-05-19 Michael Chastain <chastain@redhat.com>
1561
1562 * gdb.base/callfuncs.exp: Make all test names unique.
1563 * gdb.base/commands.exp: Make all test names unique.
1564 * gdb.base/condbreak.exp: Make all test names unique.
1565 * gdb.base/dbx.exp: Make all test names unique.
1566 * gdb.base/default.exp: Make all test names unique.
1567 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1568 and TIMEOUT messages to their corresponding PASS message.
1569 * gdb.base/ending-run.exp: Make all test names unique.
1570 * gdb.base/long_long.exp: Remove duplicate test.
1571
6b0b0a9e
KB
15722001-05-21 Kevin Buettner <kevinb@redhat.com>
1573
1574 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1575 stop on the call statement as well as the statement after the
1576 call.
1577
2caa35cb
MS
15782001-05-21 Michael Snyder <msnyder@redhat.com>
1579
1580 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1581
40713331
EZ
15822001-05-10 Elena Zannoni <ezannoni@redhat.com>
1583
1584 * gdb.base/completion.exp: Revamp test. Make it execute on all
1585 platforms.
1586
c2c1be8d
EZ
15872001-05-10 Elena Zannoni <ezannoni@redhat.com>
1588
2c9cd303
EZ
1589 * config/gdbserver.exp (gdb_load): Handle the case
1590 in which the arguments to gdbserver are given in the
1591 baseboard configuration file.
1592 Also handle the case in which the server needs to do a
1593 load.
1594
9671de48
KS
15952001-05-07 Keith Seitz <keiths@cygnus.com>
1596
1597 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1598 set up the display for testing.
1599 (gdbtk_start): Convert all paths to paths that tcl will like.
1600 Export target information to environment.
1601 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1602 necessary.
1603 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1604 (to_tcl_path): New proc to convert a given pathname into
1605 a path acceptible as an argument to a tcl command.
1606 (_gdbtk_export_target_info): New proc to export target info
1607 into the environment for gdbtk testing.
1608 (gdbtk_done): New proc to signal end-of-test.
1609
5a360f47
JB
16102001-05-06 Jim Blandy <jimb@redhat.com>
1611
1612 * restore.c: Make the code of caller0 correspond to its comment.
1613
66c756c6
MS
16142001-05-03 Michael Snyder <msnyder@redhat.com>
1615
1616 * config/sid.exp (gdb_target_sid): Check for error messages.
1617 On error or timeout, don't make expect exit (which will terminate
1618 all subsequent tests); instead just make gdb exit.
1619 (gdb_load): Check for error messages. On error or timeout,
1620 return a negative value.
1621
a966fde5
JB
16222001-04-24 Jim Blandy <jimb@redhat.com>
1623
851c18e0
JB
1624 * gdb.c++/templates.exp: If we see the prompt for the overload
1625 list, but we haven't recognized any of the longer patterns,
1626 arrange for this test to fail, not hang.
1627
a966fde5
JB
1628 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1629 variations.
1630
db144853
MC
16312001-04-22 Michael Chastain <chastain@redhat.com>
1632
1633 * gdb.c++/local.exp: Use the 'runto' library function.
1634 * gdb.c++/namespace.exp: Likewise.
1635 * gdb.c++/overload.exp: Likewise.
1636
3207ec21
KB
16372001-03-26 Kevin Buettner <kevinb@redhat.com>
1638
1639 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1640 * gdb.base/step-line.exp: New file. Test step/next in presence of
1641 #line directives.
1642 * gdb.base/step-line.c: New file. Test program for the above.
1643 * gdb.base/step-line.inp: New file. We pretend that this file has
1644 been transformed by some other tool into step-line.c.
1645
13b57657
JB
16462001-03-21 Jim Blandy <jimb@redhat.com>
1647
1648 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1649 unmangled operator names.
1650
754cbe1c
JB
16512001-03-20 Jim Blandy <jimb@redhat.com>
1652
1653 * gdb.threads/linux-dp.exp: Recognize an additional message
1654 generated by GDB when it doesn't understand how to debug threads
1655 on the target system.
1656
177495c9
AC
16572001-03-19 Andrew Cagney <ac131313@redhat.com>
1658
1659 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1660
f266096b
MC
16612001-03-12 Michael Chastain <chastain@redhat.com>
1662
1663 * gdb.c++/derivation.exp: Use the 'runto' library function.
1664
cac3c2ff
MC
16652001-03-12 Michael Chastain <chastain@redhat.com>
1666
1667 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1668
b6c11a24
MC
16692001-02-24 Michael Chastain <chastain@redhat.com>
1670
1671 * gdb.c++/ref-types.exp: Change handwritten code to library
1672 function 'runto'.
1673
6bae5bce
OF
16742001-03-16 Orjan Friberg <orjanf@axis.com>
1675
1676 * gdb.base/signals.exp: Set count to 0 explicitly.
1677
0015fd9a
MS
16782001-03-15 Mark Salter <msalter@redhat.com>
1679
1680 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1681 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
1682 (gdb_load): Add support for additional target_info: gdb_download_size
1683 and gdb_load_timeout.
0015fd9a 1684
fc33412a
DT
1685Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1686
1687 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1688 file -- to prevent failing when the compile fails but we have no
1689 intention of running the tests anyway.
1690
1691 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1692 tests if set.
1693
1694 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1695 integers.
1696
1697 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1698 * gdb.c++/namespace.exp: Ditto.
1699
115f06de
OF
17002001-03-07 Orjan Friberg <orjanf@axis.com>
1701
1702 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
1703 * gdb.base/pointers.exp: Relax pattern match of decimals.
1704
b6ba6518
KB
17052001-03-06 Kevin Buettner <kevinb@redhat.com>
1706
1707 * Makefile.in, config/abug.exp, config/cfdbug.exp,
1708 config/cpu32bug.exp, config/dve.exp, config/est.exp,
1709 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
1710 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
1711 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
1712 config/sh.exp, config/sid.exp, config/slite.exp,
1713 config/sparclet.exp, config/udi.exp, config/unknown.exp,
1714 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
1715 config/vxworks.exp, config/vxworks29k.exp,
1716 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
1717 gdb.base/all-bin.exp, gdb.base/annota1.exp,
1718 gdb.base/arithmet.exp, gdb.base/assign.exp,
1719 gdb.base/async.exp, gdb.base/attach.exp,
1720 gdb.base/bitfields.exp, gdb.base/bitops.exp,
1721 gdb.base/break.exp, gdb.base/call-ar-st.exp,
1722 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
1723 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
1724 gdb.base/commands.exp, gdb.base/completion.exp,
1725 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
1726 gdb.base/constvars.exp, gdb.base/corefile.exp,
1727 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1728 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
1729 gdb.base/ending-run.exp, gdb.base/environ.exp,
1730 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
1731 gdb.base/finish.exp, gdb.base/foll-exec.exp,
1732 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
1733 gdb.base/funcargs.exp, gdb.base/help.exp,
1734 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
1735 gdb.base/logical.exp, gdb.base/long_long.exp,
1736 gdb.base/maint.exp, gdb.base/mips_pro.exp,
1737 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
1738 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
1739 gdb.base/pointers.exp, gdb.base/printcmds.exp,
1740 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
1741 gdb.base/regs.exp, gdb.base/relational.exp,
1742 gdb.base/remote.exp, gdb.base/reread.exp,
1743 gdb.base/restore.exp, gdb.base/return2.exp,
1744 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
1745 gdb.base/selftest.exp, gdb.base/setshow.exp,
1746 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1747 gdb.base/sigall.exp, gdb.base/signals.exp,
1748 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
1749 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
1750 gdb.base/step-test.exp, gdb.base/structs.c,
1751 gdb.base/structs.exp, gdb.base/structs2.exp,
1752 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
1753 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
1754 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
1755 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1756 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
1757 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
1758 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
1759 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
1760 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
1761 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
1762 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
1763 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
1764 gdb.fortran/types.exp, gdb.java/jmisc.exp,
1765 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
1766 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
1767 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1768 gdb.trace/circ.exp, gdb.trace/collection.exp,
1769 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1770 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1771 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
1772 gdb.trace/report.exp, gdb.trace/save-trace.exp,
1773 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1774 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
1775 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
1776 notices.
1777
dc96c6c7 17782001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
1779
1780 * gdb.base/varargs.c (find_max_double): Fix printf format string:
1781 first arg is int not float.
1782
dc96c6c7 17832001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
1784
1785 * gdb.base/reread.exp: Unsupported for non-native targets;
1786 doesn't work for remote debugging.
1787
9b0c4aeb
FN
17882001-02-19 Fernando Nasser <fnasser@redhat.com>
1789
1790 From Drew Moseley <dmoseley@redhat.com>
1791 * gdb.base/ending-run.exp: Properly handle the BSP state when
1792 stepping past the end of main.
1793
02aa71d5
MC
17942001-02-19 John Moore <jmoore@redhat.com>
1795
1796 * gdb.base/commands.exp (infrun_breakpoint_command_test):
1797 Converted HPUX fix for non-expected items following multiple
1798 step commands into general solution for all platforms.
1799
1fa449a4
MC
18002001-02-18 Michael Chastain <chastain@redhat.com>
1801
1802 * gdb.c++/classes.exp (do_tests): Change runto statements
1803 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1804 statements demangler agnostic.
1805 * gdb.c++/virtfunc.exp (do_tests): Likewise.
1806 (gdb_virtfunc_restart): Likewise.
1807
b2f9ec70
MC
18082001-02-14 Michael Chastain <chastain@redhat.com>
1809
1810 * gdb.c++/inherit.exp (do_tests): Change runto statements
1811 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1812 statements demangler agnostic.
1813
cf74b8ca
AC
1814Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
1815
1816 * gdb.threads/pthreads.exp: Unify pass/fail messages for
1817 ``continue to bkpt at common_routine in thread 2'' and ``stopped
1818 before calling common_routine 15 times'' tests.
1819
99f78f56
MC
18202001-02-11 Michael Chastain <chastain@redhat.com>
1821
1822 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
1823 Helps the test script figure out which demangler is in use.
1824 (dm_type_foo_ref): Ditto.
1825 (dm_type_int_star): Ditto.
1826 (dm_type_long_star): Ditto.
1827 (dm_type_unsigned_int): Ditto.
1828 (dm_type_void): Ditto.
1829 (dm_type_void_star): Ditto.
99707966 1830 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
1831 Probe the gdb demangler and set variables to accommodate
1832 formatting differences.
1833 (info_func_regexp): New function. Same as info_func, but
1834 matches against a regexp.
1835 (info_func): Match against a literal string.
1836 (print_addr_2): New function. Match against a literal string,
1837 which can be different from the input to gdb.
1838 (print_addr): Simply call print_addr_2 with the same argument twice.
1839 (test_lookup_operator_functions): Use demangler formatting variables.
1840 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
1841 the tests in the same order as the C++ class declaration.
1842 (test_paddr_operator_functions): Ditto.
1843 (test_paddr_overloaded_functions): Ditto.
1844 (test_paddr_hairy_functions): Use demangler formatting variables.
1845 Add reference to gdb/19 for related tests.
1846 (do_tests): Call probe_demangler.
1847
1de8f023
KB
18482001-01-30 Kevin Buettner <kevinb@redhat.com>
1849
1850 * gdb.c++/templates.cc (printf): Remove unused function definition.
1851
ca3f91ed
MS
18522001-01-26 Felix Lee <flee@redhat.com>
1853
1854 * sid.exp (sid_exit): Pass host, not target, to remote_close.
1855
18562001-01-25 matthew green <mrg@redhat.com>
1857
1858 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
1859 up sid.
1860 (sid_exit): Call `remote_pop_conn' after GDB is gone.
1861
18622001-01-25 matthew green <mrg@redhat.com>
1863
1864 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
1865 Deprecate $sid_spawn_id.
1866 (sid_exit): Remove code necessary only for `spawn.'
1867
18682001-01-25 matthew green <mrg@redhat.com>
1869
1870 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
1871
fb18ec4a
MC
18722001-01-28 Michael Chastain <chastain@redhat.com>
1873
1874 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
1875 to call when tests fail. It takes gdb out of the overloaded
1876 function choice menu back to the main prompt, so that the test
1877 program stays synchronized.
1878 (set_bp_overloaded): New proc to collect all the common
1879 code for setting a breakpoint on an overloaded name. Calls
1880 take_gdb_out_of_choice_menu when needed.
1881 (menu_overload1arg): New variable to collect the repeated
1882 instances of the expected menu for an overloaded name. Change
1883 the regular expression to handle changes in g++ type encoding:
1884 "void" can be either "void" or "", and "unsigned int" can be
1885 either "unsigned int" or "unsigned".
1886 (continue_to_bp_overloaded): Change regular expressions to handle
1887 changes in g++ type encoding.
1888 (no proc): Call take_gdb_out_of_choice_menu when needed.
1889 Remove redundant calls to "info break". Accept either "canceled"
1890 or "cancelled". Change regular expressions in "info break"
1891 calls to handle changes in g++ type encoding. Give all tests
1892 unique strings.
1893
9c646a6e
BE
18942001-01-17 Ben Elliston <bje@redhat.com>
1895
1896 * config/sid.exp: New file.
1897
9549d9c1
AC
1898Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
1899
1900 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
1901
dc96c6c7 19022000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
1903
1904 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
1905 Add a RE to accept a non-ascii char if one is ever presented.
1906
b4df4f68
FN
19072000-12-20 Fernando Nasser <fnasser@redhat.com>
1908
297dd0fd 1909 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 1910
dc96c6c7 19112000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
1912
1913 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
1914 in regexp. One '\' does not suffice on Linux.
1915
4a7bddb6
MC
19162000-12-09 Michael Chastain <chastain@redhat.com>
1917
1918 * gdb.base/break.exp (test_clear_command): Use a marker function
1919 rather than 'main' for the test function. Also move this
1920 test to an execution point where the marker function names are
1921 guaranteed to be bound to functions. (Executing tests after a
1922 'finish' from main runs into name conflicts with local names
1923 in __libc_start_main).
1924
dc96c6c7 19252000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
1926
1927 * gdb.base/finish.exp: New test for gdb's "finish" command.
1928 * gdb.base/return2.exp: New test for gdb's "return" command.
1929 * gdb.base/return2.c: New source file for above.
1930
dc96c6c7 19312000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
1932
1933 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
1934 * gdb.base/miscexprs.exp: Ditto.
1935 * gdb.base/pointers.exp: Ditto.
1936 * gdb.c++/derivation.exp: Ditto.
1937 * gdb.c++/local.exp: Ditto.
1938 * gdb.c++/namespace.exp: Ditto.
1939 * gdb.c++/overload.exp: Ditto.
1940 * gdb.c++/ref-types.exp: Ditto.
1941
dc96c6c7 19422000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
1943
1944 * gdb.base/constvars.exp: Test result of "up" command.
1945 * gdb.base/miscexprs.exp: Ditto.
1946 * gdb.base/pointers.exp: Ditto.
1947 * gdb.base/scope.exp: Ditto.
1948 * gdb.c++/derivation.exp: Ditto.
1949 * gdb.c++/local.exp: Ditto.
1950 * gdb.c++/namespace.exp: Ditto.
1951 * gdb.c++/overload.exp: Ditto.
1952 * gdb.c++/ref-types.exp: Ditto.
1953
44097287
FN
19542000-11-22 Michael Chastain <chastain@redhat.com>
1955
1956 * mips_pro.exp: Accept either "middle -> top -> main" or
1957 "middle -> main" in the backtrace, because gcc can optimize
1958 tail calls to jumps. Remove setup_xfail for the hppa case.
1959 Add a comment with the original warning messages from PR 3016,
1960 which was filed in 1993, to preserve them for posterity.
1961
9d2e1bab
ND
19622000-11-17 Nick Duffek <nsd@redhat.com>
1963
1964 * lib/gdb.exp (gdb_test): Override timeout with board info.
1965
1aca8eb7
ND
19662000-11-17 Nick Duffek <nsd@redhat.com>
1967
1968 * gdb.base/display.exp: Don't kill running stub. Add "again" to
1969 the second kill and detach messages.
1970
93076499
ND
19712000-11-17 Nick Duffek <nsd@redhat.com>
1972
1973 * configure.in: Add AC_EXEEXT.
1974 * configure: Regenerate.
1975 * Makefile.in (just-check): Export EXEEXT.
1976 * lib/gdb.exp ($EXEEXT): Import from environment.
1977 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
1978 expect "maint dump-me" on Cygwin.
1979 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
1980 $EXEEXT.
1981
30e87cd3
ND
19822000-11-17 Nick Duffek <nsd@redhat.com>
1983
1984 * gdb.base/break.exp: Test backtrace and finish from called
1985 function on all platforms, not just HP-UX.
1986
dc96c6c7 19872000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
1988
1989 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
1990 code from gdb_target_monitor, so it can be used independantly
1991 for gdbserver. Also comment out an unnecessary PUTS.
1992
dc96c6c7 19932000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
1994
1995 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
1996 * gdb.base/corefile.exp: Expect the message "Program is being
1997 debugged already" when we send the "corefile" command, since
1998 the preceeding gdb_load may have connected gdb to a remote target.
1999 * gdb.base/display.exp: Disable hardware watchpoints if new
2000 board info variable "no_hardware_watchpoints" is true.
2001 Replace single-letter commands with more readable ones.
2002 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2003 if new board info variable "no_hardware_watchpoints" is true.
2004 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2005 to see if stdio (printf) testing is possible.
2006 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2007 board info variable "no_hardware_watchpoints" is true. Use new
2008 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2009
39124dea
FN
20102000-11-13 Fernando Nasser <fnasser@redhat.com>
2011
2012 From Orjan Friberg <orjanf@axis.com>:
2013 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2014 in array print pattern match.
2015
a9e2e984
FN
20162000-11-09 Fernando Nasser <fnasser@redhat.com>
2017
2018 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2019 spelling "cancelled" to U.S. spelling "canceled" to match changes
2020 made to gdb.
2021 * gdb.c++/ovldbreak.exp: Ditto.
2022
c7db355b
PS
20232000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2024
2025 * gdb.base/callfuncs.c (main): Moved to end of file, call
2026 t_double_values to initialize the FPU before inferior calls are made.
2027 * gdb.base/callfuncs.exp: Test for register preservation after calling
2028 inferior functions. Add tests for continuining, finishing and
2029 returning from a stop in a call dummy.
2030
dc96c6c7 20312000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2032
2033 * gdb.base/commands.exp: Break up long lines, and re-indent.
2034
dc96c6c7 20352000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2036
2037 * config/gdbserver.exp: Rewritten from the ground up, to make it
2038 compatible with the current dejagnu tree, and to make it work with
2039 the new "gdbserver" in libremote.
2040
dc96c6c7 20412000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2042
2043 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2044 * gdb.base/varargs.exp: Skip entire test if no printf support.
2045 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2046 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2047
dc96c6c7 20482000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2049
2050 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2051 no floating point support.
2052 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2053 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2054 * gdb.base/call-rt-st.exp: Ditto.
2055 * gdb.base/call-strs.exp: Ditto.
2056
bac5fc66
JG
20572000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2058
2059 * gdb.base/sizeof.c: include <stdio.h>.
2060
2061 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2062 'finish', otherwise uncaptured gdb_prompt would potentially
2063 throw remaining test points out of sync.
2064
b22a6027
SB
20652000-07-26 Scott Bambrough <scottb@netwinder.org>
2066
2067 * gdb.base/recurse.exp: Run tests for all targets.
2068 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2069 gnu-oldld case on ARM.
2070 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2071 for ARM targets.
2072
d8231941
AG
2073Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2074
2075 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2076 * gdb.java/configure: Rebuild.
2077
8caabe69
AG
2078Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2079
2080 * gdb.java/jv-exp.exp: New file.
2081
9d273ca3
AG
2082Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2083
2084 * configure: Rebuilt.
2085 * configure.in (configdirs): Add gdb.java.
2086 * gdb.java/jmisc.java: New file.
2087 * gdb.java/jmisc.exp: New file.
2088 * gdb.java/Makefile.in: New file.
2089 * gdb.java/configure: Rebuilt.
2090 * gdb.java/configure.in: New file.
2091 * lib/java.exp: New file.
2092
4f823a66
AC
2093Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2094
2095 * gdb.base/exprs.exp: Test casts to a pointer including over and
2096 underflow.
2097
2391e11d
AC
2098Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2099
2100 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2101 and the compilers sizes.
2102
54602222
ND
21032000-07-09 Nick Duffek <nsd@redhat.com>
2104
2105 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2106 (use_methods): New function.
2107 (main): Call use_methods().
2108 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2109 (do_tests): Call test_method_param_class.
2110
2bec0572
ND
21112000-07-09 Nick Duffek <nsd@redhat.com>
2112
2113 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2114 spelling.
2115 (test_enums): New procedure. Move enum tests from end of script
2116 to here. Set breakpoint on function name instead of line number.
2117 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2118 (enums2): New marker function.
2119 (enums1): New function.
2120 (main): Call enums1(). Move enum tests to enums1().
2121
78492fde
AC
2122Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2123
2124 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2125 compile/link program. Update line numbers.
2126 * gdb.asm/d10v.inc: Define ``startup''.
2127 * gdb.asm/asmsrc1.s: Add definition of _start.
2128
49a2cef8
AC
2129Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2130
2131 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2132
3e6c8688
EZ
21332000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2134
2135 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2136 of 'help maint print' command.
2137
9ff5cbe9
AC
2138Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2139
2140 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2141 they use gdb_expect_list.
2142
17c579bd
AC
2143Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2144
2145 * gdb.base/commands.exp: Use ``set remote
2146 memory-read-packet-size'' instead of ``set endian big'' to test
2147 long commands.
2148
e6d71bf3
DB
21492000-06-03 Daniel Berlin <dan@cgsoftware.com>
2150
2151 * gdb.c++/templates.exp (do_tests): Make all of these work under
2152 g++, and stop skipping them.
2153
2154 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2155 work under g++.
2156
e5f9ba7b
MS
2157 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2158 initialization.
2159
dc96c6c7 21602000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2161
2162 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2163 the regular expression: accept an (almost) arbitrary sequence of
2164 "frames-invalid" and "breakpoints-invalid" messages both before
2165 and after the "starting" message.
2166
dc96c6c7 21672000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2168
2169 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2170
dc96c6c7 21712000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2172
2173 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2174 Relax the regular expression a little, make it pass on Solaris 8.
2175
8216cda9
KB
21762000-05-12 Kevin Buettner <kevinb@redhat.com>
2177
2178 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2179 a call, do not require that gdb stop on the line after the call.
2180 Instead, it is permissible for gdb to stop on the line of the
2181 call itself.
2182
1a570b2f
MS
21832000-05-12 Michael Snyder <msnyder@.cygnus.com>
2184
2185 * gdb.base/break.exp (bp on small function, optimized file):
2186 Add a second pass pattern. The behavior differs here between stabs
2187 and dwarf for one-line functions. Stabs preserves two line symbols
2188 (one before the prologue and one after) with the same line number,
2189 but dwarf regards these as duplicates and discards one of them.
2190 Therefore the address after the prologue (where the breakpoint is)
2191 has no exactly matching line symbol, and GDB reports the breakpoint
2192 as if it were in the middle of a line rather than at the beginning.
2193
dc96c6c7 21942000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2195
2196 * gdb.base/interrupt.exp: Make "pass" message say "send"
2197 rather than "send_gdb" (for consistancy).
2198
7d418785
AC
2199Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2200
2201 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2202 * gdb.c++/templates.cc: Properly check for GCC version number.
2203 * lib/compiler.cc: Likewise
2204
dc96c6c7 22052000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2206
2207 * gdb.base/break.exp: When compiled with -O2 optimization,
2208 gdb may not stop at the first line of main, due to code motion.
2209
dc96c6c7 22102000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2211
2212 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2213 This test depends on parsing the printf output from the target.
2214 Since the sparclet stub doesn't do stdio, this will never work.
2215 * gdb.base/call-rt-st.exp: ditto.
2216 * gdb.base/call-strs: ditto.
2217
dc96c6c7 22182000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2219
2220 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2221
2222 * gdb.base/ending-run.exp: After connecting to a remote target,
2223 but before running, the target will appear to be in a random
2224 location. Specify both a file and a line for breakpoints.
2225 Also, the function that calls main may be called 'init'
2226 rather than 'start'.
2227
a5a51225
EZ
22282000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2229
2230 * gdb.base/help.exp: Update output for add-symbol-file command.
2231
7930cc7c
FN
22322000-04-10 Fernando Nasser <fnasser@cygnus.com>
2233
2234 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2235 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2236
23e37ab1
C
22372000-04-07 J.T. Conklin <jtc@redback.com>
2238
e93c542c
C
2239 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2240
23e37ab1
C
2241 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2242
591b8fa3
PDM
2243Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2244
2245 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2246 values that can be represented exactly.
2247 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2248 above change, and to not check against the directory part of the source
2249 file name.
2250 (step into print_long_arg_list): Likewise.
2251 (print print_small_structs from print_long_arg_list): Likewise.
2252 (print print_long_arg_list): Likewise.
2253
7a495180
EZ
22542000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2255
30b53638 2256 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2257
beb998c6
AC
2258Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2259
2260 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2261
1c689132
DB
22622000-03-25 Daniel Berlin <dan@cgsoftware.com>
2263
2264 * gdb.base/commands.exp (deprecated_command_test): Add test for
2265 deprecate with no arguments.
2266
c1790a9d
JL
22672000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2268
2269 * gdb.base/break.exp: Add new test for setting breakpoints on
2270 optimized code so we can test breakpoints work even when function
2271 prologues may be optimized away
2272
003ba290
FN
22732000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2274
2275 From David Whedon <dwhedon@gordian.com>
2276 * gdb.base/commands.exp : Added command deprecator tests.
2277
6837a0a2
DB
22782000-03-22 Daniel Berlin <dan@cgsoftware.com>
2279
2280 * gdb.base/help.exp: Added test for new apropos command.
2281
b9593231
KB
22822000-03-21 Kevin Buettner <kevinb@redhat.com>
2283
2284 * gdb.base/pointers.c (usevar): New function.
2285 (main): Make sure that global variables v_int_pointer2, rptr,
2286 and y are all referenced someplace in the program by calling
2287 usevar() on them. [Some linkers delete symbols which are
2288 never referenced. The space remains, but there's no way to
2289 get a (symbolic) handle on the variable from the debugger.]
2290
751a959b
EZ
22912000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2292
2293 * gdb.base/printcmds.c: Add typedeffed arrays.
2294
2295 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2296 procedure to test arrays that are typedef'd.
2297
73a93a32
JI
22982000-03-13 James Ingham <jingham@leda.cygnus.com>
2299
2300 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 2301 the library directories.
73a93a32 2302
fb40c209
AC
2303Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2304
2305 * configure.in (configdirs): Add sub directory gdb.mi.
2306 * configure: Re-generate.
2307
2308 * gdb.mi: New directory.
beb998c6 2309
ee4dd2c9
AC
23102000-02-25 Scott Bambrough <scottb@netwinder.org>
2311
2312 * gdb.base/long_long.exp: Correct test suite failure when printing
2313 a long long value as a double on ARM platforms.
2314
70f0cc22
JB
23152000-02-16 Jim Blandy <jimb@redhat.com>
2316
2317 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2318 default source file is set properly before running this test.
2319
853819b8
EZ
23202000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2321
2322 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2323 gdbtk/library directory, not in gdbtcl2.
2324
dfcd3bfb
JM
23252000-02-04 Jim Blandy <jimb@redhat.com>
2326
2327 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2328 backslash from regexp pattern.
2329
2330 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2331 procedure. Use it to run all the "continue to bp overloaded"
2332 tests. Note that this changes the names of the tests slightly.
2333 If the breakpoint hit message includes a hex PC value, because
2334 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2335 from the real source code, still consider that a pass.
2336
2337 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2338 XFAIL here if the breakpoint message contains a hex address. Note
2339 similar change on 1999-11-02.
2340
2341 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2342
2343 * gdb.base/ptype.exp: Establish a default source file before
2344 calling get_debug_format.
2345
23462000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2347
2348 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2349
8b93c638
JM
23502000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2351
2352 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2353 of successive stepi commands -- while in the prologue we should see
2354 the function entry bracket.
2355
23562000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2357
2358 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2359 reach __change_mode() when stepping through the end of main().
2360
c5394b80
JM
23612000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2362
2363 * gdb.base/default.exp: Fix expected pattern.
2364 * gdb.base/help.exp: Same.
2365
0d06e24b
JM
23662000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2367
2368 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2369 Don't use xfail's because that affects only the following test.
beb998c6 2370
0d06e24b
JM
2371 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2372 solaris or linux.
2373
2374 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2375
dc96c6c7 23762000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2377
beb998c6 2378 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2379 "A syntax error" rather than "A parse error". Accept both.
2380
23812000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2382
2383 * gdb.base/default.exp: Remove OS dependent string from "target
2384 remote" test.
2385 * gdb.base/help.exp: Same for "help target remote" test.
2386
c3f6f71d
JM
23872000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2388
2389 From Jim Kingdon <kingdon@redhat.com>:
2390
2391 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2392 prompt (cleanup rather than necessity, but still might keep output
2393 from spilling to next test).
2394
23952000-01-02 Fred Fish <fnf@cygnus.com>
2396
2397 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2398 AIX, which defines them in <sys/types.h>.
2399
ed9a39eb 24001999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2401
ed9a39eb
JM
2402 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2403 float" test.
2404
24051999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2406
ed9a39eb 2407 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2408
2409 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2410 outermost frame disallowed".
2411
24121999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2413
2414 * gdb.base/setvar.exp: New tests for setting the value of a struct
2415 with a constant list.
2416
24171999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2418
2419 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2420 require the user to type a cast before setting the value of a struct.
2421
de57eccd
JM
24221999-12-06 Jim Blandy <jimb@cygnus.com>
2423
2424 * gdb.base/default.exp: Expect the new 'info float' command on
2425 all i386 platforms.
2426
2427 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2428 LinuxThreads libraries that don't support debugging.
2429
c2d11a7d
JM
2430Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2431
2432 * gdb.base/remote.c: Fill the buffer with truely random data.
2433 Change the buffer type to ``unsigned char'' to simplify size
2434 arithmetic.
2435
2436 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2437 stub only handles 400-1 byte packets. Verify that the download
2438 worked.
2439
24401999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2441
2442 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2443 tests, using UNRESOLVED for the untested cases. Also, does not wait
2444 for a timeout if the prompt was received before a recognizable pattern.
2445
24461999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2447
2448 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2449
24501999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2451
2452 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2453 watchpoints.
2454
24551999-11-24 Jason Merrill <jason@casey.cygnus.com>
2456
2457 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2458
2459 * gdb.c++/local.exp: Be more flexible in recognizing local class
2460 name mangling. Don't allow horribly truncated method names.
2461 * gdb.c++/derivation.exp: Expect protected inheritance.
2462 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2463 * gdb.c++/virtfunc.exp: Likewise.
2464 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2465 when printing a nested enum.
2466
24671999-11-22 Jim Blandy <jimb@cygnus.com>
2468
2469 * gdb.base/step-test.exp: Properly await GDB's response to setting
2470 a breakpoint on the call to large_struct_by_value.
2471
2472 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2473 just because we have debug info for the `start' function.
2474
24751999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2476
2477 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2478 "Unknown signal" messages, which indicate (on LinuxThreads) that
2479 GDB doesn't know how to debug threads on this system. This is
2480 better than hanging while philosopher 0 dumps chatter into gdb.log.
2481
24821999-11-18 Tom Tromey <tromey@cygnus.com>
2483
2484 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2485
24861999-11-18 Fred Fish <fnf@cygnus.com>
2487
2488 * gdb.base/coremaker2.c: Add sample program for generating
2489 cores that is more self contained than coremaker.c. Eventually
2490 I'll add more code to this and tie it into the testsuite.
2491
4ce44c66
JM
24921999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2493
2494 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2495
24961999-11-10 Jimmy Guo <guo@cup.hp.com>
2497
2498 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2499 from $srcdir/lib/.
2500 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2501 and gdb.c++/.
2502
2503 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2504
beb998c6 2505 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
2506 'continue with watch' test point.
2507
25081999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2509
2510 Merged from p2linux-990323-branch:
beb998c6 2511
4ce44c66
JM
2512 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2513
11cf8741
JM
2514Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2515
2516 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2517 {limit,fixed}''. Test ``set download-write-size''.
2518
2519Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2520
2521 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2522 gdb_expect_list.
2523
2524Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2525
2526 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2527
25281999-11-03 Mark Salter <msalter@cygnus.com>
2529
2530 * gdb.base/break.exp: Fix "stub continue" pattern.
2531
25321999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2533
2534 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2535
25361999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2537
2538 * gdb.base/display.exp ("finish"): Add timeout clause.
2539
2540 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2541 plain prompt clause, so this doesn't have to time out in order to
2542 fail.
2543
2544 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2545 breakpoint hit messages include an address.
2546
2547 * gdb.base/display.exp: Don't forget to escape parens in regular
2548 expressions. Unix regexp notatation sucks.
2549
25501999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2551
2552 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2553 order for 'signalled' message.
2554
5c44784c
JM
25551999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2556
2557 From Jimmy Guo <guo@cup.hp.com>:
2558 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2559 * gdb.base/annota1.c: Add code for tests to work with.
2560
25611999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2562
2563 * gdb.base/remote.exp: New test for remote downloading settings.
2564 * gdb.base/remote.c: New file with large .data.
2565
917317f4
JM
25661999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2567
2568 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2569 for LinuxThreads support, merged from the Code Fusion branch.
2570
2571Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2572
2573 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2574 containing exp_continue into a while within an expect. Don't
2575 attempt a start more than three times. Check return value from
2576 gdb_load.
beb998c6 2577
2df3850c
JM
2578Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2579
2580 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2581 a pass case.
2582
2acceee2
JM
25831999-10-01 Kevin Buettner <kevinb@cygnus.com>
2584
2585 * gdb.base/break.c (main): Added a statement that we can step
2586 off of.
2587 * gdb.base/break.exp: Added tests for setting a breakpoint
2588 at an offset and stepping onto a breakpoint.
2589
25901999-10-01 Fred Fish <fnf@cygnus.com>
2591
beb998c6 2592 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
2593 gdb output.
2594
c2c6d25f
JM
25951999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2596
2597 * gdb.base/break.exp: Code locations are in hex, don't forget!
2598 (For HP-UX.)
2599
26001999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2601
2602 * condbreak.exp: Use break.c as test program.
2603 * condbreak.c: Remove, redundant with break.c.
2604
26051999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2606
2607 * config/monitor.exp (gdb_target_monitor): Disable X- and
2608 Z-packets if the target needs it.
2609
26101999-09-13 James Ingham <jingham@leda.cygnus.com>
2611
2612 * gdb.c++/overload.exp: Added tests for listing overloaded
2613 functions with function pointers in the arg, explicitly calling
2614 out the version you want.
2615
cff3e48b
JM
26161999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2617
2618 * long_long.exp: Add variations of test cases that work for
2619 targets with 16-bit ints and 32-bit doubles.
2620
d4f3574e
SS
26211999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2622
2623 * break.c (main): Compare a possibly-uninitialized argc with an
2624 unlikely value that fits in 16 bits.
2625
26261999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2627
2628 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2629 0xfeeb, don't want negative numbers if ints are 16 bits.
2630
2631 * lib/gdb.exp (skip_cplus_tests): New proc.
2632 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2633 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2634 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2635 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2636 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2637 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2638 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2639 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2640
2641 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2642
2643Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2644
2645 * gdb.base/corefile.exp (up): Allow a parameter to appear
2646 in the frame that we're going up to.
2647
2648 From Jim Blandy <jimb@cygnus.com>:
2649
2650 * gdb.base/default.exp (info float): Expect some output now.
2651
2652 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2653 returning floating-point values to fail on the x86.
2654 * gdb.base/callfwmall.exp (do_function_calls): Same.
2655
2656 * gdb.base/list.exp (test_listsize): Correct expectations for
2657 listing line 1 with listsize 2. Also, listing a single line
2658 works now, as does listing three lines. [Kevin's note: There
2659 were a number of other cases fixed too where the expectations
2660 differed...]
2661
26621999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2663
2664 * gdb.base/selftest.exp: Add case for when version prints as
2665 constant string instead of char pointer.
2666
104c1213
JM
26671999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2668
2669 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2670 stepping out of main.
2671
2672 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2673 G++ used.
2674
2675 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2676 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2677
2678 * gdb.c++/ovldbreak.exp: Update match string in test that
2679 includes a warning of multiple breakpoints.
2680
26811999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2682
2683 * gdb.base/display.exp: Improve precision of step-after-finish
2684 added yesterday.
2685
2686 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2687 test.
2688
2689 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2690 configs when using G++, not just hppa*.
2691
26921999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2693
2694 * gdb.base/async.c: New file.
2695 * gdb.base/async.exp: New file.
2696
2697Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2698
2699 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2700 PA64.
2701
53a5351d
JM
2702Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
2703
104c1213
JM
2704 * gdb.base/display.exp: "finish" can leave us mid-line on many
2705 targets, deal with it. Add a small constant to main, instead of
2706 1000 since main+1000 may not be a valid address in the target.
2707
53a5351d
JM
2708 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
2709 on hpux11.
2710
2711 * gdb.base/attach.exp: Handle another hpux11 error message variant
2712 when attaching to a process that does not exist.
2713
27141999-08-19 J.T. Conklin <jtc@redback.com>
2715
2716 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
2717 characters in 'continue to 1241' test.
2718
27191999-08-17 Stan Shebs <shebs@andros.cygnus.com>
2720
2721 * gdb.base/call-ar-st.exp: Add a shorter match case for the
2722 stop in print_long_arg_list, define and use a whitespace
2723 variable in print_small_structs test, add an XFAIL for Solaris.
2724 * gdb.base/dbx.exp: XFAIL func commands until somebody is
2725 interested enough to fix.
2726
7be570e7
JM
27271999-08-13 Keith Seitz <keiths@cygnus.com>
2728
2729 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
2730 (dbx_gdb_load): Remove. Use gdb_load instead, since that
2731 proc knows about targets other than the natives.
2732 (test_assign): Use "gdb_run_cmd" to "run" the target.
2733 Check that we've actually hit the breakpoint at main.
2734 When we attempt to assign a value to a local variable, check
2735 that the variable is in the current scope, i.e., don't use
2736 a test with an empty result.
2737
2738Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2739
2740 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
2741 command.
2742
27431999-08-09 Stan Shebs <shebs@andros.cygnus.com>
2744
2745 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2746 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
2747 gdb.compat, gdb.threads-hp.
2748 gdb.hp/configure, gdb.hp/configure.in: New files.
2749 gdb.hp/Makefile.in: Recurse into new subdirs.
2750 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
2751 gdb.hp/gdb.objdbg: New directory, tests for debugging info
2752 in object files.
2753 gdb.hp/tools: New directory, aux tools for HP-specific tests.
2754
96baa820
JM
27551999-08-05 Stan Shebs <shebs@andros.cygnus.com>
2756
2757 * gdb.base/display.exp: Help expect by putting a newline in the
2758 funky printf, remove a bogus p/a test.
2759
27601999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2761
2762 * gdb.base/display.exp: Make sure that when we say 'run', we are
2763 connected to the target. This is necessary when running not
2764 natively.
2765
27661999-08-03 Stan Shebs <shebs@andros.cygnus.com>
2767
2768 * gdb.base/step-test.exp: Removed some extraneous messages.
2769
2770 * gdb.base/long_long.exp: Don't run memory examination tests
2771 on little-endian targets (they will need a different set of
2772 results to match).
2773
27741999-08-02 Stan Shebs <shebs@andros.cygnus.com>
2775
2776 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
2777 until somebody decides to fix GDB.
2778
2779 * gdb.base/long_long.c: Stop compiler complaint by specifying long
2780 constant as "ULL".
2781 * gdb.base/long_long.exp: Loosen x/c test, add partial result
2782 matches for a couple x/2 commands.
2783
a0b3c4fd
JM
27841999-07-30 Stan Shebs <shebs@andros.cygnus.com>
2785
2786 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
2787 by merging in ref-types2 tests.
2788 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
2789
2790 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2791 * gdb.c++/Makefile.in: Add standard actions.
2792 (EXECUTABLES): Rename from PROGS, update list.
2793 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
2794 from gdb.hp.
2795 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
2796 foo and bar locals.
2797 * gdb.c++/anon-union.exp: Fix tests to match.
2798 * gdb.c++/classes.exp: Run if HP compiler used, add extra
2799 expect matches to handle output variations.
2800 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
2801 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
2802 output, add HP alternatives for new and delete prints.
2803 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
2804 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
2805 * gdb.c++/demangle.exp: Use $style when reporting failure.
2806 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
2807 * gdb.c++/inherit.exp: Run if HP compiler used, add some
2808 match alternatives.
2809 * gdb.c++/local.exp: Add match alternatives or xfails for HP
2810 compilers.
2811 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
2812 * gdb.c++/method.exp: Add match alternatives.
2813 * gdb.c++/misc.cc: Add bool types.
2814 * gdb.c++/misc.exp: Add tests for bool types.
2815 * gdb.c++/overload.exp: Add xfails.
2816 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
2817 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
2818 add some more template parameter tests (only for HP currently).
2819 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
2820 * gdb.c++/virtfunc.cc: Add return type and value for main.
2821 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
2822 match alternatives.
beb998c6 2823
a0b3c4fd
JM
28241999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2825
2826 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
2827
28281999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
2829
2830 * gdb.base/signals.exp: Don't expect getting a backtrace from
2831 within a signal handler to fail on Linux.
2832
28331999-07-29 Stan Shebs <shebs@andros.cygnus.com>
2834
2835 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2836 * lib/gdb.exp: Remove some gratuitious semicolons.
2837 (delete_breakpoints): Increase timeout.
2838 (gdb_expect): Add -notransfer option.
2839 (gdb_test): Use -notransfer option.
2840 (get_compiler_info): Add f77 case.
2841 (get_compiler): New proc, split out from gdb_preprocess, add f77
2842 case.
2843 (gdb_preprocess): Call get_compiler.
2844
2845 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
2846 * gdb.base/attach.exp, gdb.base/display.exp,
2847 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
2848 gdb.base/long_long.exp, gdb.base/printcmds.exp,
2849 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
2850 third arg to gdb_test.
2851 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
2852 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
2853 HP-UX xfails, add others.
2854 * gdb.base/completion.exp: Reflect name change of self-test.
2855 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
2856 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
2857 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
2858 HP failure number.
2859 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
2860 useless HP-UX 10.30 references.
2861 * gdb.base/maint.exp: Loosen matches.
2862 * gdb.base/pointers.c (main): Declare more_code.
2863 * gdb.base/pointers.exp: Match on output of a `next'.
2864 * gdb.base/structs.c: Add prototypes.
2865 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
2866 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
2867
28681999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2869
2870 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
2871 command.
2872
28731999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2874
2875 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
2876 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
2877
2878 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
2879 debug info. Deal with lack of signal hanlder info in stack.
2880
2881 From Jim Kingdon <kingdon@redhat.com>:
2882 * gdb.base/annota1.exp: If printf has debug info, deal with it.
2883
5a2468f5
JM
28841999-07-19 Stan Shebs <shebs@andros.cygnus.com>
2885
2886 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
2887 gdb.base/foll-vfork.exp: Don't run for crosses.
2888
adf40b2e
JM
2889Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2890
2891 * gdb.base/configure.in: Check for gdbvars.exp instead of
2892 a1-selftest.exp.
2893 * gdb.base/configure: Re-generate.
2894
28951999-07-12 Stan Shebs <shebs@andros.cygnus.com>
2896
2897 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
2898 in trying to run first and name is too long.
2899
2900 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
2901 pointers2.c and pointers2.exp, respectively.
2902 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
2903 doschk happier.
2904
43e526b9
JM
29051999-07-08 Stan Shebs <shebs@andros.cygnus.com>
2906
2907 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
2908 callfuncs2.c and callfuncs2.exp.
2909
2910 * gdb.base/list.exp: Remove mistaken xfails.
2911 * gdb.base/list0.h: Add optional prototypes.
2912
9846de1b
JM
2913Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
2914
2915 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
2916 calling malloc.
2917 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
2918 * ptype.exp: Move test for get_debug_format to before its first
2919 use.
2920
29211999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2922
2923 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
2924 * gdb.base/annota2.cc, annota2.exp: Move from here.
2925 * gdb.c++/annota2.cc, annota2.exp: To here.
2926 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
2927
43ff13b4
JM
2928Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
2929
2930 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
2931 a consistent format.
2932
085dd6e6
JM
29331999-06-25 Stan Shebs <shebs@andros.cygnus.com>
2934
2935 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2936 * lib/gdb.exp (get_compiler_info): Add detection for assorted
2937 HP compilers, also set the globals $true and $false.
2938
2939 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
2940 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
2941 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
2942 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
2943 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
2944 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
2945 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
2946 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
2947 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
2948 whatis.c} Add C++ compatible function definitions and return
2949 types, add includes for library functions.
2950 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
2951 * gdb.base/step-test.c (myglob): Rename from glob.
2952 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
2953 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
2954 files, move here from gdb.hp.
2955 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
2956 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
2957 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
2958 Adjust line numbers in regexps.
2959
2960 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
2961 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
2962 instead of 0/1.
2963
2964 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
2965 foll-vfork.exp: New files, move here from gdb.hp.
2966 * gdb.base/page.exp: New file, test of pagination command.
2967
2968 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
2969 recursion test.
2970 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
2971
2972 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
2973 gdb.base/solib.exp: Fix compiler invocation process.
2974
2975 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
2976 HP-UX 11, turn off overload resolution explicitly.
2977 * gdb.base/commands.exp: Set argument list explicitly, add
2978 watchpoint test.
2979 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
2980 them work.
2981 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
2982 expressions properly.
2983 * gdb.base/corefile.exp: Loosen the match slightly.
2984 * gdb.base/default.exp: Allow "Error accessing memory" message
2985 also.
2986 * gdb.base/display.exp: Skip over x/0 j if PA64.
2987 * gdb.base/funcargs.exp: Add xfails for HP-UX.
2988 * gdb.base/interrupt.exp: Ditto.
2989 * gdb.base/langs.exp: Add symbolic matches governed by compiler
2990 in use.
2991 * gdb.base/list.exp: Add xfails for HP-UX.
2992 * gdb.base/long_long.exp: Refine some of the numeric matches.
2993 * gdb.base/mips_pro.exp: Xfail on HP-UX.
2994 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
2995 * gdb.base/nodebug.exp: Succeed on more varieties of output.
2996 * gdb.base/opaque.exp: Remove some HP-UX xfails.
2997 * gdb.base/ptype.exp: Succeed on more varieties of output.
2998 * gdb.base/scope.exp: Add xfails for HP-UX.
2999 * gdb.base/sect-cmd.exp: Add more cases.
3000 * gdb.base/setvar.exp: Add xfails for HP-UX.
3001 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3002 * gdb.base/signals.exp: Match on void symbolically.
3003 * gdb.base/step-test.exp: Add case for PA64.
3004 * gdb.base/term.exp: Add exit and restart.
3005 * gdb.base/twice.exp: Clean up after self.
3006 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3007 * gdb.base/whatis.exp: Allow more ways to pass tests.
3008
3009 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3010 no longer useful.
3011
3012Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3013
3014 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3015 list of patterns.
3016 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3017 print_double_array(double_array)", "continuing to breakpoint
3018 1018", "print print_double_array(array_d)" and "continuing to
3019 1034" tests.
beb998c6 3020
085dd6e6
JM
30211999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3022
3023 * Makefile.in: Add empty html and install-html targets.
3024
30251999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3026
3027 * config/mt-*: Remove, these haven't been used since 1996.
3028
30291999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3030
3031 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3032 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3033 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3034
9e0b60a8
JM
30351999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3036
3037 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3038 simpler match case for the ptype of the big class.
3039
30401999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3041
3042 * gdb.exp: Fix test for gdb_prompt existence.
3043
30441999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3045
3046 * gdb.exp (gdb_test): Add fail after calls to perror.
3047
30481999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3049
3050 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3051
30521999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3053
3054 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3055
0f71a2f6
JM
3056Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3057
3058 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3059 malloc() is linked in.
3060
30611999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3062
3063 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3064 step at end.
3065
3066 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3067
30681999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3069
3070 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3071
cce74817
JM
3072Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3073
3074 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3075 * gdb.base/mips_pro.exp: Likewise.
3076
30771999-06-02 Keith Seitz <keiths@cygnus.com>
3078
3079 * gdb.c++/templates.cc: Change all "new" operators to throw
3080 an exception.
3081 * gdb.c++/cplusfuncs.cc: Likewise.
3082
3083 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3084
3085Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3086
3087 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3088 * gdb.base/ending-run.exp: When stepping out of main, accept a
3089 step into an arbitrary assembler file.
3090
392a587b
JM
30911999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3092
beb998c6 3093 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3094 "breakpoint-invalid" to be printed.
beb998c6 3095 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3096 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3097 * gdb.base/annota2.cc: Initialize a.x to 0.
3098
9e086581
JM
30991999-05-17 Keith Seitz <keiths@cygnus.com>
3100
3101 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3102 when "skip_float_tests" set.
3103 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3104 "print print_ten_doubles", and "step into print_long_arg_list".
3105 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3106 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3107 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3108 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3109 "skip_float_tests" is set.
3110 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3111 when "skip_float_tests" set.
beb998c6 3112
cd0fc7c3
SS
31131999-05-06 Keith Seitz <keiths@cygnus.com>
3114
3115 * gdb.base/annota2.cc: Include stdio.h.
3116
3117Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3118
3119 * gdb.base/crossload.exp: Remove, this has been disabled ever
3120 since BFD stopped including all targets, and cross-GDB gets
3121 plenty of testing anyway.
3122 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3123 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3124 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3125 * gdb.base/README: Remove, was doc for this.
3126 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3127 needed.
3128
b83266a0
SS
31291999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3130
3131 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3132 output.
3133
3134 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3135 * gdb.base/annota2.exp: New file. More annotation tests.
3136 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3137 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3138
31391999-04-23 Angela Marie Thomas <angela@cygnus.com>
3140
3141 * config/cfdbug.exp: New file.
3142
7a292a7a
SS
31431999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3144
3145 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3146 Marcus Daniel's and Dale Hawkins's demangler crashes.
3147
3148 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3149 test_lucid_style_demangling, test_arm_style_demangling,
3150 test_hp_style_demangling): Try Tom Tromey's core-dumping
3151 identifier under each demangling style.
3152
31531999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3154
3155 * gdb.c++/demangle.exp: Include the current demangling style
3156 in all test names.
3157 (current_demangling_style): New global variable.
3158 (set_demangling_style, test_demangling_core, test_demangling,
3159 test_demangling_exact): New functions.
3160 (test_gnu_style_demangling, test_lucid_style_demangling,
3161 test_arm_style_demangling, test_hp_style_demangling): Use those,
3162 instead of calling gdb_test and gdb_test_exact directly.
3163 (catch_demangling_errors): New function, which reports errors
3164 signalled by the demangling test functions in an orderly way.
3165 (do_tests): Use catch_demangling_errors.
3166
31671999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3168
3169 * gdb.base/signals.exp (test_handle_all_print): Use () for
3170 grouping in expressions, not {}.
3171
3172 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3173 initialized yet.
3174
31751999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3176
3177 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3178 are listed.
3179
31801999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3181
3182 * gdb.stabs/weird.exp: Test for CC being defined before
3183 looking at its value.
3184
31851999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3186
3187 * gdb.base/call-ar-st.exp: Remove stray '#'.
3188 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3189 "short int" and "long int".
3190 * gdb.c++/overload.cc: Cast the string added in the previous
3191 change, to mollify finicky HP compiler.
3192 * gdb.hp/reg-test.exp (testfile): Fix file name.
3193 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3194
7a292a7a
SS
3195 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3196 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3197 alternate form of enum ptype.
3198
c906108c
SS
31991999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3200
7a292a7a
SS
3201 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3202 * gdb.hp/*.exp: Change all to run compiler probe only after
3203 passing skip_hp_tests, so as not to waste time on guaranteed
3204 failure.
3205
c906108c
SS
3206 * gdb.c++/overload.cc: Pass string instead of char addr, always
3207 init ccpfoo.
3208 * gdb.c++/templates.cc: Fix syntax error.
3209
7a292a7a
SS
3210Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3211
3212 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3213 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3214 command.
3215
32161999-03-18 James Ingham <jingham@cygnus.com>
3217
3218 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3219
3220 * gdb.c++/method.exp: It was testing an uninitialized int on the
3221 stack and assuming it was positive.
3222
3223 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3224
3225 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3226 keep it from killing the rest of the tests.
7a292a7a
SS
3227 Use gdb_continue_to_end.
3228
3229 * gdb.base/sigall.exp: use gdb_continue_to_end.
3230
3231 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3232
3233 * gdb.base/display.exp: use runto_main, not run.
3234
beb998c6
AC
3235 * gdb.base/default.exp: Check for the current error message in the
3236 r abbreviation test.
7a292a7a
SS
3237 Add strongarm to the targets that know info float.
3238
beb998c6 3239 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3240 run which doesn't work with monitors.
3241
3242 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3243
3244 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3245
3246 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3247 program. Traps the case (in Cygmon) when the program never really
3248 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3249 more places, so I used my name. Sorry Mark...
3250
3251 * config/monitor.exp (gdb_target_monitor): added another
3252 target_info parameter: remotebinarydownload. This will set the
3253 remotebinarydownload flag if this is causing some boards trouble.
3254
32551999-03-18 Mark Salter <msalter@cygnus.com>
3256
3257 * lib/gdb.exp (continue_to_exit): New function.
3258
3259 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3260 * gdb.base/ending-run.exp: Ditto.
3261 * gdb.base/step-test.exp: Ditto.
3262
32631999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3264
3265 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3266 (suggested by Art Haas <ahaas@neosoft.com>).
3267
32681999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3269
3270 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3271
3272Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3273
3274 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3275 descriptions of types (short unsigned int vs unsigned short, etc).
3276
32771999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3278
3279 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3280 a call to strlen; sometimes we do have sources.
3281
32821999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3283
3284 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3285 character, so GDB won't print garbage after its end.
beb998c6 3286
c906108c
SS
3287 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3288 breakpoint there instead. Sometimes GCC emits memcpy to handle
3289 the large structures being passed by value, so we step into that
3290 instead of sum_array_print, which obscures what we're really testing.
3291 * gdb.base/step-test.exp: However, we do want a test that notices
3292 the bizarre steps into memcpy, so do that here. Add check for
3293 stepping into function calls that pass large structures by value.
3294 ("Is that a noun clause, or are you just happy to see me?")
3295 Remove all references to specific line numbers.
3296 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3297 New type and function.
3298 (main): Call large_struct_by_value, passing it a large struct by value.
3299 * lib/gdb.exp (gdb_get_line_number): New function.
3300
3301 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3302 more portable.
3303
7a292a7a
SS
33041999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3305
c906108c
SS
3306 * lib/gdb.exp: Doc fixes.
3307
7a292a7a
SS
33081999-03-05 Nick Clifton <nickc@cygnus.com>
3309
beb998c6 3310 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3311
33121999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3313
c906108c
SS
3314 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3315 commands. They're not germane to this test, and they don't work
3316 that way on remote targets.
3317
3fc11d3e
JM
33181999-03-01 James Ingham <jingham@cygnus.com>
3319
3320 * Changelog entries merged over from gdb development branch.
3321
3fc11d3e
JM
3322 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3323
3324 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3325 for outputting results of test run.
3326
2d4a1622 3327 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
3328
3329 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 3330
7a292a7a
SS
33311999-02-25 Felix Lee <flee@cygnus.com>
3332
3333 * lib/gdb.exp (debug_format): initialize
3334
c906108c
SS
33351999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3336
3337 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3338 * gdb.base/call-rt-st.c: Ditto.
3339
c906108c
SS
33401999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3341
3342 * gdb.threads/pthreads.exp (horiz): New variable.
3343 (test_startup): Fix regexps that capture thread numbers.
3344
33451999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3346
3347 * gdb.base/smoke.exp: Disambiguate two test case names (both
3348 called ``print'').
3349
3350Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3351
3352 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3353 compilation.
3354
33551999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3356
3357 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3358 actual output formatting.
3359 * gdb.base/smoke.exp: GDB removes leading 0's.
3360 * gdb.base/volatile.exp: Don't check type of remuneration;
3361 that variable is no longer defined in constvars.c.
3362 * gdb.base/step-test.c (main): Exit with explicit exit code.
3363 * gdb.base/step-test.exp: Remove two nexti checks--they are
3364 not portable.
3365
33661999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3367
3368 * gdb.base/help.exp ("help delete display"): Fix test to match
3369 gdb's output.
3370
3371 * gdb.base/long_long.c (known_types): Initialize values to zero.
3372 * gdb.base/long_long.exp: Step one more line
3373 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3374 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3375 unique test case names.
3376
3377Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3378
beb998c6 3379 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3380
3381 * gdb.c++/method.exp: Add missing close brace.
3382
33831999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3384
3385 * gdb.base/maint.exp: Use 'set height 0' to disable page
3386 prompting, not 'set height 400'.
3387
3388 Fix a bunch of timeouts.
3389 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3390 four separate tests, so expect doesn't take forever to match a ton
3391 of text against a regexp with lots of .* forms.
3392 ("maint print psymbols", "maint print symbols"): Make some of
3393 these greps more selective, so that expect doesn't try to wade
3394 through huge piles of output and time out.
3395
3396 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3397
3398 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3399 tests: one which doesn't expect shlib events to be reported, and
3400 another which does, but is XFAIL for all platforms other than
3401 HP/UX.
3402
3403 * gdb.base/break.exp: Teach the test suite that the `catch
3404 fork', `catch vfork', and `catch exec' commands produce error
3405 messages on platforms that don't provide these features.
3406
3407Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3408
3409 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3410 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3411 (shortening names from solib_threshold.exp etc), won't run on
3412 anything but HP-UX for the foreseeable future.
3413 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3414 reflect move.
3415
3416Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3417
3418 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3419 gdb.trace/Makefile.in (clean): Remove all test executables.
3420
3421Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3422
3423 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3424 successfully re-sets breakpoints in shared libraries.
3425 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3426
3427Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3428
beb998c6
AC
3429 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3430 and compiled w/o GCC.
c906108c
SS
3431
3432 * gdb.hp/watch-cmd.exp: ditto.
3433
3434 * gdb.hp/watch-hp.exp: ditto.
3435
3436 * gdb.hp/xdb1.exp: ditto.
3437
3438 * gdb.hp/xdb2.exp: ditto.
3439
3440 * gdb.hp/dbx.exp: ditto.
3441
3442Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3443
3444 * constvars.c: Remove C++-isms.
3445 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3446 with GCC.
3447
3448Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3449
3450 The following changes are part of the HP merge.
3451
3452 * gdb.base/break.exp: new tests to verify that catchpoints for
3453 fork, vfork, and exec don't trigger inappropriately.
3454
3455 * gdb.base/opaque.exp: compile one file at a time, then link.
3456
3457 * gdb.base/signals.exp: be more restrictive about which hppa
3458 systems receive a setup_xfail. new tests.
3459
3460 * gdb.base/solib_threshold.build: new file.
3461 * gdb.base/solib_threshold.exp: new file.
3462 * gdb.base/solib_threshold.link_opts: new file.
3463 * gdb.base/solib_threshold.mk: new file.
3464 * gdb.base/gen_solib_threshold.c: new file.
3465
3466 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3467 tests. New tests for enums inside classes.
3468
3469 * gdb.c++/compiler.cc: indicate support of template debugging.
3470
3471 * gdb.c++/demangle.exp: run hp style demangling tests.
3472
3473 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3474 tests.
3475
3476 * gdb.c++/misc.cc: changes to support new tests.
3477
3478 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3479 to support new tests.
3480
3481 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3482 gcc, then skip these tests.
3483
3484Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3485
3486 The following files are part of the HP merge; some had longer
3487 names at HP, but have been renamed to be no more than 14
3488 characters in length.
3489
3490 * gdb.hp/ambiguous.cc: new file.
3491 * gdb.hp/ambiguous.exp: new file.
3492 * gdb.hp/attach.exp: new file.
3493 * gdb.hp/attach2.exp: new file.
3494 * gdb.hp/classes-hp.exp: new file.
3495 * gdb.hp/ctti.exp: new file.
3496 * gdb.hp/ctti-add.cc: new file.
3497 * gdb.hp/ctti-add1.cc: new file.
3498 * gdb.hp/ctti-add2.cc: new file.
3499 * gdb.hp/ctti-add3.cc: new file.
3500 * gdb.hp/dbx.exp: new file.
3501 * gdb.hp/exception.cc: new file.
3502 * gdb.hp/exception.exp: new file.
3503 * gdb.hp/foll-exec.c: new file.
3504 * gdb.hp/foll-exec.exp: new file.
3505 * gdb.hp/foll-fork.c: new file.
3506 * gdb.hp/foll-fork.exp: new file.
3507 * gdb.hp/foll-vfork.c: new file.
3508 * gdb.hp/foll-vfork.exp: new file.
3509 * gdb.hp/inherit-hp.exp: new file.
3510 * gdb.hp/more-steps.exp: new file.
3511 * gdb.hp/namespace.cc: new file.
3512 * gdb.hp/namespace.exp: new file.
3513 * gdb.hp/optimize.exp: new file.
3514 * gdb.hp/pxdb.c: new file.
3515 * gdb.hp/pxdb.exp: new file.
3516 * gdb.hp/quicksort.exp: new file.
3517 * gdb.hp/reg-test.exp: new file.
3518 * gdb.hp/reg-test.s: new file.
3519 * gdb.hp/sized-enum.c: new file.
3520 * gdb.hp/sized-enum.exp: new file.
3521 * gdb.hp/start-stop.exp: new file.
3522 * gdb.hp/templ-hp.cc: new file.
3523 * gdb.hp/templ-hp.exp: new file.
3524 * gdb.hp/thr-lib.c: new file.
3525 * gdb.hp/thr-lib.exp: new file.
3526 * gdb.hp/thr-lib.h: new file.
3527 * gdb.hp/thr-liblib.c: new file.
3528 * gdb.hp/virtfun-hp.c: new file.
3529 * gdb.hp/virtfun-hp.exp: new file.
3530 * gdb.hp/watch-cmd.exp: new file.
3531 * gdb.hp/watch-hp.exp: new file.
3532 * gdb.hp/xdb1.exp: new file.
3533 * gdb.hp/xdb2.exp: new file.
3534 * gdb.hp/xdb3.exp: new file.
3535
3536Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3537
3538 The following files are part of the HP merge; some had longer
3539 names at HP, but have been renamed to be no more than 14
3540 characters in length.
3541
3542 * gdb.base/ss.h: new file.
3543 * gdb.base/call-ar-st.c: new file.
3544 * gdb.base/call-ar-st.exp: new file.
3545 * gdb.base/call-rt-st.c: new file.
3546 * gdb.base/call-rt-st-exp: new file.
3547 * gdb.base/call-strs.exp: new file.
3548 * gdb.base/ena-dis-br.exp: new file.
3549 * gdb.base/environ.exp: new file.
3550 * gdb.base/long_long.exp: new file.
3551 * gdb.base/sect-cmd.exp: new file.
3552 * gdb.base/shlib-cl2.exp: new file.
3553 * gdb.base/smoke.exp: new file.
3554 * gdb.base/so-impl-ld.c: new file.
3555 * gdb.base/so-impl-ld.exp: new file.
3556 * gdb.base/so-indr-cl.c: new file.
3557 * gdb.base/so-indr-cl.exp: new file.
3558 * gdb.base/varargs.exp: new file.
3559 * gdb.base/volatile.exp: new file.
3560 * gdb.base/whatis-exp.exp: new file.
7a292a7a 3561 * gdb.base/display.exp: new file.
c906108c
SS
3562 * gdb.c++/derivation.exp: new file.
3563 * gdb.c++/local.exp: new file.
3564 * gdb.c++/member-ptr.exp: new file.
3565 * gdb.c++/overload.exp: new file.
3566 * gdb.c++/ovldbreak.exp: new file.
3567 * gdb.c++/ref-types.exp: new file.
3568 * gdb.c++/ref-types2.exp: new file.
3569 * gdb.c++/userdef.exp: new file.
beb998c6 3570
c906108c
SS
3571Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3572
3573 * gdb.base/default.exp: Reflect wording change in remote.c.
3574
dc96c6c7 3575Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3576
3577 * gdb.base/help.exp: Update to reflect current text.
3578
3579Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3580
3581 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3582 they're stack variables and contain garbage.
3583 * gdb.c++/anon-union.exp: new file.
3584
3585 The following changes were made by David Taylor
3586 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3587 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3588 in changes by HP.
3589
3590 * gdb.base/bitops.exp: new file.
3591 * gdb.base/default.exp: change expected messages for catch and
3592 info catch tests to reflect HP merge changes.
3593 * gdb.base/enable-disable-break.exp
3594 * gdb.base/ending-run.c: new file.
3595 * gdb.base/long_long.c: new file.
3596 * gdb.base/maint.exp: new file.
3597 * gdb.base/pointers2.exp: new file.
3598 * gdb.base/shlib-call2.exp: new file.
3599 * gdb.base/solib.exp: new file.
3600 * gdb.base/step-test.c: new file.
3601 * gdb.c++/anon-union.cc: new file.
3602 * gdb.c++/local.cc: new file.
3603 * gdb.c++/member-pointer.cc: new file.
3604 * gdb.c++/method.cc: new file.
3605 * gdb.c++/ref-types.cc: new file.
3606 * gdb.c++/ref-types2.cc: new file.
3607 * gdb.c++/userdef.cc: new file.
beb998c6 3608
c906108c
SS
3609 * gdb.base/scope.exp: compile one file at a time, then link.
3610 * gdb.base/langs.exp: ditto.
3611 * gdb.base/list.exp: ditto.
beb998c6 3612
c906108c
SS
3613Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3614
3615 The following changes were made by David Taylor
3616 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3617 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3618 in changes by HP.
beb998c6 3619
c906108c
SS
3620 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3621 skip tests. When compiling pass c++ flag to gdb_compile.
3622 * gdb.c++/
beb998c6 3623
c906108c
SS
3624 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3625 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3626 (skip_hp_tests): new function.
3627 (gdb_preprocess): new function.
3628
3629 * configure.in (hpdir): decide whether to configure gdb.hp.
3630 * configure: regenerated.
3631
3632 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3633 to delete on clean.
3634 (EXECUTABLES): update to reflect new additions.
3635 * gdb.base/commands.exp: update message expected.
3636 * gdb.base/default.exp: add copyright notice.
3637 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3638 * gdb.base/help.exp: update messages to reflect current text.
3639 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3640 targets for recurse tests.
3641 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3642 skip this file.
3643
3644 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3645 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3646 compilation.
3647 * gdb.c++/misc.exp: ditto.
3648 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3649 run the tests. tell gdb_compile that it's a c++ compilation.
3650
3651 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 3652
c906108c
SS
3653 * gdb.base/all-bin.exp: new file.
3654 * gdb.base/arithmet.exp: new file.
3655 * gdb.base/assign.exp: new file.
3656 * gdb.base/completion.exp: new file.
3657 * gdb.base/cond-expr.exp: new file.
3658 * gdb.base/condbreak.exp: new file.
3659 * gdb.base/define.exp: new file.
3660 * gdb.base/dollar.exp: new file.
3661 * gdb.base/environment.exp: new file.
3662 * gdb.base/eval-skip.exp: new file.
3663 * gdb.base/jump.exp: new file.
3664 * gdb.base/logical.exp: new file.
3665 * gdb.base/pointers.exp: new file.
3666 * gdb.base/relational.exp: new file.
3667 * gdb.base/section_command.exp: new file.
3668 * gdb.base/whatis-expr.exp: new file.
3669
3670 * gdb.base/all-types.c: new file.
3671 * gdb.base/call-array-struct.c: new file.
3672 * gdb.base/call-return-struct.c: new file.
3673 * gdb.base/call-strings.c: new file.
3674 * gdb.base/callfuncs2.c: new file.
3675 * gdb.base/condbreak.c: new file.
3676 * gdb.base/constvars.c: new file.
3677 * gdb.base/display.c: new file.
3678 * gdb.base/int-type.c: new file.
3679 * gdb.base/jump.c: new file.
3680 * gdb.base/miscexprs.c: new file.
3681 * gdb.base/pointers.c: new file.
3682 * gdb.base/pointers2.c: new file.
3683 * gdb.base/shmain.c: new file.
3684 * gdb.base/shr1.c: new file.
3685 * gdb.base/shr2.c: new file.
3686 * gdb.base/solib.c: new file.
3687 * gdb.base/solib1.c: new file.
3688 * gdb.base/solib2.c: new file.
3689 * gdb.base/varargs.c: new file.
3690 * gdb.c++/derivation.cc: new file.
3691 * gdb.c++/overload.cc: new file.
3692 * gdb.c++/ovldbreak.cc: new file.
3693 * gdb.hp/attach.c: new file.
3694 * gdb.hp/attach2.c: new file.
3695 * gdb.hp/average.c: new file.
3696 * gdb.hp/compiler.c: new file.
3697 * gdb.hp/compiler.cc: new file.
3698 * gdb.hp/execd-program.c: new file.
3699 * gdb.hp/follow-exec.c: new file.
3700 * gdb.hp/follow-fork.c: new file.
3701 * gdb.hp/follow-vfork-and-exec.c: new file.
3702 * gdb.hp/misc-hp.cc: new file.
3703 * gdb.hp/more-steps.c: new file.
3704 * gdb.hp/optimize.c: new file.
3705 * gdb.hp/quicksort.c: new file.
3706 * gdb.hp/run-hp.c: new file.
3707 * gdb.hp/start-stop.c: new file.
3708 * gdb.hp/sum.c: new file.
3709 * gdb.hp/templates-hp.cc: new file.
3710 * gdb.hp/thread-local-in-lib.c: new file.
3711 * gdb.hp/thread-local-in-lib.h: new file.
3712 * gdb.hp/thread-local-in-lib.lib.c: new file.
3713 * gdb.hp/vforked-program.c: new file.
3714 * gdb.hp/virtfunc-hp.cc: new file.
3715 * gdb.hp/watchpoint-hp.c: new file.
3716 * gdb.hp/xdb.c: new file.
3717 * gdb.hp/xdb0.c: new file.
3718 * gdb.hp/xdb0.h: new file.
3719 * gdb.hp/xdb1.c: new file.
3720
3721Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
3722
3723 The following change was made by Edith Epstein
3724 <eepstein@cygnus.com> as part of a project to merge in changes
3725 originally made by HP; HP did not create ChangeLog entries.
3726
3727 * gdb.c++/demangle.exp: changed the expected output for some
3728 ARM-style mangling -- removed second reference to datatype.
3729 For example, maint demangle __dt__11T1__pt__2_cFv
3730 T1<char>::~T1<char>(void)
3731 becomes,
3732 maint demangle __dt__11T1__pt__2_cFv
3733 T1<char>::~T1(void)
3734
3735 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 3736
c906108c
SS
3737Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
3738
3739 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
3740 * gdb.trace/backtrace.exp: Likewise.
3741 * gdb.trace/circ.exp: Likewise.
3742 * gdb.trace/collection.exp: Likewise.
3743 * gdb.trace/deltrace.exp: Likewise.
3744 * gdb.trace/infotrace.exp: Likewise.
3745 * gdb.trace/limits.exp: Likewise.
3746 * gdb.trace/packetlen.exp: Likewise.
3747 * gdb.trace/passc-dyn.exp: Likewise.
3748 * gdb.trace/passcount.exp: Likewise.
3749 * gdb.trace/report.exp: Likewise.
3750 * gdb.trace/save-trace.exp: Likewise.
3751 * gdb.trace/tfind.exp: Likewise.
3752 * gdb.trace/tracecmd.exp: Likewise.
3753 * gdb.trace/while-dyn.exp: Likewise.
3754 * gdb.trace/while-stepping.exp: Likewise.
3755
37561998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3757
3758 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
3759
3760Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
3761
3762 From Brendan Kehoe:
3763 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
3764 int return types.
3765
3766Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
3767
3768 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
3769 remote dos host testing right.
3770
3771Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
3772
3773 * gdb.base/corefile.exp: remove some xfails.
3774
3775Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
3776
3777 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
3778 have different timestamps.
3779
3780Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
3781
3782 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
3783 gdb.base/default.exp: Replace "exec" with "executable".
3784
3785Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
3786
3787 * gdb.base/default.exp: Change else if to elseif from previous
3788 delta.
3789
3790Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
3791
3792 * gdb.base/default.exp: Add brace missing from previous delta.
3793
3794Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
3795
3796 * gdb.base/default.exp: Support test for info float for all
3797 varieties of arm toolchain.
3798
dc96c6c7 3799Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3800
3801 * gdb.trace/*.exp: remove "remote_download" command.
3802
dc96c6c7 3803Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3804
3805 * gdb.trace/*.exp: remove -gdwarf from compile.
3806
3807Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
3808
3809 * gdb.trace/configure.in(AC_INIT): typo
3810 * gdb.trace/configure: regenerated
3811
dc96c6c7 3812Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3813
3814 * config/m68k-emc.exp: New file.
3815 * lib/<emc-support.exp trace-support.exp}: New files.
3816 * configure.in: add new test directory gdb.trace.
3817 * gdb.trace/{configure configure.in Makefile.in}: New files.
3818 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
3819 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
3820 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
3821 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
3822 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
3823 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
3824 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 3825
dc96c6c7 3826Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3827
3828 * gdb.c++/classes.exp: Change all regular expressions to match
3829 arbitrary combinations of newline/carriage-return, so that they
3830 will work equally well on Unix and Windows.
3831 * gdb.c++/inherit.exp: ditto.
3832 * gdb.c++/virtfunc.exp: ditto.
3833
38341998-08-11 Dawn Perchik <dawn@cygnus.com>
3835
3836 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
3837
c2d11a7d
JM
3838Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
3839
3840 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
3841 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
3842 to use a0-a3/d0-d3 as needed.
3843
3844Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
3845
3846 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
3847 * gdb.disasm/am33.exp: Corresponding changes.
3848
c906108c
SS
38491998-07-11 Felix Lee <flee@cygnus.com>
3850
3851 * gdb.base/callfuncs.exp: add cmp10 test.
3852 * gdb.base/callfuncs.c (cmp10): new function.
3853
3854Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
3855
beb998c6 3856 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
3857 into two parts to get around a synchronization problem in expect.
3858
3fc11d3e
JM
3859Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
3860
3861 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
3862
3863 * configure.in: Add options for gdbtk testsuite.
3864
3865 * configure: Regenerate.
3866
3867 * gdb.gdbtk: New directory to hold gdbtk tests.
3868
c906108c
SS
3869Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3870
3871 * gdb.fortran/types.exp: Escape brackets in expect patterns
3872 for test_float_literal_types_accepted tests.
3873 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
3874 before run test.
3875
c2d11a7d
JM
3876Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
3877
3878 * am33.exp: Just compile, do not link the testcase.
3879 * am33.s: Add ".am33" pseudoop to force am33 mode.
3880
c906108c
SS
38811998-06-25 Felix Lee <flee@cygnus.com>
3882
3883 * gdb.base/setshow.exp: make sure $pc is sane.
3884
3885 * gdb.stabs/weird.exp: split expect patterns properly.
3886
c2d11a7d
JM
3887Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
3888
3889 * gdb.disasm/am33.s: New disassembler testfile for the am33.
3890 * gdb.disasm/am33.exp: Run it.
3891
dc96c6c7 3892Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3893
3894 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
3895 match processing (and eliminate spurious timeouts when running).
3896
dc96c6c7 3897Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3898
3899 * gdb.base/signals.exp (test_handle_all_print): put back Mach
3900 exception test, but conditionalize it on target [mach | gnu].
3901
dc96c6c7 3902Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3903
3904 * gdb.base/overlays.exp: fixup compile line for linker script.
3905
3906Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
3907
3908 * gdb.fortran/types.exp: don't guess at float size.
3909
3910Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
3911
3912 * gdb.base/exprs.exp: delete test that depends on int size.
3913
3914Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
3915
3916 * config/sim.exp: Removed checks for target triplets.
3917 (gdb_target_sim): Use gdb,target_sim_options.
3918
3919Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
3920
3921 * gdb.base/reread.exp: New file.
3922 * gdb.base/reread1.c: New file.
3923 * gdb.base/reread2.c: New file.
3924
3925Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
3926
3927 * config/sim.exp: Use 'target sim -sparclite' when running
3928 SPARClite programs.
3929
3930Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
3931
3932 * gdb.base/structs2.exp: New file.
3933 * gdb.base/structs2.c: New file.
3934
3935Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
3936
3937 * gdb.asm/common.inc: New file.
3938 * gdb.asm/d10v.inc: New file.
3939 * asm-source.exp: Pass -I's to gas to find .inc files.
3940 Update line numbers in expected output.
3941 * asmsrc1.s: Rewrite.
3942 * asmsrc2.s: Rewrite.
3943 * configure.in: Create arch.inc symlink.
3944 * configure: Regenerate.
3945 * Makefile.in (distclean): Delete arch.inc.
3946
3947Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
3948
3949 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
3950 (t_enum_value2): ditto
3951 (t_enum_value3): ditto
3952 (main): ditto
3953Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3954
3955 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
3956 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
3957 change.
3958 Use gdb_test instead of send_gdb/gdb_expect sequences.
3959
3960Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
3961
3962 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
3963 not void.
3964
3965Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
3966
3967 * gdb.base/branches.c: Code with lots of loops and
3968 subroutines. Used to test gdbs ability to single step through PC
3969 changes, especially to test mips-tdep.c:mips_next_pc
3970
3971Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
3972
3973 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
3974 more rigorous EGCS C++ error checking.
3975
3976Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3977
3978 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 3979 tests.
c906108c 3980 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 3981 function when asleep.
c906108c 3982 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
3983 for i*86 Linux and SVR4 signal handling problems.
3984 Remove linux xfail for `next to handler in signals_tests_1', fixed
3985 by recent infrun.c change.
c906108c 3986 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 3987 stack backtraces.
c906108c
SS
3988 Adjust expect pattern in `handle all print' test to match Apr 28 1997
3989 target.[ch] change.
3990
3991Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
3992
3993 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
3994 for a newline from gdb before continuing.
3995 (default_gdb_exit): Just look for y or n.
3996 (gdb_test): Detect abnormal exit from GDB running on DOS; if
3997 it does, fail the rests of the tests in the file.
3998
3999Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4000
4001 * config/cygmon.exp: New file.
4002
4003Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4004
4005 * gdb.base/list.exp: Fix problem with "list default lines around
4006 main" test on remote targets.
4007
4008 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4009 run test on remote targets.
4010
4011Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4012
4013 * gdb.asm: New directory.
4014 * configure.in: Configure it.
4015 * configure: Regenerate.
4016 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4017 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4018
4019Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4020
4021 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4022
dc96c6c7 4023Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4024
c906108c
SS
4025 * gdb.base/overlays (several files): Merge the two overlay
4026 managers into one. Change variables (foox, barx, bazx, grbxx)
4027 back into ints but force them to load in their proper sections.
4028
4029Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4030
4031 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4032 on-chip insn memory and IMAP1 to upper 128k.
4033 (D10VCopy): Handle memory regions crossing 16k boundaries.
4034 (D10VCopy): Transfer data in 32 bit chunks.
4035
4036Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4037
4038 * gdb.base/overlays.c (main): Exit normally when result is
4039 correct.
4040
4041 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4042 map. Include space for printf in .text segment.
4043
4044 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4045 updated d10v memory VMA/LMA map.
4046 (D10VCopy): Call D10VTranslate.
beb998c6 4047
c906108c
SS
4048Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4049
4050 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4051
4052 * gdb.base/bar.c (barx, bar): Change variable to small array so
4053 that it won't be put into the .sdata - small data -
4054 section. Update reference.
4055 * gdb.base/baz.c (bazx, baz): Ditto.
4056 * gdb.base/foo.c (foox, foo): Ditto.
4057 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4058
4059 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4060 to be arrays.
beb998c6 4061
dc96c6c7 4062Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4063
c906108c
SS
4064 * gdb.base/overlays.exp: fix up and get working again.
4065 Add tests for backtraces from an overlay function.
beb998c6 4066
c906108c
SS
4067Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4068
4069 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4070 "calling function with watchpoint enabled".
4071
4072Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4073
4074 * gdb.base/break.exp (test_next_with_recursion): Remove
4075 gdb_suppress_tests for d10v-*-*.
4076 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4077 pending review of whether it is useful or not.
4078
4079Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4080
4081 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4082
4083Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4084
4085 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4086 * config/dve.exp: New file to support Densan boards.
4087
4088Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4089
4090 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4091 reads and BSD.
4092
4093Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4094
4095 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4096 response.
4097
4098 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4099
4100Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4101
4102 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4103 test.
4104
4105 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4106 target_sizeof_long and target_bigendian_p.
4107 (structs_by_value, structs_by_reference): Check values according
4108 to targets word size and endianess.
beb998c6 4109
c906108c
SS
4110Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4111
4112 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4113 output.
4114
4115Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4116
4117 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4118 Update test of set args help to match source change.
4119
4120Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4121
4122 * gdb.base/default.exp: Expect help system output to be in
4123 alphabetical order.
4124 * gdb.base/help.exp: Ditto.
4125
4126Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4127
4128 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4129 "i*86-pc-linux-gnu*".
4130 * gdb.base/interrupt.exp: Ditto.
4131 * gdb.base/corefile.exp: Ditto.
4132
4133 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4134 define vxworks when building the testcase.
4135
4136 * gdb.base/ptype.exp: Fix testnames to be unique.
4137 * gdb.base/radix.exp: Ditto.
4138 * gdb.base/term.exp: Ditto.
4139 * gdb.base/whatis.exp: Ditto.
4140 * gdb.c++/classes.exp: Ditto.
4141
4142Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4143
4144 * gdb.base/callfuncs.exp: Fix indentation.
4145
4146 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4147 suppress_flag has been set.
4148 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4149 target feature.
4150
4151Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4152
4153 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4154 the testcase.
4155
4156 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4157 set_debug_traps() and breakpoint().
4158 * gdb.c++/misc.cc (main): Ditto.
4159 * gdb.c++/templates.cc (main): Ditto.
4160 * gdb.c++/virtfunc.cc (main): Ditto.
4161
4162Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4163
4164 * lib/gdb.exp(gdb_step_for_stub): New function.
4165 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4166 exists, reload the executable and do a "continue" instead of
4167 doing a jump.
4168 (runto_main): Use gdb_step_for_stub.
beb998c6 4169
c906108c
SS
4170 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4171 tests to have unique names.
4172 * gdb.base/callfuncs.exp: Ditto.
4173 * gdb.base/commands.exp: Ditto.
4174 * gdb.base/default.exp: Ditto.
4175 * gdb.base/help.exp: Ditto.
4176 * gdb.base/list.exp: Ditto.
4177 * gdb.base/opaque.exp: Ditto.
4178 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4179 similar tests.
beb998c6 4180
c906108c
SS
4181 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4182 * gdb.c++/cplusfuncs.cc: Ditto.
4183 * gdb.c++/virtfunc.cc: Ditto.
4184
4185 * config/monitor.exp: Keep track of the last file we saw, rather
4186 than trying to get the info from gdb.
4187
4188 * gdb.fortran/types.exp: Move comment to previous line.
4189
4190Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4191
4192 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4193 target mode.
4194
4195Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4196
4197 From Bob Manson:
4198 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4199 string from GDB when it connects.
4200
4201 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4202
4203Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4204
4205 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4206 if we can't get a debug format from GDB (we may be testing an
4207 older GDB). Use a 10 second timeout when checking for the format.
4208
4209 * gdb.stabs/weird.exp: Fix quoting.
4210
4211 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4212
4213Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4214
4215 * config/arm-ice.exp: New file.
4216
4217Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4218
4219 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4220 until it has been modified to work with the new testsuite.
4221
99707966 4222 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4223 testcase won't compile, cause all of the testcases in the file to
4224 fail instead.
4225
4226 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4227 (gdb_clear_suppressed): New procedure.
4228 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4229 it contains a positive value.
4230
4231Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4232
4233 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4234
4235 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4236
4237Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4238
4239 * lib/gdb.exp (setup_xfail_format): New function.
4240 (get_debug_format): New function to get debug format.
4241 (debug_format): New global variable to hold last value set
4242 by get_debug_format.
4243 * gdb.base/list.exp: Call get_debug_format and expect some
4244 tests to fail for DWARF 1 and COFF formats.
4245 * gdb.c++/ptype.exp: Ditto.
4246 * gdb.c++/classes.exp: Ditto.
4247 * gdb.c++/cplusfuncs.exp: Ditto.
4248 * gdb.c++/inherit.exp: Ditto.
4249 * gdb.c++/templates.exp: Ditto.
4250 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4251
c906108c
SS
4252Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4253
4254 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4255 host doesn't have a currently-open connection.
4256
4257 * config/sparclet.exp: Cleanups and fixes to make it generic for
4258 any gdb stub target. Handle cases where gdb doesn't respond when
4259 interrupted in a sane fashion.
4260
4261 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4262 same thing in a totally different way.
4263
4264 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4265 setting "timeout".
4266 (gdb_start): We set the global gdb_prompt variable in
4267 default_gdb_init now.
4268
4269Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4270
4271 * gdb.base/printcmds.exp: Fix "check for floating addition"
4272 regexp to accept results within approx +/- .01 of exact value.
4273 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4274
4275Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4276
4277 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4278 properly.
4279 (gdb_expect): Add optional timeout parameter, and add timeout
4280 value to various calls.
4281 (gdb_suppress_tests): Only give one warning message per group.
4282
4283Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4284
4285 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4286 global variables. Handle getting a value for $timeout more
4287 gracefully.
4288
4289Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4290
4291 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4292 initialize.
4293 (default_gdb_init): New procedure; allow gdb_init to be overridden
4294 by a target configuration file.
4295 (gdb_expect): Pass the timeout to remote_expect.
4296
4297 * config/monitor.exp(gdb_load): Fix typo in regexp.
4298
4299Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4300
4301 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4302
4303Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4304
4305 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4306 here. Call gdb_target_exec before rebooting the target, to make
4307 sure the connection to the target is closed.
4308 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4309 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4310 Also detect "Timeout reading from remote" error.
4311
4312 * config/gdbserver.exp: Pass the executable being loaded to
4313 gdb_target_monitor. Don't call gdb_file_cmd here; let
4314 gdb_target_monitor do it.
4315
4316 * gdb.disasm/hppa.exp: Don't use exec_output.
4317
4318Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4319
4320 * gdb.base/list.exp: If we're debugging a non-native target,
4321 try to set the pc register to point to the start of the
4322 program before doing the first list command.
4323
4324 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4325 test_calls after restarting.
4326
4327 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4328 reloading.
4329
4330 * gdb.base/watchpoint.exp: Fix typo.
4331
4332 * gdb.base/setshow.exp: Check for use_gdb_stub.
4333
4334 * gdb.base/break.exp: Fix continue until exit test for the gdb
4335 stub case.
4336 * gdb.base/langs.exp: Ditto.
4337
4338 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4339 gdb_load_offset. If we weren't given a file to load, figure out
4340 what the current file is and use it.
4341
4342 * config/i386-bozo.exp: New file.
4343
4344Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4345
4346 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4347 feature.
4348
4349 * config/proelf.exp: New entry.
4350
4351Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4352
4353 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4354 of regexps.
4355
4356 * gdb.base/watchpoint.exp: Don't run the test_stepping
4357 tests if gdb can't call functions on the target.
4358
4359 * gdb.base/setshow.exp: Don't run the set prompt tests if
4360 the board has gdb_prompt set.
4361
4362Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4363
4364 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4365 * gdb.base/commands.exp: Likewise.
4366 * gdb.base/setshow.exp: Likewise.
4367
4368Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4369
4370 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4371 feature.
4372
4373 * config/i960.exp: New file.
4374
4375Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4376
4377 * gdb.base/funcargs.exp: Check for gdb,short_int target
4378 feature instead of looking for explicit target triplets.
4379
dc96c6c7 4380Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4381
beb998c6 4382 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4383 "p 123DEADBEEF", to check parse_number.
4384 * top.c: change "to enable to enable" to "to enable" in a couple
4385 of help strings.
4386
4387Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4388
4389 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4390 on the mn10300.
beb998c6 4391
c906108c
SS
4392Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4393
4394 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4395 where the test executable is run with explicit args.
4396 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4397
4398Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4399
4400 * gdb.base/run.c: Use FAKEARGV to build test executable that
4401 does not require a command line arg, since most simulators
4402 don't currently support passing such an arg into the simulated
4403 program.
4404 * gdb.base/commands.exp: Change tests to insert the proper
4405 value as the arg to the first recursive factorial call. Change
4406 compilation line to define FAKEARGV at compile time.
4407
4408Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4409
4410 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4411 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4412 function with watchpoint enabled" test.
4413
4414Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4415
4416 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4417 Don't call gdb_test when the command doesn't return to a gdb prompt.
4418
4419 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4420 "Tests restarted" messages.
4421
4422Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4423
4424 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4425
dc96c6c7 4426Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4427
4428 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4429 for INFO SYMBOL; add help tests for OVERLAY commands.
4430 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4431 add tests for OVERLAY commands
4432 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4433 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4434 * gdb.base/sigall.c: add usestubs code frag
4435 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4436
c906108c
SS
4437Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4438
4439 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4440 failures.
4441 (gdb_stop_suppressing_tests): Note that tests have restarted.
4442
4443Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4444
4445 * config/h8300.exp: New file.
4446
4447Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4448
4449 * gdb.base/setshow.exp: Check for the existence of a
4450 feature, not its value.
4451
4452Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4453
4454 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4455
4456 * gdb.base/scope.exp: It's now init0(), not init().
4457
4458 * gdb.base/scope0.c: For now, change init() to be init0().
4459
4460 * config/monitor.exp: Use gdb_serial in preference to serial
4461 or netport.
4462
4463 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4464 and it's not already set.
4465
4466Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4467
4468 * gdb.base/setshow.exp: Only test the run command if the target
4469 isn't using a stub and if it supports argument passing.
4470
4471Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4472
4473 * config/udi.exp(gdb_start): Make sure UDICONF is set
4474 properly before starting gdb.
4475
4476Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4477
4478 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4479 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4480 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4481
4482Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4483
4484 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4485 specialized code to reboot the board, use remote_reboot instead.
4486
4487 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4488
4489 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4490
4491 * config/monitor.exp: Make sure we disconnect from the target.
4492 Also, try a reboot/reload cycle instead of failing if the
4493 load fails.
4494
4495Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4496
4497 * gdb.base/default.exp: Don't set match_max.
4498 * gdb.base/help.exp: Ditto.
4499 * gdb.base/list.exp: Ditto.
4500 * gdb.base/signals.exp: Ditto.
4501
4502 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4503 set, use remote_ld to download the testcase instead of
4504 the GDB loader.
4505
4506Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4507
4508 * config/vr5000.exp: New file.
4509
4510 * config/monitor.exp(gdb_target_monitor): Add pattern for
4511 "Ending remote" to detect errors in connecting.
4512
4513 * gdb.base/setshow.exp: Add .* within auto language test.
4514
4515 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4516 target feature.
4517
4518 * config/monitor.exp(gdb_load): Check for a failure when loading,
4519 and reboot the board if necessary.
4520
4521 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4522 a set of tests. Remove print.* from the patterns being checked.
4523
4524Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4525
4526 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4527 refer to gdb_spawn_id.
4528
4529 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4530 longer used.
4531 * config/sparclet.exp: Ditto.
4532 * config/sparclet-old.exp: Ditto.
4533 * config/slite.exp: Ditto.
4534 * config/sim.exp: Ditto.
4535 * gdb.base/funcargs.exp: Ditto.
4536
4537 * lib/gdb.exp:Remove references to gdb_spawn_id.
4538 (gdb_expect): Move to remote.exp.
4539
4540Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4541
4542 * config/monitor.exp: Detect the "Couldn't establish connection"
4543 message from GDB.
4544
4545Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4546
4547 * gdb.base/bitfields.exp: Use runto instead of explicit
4548 gdb_run_cmd/gdb_expect sequences.
4549
4550 * gdb.base/break.exp(text_next_with_recursion): Add match for
4551 gdb_expect call.
4552
4553 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4554 We also need to handle the "A program is being debugged already"
4555 prompt from gdb. Use gdb_test to set the baud rate.
4556
4557 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4558 to 20000. Really. I mean it.
4559
4560Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4561
4562 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4563 fails. If suppress_flag is set, skip perror message about not
4564 being able to send to GDB.
4565 (send_gdb): If suppress_flag is set, don't try to send commands to
4566 GDB.
4567 (gdb_expect): If suppress_flag is set, always fail immediately.
4568 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4569 (gdb_init): Call gdb_stop_suppressing_tests.
4570 (default_gdb_exit): Ditto.
4571 (default_gdb_start): Ditto.
4572
4573 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4574 gdb_stop_suppressing_tests as appropriate.
4575 * gdb.base/break.exp: Ditto.
4576 * gdb.base/callfuncs.exp: Ditto.
4577 * gdb.base/commands.exp: Ditto.
4578 * gdb.base/exprs.exp: Ditto.
4579 * gdb.base/funcargs.exp: Ditto.
4580 * gdb.base/list.exp: Ditto.
4581 * gdb.base/recurse.exp: Ditto.
4582 * gdb.base/scope.exp: Ditto.
4583 * gdb.base/structs.exp: Ditto.
4584 * gdb.c++/inherit.exp: Ditto.
4585
4586Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4587
4588 * config/vr4300.exp: New file.
4589
99707966
MC
4590 * gdb.*/*.exp: Call gdb_expect instead of expect.
4591
4592 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
4593
4594Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4595
4596 * lib/gdb.exp(gdb_init): New function.
4597
4598 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4599 for each individual variable set.
4600
4601 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4602 name.
4603
4604 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4605
4606 * gdb.base/scope.exp: Use gdb_test.
4607
4608 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4609 aborting; the testsuite driver will do that for us (see
4610 gdb_finish). Also, use gdb_test in a few more places.
4611
4612Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4613
4614 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4615
4616Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4617
4618 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4619 and "add_tests" are not at the same address.
4620
4621Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4622
4623 * gdb.base/ptype.exp: Use gdb_test.
4624
4625Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4626
4627 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4628 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4629 left in. No longer expect them to fail.
4630
4631 * gdb.stabs/*.mt; Deleted, no longer used.
4632 * gdb.stabs/configure.in: Remove references to target makefile
4633 frags.
4634 * gdb.stabs/configure: Rebuilt.
4635
4636 * gdb.disasm/*.mt: Deleted, no longer used.
4637 * gdb.disasm/configure.in: Remove references to target makefile
4638 frags. Use "sh3.s" as the unique filename for this directory.
4639 * gdb.disasm/configure: Rebuilt.
4640
4641 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4642 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4643 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4644
4645Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4646
4647 * config/udi.exp: Use mondfe,name instead of remote_host.
4648
4649Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4650
4651 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4652 a function with a watchpoint enabled on the mn10200.
4653
4654 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4655 before trying to create it!
4656
4657Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4658
4659 * config/vx.exp: Use hostname instead of netport.
4660
4661 * config/vxworks.exp: New file.
4662
4663 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4664
4665 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4666 gdb before assuming everything worked. Send a ^C if a timeout
4667 occurs.
4668
4669 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4670 $gdb_spawn_id directly.
4671 (gdb_run_cmd): Try _start as well as start. Use the target feature
4672 gdb,start_symbol as the symbol to start from when jumping.
4673
4674Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4675
4676 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4677 redundant) test.
4678
4679 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4680 it doesn't lose for 16bit integer systems.
4681
4682Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4683
4684 * gdb.fortran/types.exp: If the target doesn't support "double"
4685 data types, then expect "real" types to only be 4 bytes.
4686
4687 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4688 call tests if the target doesn't support inferior function calls.
4689
4690 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4691 in printf tests.
4692
4693Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4694
4695 * gdb.base/help.exp: Disable "help set", "help show", and
4696 "help support". Simplify regexp for "help stack".
4697
4698 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4699 to 60 seconds. Temporarily set match_max to 15000 around the
4700 "info copying" test.
4701
4702 * gdb.base/nodebug.exp: Don't try to do an inferior function
4703 call if the target doesn't support them.
4704 * gdb.base/printcmds.exp: Likewise.
4705 * gdb.base/setvar.exp: Likewise.
4706 * gdb.base/structs.exp: Likewise.
4707 * gdb.c++/templates.exp: Likewise.
4708 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
4709
4710 * gdb.base/recurse.exp: Enable for the mn10200.
4711
4712 * configure.in: Do configure gdb.stabs directory for *-*-elf
4713 targets.
4714 * configure: Rebuilt.
4715
4716 * gdb.base/break.exp: Check for gdb,noresults before testing
4717 exit status and/or results from the target.
4718 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
4719 * lib/gdb.exp: Remove old (now bogus) initialization of
4720 noinferior, noargs, noresults and nosignals.
4721
4722Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
4723
4724 * config/sh.exp: New file.
4725
4726 * config/slite.exp: Try to connect multiple times to the board
4727 before rebooting. Only send a "monitor run" if need_monitor_run
4728 is set.
4729
4730 * gdb.base/break.exp: Don't do the "stub continue" test if
4731 the target has gdb_stub set.
4732
4733 * gdb.base/callfuncs.exp: Increase the timeout.
4734
4735 * gdb.base/interrupt.exp: Don't even try to compile the testcase
4736 if the target has gdb,noinferiorio set.
4737
4738 * gdb.base/list.exp: Increase match_max to 10000 characters.
4739
4740 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
4741
4742 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
4743 target.
4744
4745 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
4746
4747Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
4748
4749 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
4750 trying to delete the copy of gdb. Catch the file delete so we
4751 don't die if the delete fails; also, the file should be copied to
4752 the host, not to the build.
4753
4754Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
4755
4756 * lib/gdb.exp(gdb_test): Surround the result pattern with
4757 parenthesis in case it contains multiple regexps separated
4758 with |.
4759
4760 * gdb.base/watchpoint.exp: Use gdb_test.
4761 * gdb.base/default.exp: Ditto.
4762
4763Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
4764
99707966 4765 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 4766
c906108c
SS
4767 * gdb.base/scope.exp: Use gdb_test.
4768 * gdb.c++/classes.exp: Ditto.
4769 * gdb.c++/inherit.exp: Ditto.
4770
4771Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
4772
4773 * gdb.base/crossload.exp: Don't use execute_anywhere, use
4774 remote_exec instead.
4775 * gdb.base/corefile.exp: Don't be ridiculous.
4776 * gdb.base/*.c: Add missing stub invocations.
4777
4778Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
4779
4780 * config/slite.exp: Miscellaneous fixes.
4781
4782 * lib/gdb.exp: Fix runto.
4783
4784 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
4785 the target.
4786
4787 * gdb.base/watchpoint.exp: Fix regexp.
4788
4789 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4790 close and wait commands, as the descriptor may now be
4791 invalid. Always call "remote_close host".
4792
4793Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
4794
4795 Major rewrite for testsuite revision.
beb998c6 4796
c906108c
SS
4797 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
4798 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
4799 instead of relying on spawn_id to always contain a valid
4800 spawn id.
4801 (get_compiler_info): New procedure to build the ${binfile}.ci
4802 file, instead of replicating this in N different places.
4803 (gdb_compile): New procedure.
beb998c6 4804
c906108c
SS
4805 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
4806 appropriate arguments) instead of compile. Use gdb_test in a lot
4807 more places. Use send_gdb instead of send. Always run gdb_start
4808 at the start of a testcase, as this is no longer done magically.
4809
4810 config/*-gdb.exp: Rename without the -gdb suffix.
4811
4812 config/mips.exp: Use remote_close instead of exit_remote_shell.
4813 config/monitor.exp: Use target_info instead of looking at
4814 baud, timeout, etc.
4815 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
4816
4817Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4818
4819 * gdb.c++/templates.exp (test_ptype_of_templates),
4820 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
4821 Update expect patterns for destructors and assignment operators
4822 to match corresponding c-typeprint.c changes.
4823 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
4824 to destructor breakpoint test, GDB should be able to set the
4825 destructor breakpoint without specifying arguments.
4826
4827Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
4828
4829 * gdb.threads/pthreads.exp: Change result for failure to compile due
4830 to lack of pthreads runtime support from an error to simply an
4831 unsupported test, per dejagnu standards.
4832
4833Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4834
4835 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
4836 where GDB exits to reduce pattern match time.
4837 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
4838
4839 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
4840
dc96c6c7 4841Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4842
4843 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
4844 * gdb.base/default.exp: ditto.
4845 * gdb.base/nodebug.exp: ditto.
4846 * gdb.base/printcmds.exp: ditto.
4847 * gdb.base/ptype.exp: ditto.
4848 * gdb.base/setvar.exp: ditto.
4849 * gdb.base/structs.exp: ditto.
4850 * gdb.base/setshow.c: Guard against uninitialized values of argc.
4851
4852Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
4853
4854 * configure, */configure: Rebuild with autoconf 2.12.
4855
4856Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
4857
4858 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
4859 use new i*86-pc-linux*-gnu quads.
4860 * gdb.base/corefile.exp: Ditto.
4861 * gdb.base/signals.exp: Ditto.
4862 * gdb.base/sigall.exp: Ditto.
4863 * gdb.base/interrupt.exp: Ditto.
4864
4865 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
4866 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
4867 RedHat 4.0.
beb998c6 4868
c906108c
SS
4869 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
4870 linux. This allows the test case to at least compile on latest
4871 linux, but still not run due to missing the threads runtime library.
4872
4873Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4874
4875 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
4876 directory to search gdb directory. Accept and step over conditional
4877 stack alignment code. Consume $prompt in failure cases.
4878 Reset timeout to $oldtimeout instead of some arbitrary value.
4879 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
4880 timeout problems with infinite stack backtraces.
4881 * gdb.base/ptype.exp (ptype struct link, union tu_link):
4882 Accept function parameters for linkfunc member.
4883
4884Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
4885
4886 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
4887 (CXXFLAGS): Remove, unreferenced.
4888 (B_OPTIONS): Add for -B options and add code to initialize with
4889 previous -B options and also add -B option to pick up cross compiled
4890 runtime.
4891 (TARGET_INCLUDES): Add for -I options and add code to initialize when
4892 doing cross compiles.
4893 (target_alias): Declare global.
4894 (xgcc): Set variable to full path of gcc in build tree. Use findfile
4895 to verify that gcc exists in build tree, and if so set CC to that
4896 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 4897
c906108c
SS
4898Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
4899
4900 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
4901 ptype test for anonymous union. Fixup testcase to match
4902 current gcc debug output.
4903
4904Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
4905
4906 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
4907 force argument to an unsigned long type.
4908
4909Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
4910
4911 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
4912 tests and anonymous union print/ptype tests.
4913 * gdb.base/list.exp (test_forward-search): Increase timeout by
4914 5 minutes for the "search extremely long line" case.
4915 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
4916 completely optional and that the pass/fail messages use the command as
4917 the message if that third arg is a null string.
4918 (gdb_test_exact): Arrange that a null string pattern means match a
4919 null string output rather than any output, which might include random
4920 errors.
4921 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
4922 backtrace test.
4923 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
4924 always failing and failure is now exposed by gdb.exp changes.
4925
4926Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
4927
4928 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
4929 weren't being noted.
4930
4931Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4932
4933 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
4934 * gdb.stabs/weird.exp: Remove v_comb xfails.
4935
dc96c6c7 4936Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4937
4938 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
4939 list.exp scope.exp watchpoint.exp]
4940 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 4941
dc96c6c7 4942Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4943
4944 * config/monitor.exp: Increase download timeout to 1000 seconds.
4945
dc96c6c7 4946Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4947
4948 * config/m32r.exp: Increase timeout to 120 seconds.
4949
4950Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
4951
4952 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
4953 and accept older ordering as obsolescent gcc or gdb.
4954 * gdb.c++/templates.exp: Ditto.
4955 * gdb.c++/virtfunc.exp: Ditto.
4956
4957Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
4958
4959 * gdb.base/coremaker.c: Add code to mmap some data so we
4960 can check that it ends up in the core file.
4961 * gdb.base/corefile.exp: Add test to read mmapped data
4962 from core file.
4963
dc96c6c7 4964Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4965
4966 * config/m32r.exp: New file.
4967
4968Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
4969
4970 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
4971 that cflags can contains -gstabs, and work correctly for other tests.
4972
dc96c6c7 4973Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4974
4975 * gdb.base/setshow.exp: New file, tests show and set.
4976 * gdb.base/setshow.c: New file, tests show and set.
4977 * gdb.base/help.exp: Add test for help set|show annotate.
4978 * gdb.base/default.exp: Add test for set|show annotate.
4979
4980Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
4981
4982 * testsuite/gdb.base/break.exp: Make backtrace from factorial
4983 errors unique.
4984 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
4985 explicitly.
4986
4987Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
4988
4989 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
4990 and width commands. This is done elsewhere.
4991 * (gdb_start): Don't call gdb_start_sim here. That's already
4992 done in gdb_load. This fixes lots of failures in default.exp.
4993
4994Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
4995
4996 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
4997 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
4998 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
4999 in the same we we treat other failures (since it may be an expected
5000 condition), rather than as an error.
5001 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5002 old test format.
5003
5004Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5005
5006 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5007 (distclean maintainer-clean realclean): No need to remove files
5008 twice. Nuke the duplicates.
5009 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5010 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5011 Remove config.h along with other config files.
5012
5013Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5014
5015 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5016 "p func1 ()" and note that rests of tests are skipped.
5017 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5018 setup_xfails for "print func2::coremaker_local".
5019 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5020 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5021 affected by the previous run test.
5022 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5023 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5024 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5025 "pass int powerset tuple" and "pass modeless int powerset tuple".
5026 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5027 "real write 4" and "real write 8".
5028 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5029 setup_xfails for "print vs1 after tuple assign 2",
5030 "print \$i after tuple assign 2", and
5031 "print vs2 after tuple assign 2".
5032 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5033 meaningful error message and return -1 so the caller can
5034 suppress further tests and avoid a cascade of errors.
beb998c6 5035
c906108c
SS
5036Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5037
5038 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5039 format for printing version.
5040 * gdb.base/default.exp: Ditto.
5041 * gdb.base/interrupt.exp: Fix problem with cascade of
5042 errors if child process dies while calling a function.
beb998c6 5043
c906108c
SS
5044Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5045
5046 * Makefile.in (VPATH): Add
5047 * Makefile.in (Makefile, config.status): Fix rules so things get
5048 remade when necessary.
5049
5050Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5051
5052 * Makefile.in (just-check): Add path to sibling expect dir
5053 to environment variable specified by RPATH_ENVVAR.
5054
5055Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5056
5057 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5058 (just-check): Add shared library paths for libstdc++, tk,
5059 tcl, bfd, and opcodes to the environment variable specified
5060 in RPATH_ENVVAR.
5061 * configure.in: Add support to recognize --enable-shared flag
5062 and generate correct value for RPATH_ENVVAR.
5063 * configure: Regenerated with autoconf.
5064
5065Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5066
5067 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5068 include all osf versions.
5069 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5070 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5071 when target is linux. When failing to build pthreads test
5072 executable, give more meaningful message.
5073 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5074 arg for pthread_create.
beb998c6 5075
c906108c
SS
5076Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5077
5078 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5079 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5080 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5081 and -lpthreads (everybody else).
5082 (test_startup): Fail gracefully if threads are not supported.
5083 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5084 "p/c array_index("abcdef",2)" when not gcc compiled.
5085 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5086 "print func2::coremaker_local" when not gcc compiled.
5087 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5088 "ptype on opaque struct tagname (statically)",
5089 "ptype on opaque struct tagname (dynamically) 1", and
5090 "ptype on opaque struct tagname (dynamically) 2"
5091 for not compiled with gcc.
5092 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5093 backtrace when compiled with gcc.
beb998c6 5094 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5095 than always return success.
5096
5097Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5098
5099 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5100
5101Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5102
5103 * gdb.base/structs.exp: Undo last change.
5104
5105Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5106
5107 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5108 encapsulate all the steps/nexts done during self test, starting
5109 at main, and makes them less sensitive to optimization issues.
5110 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5111 signal handler" test.
5112 * gdb.threads/pthreads.exp: Only run this for native configs.
5113 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5114 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5115 tests.
5116 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5117 for "runto test_calls(void)" test.
beb998c6 5118
c906108c
SS
5119Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5120
5121 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5122 and don't expect address info in breakpoint confirmations.
5123
5124Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5125
5126 * gdb.base/list.exp (test_forward_search): Increase timeout
5127 temporarily by 60 seconds for searching extremely long line,
5128 and then reset to old value when done. Increase expect input
5129 buffer to 10000.
5130
5131Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5132
5133 * gdb.base/list.exp (test_forward_search): Fix to handle very
5134 long source line without overflowing expect's input buffer.
5135
5136Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5137
5138 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5139 "buffer_full".
5140
5141 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5142 "buffer_full".
5143
5144 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5145 "buffer_full".
5146
5147 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5148 "buffer_full".
5149
5150Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5151
5152 * configure.in (configdirs): Add gdb.threads.
5153 * configure: Regenerated with autoconf.
5154 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5155 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5156 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5157
c906108c
SS
5158Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5159
5160 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5161
5162Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5163
5164 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5165 each signal's status in the output of "handle all print".
5166 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5167 the \r\n sequence that immediately precedes the gdb prompt.
5168 * gdb.base/a1-selftest.exp: Save original timeout and restore
5169 after test.
5170
5171Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5172
5173 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5174 symbol.
5175
5176Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5177
5178 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5179
5180Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5181
5182 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5183 timeout by 60 seconds.
5184
5185Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5186
5187 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5188 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5189 error return.
5190
5191Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5192
5193 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5194 gdb initialization, also report how long dejagnu waited. Restore
5195 old timeout before doing error return. Temporarily increase timeout
5196 by 3 minutes to allow for slow startups over heavy NFS use.
5197
5198Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5199
5200 * lib/gdb.exp: Report timeout value for verbosity level 2.
5201 * config/gdbserver.exp: Ditto.
5202 * config/hppro.exp: Ditto.
5203 * config/mips-gdb.exp: Ditto.
5204 * config/monitor.exp: Ditto.
5205 * config/netware.exp: Ditto.
5206 * config/sim-gdb.exp: Ditto.
5207 * config/slite-gdb.exp: Ditto.
5208 * config/udi-gdb.exp: Ditto.
5209 * config/unix-gdb.exp: Ditto.
5210 * config/vx-gdb.exp: Ditto.
5211 * gdb.base/a1-selftest.exp: Ditto.
5212 * gdb.base/a2-run.exp: Ditto.
5213 * gdb.base/break.exp: Ditto.
5214 * gdb.base/corefile.exp: Ditto.
5215 * gdb.base/list.exp: Ditto.
5216 * gdb.base/recurse.exp: Ditto.
5217 * gdb.base/scope.exp: Ditto.
5218 * gdb.base/signals.exp: Ditto.
5219
5220Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5221
5222 * gdb.threads/Makefile.in (docdir): Removed.
5223
5224Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5225
5226 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5227 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5228 @srcdir@.
beb998c6 5229 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5230 autoconf 2.5 or higher.
5231 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5232
5233Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5234
5235 * configure: Regenerated.
5236 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5237 avoid name clashes with SunOS headers.
5238
5239Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5240
5241 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5242
5243Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5244
5245 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5246 prototype information ends up in the compiler info file.
5247
5248Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5249
5250 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5251 attempting to regenerate it. Eliminate use of a temporary file
5252 and just generate the info file directly. Source it immediately,
5253 for consistency of use.
5254 * gdb.base/corefile.exp: Ditto
5255 * gdb.base/exprs.exp: Ditto.
5256 * gdb.base/funcargs.exp: Ditto.
5257 * gdb.base/langs.exp: Ditto.
5258 * gdb.base/list.exp: Ditto.
5259 * gdb.base/mips_pro.exp: Ditto.
5260 * gdb.base/nodebug.exp: Ditto.
5261 * gdb.base/opaque.exp: Ditto.
5262 * gdb.base/ptype.exp: Ditto.
5263 * gdb.base/scope.exp: Ditto.
5264 * gdb.base/setvar.exp: Ditto.
5265 * gdb.base/signals.exp: Ditto.
5266 * gdb.base/whatis.exp: Ditto.
5267 * gdb.c++/templates.exp: Ditto.
5268 * gdb.c++/virtfunc.exp: Ditto.
5269 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5270 whether or not to add -lstdc++ to the compile command line args.
5271
5272Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5273
5274 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5275 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5276 Increase timeout, a lot of single stepping might be needed if the
5277 target has no hardware watchpoints.
5278
5279Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5280
5281 * gdb.base/break.exp: Ignore compiler warnings when compiling
5282 break.c.
5283 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5284 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5285 from remote-sim.
5286 * gdb.base/exprs.exp: Add h8300 xfails.
5287 * gdb.base/funcargs.exp: Likewise.
5288 * gdb.base/nodebug.exp: Likewise.
5289 * gdb.base/printcmds.exp: Likewise.
5290 * gdb.base/ptype.exp: Likewise.
5291 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5292 h8300 xfails.
beb998c6 5293 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
5294 on the h8300.
5295 * gdb.base/funcargs.c: Explicitly make last constant argument to
5296 call_after_alloca_subr an unsigned long type.
5297 * gdb.base/return.c: Include stdio.h.
5298
5299Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5300
5301 * config/abug.exp: New file for the older Motorola Bug monitor
5302 that runs on the mvme13x series VME boards.
5303 * config/monitor.exp: Use the new config array for target settings
5304 if they exist.
5305
5306Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5307
5308 * sim-gdb.exp: Make the SH simulator allocate less space when
5309 it is targeted.
5310
5311Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5312
5313 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5314 test.
5315
5316Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5317
5318 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5319 "rs6000-*-*" for "list function in include file" when gcc compiled.
5320 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5321 for "p ctable1[120]".
5322 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5323 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5324 Remove setup_xfail for "rs6000-*-*" for
5325 "print 'scope0.c'::filelocal before run".
5326 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5327 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5328 since some compilers don't allow both options to be given
5329 on the same command line. Create object file and move it.
beb998c6 5330
c906108c
SS
5331Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5332
5333 * gdb.base/corefile.exp: Always regenerate the core file, since
5334 we always regenerate the coremaker program. Detect special case
5335 where registers cannot be read from core file.
beb998c6 5336
c906108c
SS
5337Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5338
5339 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5340 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5341 * gdb.c++/templates.exp: Only match on basename of file since
5342 some formats like xcoff don't encode directory information.
5343 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5344 and rs6000 AIX xcoff targets.
5345 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5346 * configure: Regenerate.
5347 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5348 here, rather than in distclean.
beb998c6 5349
c906108c
SS
5350Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5351
5352 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5353 defined, and use it to compile the test case with -O2. The
5354 native compilation still uses no optimization.
5355 * gdb.base/mips_pro.c: Remove inline assembly code since
5356 it is compiled PIC by default, which results in assembler
5357 warnings that make the testsuite think the compilation
5358 was unsuccessful.
5359
5360Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5361
5362 * gdb.c++/misc.exp: Add note to message for
5363 "print s.a for foo struct" that this is a known gcc 2.7.2
5364 and earlier bug.
5365
5366Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5367
5368 * gdb.base/break.exp: Fix pattern for matching "Delete all
5369 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5370 setup_xfail for deleting all breakpoints test. Fix various
5371 timeout messages to include "(timeout)".
5372 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5373 for "p t_float_values2(3.14159,float_val2)".
5374 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5375 for "continue to call2g" when gcc compiled.
5376 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5377 "up to foo in langs.exp", "show language at foo in langs.exp",
5378 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5379 and "show language at fsub in langs.exp".
5380 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5381 "list line 1 in include file", "list message for lines past EOF",
5382 "list function in include file", "list list0.h:foo", and
5383 "list filename:function; nonexistant function".
5384 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5385 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5386 and "ptype t_char_array" to be for native cc only.
beb998c6 5387
c906108c
SS
5388Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5389
beb998c6 5390 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5391 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5392 "print func2::coremaker_local", and "backtrace in corefile.exp".
5393
5394Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5395
5396 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5397 "bt in signals.exp". This problem only appears when running
5398 the testsuite, and then only intermittently.
5399
5400Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5401
5402 * gdb.base/return.exp (return_tests): Differentiate between
5403 two tests of continuing.
5404
5405Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5406
5407 * */Makefile.in (maintainer-clean): Remove config.log.
5408 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5409 * gdb.c++/Makefile.in (PROGS): Add inherit.
5410 (clean): Remove *.ci.
5411
5412Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5413
5414 * gdb.c++/misc.cc: Add test code from Mike Stump.
5415 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5416
5417Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5418
5419 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5420 to "alpha-*-osf2*" and add comment.
5421 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5422 setup_xfail for "step over execarg initialization" and
5423 "step over corearg initialization".
5424 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5425 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5426 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5427 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5428 "print func2::coremaker_local", and "backtrace in corefile.exp".
5429 * gdb.base/signals.exp: Build and source signals.ci.
5430 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5431 to be for gcc only.
5432 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5433
c906108c
SS
5434Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5435
5436 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5437 Feb 3 procfs.c change.
5438
5439Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5440
5441 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5442
5443Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5444
5445 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5446 from dejagnu's apparent default of 10 seconds, which gives random
5447 results when running the tests over NFS on moderately loaded systems.
5448 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5449
5450Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5451
5452 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5453 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5454 result reports.
5455
5456Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5457
5458 * configure.in (CY_AC_PATH_TCLH): Remove.
5459 * configure: Regenerate.
5460
5461Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5462
5463 * gdb.c++/Makefile.in (clean): Add missing '{'.
5464
5465Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5466
5467 * lib/gdb.exp: Provide a default value for noinferior.
5468
5469 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5470 Load libgloss.exp.
5471
5472Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5473
5474 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5475 the executable, not the .o to run the tests from.
5476
5477Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5478
5479 * gdb.base/break.exp: Don't test for program exit or exit status
5480 if $noresults if nonzero.
5481 * gdb.base/langs.exp: Likewise.
5482 * gdb.base/watchpoint.exp: Likewise.
5483
5484 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5485 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5486 trying to compile the testcase.
5487
5488Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5489
5490 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5491 * gdb.base/signals.exp (continue to handler): Likewise.
5492
5493Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5494
5495 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5496
5497 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5498
5499Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5500
5501 * gdb.base/corefile.exp: Recognize "not found" as failure
5502 when trying to determine if a core file was generated.
5503 If no core file was generate the first time, try again without
5504 the ulimit -c to work around braindamaged shells.
5505
5506Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5507
5508 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5509 [] tests with "test" and enclose string in quotes.
5510 * gdb.stabs/configure: Rebuild
beb998c6 5511
c906108c
SS
5512Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5513
5514 Changes in sync with expect:
5515 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5516 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5517 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5518 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5519 argument to AC_REQUIRE.
5520 * configure: Regenerated.
5521
5522Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5523
5524 * gdb.base/corefile.exp: When generating a core, discard any
5525 error messages about ulimit not found and the "core dumped"
5526 message from the shell that runs the coredumper.
5527
5528Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5529
5530 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5531
5532 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5533 which sed script to run. Expect failure for v_comb test
5534 on PA targets too.
beb998c6 5535
c906108c
SS
5536Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5537
5538 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5539 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5540
5541Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5542
5543 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5544 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5545 "sparc-sun-solaris*" xfails for "p v_comb".
5546 * lib/gdb.exp (default_gdb_start): Fix typo.
5547 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5548 messages to not include the full program name that caused
5549 the core dump since some systems (such as solaris) apparently
5550 truncate this path to about 80 characters.
5551 When generating a core file first try increasing the core file
5552 size limit to unlimited since some systems may default it to
5553 zero, and it is harmless to try it. Move the test for failing
5554 to generate a core file to where it will actually get executed.
5555 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5556 new gdb result from g++ debug info improvements and make old
5557 pattern obsolescent. Also account for size_t differences
5558 (may be int or long).
5559 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5560 initialization before function call is placed in the delay slot
5561 and thus appears to be skipped over by commands such as "next".
5562
5563Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5564
5565 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5566
5567Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5568
5569 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5570 input source file; fix code to compile test to deal with this
5571 convention.
5572 * gdb.c++/*.exp: Likewise.
5573
5574Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5575
5576 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5577 "bt in signals.exp".
5578
5579Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5580
5581 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5582 "step over execarg initialization" and
5583 "step over corearg initialization".
5584
5585Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5586
5587 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5588 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5589
5590Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5591
5592 From Rob Savoye (rob@poseidon.cygnus.com)
5593 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5594 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5595 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5596 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5597 configure.in}: Major reworking for autoconfig.
5598 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5599 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5600 New files.
5601 * config/unix-gdb.exp: Make GDB global.
5602 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5603 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5604 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5605 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5606 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5607 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5608 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5609 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5610 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5611 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5612 pr-8136.exp, result.exp, string.exp, tuples.exp},
5613 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5614 to returns as necessary, arrange for test to compile own testcase
5615 executable.
5616 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 5617
c906108c
SS
5618Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5619
5620 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5621 clear_xfail at end of test which might not call either pass or fail.
5622 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5623 "backtrace through signal handler".
5624
5625Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5626
5627 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5628 continuing from a job control stop signal.
5629 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5630
5631Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5632
5633 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5634 * gdb.base/corefile.exp: Likewise.
5635 * gdb.base/funcargs.exp: Likewise.
5636
5637Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5638
5639 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5640 * config/monitor.exp: Add support for setting baud rate.
5641
5642Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5643
5644 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5645 i*86-*-linux* xfails for "backtrace through signal handler".
5646 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5647 "print func2::coremaker_local".
5648 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5649 alpha-dec-osf2* xfail for
5650 "delete all breakpoints when none".
5651
5652Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5653
5654 * gdb.base/break.exp: Change test that deletes all breakpoints
5655 when no user breakpoints are installed. A post 4.15 change
5656 causes gdb to no longer prompt in this case.
5657
5658Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5659
5660 * gdb.base/return.exp (return_tests): Change xfail for test
5661 "correct value returned double test" to stop xfailing at
5662 Solaris 2.5. Apparently the bug has been fixed.
5663
5664Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5665
5666 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5667 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5668
5669Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5670
5671 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5672 * gdb.disasm/hppa.s: Corresponding changes.
5673
5674Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5675
5676 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5677 makefile fragment.
5678 * config/mt-hpux: Deleted.
5679
5680Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5681
beb998c6 5682 * Many files: When warning about suppressed tests due to a
c906108c
SS
5683 nonexistant test binary, avoid incrementing the warning count.
5684
5685Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5686
5687 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 5688
c906108c
SS
5689Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5690
5691 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5692 "sparc-*-solaris2*".
5693
5694Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5695
5696 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5697 Add global and local variables and initialize them.
5698 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5699 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5700 extracts the file name and terminating signal from the core file.
5701 * TODO: Remove note about tests for correct mapping of corefile.
5702 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
5703 from optimizing it away.
5704 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
5705 handles common blocks.
5706
5707Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
5708
5709 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
5710 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
5711
5712Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
5713
5714 * Makefile.in (maintainer-clean): New target, synonym for
5715 realclean.
5716 * gdb.base/Makefile.in (maintainer-clean): Likewise.
5717 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
5718 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
5719 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
5720 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
5721 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
5722
5723Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
5724
5725 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
5726 xfails when not gcc compiled for "print foo::funclocal".
5727 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
5728 "print foo::funclocal at foo",
5729 "print 'scope1.c'::foo::funclocal at foo",
5730 "print foo::funclocal_bss at foo",
5731 "print 'scope1.c'::foo::funclocal_bss at foo",
5732 "print foo::funclocal_ro at foo",
5733 "print 'scope1.c'::foo::funclocal_ro at foo",
5734 "print bar::funclocal at foo" and
5735 "print 'scope1.c'::bar::funclocal at foo".
5736 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
5737 gcc compiled for "print foo::funclocal at bar".
5738 Expand all messages to ensure that they identify that
5739 the test is at bar().
5740 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
5741 gcc compiled for:
5742 "ptype on opaque struct pointer (statically)",
5743 "ptype on opaque struct tagname (statically)",
5744 "ptype on opaque struct pointer (dynamically) 1",
5745 "ptype on opaque struct tagname (dynamically) 1",
5746 "ptype on opaque struct pointer (dynamically) 2" and
5747 "ptype on opaque struct tagname (dynamically) 2
5748 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
5749 gcc compiled for:
5750 "p datalocal"
5751 "whatis datalocal",
5752 "ptype datalocal",
5753 "p bsslocal",
5754 "whatis bsslocal", and
5755 "ptype bsslocal".
5756 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
5757 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
5758 when not gcc compiled.
5759 * gdb.base/funcargs.exp (float_and_integral_args): Add
5760 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
5761 compiled.
5762 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
5763 "backtrace from call6a" when not gcc compiled.
5764 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
5765 "backtrace from call7a" when not gcc compiled.
5766 * gdb.base/callfuncs.exp (do_function_calls):
5767 Add "hppa*-*-hpux*" xfail when not gcc compiled for
5768 "p t_char_array_values(char_array_val2,char_array_val1)",
5769 "p t_char_array_values(char_array_val1,char_array_val2)",
5770 "p t_char_array_values("carray 1","carray 2")",
5771 "p t_char_array_values("carray 1",char_array_val2)",
5772 "p t_char_array_values(char_array_val1,"carray 2")",
5773 "p sum_args(1,{2})",
5774 "p sum_args(2,{2,3})",
5775 "p sum_args(3,{2,3,4})",
5776 "p sum_args(4,{2,3,4,5})"
5777 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
5778 "backtrace in corefile.exp" when not gcc compiled.
5779
5780Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5781
5782 * gdb.base/signals.exp: Rewrite `handle all print' test as
5783 a procedure. Accept blanks or TABs as whitespace, increase
5784 timeout and expect input buffer size for the large output
5785 from the command. Remove "i*86-*-bsdi2.0" xfail.
5786
5787Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5788
5789 * gdb.base/setvar.exp: Add new testcases for truncation when
5790 assigning invalid values to bitfields.
5791
5792Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
5793
beb998c6 5794 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
5795 mips-sgi-irix* xfail for
5796 "call inferior func with struct - returns char *"
5797 and fix test so that an optional (unsigned char *) cast is
5798 accepted in the result.
5799
5800Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
5801
5802 * gdb.base/funcargs.exp (float_and_integral_args): Remove
5803 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5804 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
5805 * gdb.base/signals.exp: Remove duplicate "handle all print" test
5806 that accidentally got checked in.
5807
5808Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
5809
beb998c6 5810 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
5811 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
5812 compiled test.
5813 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
5814 Add mips-sgi-irix5* xfail for not gcc compiled.
5815 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
5816 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
5817 "p top", "whatis top", "p middle", and "whatis middle".
5818 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
5819 "whatis signed char" for not gcc compiled.
5820 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
5821 "set variable signed char=-1 (-1)" and
5822 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
5823 * gdb.base/funcargs.exp (float_and_integral_args):
5824 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
5825 Add mips-sgi-irix* xfail when not gcc compiled for
5826 "continue to call2b".
5827 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
5828 "continue to call2g".
5829 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
5830 "backtrace from call6a"
5831 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
5832 "backtrace from call7k".
5833 Add mips-sgi-irix5* xfail when not gcc compiled for
5834 "backtrace from call7a".
5835 (localvars_after_alloca): Fix gdb_test cmds for
5836 "print * after runto ...".
5837 Remove rs6000-*-* xfails for
5838 "print i after runto localvars_after_alloca" and
5839 "print l after runto localvars_after_alloca"
5840 for all compilers.
5841 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
5842 when not compiled with gcc, for:
5843 "print signed char == (minus)",
5844 "print signed char != (minus)",
5845 "print signed char < (minus)",
5846 "print signed char > (minus)".
5847 * gdb.base/callfuncs.exp (do_function_calls):
5848 Add mips-sgi-irix* xfail, when compiled with native compiler, for
5849 "call inferior func with struct - returns char *".
beb998c6 5850 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
5851 "correct value returned double test" to include Solaris 2.4.
5852 * gdb.base/funcargs.exp (float_and_integral_args):
5853 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 5854
c906108c
SS
5855Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5856
5857 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
5858 enumeration bitfields if compiling with GNU C.
5859 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
5860 to empty' prompt.
5861
5862Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
5863
5864 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
5865 test for PRO targets.
5866
5867 * gdb.base/funcargs.exp: Avoid ever setting more than 8
5868 breakpoints in the inferior at any given time by making
5869 two groups of breakpoints for call2*, call6* and call7*
5870 tests.
5871
5872Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5873
5874 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
5875 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
5876 from optimizing it away.
5877 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
5878 "call inferior func with struct".
5879
5880Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
5881
5882 * configure.in: Only configure gdb.chill for particular targets.
5883
5884Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
5885
5886 * gdb.base/Makefile.in: Add action to .c.o transformation
5887 rule that generates a .ci file for each .o file and remove
5888 explicit .c.o rules except for callfuncs.o.
5889 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
5890 generates a .ci file for each .o file and remove explicit
5891 .cc.o rules.
5892 (clean): Remove *.tmp *.ci files.
5893 (EXECUTABLES): Remove templ-info.exp.
5894 * gdb.base/compiler.c: New file.
5895 * gdb.c++/compiler.cc: New file
5896 * gdb.base/scope.exp: Source gdb.base/scope.ci.
5897 Change rs6000-*-* xfail for
5898 "print 'scope0.c'::filelocal_ro" and
5899 "print 'scope1.c'::filelocal" and
5900 "print 'scope1.c'::filelocal_bss" and
5901 "print 'scope1.c'::filelocal_ro" and
5902 "print 'scope1.c'::foo::funclocal" and
5903 "print 'scope1.c'::foo::funclocal_ro" and
5904 "print 'scope1.c'::bar::funclocal" and
5905 "print 'scope0.c'::filelocal_ro" and
5906 "print 'scope1.c'::filelocal at foo" and
5907 "print 'scope1.c'::filelocal_bss at foo" and
5908 "print 'scope1.c'::filelocal_ro at foo" and
5909 "print 'scope1.c'::foo::funclocal at foo" and
5910 "print 'scope1.c'::foo::funclocal_bss at foo" and
5911 "print 'scope1.c'::foo::funclocal_ro at foo" and
5912 "print 'scope1.c'::bar::funclocal at foo" and
5913 "print 'scope0.c'::filelocal_ro" and
5914 "print 'scope1.c'::filelocal" and
5915 "print 'scope1.c'::filelocal_bss" and
5916 "print 'scope1.c'::filelocal_ro" and
5917 "print 'scope1.c'::foo::funclocal" and
5918 "print 'scope1.c'::foo::funclocal_bss" and
5919 "print 'scope1.c'::foo::funclocal_ro" and
5920 "print 'scope1.c'::bar::funclocal" and
5921 "print 'scope1.c'::bar::funclocal_bss"
5922 to only be xfail'd when not compiled with gcc.
beb998c6 5923 Add rs6000-*-* xfail for
c906108c
SS
5924 "print 'scope0.c'::filelocal_bss before run"
5925 when compiled with gcc.
5926 (test_at_main): Add rs6000-*-* xfail for
5927 "print filelocal_ro in test_at_main"
5928 when compiled with gcc.
5929 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 5930 Add rs6000-*-aix* xfail for
c906108c
SS
5931 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
5932 "ptype t_char_array", not compiled with gcc.
5933 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
5934 xfail for "list foo (in include file)" when gcc compiled.
5935 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
5936 (integral_args): Add rs6000-*-* xfail for
5937 "run to call0a" if not compiled with gcc.
5938 (unsigned_integral_args): Add rs6000-*-* xfail for
5939 "run to call1a" if not compiled with gcc.
5940 (float_and_integral_args): Add rs6000-*-* xfail for
5941 "run to call2a" if not compiled with gcc and for
5942 "continue to call2b" for any compiler.
5943 Add rs6000-*-* xfail to
5944 "print f1 after run to call2a" for gcc compiled.
5945 (discard_and_shuffle): Add rs6000-*-* xfail for
5946 "run to call6a".
5947 (shuffle_round_robin): Add rs6000-*-* xfail for
5948 "backtrace from call7a" if not compiled with gcc.
5949 Add rs6000-*-* xfail for
5950 "backtrace from call7b" if compiled with gcc.
5951 (call_after_alloca): Add rs6000-*-* xfail for
5952 "print c in call_after_alloca" and
5953 "print s in call_after_alloca" and
5954 "backtrace from call_after_alloca_subr"
5955 if not compiled with gcc.
5956 (localvars_in_indirect_call): Add rs6000-*-* xfail for
5957 "print c in localvars_in_indirect_call" and
5958 "print c in localvars_in_indirect_call" and
5959 "backtrace in indirectly called function" and
5960 "stepping into indirectly called function"
5961 if not compiled with gcc.
5962 (localvars_after_alloca): Add rs6000-*-* xfail for
5963 "print c after runto localvars_after_alloca" and
5964 "print s after runto localvars_after_alloca" and
5965 "print i after runto localvars_after_alloca" and
5966 "print l after runto localvars_after_alloca"
5967 for all compilers.
5968 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
5969 than whatis-info.exp.
5970 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
5971 than opaque-info.exp.
5972 Setup rs6000-*-* xfail for
beb998c6 5973 "ptype on opaque struct pointer (statically)" and
c906108c
SS
5974 "ptype on opaque struct pointer (dynamically)" when
5975 not compiled with gcc.
5976 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
5977 rather than callf-info.exp.
5978 (do_function_calls): Add clear_xfail for rs6000-*-* for
5979 "p t_float_values2(3.14159,float_val2)". Seems to work
5980 fine there, both with xlc and gcc. Need to find out what
5981 it is doing right and fix other platforms.
5982 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
5983 "call inferior func with struct - returns int",
5984 "call inferior func with struct - returns long",
5985 "call inferior func with struct - returns float",
5986 "call inferior func with struct - returns double",
5987 "call inferior func with struct - returns char *",
5988 but only if not gcc compiled (presumes xlc compiled).
5989 Change rs6000-*-* xfails for
5990 "call inferior func with struct - returns char" and
5991 " call inferior func with struct - returns short" to only
5992 xfail if not using gcc.
5993 (clean mostlyclean): Remove *.ci and *.tmp files.
5994 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
5995 than templ-info.exp.
5996 * gdb.base/langs.exp: Source gdb.base/langs.ci.
5997 Add rs6000-*-* xfail for "up to foo in langs.exp"
5998 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
5999 when not gcc compiled.
beb998c6 6000
c906108c
SS
6001Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6002
6003 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6004 * gdb.base/corefile.exp: Likewise.
6005 * gdb.base/list.exp: Likewise.
6006 * gdb.base/scope.exp: Likewise.
6007 * gdb.base/siganls.exp: Likewise.
6008
6009 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6010 compiler output.
6011 * gdb.base/whatis.exp: Likewise.
6012
6013Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6014
6015 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6016 failure (opcode table has been fixed to match reality).
6017
6018Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6019
6020 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6021 "call inferior func with struct - returns char",
6022 "call inferior func with struct - returns short"
6023
6024 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6025 "print 'scope0.c'::filelocal at main",
6026 "print 'scope0.c'::filelocal_bss in test_at_main",
6027 "print 'scope0.c'::filelocal at foo",
6028 "print 'scope0.c'::filelocal_bss in test_at_foo",
6029 "print 'scope0.c'::filelocal at bar",
6030 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6031
c906108c
SS
6032 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6033 in source file 1". This bug seems to have been fixed with both
6034 gcc and native cc (was native assembler bug?).
6035
6036Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6037
6038 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6039 "backtrace through signal handler" to "i*86-*-sysv4*".
6040 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6041 continue" case. Add "known SVR4 bug" to fail message.
6042 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6043 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6044 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6045 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6046 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6047 "up to foo in langs.exp", "show language at foo in
6048 langs.exp", "up to cppsub_ in langs.exp", "show
6049 language at cppsub_ in langs.exp", "up to fsub in
6050 langs.exp", and "show language at fsub in langs.exp".
6051 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6052 "bactrace in corefile.exp".
6053 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6054 "call inferior function with struct - returns float" and
6055 "call inferior function with struct - returns double".
beb998c6 6056
c906108c
SS
6057Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6058
6059 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6060 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6061 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6062 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6063
6064Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6065
6066 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6067 (or overriden) "CHILL" macro rather then bare "gcc".
6068 Also look for ../../gcc/xgcc since that is what we will
6069 actually need, not "Makefile". Remove following assignment
6070 of CHILL to CHILL_FOR_TARGET because that results in
6071 recursive definition.
6072
6073Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6074
6075 * gdb.base/corefile.exp: Change xfail for backtrace in
6076 corefile.exp from linuxaout to all linux.
6077 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6078 cases where we miss the breakpoint at the signal handler
6079 for some reason. Setup xfail for linuxoldld/linuxaout and
6080 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6081 hitting SIGURG breakpoint.
6082 * gdb.base/signals.exp: Setup xfail for "next" acting like
6083 continue to add linuxoldld. Setup xfail for all linux for
6084 "next to handler in signals_tests_1", "backtrace in
6085 signals_tests_1", "continue to func1", "pass SIGUSR1",
6086 and continue to handler".
6087
6088Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6089
6090 * Update all FSF addresses except those in COPYING* files.
6091
6092Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6093
6094 * gdb.base/a2-run.exp: Change messages to be more explicit about
6095 the status of args, and quote binfile in results.
6096
6097Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6098
6099 * gdb.base/callfuncs.exp: Add tests for passing structs to
6100 inferior functions and return various types.
6101 * gdb.base/callfuncs.c: Add functions to receive a struct
6102 and return a member of the struct, in various types.
6103
6104Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6105
6106 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6107
6108Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6109
6110 * config/vxworks29k.exp: New file, sources vxworks.exp.
6111
6112Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6113
6114 * config/gdbremote.exp: New file. Testing framework using
6115 gdbserver.
6116
6117Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6118
6119 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6120 "call function when asleep" and "send end of file".
6121 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6122 for "backtrace in corefile.exp".
6123 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6124 for "backtrace through signal handler".
6125 * gdb.base/corefile.exp: Make sure we actually generate a core file
6126 before trying the core tests. Some systems allow the user to suppress
6127 generation of core files and default to that (linux for example).
6128 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6129 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6130
6131Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6132
6133 * gdb.threads: New directory with some crude multi-threaded
6134 gdb tests (step.exp and step2.exp).
6135 * config/mt-lynx (STEP_EXECUTABLE): Define.
6136 (THREADFLAGS): Define.
6137
6138Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6139
6140 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6141
6142 * gdb.base/signals.exp: Disable whole file for lynx until
6143 further notice.
6144
6145 * gdb.base/signals.exp: xfail test where "next" acts like
6146 "continue" for lynx.
6147
6148 * gdb.base/interrupt.exp: xfail test for calling function while
6149 inferior is asleep for lynx.
6150
6151 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6152 than one cr-lf after each command.
6153
6154Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6155
6156 * configure.in: Reinstate setting of stabsdirs variable, fix
6157 typo in setting up configdirs for native builds.
6158
6159 * gdb.base/return.exp: Fix typo in return double test.
6160 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6161 compiler from optimizing them away.
6162
6163Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6164
6165 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6166 sequences to be echo'd by gdb when using gdb_test.
6167 * gdb.chill/chexp.exp: Likewise.
6168 * gdb.fortran/exprs.exp: Likewise
6169
6170Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6171
6172 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6173 after the inferior gdb has started.
6174
6175 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6176 after each command.
6177 * gdb.base/funcargs.exp: Likewise.
6178 * gdb.base/gdbvars.exp: Likewise.
6179 * gdb.base/interrupt.exp: Likewise.
6180 * gdb.base/list.exp: Likewise.
6181 * gdb.base/watchpoint.exp: Likewise.
6182 * gdb.c++/demangle.exp: Likewise.
6183 * gdb.c++/inherit.exp: Likewise.
6184 * gdb.chill/chexp.exp: Likewise.
6185 * gdb.fortran/exprs.exp: Likewise.
6186
6187 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6188 test if we can't handle IO to/from the inferior.
6189
6190 * gdb.c++/misc.exp: Always check for a program already being
6191 started after sending a "run" command to gdb.
6192
6193 * gdb.base/twice.exp: Start with a fresh gdb.
6194
6195 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6196 only depend on gdb's expression code, not the chill runtime.
6197
6198 * gdb.base/return.c: Put return values into variables so we
6199 can have gdb print them rather than depending on the program
6200 to print them.
6201 * gdb.base/return.exp: Corresponding changes.
6202
6203 * lib/gdb.exp: Provide default value for noinferiorio.
6204 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6205 the inferior.
6206
6207 * gdb.base/break.exp: Always check for a program already being
6208 started after sending a "run" command to gdb.
6209 (text_next_with_recursion): Don't check the output from the
6210 program's printf statement. Instead just make sure the program
6211 exited.
6212
6213 * gdb.base/commands.exp: Protect tests which need arguments with
6214 $noargs conditionals.
6215
6216Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6217
6218 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6219 of structure member arrays to match gdb/valops.c:value_addr change.
6220
6221Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6222
6223 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6224 cases.
6225
6226Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6227
6228 * configure.in (configdirs): Remove gdb.chill from default list
6229 of subdirs and then add it back in only if doing a native build.
6230 The current chill compiler does not yet work in any cross build.
6231 * Revert all signal changes from Jul 6.
6232 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6233 for sh-hms targets, allowing these tests to link, with no other
6234 changes. Testing is suppressed by setting "nosignals" in site.exp.
6235
6236Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6237
6238 * configure.in (signaldirs): Define and add to configdirs for all
6239 targets except some specific ones that are known to not support signals.
6240 Also clean up formatting.
6241 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6242 (signals, sigall): Remove rules to build.
6243 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6244 Moved to new gdb.signals directory.
6245 * gdb.signals: New test directory.
6246 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6247 signals.c signals.exp}: New or moved files.
6248
6249Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6250
6251 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6252
6253Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6254
6255 * gdb.base/return.exp: Xfail `return double' test failure
6256 on at least Solaris 2.3 and handle future/past versions on
6257 a case by case basis as appropriate. Also update message
6258 to include i*86 failures.
6259
6260Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6261
6262 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6263
6264 * lib/gdb.exp: Fix comment which erroneously identified
6265 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6266 gdb_file_cmd not gdb_load).
6267 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6268
6269 * gdb.base/setvar.exp: Make test names consistent between pass and
6270 fail cases. Use gdb_test more.
6271
6272Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6273
6274 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6275
6276Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6277
6278 * gdb.base/help.exp: Fix expected help string for `show commands'.
6279
6280Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6281
6282 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6283
6284 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6285 of a text section.
6286
6287Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6288
6289 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6290 that loop eventually terminates. Fix Connection refused logic so
6291 that testsuite will expire nicely.
6292
6293Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6294
6295 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6296 config/rom68k.exp: New tcl glue for the appropriate monitors.
6297 These all just end up calling monitor.exp.
6298 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6299 refused' by retrying. Cleanup some timeout issues.
6300 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6301 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6302 callers don't have to set/restore global timeout variable.
6303
6304 * The following set of changes centralizes management of the global
6305 timeout variable. This way, it can be set in one target dependent
6306 place instead of dozens of places scattered throughout the test suite.
6307 If you need to lengthen a timeout, then you should either set timeout
6308 in one of the config/{target}.exp files, or multiply it by a factor.
6309 Setting it to an absolute value is always going to lose for some
6310 targets.
6311 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6312 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6313 * gdb.base/funcargs.exp: Don't set timeout.
6314 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6315 * gdb.base/printcmds.exp (test_print_string_constants
6316 test_print_array_constants): Don't set timeout.
6317 * gdb.base/ptype.exp: Don't set timeout.
6318 * gdb.base/recurse.exp: Don't set timeout.
6319 * gdb.base/return.exp: Don't set timeout.
6320 * gdb.base/watchpoint.exp: Don't set timeout.
6321 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6322 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6323
6324Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6325
6326 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6327
6328Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6329
6330 * lib/gdb.exp: Disable chill tests for irix5.
6331
6332Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6333
6334 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6335 each test pass or fail.
6336
6337Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6338
6339 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6340 xlc not gcc.
6341
6342Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6343
6344 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6345
6346Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6347
6348 * config/est.exp: Fix copyright and comments. Remove dead code.
6349 Use targetname, serialport and baud variables instead of fixed
6350 constants.
6351 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6352 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6353
6354Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6355
6356 * gdb.base/watchpoint.exp: Don't run
6357 test_watchpoint_triggered_in_syscall for sunos.
6358
6359Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6360
6361 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6362 they don't seem to exist. Do include stdio.h.
6363
6364Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6365
6366 * gdb.base/a1-selftest.exp: Add alpha xfail.
6367
6368Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6369
6370 * gdb.base/watchpoint.c (main): Prompt before calling read().
6371 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6372 Revise accordingly. Remove cruft about sending "123" several
6373 times, until it gets noticed. Clean up the "print buf[0]" stuff
6374 so that it passes or fails, and waits for prompts in the usual way.
6375
6376Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6377
6378 * gdb.base/recurse.exp: Fix comment.
6379
6380 * TODO: Remove item about printing variables in nodebug.exp. Add
6381 item about enabling tests which are only run on some targets.
6382
6383 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6384 fail, make test names unique, use new gdb_test convention
6385 regarding pattern, use gdb_test more, etc.).
6386
6387 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6388 fail, make test names unique, etc.).
6389
6390Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6391
6392 * gdb.base/nodebug.c: Change return type of top and middle to
6393 short.
6394 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6395 are fixed by the recent mdebugread.c changes. Allow `short ()'
6396 as type for top and middle.
6397
6398Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6399
6400 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6401 nearly as I can tell, the whole thing was an accident in Stu's
6402 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6403 to replace a send/expect pair with gdb_test, but ended up only
6404 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6405 of 30 Mar 1995 took care of it, but left this vestigial comment
6406 which I am now nuking.
6407
6408Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6409
6410 * gdb.base/break.exp: Look for different line number for
6411 breakpoint at main depending on usestubs.
6412
6413Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6414
6415 * gdb.base/list.exp: Adjust some alternate expect patterns to
6416 match recent list0.c change. Add alternate expect pattern for
6417 output from `list default lines around main' for optimizing
6418 compilers.
6419
6420Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6421
6422 * lib/gdb.exp: If nosignals is not set, set it to 0.
6423
6424Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6425
6426 * config/slite-gdb.exp: Responds to load symbol table prompt.
6427 * gdb.base/break.exp: Adjust line number, fix rerun.
6428 * gdb.base/langs0.c: Add #ifdef usestubs.
6429
6430Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6431
6432 * gdb.base/list.exp: Adjust line contents after adding new lines in
6433 list0.c. Also fix a syntax error.
6434
6435 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6436 * gdb.base/break.exp: ditto.
6437 * gdb.base/list.exp: ditto.
6438 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6439 * gdb.base/run.c: ditto.
6440 * gdb.base/list0.c: ditto.
6441 * gdb.base/funcargs.c: ditto.
6442
6443Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6444
6445 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6446 $targetname, $serialport and $baud instead of hardwired variables.
6447 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6448 target doesn't support signals.
6449
6450Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6451
6452 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6453
6454Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6455
6456 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6457 Don't rely on the value of an auto variable before it has been
6458 initialized. Use gdb_test more.
6459
6460Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6461
6462 * lib/gdb.exp (default_gdb_version): A version number must start
6463 with a digit, but other than that contains all characters up to
6464 the first whitespace character.
6465
6466Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6467
6468 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6469
6470Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6471
6472 * gdb.c++/*.exp: Warn if executable does not exist. The original
6473 reason for skipping the warning was that configure.in sometimes
6474 intentionally skipped building the executables but the tcl code
6475 had no way of knowing. That (a) was always bogus with respect to
6476 error handling, (b) is no longer true (right now there is no way
6477 to skip C++ tests).
6478
6479 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6480
6481Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6482
6483 * gdb.base/list.exp: Add expect patterns for output from
6484 SunPRO compiled executables.
6485 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6486 types.
6487
6488Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6489
6490 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6491 number (we are already testing that the correct source line text
6492 gets printed).
6493
6494 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6495 that is what is intended, but something needed to be done to get
6496 sunos4 native working again.
6497
6498 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6499
6500 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6501 apparently went with a (very) old xfail.
6502
6503Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6504
6505 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6506 runto_main is a proc in gdb.exp that will do 'step' for target use
6507 stubs.
6508 * gdb.base/exprs.exp: ditto.
6509 * gdb.base/interrupt.exp: ditto.
6510 * gdb.base/opaque.exp: ditto.
6511 * gdb.base/printcmds.exp: ditto.
6512 * gdb.base/ptype.exp: ditto.
6513 * gdb.base/scope.exp: ditto.
6514 * gdb.base/setvar.exp: ditto.
6515 * gdb.base/signals.exp: ditto.
6516 * gdb.base/twice.exp: ditto.
6517 * gdb.c++/classes.exp: ditto.
6518 * gdb.c++/inherit.exp: ditto.
6519 * gdb.c++/templates.exp: ditto.
6520 * gdb.base/break.exp: no run and hit main for stubs. Change line
6521 numbers for breakpoints and info breakpoint.
6522 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6523 breakpoint().
6524 * gdb.base/callfuncs.c: ditto.
6525 * gdb.base/exprs: ditto.
6526 * gdb.base/interrupt.c: ditto.
6527 * gdb.base/opaque0.c: ditto.
6528 * gdb.base/printcmds.c: ditto.
6529 * gdb.base/ptype.c: ditto.
6530 * gdb.base/scope0.c: ditto.
6531 * gdb.base/setvar.c: ditto.
6532 * gdb.base/signals.c: ditto.
6533 * gdb.base/twice.c: ditto.
6534 * gdb.c++/misc.cc: ditto.
6535 * gdb.c++/templates.cc: ditto.
6536
6537Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6538
6539 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6540
6541 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6542 somewhere between `read' and `main.c'. I'm pretty sure the
6543 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6544 and it isn't particularly useful.
6545
6546 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6547
6548Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6549
6550 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6551
6552Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6553
6554 * config/mt-slite: add LIBS and -nostdlib.
6555 * config/slite-gdb.exp: add this new file to support sparclite target.
6556
6557Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6558
6559 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6560
6561 * gdb.base/a2-run.exp: Change argument to istarget from
6562 "*-*-vxworks" to "*-*-vxworks*".
6563 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6564
6565Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6566
6567 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6568 will not runto main but do a 'step' to step out of breakpoint().
6569 * config/mt-slite: add -Dusestubs.
6570
6571Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6572
6573 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6574 instead of just @.
6575
6576 * gdb.base/signals.exp: Add test for "handle all print".
6577 * TODO: Remove "handle all print". Also remove item about
6578 checking copyright date (I don't like the idea of a spurious FAIL
6579 based on when we run the tests).
6580
6581 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6582 for SunOS4 (reason for failure not investigated). Remove
6583 redundant test for $binfile.
6584
6585 * gdb.base/nodebug.c (array_index): Call malloc.
6586
6587 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6588
6589Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6590
6591 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6592 conventions and slightly simplify the matching regexp.
6593
6594Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6595
6596 * gdb.base/break.exp: Update gdb_test invocation to use new
6597 convention.
6598
6599 * lib/gdb.exp: If noargs is not set, set it to 0.
6600
6601 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6602 tests unique.
6603
6604 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6605
6606Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6607
6608 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6609 one argument of type "<non-float parameter>".
6610
6611Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6612
6613 * config/rom68k.exp: New file to support Motorola IDP board.
6614 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6615 * gdb.base/break.c: Change things around so that this program
6616 doesn't depend upon args. This is necessary to make remote
6617 targets work (in general, they can't take args).
6618 * gdb.base/break.exp: Don't try to send args to program. Don't
6619 expect output. Also, replace lots of code with gdb_test.
6620
6621Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6622
6623 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6624 printing of '\'' (which is what the comment says we are testing,
6625 even though we were not), not '''.
6626 (test_integer_literals_rejected): Test that printing ''' is an error.
6627
6628 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6629 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6630 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6631 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6632 Use gdb_test not test_print_accept.
6633 * lib/gdb.exp: Remove test_print_accept.
6634
6635 * gdb.base/signals.exp (signal_tests_1): Make pass message
6636 consistent with fail message.
6637
6638 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6639 unsigned char; the bug (PR 1821) is fixed.
6640
6641 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6642
6643 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6644 successful tests--makes xfailing them work right.
6645
6646Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6647
6648 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6649 only \r\n, not .*. The test can pass .* as the last thing in
6650 $pattern if that is what it wants. In addition to providing this
6651 flexibility, this change should speed up pattern matching in cases
6652 where the pattern already ended with .* (there were a number of
6653 them). This change also helps catch bad patterns--in the old
6654 scheme the typo "char \*" instead of "char \\*" would pass. Now
6655 it is caught.
6656 * Many .exp files: Update callers.
6657
6658 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6659 clearer and does not spuriously match multiple ('s. Likewise for
6660 ) and *.
6661
6662 * gdb.base/nodebug.exp: Test ability to call a function and pass
6663 it a string (even with no debugging info).
6664
6665 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6666 "p '\'", which is the same as "p ''" once tcl gets done with
6667 quoting, to "p '\\'", which I suspect is what is intended (one
6668 backslash gets sent to GDB).
6669
6670 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6671
6672Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6673
6674 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6675 1817) was fixed literally years ago.
6676
6677Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6678
6679 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6680 test, it causes stepping out of call_after_alloca_subr with
6681 optimizing compilers.
6682 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6683 fails.
6684
6685 * gdb.c++/templates.exp: Source templ-info.exp only if
6686 the templates executable exists.
6687
6688 * gdb.c++/misc.cc (class Contains_static_instance,
6689 class Contains_nested_static_instance),
6690 gdb.c++/classes.exp (test_static_members): Test printing of
6691 a class that contains a static instance of the class.
6692
6693Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6694
6695 * gdb.base/langs2.c (cppsub_): Don't prototype.
6696 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6697 only, I believe).
6698
6699Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6700
6701 * lib/gdb.exp (skip_chill_tests): New procedure.
6702
6703 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
6704
6705Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
6706
6707 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
6708 each expect pattern. Cuts runtime from 12 to about 4 seconds.
6709
6710Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6711
6712 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
6713
6714 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
6715 disassemble 8, not 16, instructions for part 4.
6716
6717 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
6718 support the latter anymore.
6719
6720 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
6721 -DNO_PROTOTYPES.
6722 * gdb.base/callfuncs.c: Control use of prototypes based on
6723 NO_PROTOTYPES, not __STDC__.
6724 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
6725 t_float_values2 tests if prototypes in use.
6726
6727 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
6728 t_double_values): When checking differences against DELTA, check
6729 that difference is within the range (-DELTA,DELTA), not just
6730 (-infinity,DELTA).
6731
6732Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
6733
6734 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
6735 'file' command firts, then 'target', then 'load', this is due to gdb
6736 target set up.
6737 * config/mips-gdb.exp: Fix a couple regular exp bugs.
6738
6739Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
6740
6741 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
6742 FP load/store variants.
6743 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
6744
6745Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6746
6747 * gdb.base/term.exp: Do not give a warning if not native, it is
6748 not an abnormal condition.
6749
6750Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
6751
6752 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
6753 t_char_array".
6754
6755Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6756
6757 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
6758 are getting the version number.
6759
6760 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
6761 if not native, it is not an abnormal condition.
6762
6763Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6764
6765 * lib/gdb.exp: Just use "file exists", rather than undocumented
6766 dejagnu procedure "findfile".
6767
6768Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6769
6770 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
6771 (LDFLAGS): Set to -Xlinker -Ur.
6772
6773 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
6774 Removed, these values are set by lib/gdb.exp.
6775
6776 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
6777
6778Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6779
6780 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
6781 of replicating gdb startup code.
6782
6783 * config/mt-vxworks (LDFLAGS): Set to -r.
6784 (CFLAGS_FOR_TARGET): Removed.
6785
6786 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
6787 (gdb) and gdb for vxworks uses (vxgdb).
6788
6789 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
6790 executable is not in the tree and host != target, use sed and
6791 program_transform_name to determine the gdb name used by the
6792 target.
6793
6794 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
6795 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
6796
6797Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6798
6799 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
6800 floats, chars, and shorts where there are ANSI-style function
6801 definitions.
6802
6803 * gdb.base/langs.exp, gdb.base/langs*: New test.
6804 * gdb.base/Makefile.in: Build it.
6805 * TODO: Remove item about checking that C names don't get C++
6806 demangling applied; this test tests it.
6807
6808Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6809
6810 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
6811 went with the const70 xfail. The xfail went away a year ago.
6812
6813 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
6814
6815 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
6816 for hp300.
6817
6818 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
6819
6820 * gdb.base/a1-selftest.exp: Don't run on hp300.
6821
6822Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6823
6824 * Makefile.in (site.exp): Set host_alias and target_alias as well
6825 as host_triplet and target_triplet.
6826
6827Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6828
6829 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
6830
6831 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
6832 places as other ecoff systems).
6833
6834 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
6835 ultrix.
6836
6837Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6838
6839 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
6840 remove them.
6841 * gdb.base/nodebug.exp: Accept "function" in addition to "text
6842 variable and "variable" in addition to "data variable".
6843 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
6844
6845 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
6846 2.
6847 * gdb.base/list1.c (long_line): Add additional statement at start
6848 of function.
6849 * gdb.base/list.exp (test_forward_search): Update line number to
6850 reflect new statement.
6851
6852Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6853
6854 * gdb.base/signals.exp: Reinitialize searched source directories
6855 after gdb_start call.
6856
6857Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
6858
6859 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
6860 * gdb.stabs/Makefile.in: Likewise.
6861
6862 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
6863 change. Instead split the tests into smaller pieces.
6864 * gdb.disasm/hppa.s: Corresponding changes.
6865
6866Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6867
6868 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6869 Quote ^C when passing it to stty. For some shells ^ is a pipe.
6870
6871 * gdb.base/funcargs.exp: Modify many tests so that every test
6872 either passes or fails. Make some test names unique.
6873
6874Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6875
6876 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6877 Call stty to set interrupt character.
6878
6879 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
6880 for HP assembler versus GNU assembler based on actual behavior of
6881 $(CC), rather than assuming that $(AS) is always the GNU assembler.
6882
6883 * TODO: Suggest a few more stepping tests.
6884
6885Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
6886
6887 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
6888 restart GDB for h8300 after a continue.
6889 (return): Add pattern to match a29k-udi behavior.
6890 * gdb.base/nodebug.exp: Remove obsolete comment.
6891 * gdb.base/regs.exp: New file, testing of register displays.
6892 * gdb.base/return.exp: Fix typo in reference to $objdir.
6893 * gdb.base/whatis.exp: Always start with a fresh GDB.
6894
6895Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6896
6897 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
6898 higher, these tests generate a lot of output.
6899
6900Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6901
6902 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
6903 code following the catch silently ignored some errors; without the
6904 catch they should be thrown like any other tcl error. Also, the
6905 catch used "" instead of {} which meant all the callers who wanted
6906 to include one of the characters "[]$ had to quote it an extra time.
6907 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
6908 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
6909 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
6910 Remove extra quoting.
6911
6912Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
6913
6914 * gdb.base/commands.exp: Make test names unique; every test either
6915 passes or fails. Update some comments.
6916
6917 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
6918
6919Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6920
6921 The following fixes a FAIL caused by the fact that the alpha stabs
6922 configuration didn't use the ".if alpha" code in weird.def.
6923 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
6924 bit pointer, so the 32 bit version works even on the alpha.
6925 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
6926 Remove the stuff which allowed us to have separate versions for
6927 alpha and everything else.
6928
6929 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
6930 regexp which "info func operator\[\](" is supposed to match. Fix
6931 string to send to GDB. Note that GDB still doesn't work right. Add a
6932 new test for "info func .perator\[\](" which GDB does handle correctly.
6933
6934 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
6935
6936Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6937
6938 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
6939 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
6940 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
6941 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
6942 it makes the tests harder to understand and confuses test-o-matic.
6943 The preferred style is that each test provides a PASS or a FAIL,
6944 and has a unique message (e.g. "continue #54" not just "continue")
6945 which is the same for the pass and the fail.
6946 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6947 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
6948 to lib/gdb.exp.
6949 * gdb.base/printcmds.exp: Use test_print_accept. Remove
6950 prt_accept which was basically the same thing. Likewise for
6951 test_print_reject and prt_reject.
6952 * lib/gdb.exp (test_print_reject): Add some more error message
6953 patterns to match from the former printcmds.exp (prt_reject).
6954 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
6955 One defect of the passcount stuff is that some of it failed to
6956 report XPASS where appropriate.
6957 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
6958 stuff before and after arg in expected pattern.
6959 (test_paddr_operator_functions): Re-do test without print_addr_of;
6960 this is the only test which seems to want extra stuff there.
6961
6962Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6963
6964 * gdb.base/nodebug.exp: Update new tests to reflect improved
6965 wording of gdb output.
6966
6967 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
6968 and "ptype" work on variables in files compiled without -g.
6969 Replaces commented out "maint print msymbol" tests.
6970
6971Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6972
6973 * gdb.base/setvar.c (dummy): Call malloc.
6974
6975 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
6976 losing with the irix4 sed.
6977
6978 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
6979 ALRM" on irix4.
6980
6981Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6982
6983 * TODO: Remove items about corefile.exp testing new exec-file and
6984 backtrace; both are now done. Add items about printing enums.
6985
6986Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6987
6988 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
6989 "get signal $thissig" test fails.
6990
6991 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
6992
6993Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6994
6995 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
6996 compiler warning with dec alpha compiler.
6997
6998 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
6999 extra \n from gdb_test call (this explains why the prompt test
7000 that I removed yesterday was there).
7001 (user_defined_command_test): Remove extra \n and prompt test.
7002
7003 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7004 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7005 doesn't exist.
7006 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7007 Also remove alpha workaround, which turns out to be because
7008 SIGABRT == SIGLOST.
7009
7010 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7011
7012 * gdb.base/help.exp: Don't test "help show".
7013
7014Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7015
7016 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7017 "set print address" is on.
7018 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7019 pass prompt to gdb_test; gdb_test already looks for the prompt.
7020
7021 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7022
7023 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7024 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7025 was to make sure that gdb can read a core file. But (a) the "read
7026 the corefile" part didn't make it to a1-selftest.exp, we just
7027 delete the corefile after creating it, and (b) we test reading
7028 corefiles in corefile.exp anyway. Also, this test left around a
7029 xgdb process on Solaris.
7030
7031 * gdb.base/corefile.exp: Also test backtrace.
7032
7033Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7034
7035 * gdb.base/commands.exp: Test a simple user defined command with
7036 arguments and if/while statements; verify the full user command is
7037 printed by "show user".
7038
7039 * gdb.base/commands.exp: Test if/while commands as part of a
7040 breakpoint command list; verify they appear in breakpoint
7041 information.
7042
7043Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7044
7045 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7046 than by dividing by zero.
7047
7048Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7049
7050 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7051 performing an inferior call with watchpoints enabled.
7052 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7053 call.
7054
7055Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7056
7057 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7058 of "file" command.
7059
7060 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7061 Add additional pattern for when "int operator int(void);" appears
7062 in a different order.
7063
7064Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7065
7066 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7067
7068 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7069 and "signal" with ".*".
7070
7071Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7072
7073 * TODO: Add note about "handle all nostop".
7074
7075 * gdb.base/{sigall.c, sigall.exp}: New test.
7076 * gdb.base/Makefile.in: Add it.
7077
7078Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7079
7080 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7081 when invoking GDB, suppresses any windowing interface.
7082
7083Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7084
7085 * config/sim-gdb: New file, simulator testing support.
7086
7087Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7088
7089 * gdb.base/interrupt.exp: Test calling func1 twice.
7090
7091Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7092
7093 * gdb.base/list.exp (test_forward_search): Set timeout higher
7094 when we'll be getting lots of output from gdb.
7095
7096 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7097 "init_malloc" to after the expect statement. Run it if that
7098 regexp is taken, but also for two others which happen if source
7099 cannot be found.
7100
7101Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7102
7103 * gdb.base/printcmds.exp: New test, for printing register before
7104 program is running.
7105
7106Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7107
7108 * gdb.base/list.exp: Correct some alternate expect patterns
7109 to reflect changes in list1.c.
7110
7111Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7112
7113 * TODO: Add item regarding large frames.
7114
7115 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7116
7117 * TODO: Remove item about enabling return.exp; it
7118 is enabled. Suggest a few more "return" tests.
7119
7120Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7121
7122 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7123 anonymous unions.
7124
7125Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7126
7127 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7128 and pr-5646.o, so "make" is the same as "make all", not "make
7129 pr-4975.o".
7130
7131Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7132
7133 * gdb.base/list.exp: Adjust expectations to reflect changes in
7134 list1.c.
7135 (test_forward_search): New test proc.
7136 * gdb.base/list1.c (long_line): New function, has long source line.
7137
7138Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7139
7140 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7141 additional line of code that was added.
7142
7143Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7144
7145 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7146 tests so as not to overflow expect's input buffers.
7147 * gdb.disasm/hppa.exp: Corresponding changes.
7148
7149Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7150
7151 Beginnings of template debugging tests.
7152 * gdb.c++/templ-info.cc: New file to test for template
7153 debugging capability of the compiler.
7154 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7155 templ-info.cc.
7156 * gdb.c++/templates.cc: Add explicit template instantiations
7157 to enable compiling with -fno-implicit-templates. Add destructor
7158 and 'value' method to T5 class for template tests.
7159 * gdb.c++/templates.exp: Add testcases for printing of template
7160 types, setting breakpoints on template methods and calling a
beb998c6 7161 template method.
c906108c
SS
7162
7163Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7164
7165 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7166 branch target since some assemblers (gas-2.5) may emit a
7167 relocation for the branch instead of resolving it in the
7168 assembler.
7169
7170Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7171
7172 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7173 through signal handler.
7174
7175Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7176
7177 * configure.in (*-*-netware): Use config/mt-netware.
7178
7179 * config/mt-netware: New file.
7180 * config/mt-i386-netware: Removed, separate configs for different
7181 netware architectures are no longer needed now that we have
7182 --with-headers.
7183
7184Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7185
7186 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7187 by the recent changes to use ANSI C arithmetic conversions.
7188
7189Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7190
7191 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7192 bug involving using inferior_pid to figure out whether to select a
7193 frame.
7194
7195Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7196
7197 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7198 match the current disassembler output.
7199
7200Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7201
7202 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7203 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7204 types, expect "int" as type of integer values (for now).
7205
7206Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7207
7208 * gdb.base/commands.exp: New tests for if/while commands.
7209
7210Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7211
7212 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7213 by .*, since hex values have different syntax in Chill mode.
7214
7215Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7216
7217 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7218 linefeed from expect pattern for repeated types with indices > 9.
7219
7220Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7221
7222 First part of Fortran test suite.
7223 * gdb.fortran: New directory.
7224 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7225
7226Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7227
7228 * gdb.base/default.exp: Update expect pattern for load command
7229 without arguments.
7230
7231Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7232
7233 * configure.in: Change i386 to i[345]86.
7234 * gdb.base/configure.in: Likewise.
7235 * gdb.c++/configure.in: Likewise.
7236 * gdb.chill/configure.in: Likewise.
7237
7238Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7239
7240 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7241 patterns, since that is not a valid context for comments.
7242
7243Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7244
7245 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7246 repeated types and repeated types with indices > 9.
7247
7248Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7249
7250 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7251 2417; old bug has been fixed.
7252
7253Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7254
7255 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7256 send the newline ourselves instead of assuming gdb_test will do
7257 so when passed an empty input string.
7258
7259 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7260 stabs testcode.
7261
7262Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7263
7264 * lib/gdb.exp (gdb_test): Don't send anything if the first
7265 argument is an empty string. This makes cases where we want to
7266 match output that is already in expect's buffers (for example,
7267 matching a breakpoint after gdb_run_cmd has been called) work
7268 reliably.
7269
7270Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7271
7272 * config/netware.exp: New file.
7273
7274Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7275
7276 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7277 the -B and -L prefixes so we can find the debugging stub.
7278
7279 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7280 there and we are using the gcc from the tree.
7281
7282 * gdb.base/types.c: Removed.
7283
7284 * gdb.base/configure.in: Look for makefile fragments in ../config.
7285 Recognize i386-*-netware.
7286 * gdb.c++/configure.in: Likewise.
7287
7288Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7289
7290 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7291 the correct TCL syntax.
7292
7293Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7294
7295 * gdb.base/opaque.exp: use runto instead of messing around with
7296 breakpoints. Simplify by using gdb_test.
7297
7298 * gdb.base/bitfields.exp: restart between tests on netware targets
7299 because breakpoints aren't relocated after target death. Run
7300 processes to completion.
7301
7302 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7303
7304Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7305
7306 * Makefile.in: Remove extra tabs that confuse some versions
7307 of "make". Use the newly built gdb to test with by default,
7308 rather than the first one in the tester's search path.
7309
7310Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7311
7312 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7313
7314 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7315 condition help.
7316
7317Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7318
7319 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7320
7321 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7322 running.
7323 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7324 * gdb.base/funcargs.exp: Likewise.
7325
7326 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7327 * gdb.base/funcargs.exp: Likewise.
7328
7329 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7330 message is "".
7331
7332Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7333
7334 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7335 return,signals,twice}.exp: Handle non-existant binaries
7336 consistantly.
7337
7338 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7339 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7340 might testing a cross development system.
7341
7342Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7343
7344 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7345 runtest script is relative to ${srcdir}, not ${rootdir}.
7346
7347Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7348
7349 * gdb.base/signals.exp: Allow for optionality of breakpoint
7350 address.
7351
7352Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7353
7354 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7355
7356Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7357
7358 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7359 for size_t definition.
7360 * gdb.c++/templates.cc: Likewise
7361
7362 * config/mt-i386-netware: New file.
7363
7364 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7365 defined.
7366
7367 * gdb.base/Makefile.in: Added support for systems that name core
7368 files by appending "core" to the program name.
7369 * gdb.base/a1-selftest.exp: Likewise.
7370
7371Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7372
7373 * gdb.base/return.exp: Add comment and message for `return double'
7374 test failure on Sparc Solaris.
7375
7376Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7377
7378 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7379
7380Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7381
7382 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7383 from optimizing them away.
7384 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7385 patterns to include default constructors and assignment operators,
7386 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7387 character in the output of the virtual base pointer.
7388
7389Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7390
7391 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7392 expression match in print_addr_of to avoid unintented matches.
7393 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7394 versions up to 2.5.8.
7395
7396Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7397
7398 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7399 included file to run under newer versions of expect.
7400 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7401 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7402 Remove xfail for the virtual table of BDDHookV.
7403
7404Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7405
7406 * lib/gdb.exp (string_to_regexp): Set a default result.
7407 (default_gdb_start): Fix misleading message.
7408
7409Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7410
7411 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7412 Remove all CC, etc definitions.
7413 * config/mt-hpux: New file.
7414 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7415 (CFLAGS, LDFLAGS): Define.
7416 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7417
7418 * Makefile.in (site.exp): Don't insert host_os, etc.
7419 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7420 (distclean): Check existence of subdir.
7421 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7422 * gdb.base/Makefile.in: General cleanup and simplification.
7423 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7424 to build executables. Use default rule to build .o files.
7425 (EXPECT, RUNTEST, CC): Fix relative pathname.
7426 (site.exp): Don't insert host_os, etc.
7427 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7428 and/or SIGUSR1 defined.
7429 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7430 * gdb.c++/Makefile.in: General cleanup and simplification.
7431 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7432 (CFLAGS): Remove.
7433 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7434
7435Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7436
7437 * gdb.base/recurse.exp: Misc changes to get tests running again
7438 after Kung's changes to the watchpoint code.
7439 * gdb.base/watchpoint.exp: Likewise.
7440
7441Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7442
7443 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7444
7445Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7446
7447 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7448 * lib/gdb.exp (default_gdb_start): Define.
7449 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7450 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7451 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7452 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7453 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7454 Don't call gdb_target_udi in between tests.
7455
7456Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7457
7458 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7459 (which was basically just a local version of the same thing). In
7460 addition to avoiding duplication, gdb_test_exact is faster.
7461 * lib/gdb.exp (gdb_test_exact): Fix typo.
7462
7463 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7464 don't give an error.
7465
7466 * gdb.base/term.exp: Call delete_breakpoints before starting.
7467
7468 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7469 (t10): Add comment.
7470
7471Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7472
7473 Reorganization of the GDB Test Suite.
7474
7475 * gdb.base: New directory, contains all the basic tests.
7476 * gdb.c++: New directory, tests specific to C++.
7477 * gdb.chill: New directory, tests specific to Chill.
7478 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7479 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7480 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7481 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7482 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7483 t30-31 to chill).
7484 * */gdbme.*: Rename to match appropriate expect scripts.
7485 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7486 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7487 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7488 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7489 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7490 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7491 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7492 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7493 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7494 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7495 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7496 gdb.c++/virtfunc.cc: New names of C++ files.
7497 * gdb.chill/chillvars.ch: New name of Chill file.
7498 * gdb.base/configure.in, gdb.c++/configure.in,
7499 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7500 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7501 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7502 * configure.in (configdirs): Update to reflect directory changes.
7503 (target_abbrev): No longer define for any configuration.
7504 * Makefile.in: Cosmetic improvements to header comments.
7505
7506Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7507
7508 Various changes to gdb.t31:
7509
7510 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7511 * gdbme.ch: Make all key-words and predefineds be upper-case.
7512 * chillvars.exp: Expect key-words and predefinds in upper-case.
7513
7514 * chillvars.exp: Use gdb_test_exact many places.
7515 Change expected output for arrays (which now includes index labels).
7516
7517 * pr-5020.exp, gdme.ch (module PR_5020):
7518 New test, for PR-5020.
7519
7520Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7521
7522 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7523 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7524
7525Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7526
7527 * Makefile.in: Fix bit-rot in definitions of CHILL,
7528 CHILL_FOR_TARGET and Chill_LIB.
7529 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7530 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7531 CHILL, and CHILL_LIB.
7532
7533Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7534
7535 * Revert the previous changes. Please see Rob's directory
7536 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7537
7538Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7539
7540 * Makefile.in, configure.in, config/mips-gdb.exp,
7541 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7542 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7543 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7544 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7545 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7546 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7547 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7548 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7549 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7550 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7551 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7552 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7553 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7554 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7555 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7556 changes from 94Q1.
7557
7558Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7559
7560 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7561 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7562 Rob's new testing fragments.
7563
7564Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7565
7566 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7567 lib/gdb.exp: Replace error proc calls with perror.
7568
7569Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7570
7571 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7572 version also, match on casted version strings, and match on
7573 gdb startup case where the line numbers might be messed up.
7574
7575Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7576
7577 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7578 (CFLAGS): Delete it from here.
7579
7580Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7581
7582 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7583
7584Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7585
7586 * Makefile.in (RUNTEST): Default to just "runtest".
7587
7588Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7589
7590 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7591 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7592 the code has been restructured.
7593
7594Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7595
7596 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7597 \n, not just one of each.
7598
7599 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7600 /bin/cc gives a warning if you do.
7601
7602Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7603
beb998c6 7604 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
7605 __t10ListS_link1ZUiRCUiPT0
7606
7607Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7608
7609 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7610 on local variables in recursive functions.
7611
7612 * gdb.t07/Makefile.in: Build the new test.
7613
7614Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7615
7616 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7617 directly. Instead compare the return values from actual calls.
7618
7619Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7620
7621 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7622
7623Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7624
7625 * From Peter Schauer with minor modifications.
7626 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7627 stops in mid-line in the caller. Add xfail for returning a float
7628 value on X86 targets.
7629
7630Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7631
7632 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7633 to avoid expect lossage.
7634 (fmem_LRbug_tests): Likewise.
7635 * gdb.disasm/hppa.s: Corresponding changes.
7636
7637 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7638 conditions to work with latest dejagnu/expect.
7639
7640 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7641 expected to fail on the PA.
7642 (backtrace in call with trampolines): Explicitly require main
7643 to be frame #1 (no trampolines should show up in backtrace).
7644
7645 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7646 "continue -expect".
7647 * gdb.t06/break.exp: Likewise.
7648 * gdb.t07/watchpoint.exp: Likewise.
7649 * gdb.t13/bitfields.exp: Likewise.
7650 * gdb.t15/{funcargs,return}.exp: Likewise.
7651 * gdb.stabs/weird.exp: Likewise.
7652 * config/{mips,udi}-gdb.exp: Likewise.
7653
7654 * hppa.sed: Enclose comments within a sed command to avoid
7655 losing with the old OSF1 sed.
7656
7657Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7658
7659 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7660 sequent dynix.
7661 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7662 * gdb.t15/funcargs.exp: Conditionally step again to really
7663 finish from marker_call_with_trampolines. Handle the case where
7664 the first step from within call_with_trampolines already steps
7665 us back to main.
7666 * gdb.t15/gdbme.c: Add comment to closing brace of
7667 call_with_trampolines for funcargs.exp.
7668
7669Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7670
beb998c6 7671 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
7672 Fix typo(s).
7673
7674Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7675
7676 * gdb.t07/gdbme.c: More code for watchpoint testing.
7677
7678 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7679 "Hardware watchpoint" throughout file.
7680 (test_watchpoint_triggered_in_syscall): New test.
7681 (test_complex_watchpoint): New test.
7682
7683Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7684
7685 * gdbme.c (call_with_trampolines): New function to try and step
7686 into. Tests trampoline problems on the PA.
7687
7688 * funcargs.exp (localvars_in_indirect_call): No longer expect
7689 stepping into indirect call to fail on PAs.
7690 (test_stepping_over_trampolines): New test.
7691
7692Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7693
7694 * TODO: Add suggestions for static member function tests, and
7695 completion tests.
7696
7697Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7698
7699 * TODO: Add suggestions for "p/a" tests.
7700
7701 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
7702 (default_gdb_exit): Replace all the hair with sending "quit" to
7703 the process with a simple close.
7704
7705Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7706
7707 * TODO: Add suggestions for shared library tests.
7708
7709Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7710
7711 * TODO: Add suggestions for x/s tests.
7712
7713Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7714
7715 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
7716 "enable once", and "enable breakpoints once" with ".*".
7717
7718Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7719
7720 * TODO: Add suggestions about structure passing tests.
7721
7722Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7723
7724 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
7725 the primary1 test, use work around if __GNUC__ < 2.
7726 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
7727 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
7728 Test for bad output rather than waiting for timeout. Issue
7729 second continue only if first continue failed.
7730
7731Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7732
7733 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
7734 operator[] test with gdb_test because the old code didn't seem to
7735 be getting the quoting right with the new dejagnu.
7736
7737Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
7738
7739 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
7740 one from the path.
7741 * Makefile.in: Use a fresh expect if there is one, use runtest
7742 from the src tree if there is one.
beb998c6 7743
c906108c
SS
7744Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7745
7746 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
7747 next over recursive call. Revise the tests from that point on
7748 (which had been skipped) to match GDB's actual (correct) output.
7749
7750 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
7751 with next over a breakpoint whose condition is false.
7752
7753 * gdb.t00/help.exp: Comment out "help set print" tests just like
7754 (and for same reason as) "help set" test.
7755
7756Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7757
7758 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
7759 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
7760
7761Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7762
7763 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
7764 necessary gdb_target_udi.
7765
7766 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
7767
7768 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
7769 1838 and 2417; they are fixed.
7770
7771 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
7772 gdb.t03/ptype.exp (ptype structure, ptype union):
7773 Remove xfails; the test is looser than when the xfails were added.
7774
7775 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
7776 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
7777
7778 * gdb.t01/run.exp: Only run shell test if isnative.
7779
7780 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
7781 since "run" automatically loads if necessary. Call gdb_target_udi
7782 after the "file" since "file" kills any execution target.
7783
7784 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
7785 GDB. GDB doesn't work that way (not anymore at least) on UDI.
7786 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
7787 argument for UDI.
7788
7789Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7790
7791 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
7792
7793 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
7794
7795Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7796
7797 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
7798 properly quoting regexps. This makes the second argument to
7799 demangle a fixed string, which matches the callers, instead of a
7800 shell-style pattern which is what the previous implementation
7801 used. Update some of the callers.
7802
7803Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7804
7805 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
7806 (comib_nullified_tests): Fix typo.
7807 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
7808 strings. No longer expected to fail.
7809
7810 * gdb.disasm/hppa.s (addib_tests): Fix typo.
7811 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
7812 strings. No longer expected to fail.
7813
7814 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
7815 string. No longer expected to fail.
7816
7817Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7818
7819 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
7820 No longer expected to fail.
7821
7822 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
7823 string. No longer expected to fail.
7824
7825Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7826
7827 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
7828 only in the names (I probably got most of them). I was even
7829 generous with some which differed in underscores in names, and
7830 probably missed a few, and I *still* was able to remove almost a
7831 third of the file with almost no impact on testsuite coverage.
7832
7833Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7834
7835 * gdb.t00/default.exp: Match udi_attach error message as well as
7836 the one from child_attach.
7837
7838 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
7839
7840 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
7841
7842 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
7843 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
7844
7845 * Move test with enums and partial symbols back to
7846 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
7847 Reverts the change of 26 May 93. Per today's change to
7848 stabs.texinfo, the behavior that weird.exp was expecting was
7849 unreasonable; what is important is that the compiler+gdb get
7850 things right, which happens with a recent gcc. Also fix the test
7851 to deal with native compilers which put out the stab gdb can't
7852 deal with.
7853
7854Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7855
7856 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
7857 in the names. The main thing these accomplish is to slow things down.
7858 Many more such duplicates surely remain.
7859
7860 * gdb.t00/help.exp: Comment out "help support" test just like
7861 (and for same reason as) "help set" test.
7862
7863Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
7864
7865 * gdb.t06/break.exp: Remove setup_xfails for
7866 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
7867 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
7868 about known bug in gcc to include up through 2.5.8.
7869 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
7870 well as "_vb$".
7871 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
7872 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
7873 with latest gcc and gdb.
7874 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
7875 well as "_vb$".
7876
7877Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7878
7879 * configure.in (hppa*-*-*): Also configure and build stabs-only
7880 tests.
7881
7882Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7883
7884 * gdb.t10/hppa.mt: A makefile fragment for the PA.
7885 * gdb.t10/configure.in (hppa*-*-*): Use it.
7886
7887Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7888
7889 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
7890
7891Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7892
7893 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
7894 versions prior to 1.13.5.
7895
7896Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7897
7898 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
7899 the prompt is at the start of a line.
7900
7901Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7902
7903 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
7904 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
7905 in the copr tests now.
7906 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
7907 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
7908 expected to fail.
7909
7910Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
7911
7912 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
7913 gdb.t31/chillvars.exp, lib/gdb.exp:
7914 Tweak to run under either version of expect.
7915 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
7916 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
7917 * gdb.t11/list.exp: Remove extraneous whitespace.
7918
7919Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7920
7921 * gdb.t16/printcmds.exp (test_print_strings): Accept
7922 "(unsigned char *) " before the string.
7923
7924 * TODO: Add notes about printing of fancy types and GDB expressions.
7925
7926Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
7927
7928 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
7929 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 7930 if doing mips-idt-ecoff.
c906108c
SS
7931
7932Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
7933
7934 * Most .exp files: Tweak to run under either version of expect.
7935
7936Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7937
7938 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
7939 xfails; I'm not sure why they are failing, but not because of PR 1806.
7940
7941Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
7942
7943 * config/unix-gdb.exp: Remove gdb_unload cause it's already
7944 defined in lib/gdb.exp.
7945
7946Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7947
7948 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
7949 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
7950 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
7951 have to be typeless.
7952
7953Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7954
7955 * TODO: Add suggestion for copyright year test.
7956
7957Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
7958
7959 * configure.in (*-*-lynxos*): Add stabs tests.
7960
7961Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7962
7963 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
7964 so insert a tab before any assembler directive in column zero.
7965
7966 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
7967 stores.
7968 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
7969 stores.
7970 (fpu_short_memory_tests): Likewise.
7971
7972Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7973
7974 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
7975 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
7976 .stabs directives in comments.
7977
7978Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7979
7980 * TODO: New file, describing tests we could write.
7981 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
7982
7983Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7984
7985 * gdb.t06/signals.exp: Add kludge to force re-sync.
7986
7987 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
7988 to xgdb instead of gdb, get out of gdb.
7989
7990Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
7991
7992 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
7993 for info.
7994
7995Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7996
7997 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
7998 * gdb.stabs/configure.in (hppa*-*-*): Use it.
7999 * gdb.stabs/hppa.sed: New sed script for the PA.
8000
8001Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8002
8003 * gdb.stabs: Re-write weird.def and configuration to use sed
8004 instead of cpp. sed is portable and POSIX; cpp is neither.
8005
8006Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8007
8008 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8009
8010Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8011
8012 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8013
8014Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8015
8016 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8017 "_vb$".
8018 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8019 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8020
8021Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8022
8023 * lib/gdb.exp: Comment out code which depends on non-existent
8024 `transform' procedure.
8025
8026Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8027
8028 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8029 * lib/gdb.exp: Transform tool name.
8030 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8031 1.1's new error handling system.
8032
8033Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8034
8035 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8036
8037Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8038
8039 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8040 They made pattern matching so slow that timeouts happened on
8041 heavily loaded systems. Now any output from "show print" which
8042 gets us back to the GDB prompt is a PASS.
8043
8044Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8045
8046 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8047
8048Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8049
8050 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8051
8052 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8053 It is not from PR 3220.
8054
8055Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8056
8057 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8058 just started failing because they depended on the order the
8059 subcommands are presented, or exact docstring text. This kind of
8060 test is a pain and has minimal benefit.
8061
8062Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8063
8064 * gdb.t09/corefile.exp: At end of test, use "core" command with
8065 no arguments.
8066
8067Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8068
8069 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8070 17}/Makefile.in: Make it possible to run the testsuite with Sun
8071 make and CC = cross gcc by adding explicit build rules for .o
8072 files.
8073
8074Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8075
8076 * gdb.t15/funcargs.exp: Don't put comments on same line as
8077 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8078
c906108c
SS
8079Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8080
8081 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8082
8083Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8084
8085 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8086 * gdb.t20/inherit.exp: remove three dumplicate entries.
8087
8088Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8089
8090 * gdb.t06/break.exp: For "next over recursive call", fail on any
8091 incorrect output, not just on "factorial (value=2)".
8092
8093Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8094
8095 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8096 working now. Add an xfail if accesing a bss variable causes
8097 a memory error if the target is not yet run.
8098
8099Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8100
8101 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8102 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8103 name of __st* demangling (2 strings). Did Kung really get the
8104 more than 95 others right without testing them?
8105
8106Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8107
8108 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8109
8110Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8111
8112 * configure.in (configdirs): Add gdb.disasm
8113 * gdb.disasm: New directory for GDB disassembler tests.
8114 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8115
8116Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8117
8118 * gdb.t00/help.exp: Don't test "help set".
8119
8120 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8121 from within expect statements. None of these happen anymore and
8122 they cause regressions to be silently unnoticed.
8123
8124 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8125 messages) about known failures with gcc cygnus-2.4.5-930417.
8126
8127 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8128 comp-info.exp so it gets built if it doesn't exist.
8129
8130 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8131 it is no longer used.
8132 * gdb.t13/comp-info.c: Removed.
8133
8134Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8135
8136 * gdb.t06/signals.exp: Add xfail for sun3.
8137
8138Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8139
8140 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8141 relevant because ^C doesn't get sent but failure can be reproduced
8142 interactively).
8143
8144Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8145
8146 * gdb.stabs/alpha.mt: New configuration file for alpha.
8147 * gdb.stabs/configure.in: Use it.
8148 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8149 sharing with alpha.mt, redefine long to word via preprocessor.
8150 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8151 for alpha.
8152 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8153 native cc.
8154 * gdb.t00/teststrategy.exp: Change expect string so that we
8155 consume the `(xgdb)' from the command echo and from the gdb prompt.
8156 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8157 gdb currently compares all values as long, so this failure probably
8158 applies to any configuration where LONGEST is bigger than a target int.
8159 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8160 with gcc.
8161 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8162 to handle opaque pointers, gcc is.
8163 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8164 as first argument. Include <sys/types.h> and change all operator
8165 new definitions to use size_t.
8166 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8167 now that we use size_t.
8168
8169Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8170
8171 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8172 a long or float array cast all array members to the same type.
8173 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8174 with 64 bit longs.
8175 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8176 on alpha.
8177 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8178
8179Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8180
8181 * gdb.t24 (demangle.exp): Constructors of templates have names like
8182 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8183 section 14.6 of the ARM.
8184
8185 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8186 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8187 accomplish little and slow down the testsuite.
8188
8189 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8190 Accept spaces various places.
8191
8192Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8193
8194 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8195 with watchpoint enabled.
8196
8197 * Makefile.in: Remove definition of CC and remove the second
8198 definition of CXX (the "CXX = gcc" one remains). These definitions
8199 were causing backquotes to be expanded within backquotes, which
8200 doesn't work.
8201
8202Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8203
8204 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8205
8206Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8207
8208 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8209 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8210 by mips cc and contains no stabs entries.
8211
8212Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8213
8214 * config/vx-gdb.exp: Use fake device to load files rather than
8215 NFS.
8216 * lib/gdb.exp: New proc to do "file" command.
8217 * config/unix-gdb.exp: Use new "file" proc.
8218
8219Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8220
8221 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8222 Rework board rebooting slightly.
8223 (gdb_exit): Don't exit from the remote shell; there isn't one.
8224 * gdb.stabs/weird.exp: If a program is being debugged already,
8225 kill it.
8226 * gdb.t04/setvar.exp: Stop and restart gdb.
8227 * gdb.t05/expr.exp: Likewise.
8228 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8229 restart gdb and reload the program.
8230 * gdb.t08/opaque.exp: Likewise.
8231 * gdb.t12/scope.exp: Likewise.
8232 * gdb.t13/bitfields.exp: Likewise.
8233 * gdb.t15/funcargs.exp: Likewise.
8234 * gdb.t20/classes.exp: Likewise.
8235 * gdb.t03/ptype.exp: Increase timeout.
8236 * gdb.t16/printcmds.exp (test_print_string_constants,
8237 test_print_array_constants): Likewise.
8238 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8239 * gdb.t20/classes.exp (do_tests): Likewise.
8240 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8241
8242Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8243
8244 * gdb.stabs: Renamed *wierd* to *weird*.
8245
8246Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8247
8248 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8249 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8250
8251Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8252
8253 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8254 (do_tests): Remove xfail for whatis on one_var and two_var.
8255
8256Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8257
8258 * Makefile.in: Made cross building work better by adding
8259 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8260
8261Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8262
8263 * gdb.t15/{return.c,return.exp,Makefile.in}:
8264 New test, currently commented out.
8265
8266Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8267
8268 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8269 still running and removes the leftover named socket so GDb can do
8270 clean restarts.
8271
8272Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8273
8274 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8275 console, not GDB.
8276 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8277 cross testing works better with "make check"
8278 * config/unix-gdb: Use default procedures for exit and version.
8279 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8280 with the newest VxWorks.
8281
8282Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8283
8284 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8285 old form.
8286
8287 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8288 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8289
8290 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8291
8292 * config/unix-gdb.exp: Remove this version of gdb_exit
8293 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8294 Rob says he'll look at it when he gets back to testing boards.
8295
8296Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8297
8298 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8299 an expected fail for certain ptype commands.
8300
8301 * gdb.t20/classes.exp: Update expected results of "ptype class
8302 Base1" to account for the constructor that now appears in the type.
8303
8304Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8305
8306 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8307 disappeared from list.
8308 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8309 "alldone" proc with call to cleanup and exit.
8310 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8311 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8312 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8313 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8314 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8315 "alldone" proc with simple returns that suppress remaining
8316 tests. The alldone proc went away many months ago.
8317
8318Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8319
8320 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8321
8322 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8323
8324Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8325
8326 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8327 as vax gdb will display them.
8328
8329Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8330
8331 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8332 optimizers.
8333
8334 * scope.exp: Change "bad value for localval" messages so each one
8335 is unique.
8336
8337 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8338 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8339
8340 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8341
8342Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8343
8344 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8345 doesn't exist (due to optimization).
8346
8347Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8348
8349 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8350 contains \r because the filename is long.
8351
8352 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8353 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8354
8355Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8356
8357 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8358 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8359 Ultrix.
8360 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8361 int tests.
8362 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8363
8364Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8365
8366 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8367
8368 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8369 to match does not match the passing case but still matches the
c906108c
SS
8370 failing case.
8371
8372Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8373
8374 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8375
8376Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8377
8378 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8379 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8380 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8381 Remove various versions of gdb_exit.
8382 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8383 gdb_exit.
8384 * config/unix-gdb.exp: gdb_exit remains here, and should override
8385 the generic version, since it's doing a lot of wierd stuff that
8386 the other versions aren't. FIXME, fold it in, or abandon this
8387 version.
8388
8389Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8390
8391 * gdb.t24/demangle.exp: Add tests for PR 3220.
8392
8393Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8394
8395 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8396
8397Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8398
8399 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8400 "i386-*-*". Works for i486 as well.
8401
8402 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8403 bug, and expand domain of xfail to all SVR4 systems, since the
8404 actual problem is likely to be in generic SVR4 /proc support.
8405
8406Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8407
8408 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8409
8410Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8411
8412 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8413 xfails for other systems. Match a missing 'Continuing.' as an
8414 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8415
8416 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8417 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8418 Only issue warning for missing executables if -all option is used.
8419
8420 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8421 file if -all option is used. It's like an unpredictable XFAIL.
8422
8423Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8424
8425 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8426 for dynamically linked binaries.
8427
8428 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8429
8430Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8431
8432 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8433 to state that this is a known bug in old versions of g++.
8434
8435Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8436
8437 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8438 while waiting for `Continuing'.
8439
8440Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8441
8442 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8443 in text, data, and bss.
8444 * gdb.t10/nodebug.c: Add local and global test variables for
8445 initialized and uninitialized data.
8446
8447Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8448
8449 * config/unix-gdb.exp (gdb_exit): Add "wait".
8450
8451Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8452
8453 * gdb.t06/signals.exp: xfail the continue from the handler for all
8454 targets.
8455
8456 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8457 function with watchpoints enabled, the i386 call dummy starts with
8458 a call.
8459
8460 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8461 386 bsd names its corefiles.
8462
8463Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8464
8465 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8466 compilers don't grok it.
8467 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8468 with small octal ints rather than character constants, which
8469 are signed and might not fit if first promoted to int.
8470
8471Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8472
8473 * gdb.t09/Makefile.in (clean): Remove corefile.
8474
8475Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8476
8477 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8478
8479Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8480 and Jim Kingdon (kingdon@cygnus.com)
8481
8482 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8483 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8484 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8485
8486Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8487
8488 * gdb.t17/interrupt.exp: Add xfail for hppa.
8489
8490Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8491
8492 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8493 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8494 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8495 to determine signed-ness of bitfields and use the result to setup
8496 the xfail.
8497 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8498 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8499 call line is reached if necessary.
8500
8501Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8502
8503 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8504
8505Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8506
8507 * gdb.t06/break.exp: Also test `clear' command.
8508
8509Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8510
8511 * gdb.t00/teststrategy.exp: Remove extra quote.
8512
8513 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8514 watchpoint enabled to be for all non-68k machines.
8515
8516 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8517
8518Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8519
8520 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8521 targets use aout.mt instead of ecoff.mt as gas understands
8522 standard aout format.
8523
8524Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8525
8526 * lib/gdb.exp (runto): Don't insist that function we are running to
8527 was compiled with -g.
8528
8529 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8530
8531 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8532 to get back into the read system call.
8533 Accept leading newline in case where we woke it up.
8534
8535Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8536
8537 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8538 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8539 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8540 enable ecoff configuration.
8541
8542Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8543
8544 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8545
8546Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8547
8548 * gdb.t16/printcmds.exp: Add another printf test.
8549
8550Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8551
8552 * configure.in: If configured -with-stabs on any target, add
8553 stabsdirs to configdirs.
8554
8555Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8556
8557 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8558 fun" so pattern does not match the command itself.
8559
8560Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8561
8562 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8563
8564Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8565
8566 * gdb.t17/interrupt.exp: Test for more things.
8567
8568Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8569
8570 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8571 compiler arranges the code and line numbers.
8572
8573 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8574
8575Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8576
8577 * gdb.t00/help.exp: Increase expect input buffer size.
8578
8579Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8580
8581 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8582
8583 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8584
8585 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8586
8587 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8588 [0-9]*, not just [0-9].
8589
8590Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8591
8592 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8593
8594 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8595
8596Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8597
8598 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8599
8600Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8601
8602 * gdb.t06/signals.c: Add xfails for sun3.
8603
8604 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8605
8606 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8607 test_stepping tests.
8608
8609Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8610
8611 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8612
8613 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8614
8615 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8616 rather than actually putting it through cpp twice.
8617
8618 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8619
8620Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8621
8622 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8623 no longer needed.
8624
8625Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8626
8627 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8628
8629 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8630 C++ features prints as "struct", make it a pass, not an xfail.
8631
8632Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8633
8634 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8635 Don't require VA to print as "class" rather than "struct".
8636
8637Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8638
8639 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8640
8641Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8642
8643 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8644
8645Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8646
8647 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8648 order.
8649
8650Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8651
8652 * gdb.t16/printcmds.exp: Add printf tests.
8653
8654 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8655
8656 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8657
8658Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8659
8660 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8661 pass counts, to counteract any existing or future setup_xfails.
8662
8663Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8664
8665 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8666 {BEGIN,END}_COMMON for common block instead of STAB.
8667 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8668
8669 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8670 intp_var should be N_GSYM not N_LSYM.
8671 wierd-aout.S: Use a label for the value of the N_SO.
8672 wierd.def: Remove all backslashes.
8673 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8674
8675Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8676
8677 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8678 get the expected next to inheritance3.
8679
8680Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8681
8682 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8683 now that gcc-2.4 gets it right.
8684
8685Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8686
8687 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8688
8689 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8690 generating comp-info.exp which works for cross-compilation.
8691
8692Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8693
8694 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8695 "*-*-sysv4.*".
8696
8697Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8698
8699 * gdb.t01/run.exp: Start with a fresh gdb.
8700 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8701 SVR4.x.
8702
8703Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
8704
8705 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
8706 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
8707 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
8708 Makefile.in (distclean, realclean): Remove gdbme.c from list of
8709 things to remove.
8710
8711Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
8712
8713 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
8714 test cases from bug reports.
8715
8716Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
8717
8718 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
8719 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
8720 avoid spurious xfails.
8721 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
8722 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
8723 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
8724
8725Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
8726
8727 * gdb.t00/teststrategy.exp: Rework to provide more useful
8728 description of each test, fix problem with systems that define
8729 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
8730 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
8731 results for "next over recursive call" so timeouts aren't taken
8732 by error.
8733
8734Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
8735
8736 * gdb.t12/scope.exp: Test printing of variables before run.
8737
8738 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
8739 printed in wrong order due to sorting.
8740
8741Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
8742
8743 * gdb.t00/teststrategy.exp: Fix expected results for printing
8744 user entered string constant. Is array of char, prints with no
8745 address.
8746
8747 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
8748 commands.
8749 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
8750 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
8751 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
8752 of struct of char arrays.
8753 * gdb.t00/radix.exp: New tests for radix commands.
8754
8755Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
8756
8757 * gdb.t16/printcmd.exp: Print a variable before running program
8758 (with xfail for AIX).
8759
8760Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
8761
8762 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
8763
8764 * gdb.t16/printcmd.exp: Don't print variables before running program.
8765
8766 * gdb.t06/break.exp: Don't require envp argument to main.
8767
8768 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
8769
8770 * gdb.t02/whatis.exp, gdb.t11/list.exp:
8771 Add xfails for rs6000.
8772
8773 * gdb.t02/whatis.exp: Change other tests not to re-test something
8774 we already tested.
8775
8776 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
8777 each type used has a variable of that type.
8778
8779Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
8780
8781 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
8782
8783Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8784
8785 * configure.in: change srctrigger to be a file, not a directory
8786
8787Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
8788
8789 * configure.in (mips-idt-ecoff*): Added trailing '*'.
8790
8791 * gdb.t11/list.exp: Fixed a couple of typos.
8792
8793Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
8794
8795 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
8796 is fixed and PR is closed.
8797 * gdb.t16 (gdbme.c): Add simple test string variable.
8798 * gdb.t16 (printcmds.exp): Add tests with simple test string
8799 variable, primarily for boundaries on "set print elements".
8800
8801Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
8802
8803 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
8804 Make leading 0's optional and don't expect a tab in the middle
8805 of the number.
8806
8807 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
8808
8809 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
8810 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
8811 don't end command passed to gdb_test with newline.
8812
8813 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
8814 signed keyword away, don't expect signed bitfields to be signed.
8815
8816 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
8817 printing with only as many 1's as are in the field as well as printing
8818 with 32 1's (see comment).
8819
8820Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
8821
8822 * gdb.t00/default.exp: Start with a fresh gdb.
8823 * configure.in (configdirs): Remove gdb.t31 until the chill
8824 compiler works again. It no longer is able to find chillrt0
8825 since it isn't in libchill.a anymore.
8826 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
8827 wierd.o, make more modular.
8828 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
8829 spurious newlines that caused problems.
8830
8831Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8832
8833 * Move test with enums and partial symbols from gdb.t03/ptype.exp
8834 to gdb.stabs/wierd.exp since GCC has worked around the bug.
8835 gdb.stabs/wierd.{exp,def}: Many new tests.
8836
8837 * gdb.t00/default.exp: update info line for new message.
8838
8839 * gdb.t02/{whatis.exp,gdbme.c}:
8840 Test that "char *" doesn't print as "caddr_t".
8841
8842Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8843
8844 * gdb.t00/help.exp: Use .* in place of some help messages which
8845 just changed.
8846 gdb.t00/default.exp: Update "info frame" test for new message.
8847 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
8848 Remove some xfails
8849
8850Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8851
8852 * gdb.t03/{gdbme.c,ptype.exp}:
8853 Add tests for typedef'd struct and union without tags.
8854 Also check "whatis" on a variable of a typedef'd enum without a tag.
8855
8856 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
8857 PRMS 1823; the bug still exists but isn't reproduced by this test
8858 anymore), and remove rs6000 XFAIL (the bug is fixed).
8859
8860 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
8861 duplicated from whatis.exp. For those that are left, accept
8862 "long", "long int", or "int" for long variables (whatis.exp already
8863 has an XFAIL for "int", so no need to fail it here).
8864
8865 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
8866 Deal with GCC's names for types now that GDB uses the compiler's names.
8867
8868 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
8869 setup_xfail's for sunos4. If we #defined the signed keyword away,
8870 don't expect GDB to know that char it is signed.
8871
8872 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
8873
8874Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
8875
8876 * configure.in (configdirs): Add gdb.t24 for C++ tests that
8877 should work on any system, regardless of debugging format.
8878 * gdb.t21/demangle.exp: Move to gdb.t24.
8879 * gdb.t24/demangle.exp: Move from gdb.t21.
8880 * gdb.t24/{Makefile.in, configure.in}: New files.
8881
8882Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8883
8884 * configure.in: Do gdb.stabs and C++ tests only for stabs.
8885 * gdb.stabs: New directory.
8886
8887Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8888
8889 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
8890 not just "Quit anyway?".
8891
8892Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
8893
8894 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
8895 that all setup_xfails are immediately followed by clear_xfails.
8896
8897Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
8898
8899 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
8900 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
8901 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
8902 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
8903 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
8904 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8905 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8906 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
8907 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
8908 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
8909 gdb.t31/chillvars.exp, lib/gdb.exp:
8910 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
8911 bug-gdb@prep.ai.mit.edu.
8912
8913Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
8914
8915 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
8916 with 0.0, not integer 0.
8917
8918Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
8919
8920 * gdb.t06/break.exp: Update for "Kill the program" message change.
8921
8922Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
8923
8924 * Makefile.in (GDBFLAGS): Set to -nx.
8925 * Makefile.in (site.exp): Use GDBFLAGS.
8926
8927Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8928
8929 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
8930 Makefiles.
8931 (check): depend on just-check.
8932 (just-check): added so that tests can be run without a noop
8933 build pass.
8934
8935Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8936
8937 Switch to using configure's configdirs.
8938 * Makefile.in (Makefile): add configure.in dependency.
8939 (SUBDIRS): removed redundant assignment.
8940 * configure.in: switch subdirs assignment to configdirs.
8941 * gdb.t*/configure.in: new files.
8942
8943Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
8944
8945 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
8946 works.
8947
8948Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
8949
8950 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
8951 in explicit rules. Apparently this is not supported by some makes.
8952
8953Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
8954
8955 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
8956
8957Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8958
8959 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
8960 disappeared.
8961
8962Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
8963
8964 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
8965
8966Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
8967
8968 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
8969 watchpoint problem that is now fixed.
8970 * gdb.t30/chexp.exp: Remove setup_xfail for printing
8971 uninitialized convenience variables.
8972 * gdb.t31/chillvars.exp: Fix expected patterns for printing
8973 structures.
8974
8975Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8976
8977 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
8978 which causes expect to get out of sync with gdb on long output
8979 from help set.
8980 * gdb.t09/corefile.exp: Make expected pattern for core file
8981 failing signal and frame output format less sun specific.
8982
8983Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
8984
8985 * gdb.t31/chillvars.exp: Add and remove initial dummy
8986 breakpoint, so that symbol table is forced in.
8987 (Needed at least on Sunos4, though it seems not SVR4.)
8988 * gdb.t31/chillvars.exp: Update for changed output format.
8989
8990Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
8991
8992 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
8993
8994Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
8995
8996 * Makefile.in: Added --srcdir when invoking runtest, removed the
8997 need for a local config file. (optional now)
8998
8999Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9000
9001 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9002 failure count used to force early termination. Add some more
9003 expected failures for gnu style demangling.
9004
9005Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9006
9007 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9008 pmi variable from gdb.t20/gdbme to get optimized away.
9009 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9010 Check for written corefile upon timeout _and_ eof.
9011
9012Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9013
9014 * config/unix-gdb.exp: Add missing return 0.
9015
9016Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9017
9018 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9019 test termination.
9020
9021Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9022
9023 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9024 disappeared.
9025
9026Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9027
9028 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9029 time as i860 support works.
9030
beb998c6 9031 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9032 "backtrace 100\r" rather than just "backtrace\r", to match last
9033 change.
9034
9035Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9036
9037 * config/udi-gdb.exp (gdb_exit): Remove close command.
9038 (gdb_target_udi): New procedure to set the UDI target.
9039 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9040 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9041 Added waits for prompts after several question responses. Added
9042 some more responses used by a29k-amd-udi-gdb.
9043 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9044 pass different arguments, restart UDI connection after program
9045 completion.
9046 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9047 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9048 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9049 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9050 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9051 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9052 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9053 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9054 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9055 after program completion.
9056 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9057 compiled with a SELECT_VECS setting.
9058 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9059 infinite recursion.
9060
9061 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9062 Added checks for COFF results, and made them expected failures for
9063 all targets. It would be better to make them expected failures
9064 for COFF targets only.
9065
9066Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9067
9068 * Makefile.in: add null dvi target, don't bother to recurse
9069 through test directories for info and install-info; rename
9070 $(datadir) to be dejagnu instead of deja-gnu
9071
9072Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9073
9074 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9075 compiler to coredump.
9076 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9077 code.
9078
9079Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9080
9081 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9082 coredump.
9083 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9084 code.
9085
9086Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9087
9088 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9089 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9090 which in a shell. Deletes xgdb when done.
9091 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9092 Tests the return from the "set height" or "set width" commands.
9093 Added a few return codes where needed.
9094
9095Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9096
9097 * Makefile.in (SUBDIRS): Add gdb.t17.
9098 * configure.in (subdirs): Add gdb.t17.
9099 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9100 files to test gdb's calling of functions in the inferior with
9101 the correct arguments and gdb's ability to retrieve any
9102 result returned.
9103
9104Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9105
9106 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9107 may be called after gdb goes away. Previous versions of expect
9108 needed these to avoid file descriptor leaks, but they cause
9109 errors with the current revision of expect.
9110 * gdb.t00/gdbvars.exp: Use -re on expected output after
9111 setting sevenbit-strings.
9112 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9113 to set sevenbit-strings consistent across tests.
9114 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9115 set sevenbit-strings consistent across tests.
9116
9117Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9118
9119 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9120 expected output to match current "expect" expectations.
9121
9122Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9123
9124 * gdb.t00/default.exp: Change expected output for default "source"
9125 command, to match new gdb behavior which requires a filename to
9126 source.
9127
9128Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9129
9130 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9131 expected fail for i486-*-* that misses the marker2 function.
9132 * gdb.t10/crossload.exp (bfddefault): Allow successful
9133 recognition of a format to pass even if no symbols are found.
9134 Explicitly catch failures where the format is not recognized
9135 or is ambiguous, and add the reason to the fail message.
9136 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9137 the cause is and invalid target and add reason to failure message.
9138 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9139 elf32-i386, elf32-sparc, and elf32-i860.
9140 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9141 Set up expected failure for 'filename'::variable scope resolution,
9142 which is now apparently broken on all targets.
9143 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9144 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9145 gdb.t23/templates.exp: Change failure for missing binfile into
9146 just a warning.
9147 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9148 references.
9149
9150Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9151
9152 * gdb.t00/default.exp: Add expected output for default "source"
9153 command, to match new gdb behavior.
9154 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9155
9156Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9157
9158 * config/*-gdb.exp: returns an error, rather than exiting on
9159 internal errors.
9160
9161Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9162
9163 * gdb.t03/gdbme.c: Add pointer to struct variable.
9164 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9165 referencing struct members.
9166
9167Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9168
9169 * configure.in (mips-idt-ecoff): New target.
9170 * config/mips-gdb.exp: New file for remote board using MIPS remote
9171 debugging protocol.
9172
9173 * Redid configuration scheme. Removed gdb.t*/configure.in.
9174 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9175 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9176 distclean targets. Built executables via .o files. Adjusted
9177 tests to account for source files in $(srcdir) rather than
9178 $(objdir).
9179 * lib/gdb.exp (runto): Don't expect () after the function name,
9180 because it may have arguments.
9181
9182Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9183
9184 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9185 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9186 expected failures for mips-idt-* and mips-sgi-*.
9187 * gdb.t00/default.exp (attach): Kill process if requested.
9188 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9189 that does not read core files.
9190 * gdb.t01/run.exp: Removed checks for exit status code.
9191 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9192 it is linked in.
9193 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9194 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9195 appropriate, rather than doing it by hand.
9196 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9197 execution.
9198 * gdb.t10/crossload.exp: Kill existing program if needed.
9199 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9200 appropriate, rather than doing it by hand. Always increase
9201 timeout for this test, not just for VxWorks.
9202
9203Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9204
9205 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9206 of Chill STRUCT types and STRUCT values.
9207 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9208 than "char".
9209 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9210 struct2): New struct definitions and initializations to test
c906108c
SS
9211 simple Chill STRUCT types.
9212
9213Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9214
9215 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9216 the null byte at the end of strings.
9217 * gdb.t00/default.exp: Make show version insensitive to copyright
9218 date.
9219 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9220 to avoid dependencies on target char signedness.
9221 * gdb.t16/printcmds.exp: Update expected results for explicitly
9222 unsigned char.
9223 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9224 now work.
9225 * gdb.t21/demangle.exp: Add many more patterns for template
9226 demangling, most of them being expected failures.
9227 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9228 string we are matching for, to match on the whole string.
9229 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9230 and fix a whole bunch that had incorrect expected output but were
9231 passing anyway because of the bug in "proc demangle".
9232 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9233 type.
9234 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9235
9236Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9237
9238 * gdb/testsuite: made modifications to testcases, etc., to allow
9239 them to work properly given the reorganization of deja-gnu and the
9240 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9241
9242Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9243
9244 * gdb/testsuite: Initial creation of gdb/testsuite.
9245 Migrated dejagnu testcases and support files for testing nm to
9246 gdb/testsuite from deja-gnu. These files were moved "as is"
9247 with no modifications. This migration is part of a major overhaul
9248 of dejagnu. The modifications to these testcases, etc., which
9249 will allow them to work with the new version of dejagnu will be
9250 made in a future update.
9251\f
9252Local Variables:
9253mode: indented-text
9254left-margin: 8
9255fill-column: 74
9256version-control: never
9257End:
This page took 0.754862 seconds and 4 git commands to generate.