Add support for distinct host and target character sets.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
54951bd7
AC
12002-09-19 Andrew Cagney <ac131313@redhat.com>
2
3 * gdb.gdb/complaints.exp: New file.
4
dec43320
AC
52002-09-18 Andrew Cagney <ac131313@redhat.com>
6
7 * gdb.base/maint.exp: Check `help maint internal-warning'.
8
e70d6e3f
DC
92002-09-18 David Carlton <carlton@math.stanford.edu>
10
11 * gdb.c++/m-static.exp: Remove breakpoints depending on line
12 numbers, and replace them by a single breakpoint after the
13 constructors are all finished.
14 Add test 4.
15 * gdb.c++/m-static.cc: Add test 4.
16 * gdb.c++/m-static.h: New file.
17 * gdb.c++/m-static1.cc: New file.
18
19 * gdb.c++/printmethod.exp: New file.
20 * gdb.c++/printmethod.cc: New file.
21
22 * gdb.c++/pr-574.exp: New file.
23 * gdb.c++/pr-574.cc: New file.
24
afb5c968
CV
252002-09-18 Corinna Vinschen <vinschen@redhat.com>
26
27 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
28 embedded targets which never actually exit.
29
31e45dee
FN
302002-09-18 Fernando Nasser <fnasser@redhat.com>
31
32 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
33 "don't step after run" as unresolved or unsupported, instead of xfail.
34
a283c5a1
CV
352002-09-18 Corinna Vinschen <vinschen@redhat.com>
36
37 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
38 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
39 Add newline to expected string in "step out of main (status wrapper)"
40 case.
41
11350d2a
CV
422002-09-18 Corinna Vinschen <vinschen@redhat.com>
43
44 * lib/gdb.exp (rerun_to_main): Allow restarting application.
45 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
46
0deec7d6
TT
472002-09-17 Tom Tromey <tromey@redhat.com>
48
49 * gdb.base/printcmds.exp (test_print_string_constants): Expect
50 \000, not \0, in double-quoted string.
51
b2b4a1b5
CV
522002-09-14 Corinna Vinschen <vinschen@redhat.com>
53
54 * gdb.base/command.exp: Don't expect a "Program exited normally"
55 string after running the commands execution on breakpoint tests.
56
1c56143a
CV
572002-09-13 Corinna Vinschen <vinschen@redhat.com>
58
59 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
60
37f8da45
JB
612002-09-12 Joel Brobecker <brobecker@gnat.com>
62
63 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
64
08b468e0
KS
652002-09-10 Keith Seitz <keiths@redhat.com>
66
67 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
68 runto proc.
69 (mi_run_to_main): Use mi_runto.
70 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
71
dc360f58
KS
722002-09-10 Keith Seitz <keiths@redhat.com>
73
74 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
75 regexp for stopping at main. Could have multiple event notifications.
76 Don't assume that main was declared with no parameters.
77 (mi_next): Use mi_step_to.
78 (mi_step): Use mi_next_to.
79
ce3abcfb
CV
802002-09-09 Corinna Vinschen <vinschen@redhat.com>
81
82 * gdb.base/default.exp: Fix expected string in `info float' test.
83
d1f5b980
BE
842002-09-09 Ben Elliston <bje@redhat.com>
85
86 * config/mips.exp: Update comments.
87 * config/mips-idt.exp: Likewise.
88 * config/nind.exp: Likewise.
89 * config/slite.exp: Likewise.
90 * config/sparclet.exp: Likewise.
91 * config/udi.exp: Likewise.
92 * config/vx.exp: Likewise.
93 * config/vxworks29k.exp: Likewise.
94
2f71430b
JB
952002-09-05 Jim Blandy <jimb@redhat.com>
96
97 * gdb.threads/killed.exp: Fix test failure message.
98
7ddebc7e
KS
992002-09-04 Keith Seitz <keiths@redhat.com>
100
101 * lib/mi-support.exp: Update copyright.
102 (mi_gdb_test): Increase the priority of the expected pattern
103 so that it matches gdb_test.
104
0ae67eb3
KS
1052002-09-03 Keith Seitz <keiths@redhat.com>
106
107 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
108 Use integer comparison instead of string comparison for testing
109 whether binary was built.
110
38fc42c8
JB
1112002-09-03 Jim Blandy <jimb@redhat.com>
112
113 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
114
b6ff0e81
JB
1152002-08-29 Jim Blandy <jimb@redhat.com>
116
117 * gdb.threads/pthreads.exp: Move the portable thread compilation
118 code into a function in lib/gdb.exp, and call that from here.
119 * lib/gdb.exp (gdb_compile_pthreads): New function.
120
07c98896
KS
1212002-08-29 Keith Seitz <keiths@redhat.com>
122
123 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
124 expect_out so that callers can get at it.
125
0312286c
DJ
1262002-08-23 Daniel Jacobowitz <drow@mvista.com>
127
128 * gdb.threads/print-threads.c: New file.
129 * gdb.threads/print-threads.exp: New file.
130 * gdb.threads/schedlock.c: New file.
131 * gdb.threads/schedlock.exp: New file.
132
dd039bc4
EZ
1332002-08-22 Elena Zannoni <ezannoni@redhat.com>
134
135 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
136 not altivec.c.
137
1f36144c
MK
1382002-08-17 Mark Kettenis <kettenis@gnu.org>
139
140 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
141 targets. The problem should be fixed now.
142
16057ec7 1432002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
144
145 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
146 2002-07-24 change that removes final dots from error messages.
147
3c1499ad
TT
1482002-08-13 Tom Tromey <tromey@redhat.com>
149
150 * gdb.base/readline.exp: New file.
151
a20ce2c3
AC
1522002-08-01 Andrew Cagney <ac131313@redhat.com>
153
154 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
155 supress message.
156
db034ac5
AC
1572002-08-01 Andrew Cagney <cagney@redhat.com>
158
159 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
160 CHILL_FOR_TARGET and CHILL_LIB.
161 * configure.in (configdirs): Remove gdb.chill.
162 * configure: Regenerate.
163 * lib/gdb.exp: Obsolete references to chill.
164 * gdb.fortran/types.exp: Ditto.
165 * gdb.fortran/exprs.exp: Ditto.
166
3e000b18
KB
1672002-07-30 Kevin Buettner <kevinb@redhat.com>
168
169 * gdb.base/shlib-call.exp (additional_flags): Conditionally
170 set Irix-specific compile and link flags.
171
28f4966b
KB
1722002-07-29 Kevin Buettner <kevinb@redhat.com>
173
174 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
175 source files. The ``-o'' option doesn't work with the ``-E'' option
176 when using the Irix compiler.
177
46c0d5a6
DJ
1782002-07-19 Daniel Jacobowitz <drow@mvista.com>
179
180 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
181 Improve support for reusing an exec file. Copy exec file
182 to target, and run gdbserver on the target instead of on the host.
183
eecf4bed
JB
1842002-07-18 Jim Blandy <jimb@redhat.com>
185
0f815cdf
JB
186 * gdb.base/ending-run.exp: Don't expect to see the program end in
187 some orderly fashion when we're running on a real stand-alone
188 board.
189
eecf4bed
JB
190 * gdb.base/interrupt.exp: Correct logic for skipping tests on
191 targets that don't support interrupts.
192
52d309e4
JB
1932002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
194
195 * gdb.base/attach.exp: Add patterns to match output from /proc-based
196 systems.
197 Move comments in expect statements to inside the actions, so that they
198 don't get matched against.
199
ff683d9e
MK
2002002-07-10 Mark Kettenis <kettenis@gnu.org>
201
202 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
203 function when asleep" test.
204
b5356753
AC
2052002-07-10 Andrew Cagney <ac131313@redhat.com>
206
207 * gdb.base/page.exp: Rewrite to handle problems with very long
208 `info set' output. Update copyright.
209
6aa4d13a
AC
2102002-06-26 Andrew Cagney <ac131313@redhat.com>
211
212 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
213 gdb.threads-hp.
214 * gdb.hp/configure: Regenerate.
215 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
216 * gdb.hp/gdb.threads-hp/configure: Delete file.
217 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
218
8cf8c2b8
AC
2192002-06-22 Andrew Cagney <ac131313@redhat.com>
220
221 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
222 setlocale, bindtextdomain and textdomain.
223
6827a8f8
JB
2242002-06-11 Jim Blandy <jimb@redhat.com>
225
919d772c
JB
226 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
227 preprocessor macro information is present.
228
6827a8f8
JB
229 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
230 tests.
231
c15b0d21
MS
2322002-06-06 Michael Snyder <msnyder@redhat.com>
233
c5984d70
MS
234 * gdb.base/overlays.exp: Record addresses of overlay
235 functions in TCL variables rather than in GDB variables,
236 to avoid having GDB convert them to pointers (with loss
237 of information).
238
99a8512b
MS
239 * gdb.base/d10v.ld: Merge in several years worth of
240 default linker script changes.
c15b0d21
MS
241 * gdb.base/long_long.exp: Add check for sizeof (long double).
242
be26fe0d
ML
2432002-06-06 Michal Ludvig <mludvig@suse.cz>
244
245 * gdb.asm/asm-source.exp: Add x86-64 target.
246 * gdb.asm/x86_64.inc: New.
247
258093ca 2482002-05-30 Michael Chastain <mec@shout.net>
258093ca 249
4b3153f1 250 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
251 * gdb.c++/m-static.cc: New file.
252 * gdb.c++/m-static.exp: New file.
253
241264c6
MS
2542002-05-28 Michael Snyder <msnyder@redhat.com>
255
256 * gdb.base/call-ar-st.exp: Allow for reduced floating point
257 precision.
258
9bba8c8f 2592002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 260
4b3153f1 261 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
262 * gdb.c++/m-data.cc: New file.
263 * gdb.c++/m-data.exp: New file.
264
2652002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 266
4b3153f1 267 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
268 * gdb.c++/try_catch.cc: New file.
269 * gdb.c++/try_catch.exp: New file.
270
def1b996
MC
2712002-05-27 Michael Chastain <mec@shout.net>
272
273 * gdb.c++/local.exp: Accept more nested types in output.
274
522ba268
MC
2752002-05-26 Michael Chastain <mec@shout.net>
276
277 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
278
277254ba
MS
2792002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
280
281 * lib/gdb.exp (gdb_wrapper_init): Just because
282 gdb_wrapper_file exists, this does not mean that the file
283 should not be rebuilt. That is what gdb_wrapper_initialized
284 is for.
285 (default_gdb_init): Reset gdb_wrapper_initialized.
286
b61a8733
MS
2872002-05-23 Michael Snyder <msnyder@redhat.com>
288
5bdb6d01
MS
289 * gdb.base/all-bin.exp: Revise previous patch by just reducing
290 the precision of the floating point test results.
291 * gdb.base/call-rt-st.exp: Ditto.
292
b61a8733
MS
293 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
294 * gdb.base/call-rt-st.exp: Ditto.
295
56f6e910
MC
2962002-05-19 Michael Chastain <mec@shout.net>
297
298 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
299
ad0b0016
EZ
3002002-05-19 Elena Zannoni <ezannoni@redhat.com>
301
302 * configure.in (configdirs): Add gdb.arch.
303 * configure: Regenerate.
304
f617d2b6
JB
3052002-05-17 Jim Blandy <jimb@redhat.com>
306
307 * gdb.base/completion.exp: Recognize the more detailed error
308 messages produced by the macro expander's lexical analyzer.
309
eac2a696
EZ
3102002-05-14 Elena Zannoni <ezannoni@redhat.com>
311
312 * gdb.arch/altivec-abi.c: New file.
313 * gdb.arch/altivec-abi.exp: New file.
314 * gdb.arch/altivec-regs.c: New file.
315 * gdb.arch/altivec-regs.exp: New file.
316
2fdde8f8
DJ
3172002-05-14 Daniel Jacobowitz <drow@mvista.com>
318
319 * gdb.base/maint.exp (maint print type): Update for new type
320 structure.
eac2a696 321
e31f1a7c
EZ
3222002-05-14 Elena Zannoni <ezannoni@redhat.com>
323
324 * gdb.arch: New directory.
325 * gdb.arch/configure.in: New file.
326 * gdb.arch/configure: New file.
327 * gdb.arch/Makefile.in: New file.
328
db589741
CV
3292002-05-13 Corinna Vinschen <vinschen@redhat.com>
330
331 * gdb.asm/asm-source.exp: Add v850 as supported target.
332 * gdb.asm/v850.inc: New file.
333
8ce2a7dc
DJ
3342002-05-13 Daniel Jacobowitz <drow@mvista.com>
335
336 * gdb.c++/annota2.exp (annotate-quit): Add comment.
337
df763c7f
DJ
3382002-05-12 Daniel Jacobowitz <drow@mvista.com>
339
340 * gdb.base/break.exp: Check 'break "marker2"'.
341
377daeed
MS
3422002-05-10 Michael Snyder <msnyder@redhat.com>
343
344 * gdb.base/long_long.exp: Fix typo.
345
c4b7bc2b
JB
3462002-05-10 Jim Blandy <jimb@redhat.com>
347
ecac9a4e
JB
348 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
349 a bug.
350
c4b7bc2b
JB
351 * gdb.base/printcmds.exp (test_integer_literals_rejected):
352 Recognize more detailed error message produced by the macro
353 expander's lexical analyzer.
354 * lib/gdb.exp (test_print_reject): Same.
355
e71019a1
MK
3562002-05-09 Mark Kettenis <kettenis@gnu.org>
357
358 * gdb.c++/method.exp: Fix typo.
359
fedfc8e6
MS
3602002-05-08 Michael Snyder <msnyder@redhat.com>
361
166a1957
MS
362 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
363 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 364 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
365 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
366 Add iftarget clause for strongarm.
367
f1c47eb2
MS
3682002-05-06 Michael Snyder <msnyder@redhat.com>
369
cb9a9d3e
MS
370 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
371 (gdb_continue_to_end): Accept output from status wrapper.
372 * gdb.base/ending-run.exp: Add case for output from status wrapper.
373 Clean up fail messages to match pass messages.
374
f1c47eb2
MS
375 Enable the "needs_status_wrapper" testsuite feature.
376 * lib/gdb.exp (gdb_wrapper_init): New procedure.
377 (gdb_compile): Conditionally call gdb_wrapper_init.
378 * gdb.base/a2-run.exp: Recognize output from status wrapper.
379 * gdb.c++/method.exp: Recognize output from status wrapper.
380
6079c749
BE
3812002-05-06 Ben Elliston <bje@redhat.com>
382From Graydon Hoare <graydon@redhat.com>
383
384 * config/sid.exp: Include support for "rawsid" protocol.
385
188baff3
JB
3862002-05-03 Jim Blandy <jimb@redhat.com>
387
388 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
389 * gdb.c++/hang3.C: New file.
390
b9c07f0f
AC
3912002-05-04 Andrew Cagney <ac131313@redhat.com>
392
393 * gdb.base/default.exp: Remove obsolete code.
394 * gdb.c++/misc.exp: Ditto. Update copyright.
395 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
396 * gdb.base/whatis.exp: Ditto. Update copyright.
397 * gdb.base/scope.exp: Ditto. Update copyright.
398 * gdb.base/ptype.exp: Ditto. Update copyright.
399 * gdb.base/printcmds.exp: Ditto. Update copyright.
400 * gdb.base/opaque.exp: Ditto. Update copyright.
401 * gdb.base/list.exp: Ditto.
402 * gdb.base/funcargs.exp: Ditto. Update copyright.
403 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
404 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
405 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
406 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
407 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
408 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
409
5c7a0397
MS
4102002-05-02 Michael Snyder <msnyder@redhat.com>
411
d6dcc264 412 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
413 * gdb.base/long_long.exp: Add xscale target.
414 * gdb.base/default.exp: Add xscale target.
415
eb7f1c48
JB
4162002-05-01 Jim Blandy <jimb@redhat.com>
417
418 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
419 gdb.c++/hang.exp: New test.
420
a6befae8
FF
4212002-05-01 Fred Fish <fnf@redhat.com>
422
423 * gdb.base/completion.exp: Handle completions of "./Make" for
424 more than one completion possibility, as is the case when we
425 build and test in the source tree.
426
0a310277
AG
4272002-04-29 Anthony Green <green@redhat.com>
428
429 * gdb.java/jmisc1.exp: New file.
430 * gdb.java/jmisc2.exp: New file.
431
6ff9af88
DJ
4322002-04-24 Daniel Jacobowitz <drow@mvista.com>
433
434 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
435
96b3d632
EZ
4362002-04-23 Elena Zannoni <ezannoni@redhat.com>
437
438 * gdb.base/help.exp: Change 'help status' to allow for target
439 dependent output differences.
440
5019bb54
MC
4412002-04-22 Michael Chastain <mec@shout.net>
442
443 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
444
a805a116
MC
4452002-04-22 Michael Chastain <mec@shout.net>
446
447 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
448
a1706bfd
DM
4492002-04-17 David S. Miller <davem@redhat.com>
450
451 * gdb.asm/sparc64.inc: New file.
452 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
453
a73a20a2
EZ
4542002-04-19 Elena Zannoni <ezannoni@redhat.com>
455
456 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
457 instruction file directly into the build tree. Clean up at end of
458 test.
459
ba678339
DM
4602002-04-18 David S. Miller <davem@redhat.com>
461
462 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
463 handle 64-bit platforms correctly.
464 * gdb.base/maint.exp: Likewise.
465
b03399da
KB
4662002-04-18 Kevin Buettner <kevinb@redhat.com>
467
468 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
469 ``-fpic'' when compiling files comprising a shared library, but
470 it does need additional linker flags in order to find shared
471 libraries at run time.
472
e2004992
KB
4732002-04-18 Kevin Buettner <kevinb@redhat.com>
474
475 * gdb.base/cvexpr.c (use): New function.
476 (main): Invoke use() on all global variables to prevent
477 some linkers from deleting these otherwise unused symbols.
478
d8937120
MC
4792002-04-17 Michael Chastain <mec@shout.net>
480From David S. Miller <davem@redhat.com>
481
482 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
483 handle 64-bit platforms correctly.
484
ffd61a58
MS
4852002-04-12 Michael Snyder <msnyder@redhat.com>
486From Jim Blandy <jimb@redhat.com>
487 * gdb.base/foo.c (foox): Remove section attribute; the linker
488 script can handle this instead.
489 * gdb.base/bar.c (barx): Same.
490 * gdb.base/baz.c (bazx): Same.
491 * gdb.base/grbx.c (grbxx): Same.
492
493 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
494 manager doesn't automatically unmap overlays unnecessarily.
495
6b8426a6
MH
4962002-04-10 Martin M. Hunt <hunt@redhat.com>
497
498 * gdb.base/ending-run.exp: Fix pattern for Mips targets
499 stepping out of main.
500
34af4875
MC
5012002-04-09 Michael Chastain <mec@shout.net>
502
503 * gdb.c++/local.cc (main): Move call to marker1() inside nested
504 scope so that the nested scope tests will make sense.
505 * gdb.c++/local.exp: Write patterns that actually work with gcc
506 (the HP patterns "were never known to work with gcc").
507 Keep the old aCC patterns too.
508
2d1676a0
DJ
5092002-04-09 Daniel Jacobowitz <drow@mvista.com>
510
511 * gdb.base/attach.exp: Correct target board test.
512
3a63e3f9
MC
5132002-04-08 Michael Chastain <mec@shout.net>
514
515 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
516 in a const method. Add some xfail and fail cases for configurations
517 that do not emit the "const ...".
518
f18dabd2
MC
5192002-04-07 Michael Chastain <mec@shout.net>
520
521 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
522 Accept "A * const" and "const A * const" as type of "this".
523 Fix spelling of getFunky throughout. Make messages uniform.
524
0fcddd82
EZ
5252002-04-07 Elena Zannoni <ezannoni@redhat.com>
526
527 Work around for PR gdb/285:
528 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
529
16a8534a
EZ
5302002-04-07 Elena Zannoni <ezannoni@redhat.com>
531
532 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
533 instructions file at run time instead of configure time.
534 Sometimes we run the test in a directory that is not the one we
535 configured in.
536 * gdb.asm/configure.in: Delete creation of symlink.
537 * gdb.asm/configure: Regenerate.
538
24181d81
JB
5392002-04-05 J. Brobecker <brobecker@gnat.com>
540
541 * gdb.gdb/xfullpath.exp: New test, to exercise the new
542 xfullpath () function.
543
7cdb7107
DJ
5442002-04-04 Daniel Jacobowitz <drow@mvista.com>
545
546 * gdb.asm/Makefile.in: Correct dependencies.
547
548 * gdb.asm/powerpc.inc: New file.
549 * gdb.asm/asm-source.exp: Add PowerPC.
550 * gdb.asm/configure.in: Likewise.
551 * gdb.asm/configure: Regenerated.
552
a7d17088
DJ
5532002-04-04 Daniel Jacobowitz <drow@mvista.com>
554
555 * gdb.base/relocate.exp: New file.
556 * gdb.base/relocate.c: New file.
557
cd721503
FF
5582002-04-04 Fred Fish <fnf@redhat.com>
559
560 * gdb.base/step-test.exp: Update comment regarding stopping in
561 memcpy/bcopy calls inserted as part of the compiler runtime.
562
b22ad7a7
MS
5632002-04-04 Michael Snyder <msnyder@redhat.com>
564
565 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
566
5f279fa6
DJ
5672002-04-03 Daniel Jacobowitz <drow@mvista.com>
568
569 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
570 (gdb_expect): Remove $notransfer hack.
571
dd0fd3ce
DJ
5722002-04-02 Daniel Jacobowitz <drow@mvista.com>
573
574 * gdb.c++/classes.exp ("calling method for small class"): Match
575 updated register output.
576
1e50cda1
DJ
5772002-03-30 Daniel Jacobowitz <drow@mvista.com>
578
579 Fix PR gdb/452
580 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
581 when finished. Make gdb_file_cmd send "exec-file" when
582 appropriate.
583
24015922
DJ
5842002-03-30 Daniel Jacobowitz <drow@mvista.com>
585
586 * gdb.base/attach.exp: Remove extra setup_xfail.
587
dd7dfd64
MS
5882002-03-26 Michael Snyder <msnyder@redhat.com>
589
590 * gdb.base/default.exp: Add tests for dump, append, and restore.
591 * gdb.base/help.exp: Add tests for dump, append, and restore.
592 * gdb.base/dump.exp: New file, test dump, append and restore.
593 * gdb.base/dump.c: New file.
594
48b2f8d7
MS
5952002-03-27 Michael Snyder <msnyder@redhat.com>
596
597 * gdb.base/help.exp: Modify expect strings to reflect
598 clean-ups in help messages.
599
05b4d525
FF
6002002-03-26 Fred Fish <fnf@redhat.com>
601
602 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
603 have debugging info for those functions and the compiler uses them
604 internally to copy structs around.
605
d7679631
FF
6062002-03-26 Fred Fish <fnf@redhat.com>
607
608 * gdb.base/list.exp: Revert the change made yesterday and add note
609 about why we don't list the default lines for remote targets.
610
523ac3f9
MS
6112002-03-25 Michael Snyder <msnyder@redhat.com>
612
613 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
614
754b2b8d
FF
6152002-03-25 Fred Fish <fnf@redhat.com>
616
617 * gdb.base/list.exp: This test works on remote targets so remove
618 the short circuit for remote targets. Update copyright.
619
33c3e192
FF
6202002-03-25 Fred Fish <fnf@redhat.com>
621
622 * gdb.base/attach.exp: Fix logic error that was suppressing this
623 test for all non hppa*-*-hpux* targets, instead of the hp target.
624 Move comments closer to the suppression point. Also now need to
625 check that we are running natively.
626
d43e73ee
MS
6272002-03-22 Michael Snyder <msnyder@redhat.com>
628
882c8f02
MS
629 * gdb.base/default.exp: Add test for gcore. Update copyright.
630 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 631
04c12f60
FF
6322002-03-06 Fred Fish <fnf@redhat.com>
633
634 * gdb.base/funcargs.c: Remove extraneous ';' character.
635 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
636
b43df995
MC
6372002-03-04 Michael Chastain <mec@shout.net>
638
639 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
640 accommodate gcc v3 function signature.
641 * gdb.mi/mi0-var-cmd-exp: Ditto.
642
92362027
AC
6432002-02-24 Andrew Cagney <ac131313@redhat.com>
644
645 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
646 ``GNU/Linux'' or ``Linux kernel''
647 * testsuite/gdb.threads/pthreads.c: Ditto.
648
258ad32d
MC
6492002-02-24 Michael Chastain <mec@shout.net>
650
651 * gdb.threads/pthreads.c (thread1): Add a return statement.
652 (thread2): Likewise.
653 (foo): Likewise.
654
04c3b3d4
MC
6552002-02-23 Michael Chastain <mec@shout.net>
656
657 * gdb.threads/linux-dp.c (philosopher): Add a return statement
658 to placate gcc.
659
5a2a0a20
MC
6602002-02-23 Michael Chastain <mec@shout.net>
661
662 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
663 test "ptype bint". The test passes on all my stabs configurations.
664
a640f7fc
JB
6652002-02-21 Jim Blandy <jimb@redhat.com>
666
27924826
JB
667 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
668 filename at a time, and watch for the ones we want to see.
669
a640f7fc
JB
670 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
671 types of pointers to prototyped functions.
672
edcc8c75
AC
6732002-02-20 Andrew Cagney <ac131313@redhat.com>
674
675 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
676 signed, unsigned and straight char.
677 (padding_char, padding_short, padding_int, padding_long,
678 padding_long_long, padding_float, padding_double,
679 padding_long_double): New global variables.
680 (fill, fill_structs): New functions.
681
682 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
683 for correctly sized writes. Update copyright.
684 (get_valueof): New procedure.
685 (get_sizeof): Call get_valueof.
686 (check_valueof): New procedure.
687 (check_padding): New procedure.
688
ac57ea44
MC
6892002-02-20 Michael Chastain <mec@shout.net>
690
691 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
692 to setup_xfail. Document some of the remaining calls.
693
7a10c941
MC
6942002-02-18 Michael Chastain <mec@shout.net>
695
696 * gdb.c++/userdef.exp: Update copyright year.
697
fb8acdcc
DJ
6982002-02-18 Daniel Jacobowitz <drow@mvista.com>
699
700 * gdb.c++/userdef.exp: Test overloaded operators properly.
701 Remove xfails.
702
fda6ae12
MS
7032002-02-14 Michael Snyder <msnyder@redhat.com>
704
705 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
706
676a0442
DJ
7072002-02-14 Daniel Jacobowitz <drow@mvista.com>
708
709 * gdb.base/a2-run.exp: Check for a remote target properly.
710 * gdb.base/annota1.exp: Likewise.
711 * gdb.base/list.exp: Likewise.
712 * gdb.base/reread.exp: Likewise.
713 * gdb.base/scope.exp: Likewise.
714 * gdb.base/shlib-call.exp: Likewise.
715 * gdb.base/term.exp: Likewise.
716 * gdb.c++/annota2.exp: Likewise.
717
78b4f468
RE
7182002-02-13 Richard Earnshaw <rearnsha@arm.com>
719
720 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
721
9a81ba51
MC
7222002-02-10 Michael Chastain <mec@shout.net>
723
724 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
725 (call_after_alloca): Ditto.
726
004af6c7
DJ
7272002-02-10 Daniel Jacobowitz <drow@mvista.com>
728
729 * gdb.base/ending-run.exp: Guard "cont" test with
730 gdb_skip_stdio_test.
731
37225f62
JB
7322002-02-06 Jim Blandy <jimb@redhat.com>
733
734 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
735 from here...
736 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
737 To here. Disable this test on non-HP platforms. Add big comment.
738
fe6fdd96
MS
7392002-02-04 Michael Snyder <msnyder@redhat.com>
740
741 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
742 other than d10v and m32r.
743
036fad3f
RE
7442002-02-02 Richard Earnshaw <rearnsha@arm.com>
745
746 * gdb.base/default.exp: Rewrite test patterns to reduce time
747 taken to match them.
748
7148ab62
DJ
7492002-01-30 Daniel Jacobowitz <drow@mvista.com>
750
751 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
752 Allow a start function above main.
753 * gdb.threads/linux-dp.exp: Fix copyright date.
754
396cc255
DJ
7552002-01-30 Daniel Jacobowitz <drow@mvista.com>
756
757 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
758 (check_philosopher_stack): Check for manager thread before checking
759 for a just-starting thread.
760
f038d31b
DJ
7612002-01-30 Daniel Jacobowitz <drow@mvista.com>
762
763 From Neil Booth <neil@daikokuya.demon.co.uk>:
764 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
765 warnings.
766
b3ff9d9a
FF
7672002-01-21 Fred Fish <fnf@redhat.com>
768
769 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
770 not caller.
771
39ad761d
JB
7722002-01-21 Jim Blandy <jimb@redhat.com>
773
774 * gdb.base/reread.exp: Check that GDB properly re-reads the
775 executable file when it changes while no inferior is running.
776
aaf320fa
FF
7772002-01-21 Fred Fish <fnf@redhat.com>
778
779 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
780 optionally accept the "shlib events" variation.
781
808a31f5
JB
7822002-01-21 Jim Blandy <jimb@redhat.com>
783
784 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
785 call `fflush' after every `printf', so that the output is produced
786 at predictable points, regardless of whatever buffering does (or
787 doesn't) take place.
788 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
789 at different points.
790
4420d5e2
DJ
7912002-01-20 Daniel Jacobowitz <drow@mvista.com>
792
793 * gdb.c++/inherit.exp: Update copyright years.
794 * gdb.c++/method.exp: Likewise.
795
3e36a0f4
DJ
7962002-01-20 Daniel Jacobowitz <drow@mvista.com>
797
798 * gdb.c++/classes.exp: Update for improved v3 support and skipping
799 artificial methods/arguments.
800 * gdb.c++/derivation.exp: Likewise.
801 * gdb.c++/inherit.exp: Likewise.
802 * gdb.c++/method.exp: Likewise.
803 * gdb.c++/virtfunc.exp: Likewise.
804
b4ceaee6
AC
8052002-01-18 Andrew Cagney <ac131313@redhat.com>
806
807 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
808 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
809 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
810 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
811 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
812 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
813
ecace851
JB
8142002-01-17 Jim Blandy <jimb@redhat.com>
815
816 * gdb.asm/asm-source.exp (info symbol): Take another shot at
817 anchoring the pattern matching the entry point symbol's name.
818
375fc983
AC
8192002-01-17 Andrew Cagney <ac131313@redhat.com>
820
821 * gdb.base/maint.exp: Update ``maint internal-error'' to match
822 continue/quit query. Update copyright.
823
fe6fdd96
MS
8242002-01-14 Michael Snyder <msnyder@redhat.com>
825
826 * gdb.base/gcore.exp: Remove extra debugging output.
827
e017c81f
DJ
8282002-01-13 Daniel Jacobowitz <drow@mvista.com>
829
830 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
831 for slightly dubious v2 mangled string.
832
37ab3bf8
DJ
8332002-01-13 Daniel Jacobowitz <drow@mvista.com>
834
835 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
836
1bc05c3a 8372002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 838
1bc05c3a 839 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 840
1bc05c3a
JM
841 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
842 constructors.
843 * gdb.c++/derivation.exp: Likewise.
844 * gdb.c++/templates.exp: Likewise.
845 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 846
1bc05c3a
JM
8472002-01-10 Michael Snyder <msnyder@redhat.com>
848
849 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 850
a911c360
MS
8512002-01-08 Michael Snyder <msnyder@redhat.com>
852
853 * gdb.base/gcore.exp: New test for generate-core-file command.
854 * gdb.base/gcore.c: Testcase for above.
855 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
856
ea2119ec
JM
8572002-01-08 Jason Merrill <jason@redhat.com>
858
859 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
860
68203136
FF
8612002-01-07 Fred Fish <fnf@redhat.com>
862
863 * gdb.c++/overload.exp: Remove unconditional xfails for:
864 print foo_instance1.overloadargs(1)
865 print foo_instance1.overloadargs(1, 2)
866 print foo_instance1.overloadargs(1, 2, 3)
867 print foo_instance1.overloadargs(1, 2, 3, 4)
868 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
869 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
870 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
871 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
872 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
873 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
874 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
875 print foo_instance1.overload1arg()
876 print foo_instance1.overload1arg((char)arg2)
877 print foo_instance1.overload1arg((signed char)arg3)
878 print foo_instance1.overload1arg((unsigned char)arg4)
879 print foo_instance1.overload1arg((int)arg7)
880 print foo_instance1.overload1arg((unsigned int)arg8)
881 print foo_instance1.overload1arg((float)arg11)
882 print foo_instance1.overload1arg((double)arg12)
883
21b9b5b1
MS
8842002-01-07 Michael Snyder <msnyder@redhat.com>
885
886 * gdb.base/huge.exp: New test. Print a very large target data object.
887 (skip_huge_test): New test variable. Define if you want to skip this
888 test. The test reads an 8 megabyte data object from the target, so it
889 might be very time consuming on remote targets with a slow connection.
890 * gdb.base/huge.c: New file. Test case for above.
891
725f922e
FF
8922002-01-07 Fred Fish <fnf@redhat.com>
893
894 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
895 g_instance.bfoo, and g_instance.cfoo.
896
634d57ec
JL
897Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
898
f286b2c3
JL
899 * gdb.base/break.c (multi_line_if_conditional): New function.
900 (multi_ilne_while_conditional): Likewise.
901 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
902 IF or WHILE condition puts the breakpoint at the start of
903 the condition.
904
634d57ec
JL
905 * gdb.base/selftest.exp (backtrace through signal handler): Remove
906 hppa*-*-hpux* expected failure.
907 * gdb.base/structs.exp (do_function_calls): Similarly.
908
909 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
910 watchpoints.
911
9fbfe2dc
AC
9122002-01-06 Andrew Cagney <ac131313@redhat.com>
913
914 Fix PR gdb/66.
915 * gdb.base/structs.exp: Replace skip for a29k with skip for
916 gdb,cannot_call_functions.
917 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
918 * gdb.base/callfuncs.exp: Ditto.
919 * gdb.base/call-rt-st.exp: Ditto.
920 * gdb.base/call-strs.exp: Ditto.
921 * gdb.base/callfwmall.exp: Ditto.
922 * gdb.base/scope.exp: Obsolete xfail a29k.
923 * gdb.c++/misc.exp: Ditto.
924 * gdb.c++/cplusfuncs.exp: Ditto.
925 * gdb.base/ptype.exp: Ditto.
926 * gdb.base/printcmds.exp: Ditto.
927 * gdb.base/opaque.exp: Ditto.
928 * gdb.base/list.exp: Ditto.
929 * gdb.base/funcargs.exp: Ditto.
930 * gdb.base/default.exp: Ditto.
931
8ddad156
MS
9322002-01-04 Michael Snyder <msnyder@redhat.com>
933
ca4976a6 934 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
935 * gdb.base/maint.exp: Add tests for maint info sections options.
936
1b074332
JL
937Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
938
939 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
940
7d159115
CV
9412001-12-20 Corinna Vinschen <vinschen@redhat.com>
942
943 * gdb.asm/arm.inc: New file.
944 * gdb.asm/asm-source.exp: Add arm targets.
945 * gdb.asm/configure.in: Ditto.
946 * gdb.asm/configure: Recreated from configure.in.
947
8fb87725
JL
948Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
949
afabe08c
JL
950 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
951 with HP's compiler.
952 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
953 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
954 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
955 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
956
957 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
958 either HP's compilers or GCC.
959
db521deb
JL
960 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
961 a SIGBUS or SIGSEGV.
962
963 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
964
965 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
966 can be compiled with either HP's compiler or GCC.
967
cfa88ab7
JL
968 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
969 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
970 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
971
ca344dff
JL
972 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
973 to match current gdb output. Update due to using auto-solib-limit
974 for limiting instead of overloading auto-solib-add.
975 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
976 test program.
977
3f3c6e55 978 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
979 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
980 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
981 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
982 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
983 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
984 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
985 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
986 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
987 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
988 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
989 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
990 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 991
8fb87725
JL
992 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
993 a SIGTRAP to the inferior.
994
cf599fa7
CV
9952001-12-19 Corinna Vinschen <vinschen@redhat.com>
996
997 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
998 Substitute call to target_link by call to gdb_compile.
999
2cd045cd
JL
1000Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1001
1002 * gdb.base/break.exp: Fix HP specific search string when testing
1003 backtracing in a called function.
1004
1005 * gdb.base/constvars.exp: Only set lang to C++ if we're
1006 compiling the test with HP's compilers.
1007 * gdb.base/volatile.exp: Similarly.
1008
99ebe9ac
JB
10092001-12-19 Jim Blandy <jimb@redhat.com>
1010
1011 * gdb.base/printcmds.exp: Expect the null character to be printed
1012 as '\0', and the '\013' to be printed as '\v'.
1013 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1014 * gdb.base/setvar.exp: Same.
1015
b9891b29
JB
10162001-12-17 Jim Blandy <jimb@redhat.com>
1017
0eba65ab
JB
1018 * gdb.base/completion.exp: Rather than completing very long
1019 filenames, which can make the readline library produce output we
1020 don't recognize, cd to the directory first, and then complete
1021 using nice, short relative paths.
1022
6970b5b1
JB
1023 * gdb.base/completion.exp: On some systems, there is, in fact, a
1024 variable named `b' in scope, since GDB treats all static
1025 variables as being in scope. So use `no_var_named_this'
1026 instead of `b'.
1027
b9891b29
JB
1028 * gdb.base/corefile.exp: Recognize the message saying that GDB
1029 can't find the core file's registers as a failure.
1030
e6ccd35f
JSC
10312001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1032
1033 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1034 test expect string more specific.
1035
105ba819
CV
10362001-12-13 Corinna Vinschen <vinschen@redhat.com>
1037
1038 * gdb.asm/asm-source.exp: Add support for xstormy16.
1039 * gdb.asm/configure.in: Ditto.
1040 * gdb.asm/configure: Rebuild.
1041 * gdb.asm/xstormy16.inc: New file.
1042
e9e79dd9
FF
10432001-12-10 Fred Fish <fnf@redhat.com>
1044
1045 * gdb.base/maint.exp: Update to match changes in type dumping code.
1046
347dc97d
JB
10472001-12-10 Jim Blandy <jimb@redhat.com>
1048
1049 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1050 matching the entry point symbol's name at the beginning of the
1051 line.
1052
5178b9d6
DJ
10532001-12-07 Daniel Jacobowitz <drow@mvista.com>
1054
1055 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1056 gdb.c++/inherit.exp, gdb.c++/method.exp,
1057 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1058 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1059 and class layout support.
1060
af890c52
DJ
10612001-12-07 Daniel Jacobowitz <drow@mvista.com>
1062
1063 * gdb.c++/classes.exp: Add test for static member function.
1064 * gdb.c++/misc.cc: Add class with static member function.
1065
7a345fb3
JB
10662001-12-07 Jim Blandy <jimb@redhat.com>
1067
f2e54a80 1068 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1069 those tests as `unsupported'.
1070 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1071 Rewrite subsequent tests to use it.
1072
1073 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1074 those tests as `unsupported'.
1075 * gdb.base/structs.exp (call_struct_func): New function.
1076 (do_function_calls): Use call_struct_func to call the functions
1077 returning structs.
1078
0bc69509
JB
1079 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1080 whether functions are prototyped or not, so we can't possibly pass
1081 arguments to t_float_values2 properly.
1082
7a345fb3
JB
1083 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1084 value of `timeout' for targets other than the mips*tx39-*.
1085
edb6ede1
MS
10862001-12-06 Michael Snyder <msnyder@redhat.com>
1087
1088 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1089 and detect whether the start symbol has a leading underscore.
1090
2d842f13
JB
10912001-12-04 Jim Blandy <jimb@redhat.com>
1092
1093 * gdb.base/completion.exp: Clarify indentation.
1094
68550daf
JB
10952001-12-03 Jim Blandy <jimb@redhat.com>
1096
1097 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1098 variables on the S/390, not `.word'.
1099
cd5195a8
JB
11002001-11-30 Jim Blandy <jimb@redhat.com>
1101
1102 Add assembly-source tests for s390-ibm-linux.
1103 * gdb.asm/s390.inc: New file.
1104 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1105 the S/390 architecture.
1106 * gdb.asm/configure: Regenerated.
1107
ca9efc90
MS
11082001-11-30 Michael Snyder <msnyder@redhat.com>
1109
1110 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1111 next, info source, info sources, info line, global and static
1112 variables, and static functions.
1113 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1114 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1115 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1116 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1117 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1118 (gdbasm_leave): Restore frame pointer.
1119 (gdbasm_startup): Copy stack set-up from crt0.S.
1120
d0e66976
FN
11212001-11-26 Fernando Nasser <fnasser@redhat.com>
1122
1123 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1124 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1125 to a local (non-static) variable. Copy tstruct.a to a static buffer
1126 and return a pointer to that buffer.
1127 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1128
e2334072
MK
11292001-11-24 Mark Kettenis <kettenis@gnu.org>
1130
1131 * gdb.asm/configure.in: Fix recognition of ix86 target.
1132 * gdb.asm/configure: Regenerate.
1133
756caa3d
MS
11342001-11-21 Michael Snyder <msnyder@redhat.com>
1135
1136 * gdb.asm/sparc.inc: New file.
1137 * gdb.asm/asm-source.exp: Recognize sparc target.
1138 * gdb.asm/configure.in: Recognize sparc target.
1139 * gdb.asm/configure: Regenerate.
1140
9a4d72d5
MS
11412001-11-21 Michael Snyder <msnyder@redhat.com>
1142
1143 * gdb.asm/m32r.inc: New file.
1144 * gdb.asm/asm-source.exp: Recognize m32r target.
1145 * gdb.asm/configure.in: Recognize m32r target.
1146 * gdb.asm/configure: Regenerate.
1147
a773d1cd
MS
11482001-11-20 Michael Snyder <msnyder@redhat.com>
1149
017ac23d
MS
1150 * gdb.asm/i386.inc: New file.
1151 * gdb.asm/asm-source.exp: Recognize ix86 target.
1152 * gdb.asm/configure.in: Recognize ix86 target.
1153 * gdb.asm/configure: Regenerate.
1154
a773d1cd
MS
1155 * gdb.c++/namespace.exp: Fix quotes in output messages.
1156
bb632afb
MS
11572001-11-14 Michael Snyder <msnyder@redhat.com>
1158
25d559ca 1159 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1160 qualifier in a type cast expression, to designate an address
1161 in the instruction space (Harvard architecture).
1162
4749e309
MS
11632001-11-13 Michael Snyder <msnyder@redhat.com>
1164
1165 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1166 Tests for expressions using 'const' and 'volatile'.
1167
25050984
CV
11682001-11-13 Corinna Vinschen <vinschen@redhat.com>
1169
1170 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1171
1902c51f
DJ
11722001-11-12 Daniel Jacobowitz <drow@mvista.com>
1173
1174 * lib/mi-support.exp (mi_run_to_helper): Move comments
1175 outside of gdb_expect.
1176
dcf95b47
DJ
11772001-11-11 Daniel Jacobowitz <drow@mvista.com>
1178
1179 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1180 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1181 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1182 mi0_run_to): New functions.
1183 * gdb.mi/mi-simplerun.exp: Use them.
1184 * gdb.mi/mi0-simplerun.exp: Likewise.
1185 * gdb.mi/mi-var-cmd.exp: Likewise.
1186 * gdb.mi/mi0-var-cmd.exp: Likewise.
1187
45b074e1
AC
11882001-11-10 Andrew Cagney <ac131313@redhat.com>
1189
1190 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1191 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1192
bf50d346
AC
11932001-11-09 Andrew Cagney <ac131313@redhat.com>
1194
1195 * gdb.base/restore.exp: Include $expected value in restored test
1196 message.
1197
9383332c
AC
11982001-11-09 Andrew Cagney <ac131313@redhat.com>
1199
1200 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1201 implemented.
1202
db62520a
MS
12032001-11-08 Michael Snyder <msnyder@redhat.com>
1204
1205 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1206 Add pass/fail message for stop at breakpoint in call dummy function.
1207
b5703437
MS
12082001-11-07 Michael Snyder <msnyder@redhat.com>
1209
760f6330
MS
1210 * gdb.c++/templates.exp (test_template_breakpoints):
1211 If we get an overload menu, but it does not match what
1212 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1213 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1214 making the whitespace optional. Argument for "new" may be
1215 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1216 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1217 making the whitespace optional. Also replace "(void) with
1218 "((void|)), making the keyword "void" optional.
63f50499
MS
1219 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1220 making the whitespace optional. Also replace "(void) with
1221 "((void|)), making the keyword "void" optional.
3bf40917
MS
1222 * gdb.base/callfuncs.c (t_float_values): This function must
1223 _not_ be prototyped, and the following function (t_float_values2)
1224 must be prototyped (if the compiler supports it), so that GDB
1225 can be tested against both cases. Usually one case involves
1226 promotion of float to double, while the other does not.
1227 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1228 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1229 includes a stack frame for "start".
1230
c8ab4e6d
JB
12312001-11-05 Jim Blandy <jimb@redhat.com>
1232
1233 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1234 pointers are 32 bits long, and that offsets of relocs are always
1235 stored in the data (REL-style), and not in the reloc entry itself
1236 (RELA-style).
1237 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1238 stabs.
1239
3f08ced9
MS
12402001-11-01 Michael Snyder <msnyder@redhat.com>
1241
1242 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1243 and regular expression operators by using quoting.
1244
cbfa24cd
MS
12452001-10-31 Michael Snyder <msnyder@redhat.com>
1246
1247 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1248 depending on what the symbol table contains.
1249 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1250 the output of the ptype command. Similarly, accept both "const &"
1251 and "const&".
1252
aaa68313
CV
12532001-10-31 Corinna Vinschen <vinschen@redhat.com>
1254
1255 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1256 symbol `STORAGE' to allow to choose the storage class of
1257 the local datastructures.
1258 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1259 compiler directive.
1260
91740388
MS
12612001-10-30 Michael Snyder <msnyder@redhat.com>
1262
1263 * gdb.base/jump.exp: Allow it to run for all targets.
1264
1b7c05e7
CV
12652001-10-29 Corinna Vinschen <vinschen@redhat.com>
1266
1267 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1268 with new double_array size.
1269 (main): Change storage class of all local variables to static.
1270 Reduce size of double_array to 9.
1271 * gdb.base/call-ar-st.exp: Increase timeout value.
1272 Change expected output for double array to match new size in
1273 call-ar-st.c.
1274
36a22261
CV
12752001-10-29 Corinna Vinschen <vinschen@redhat.com>
1276
1277 * gdb.base/ending-run.exp: Create identical output when passing
1278 `step to end of run' case. Add regular expression branch satisfying
1279 Stormy16 target.
1280
92b8ae91
MK
12812001-10-28 Mark Kettenis <kettenis@gnu.org>
1282
1283 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1284 that we catch the expected failure under Linux/x86.
1285
cb135b83
OF
12862001-10-29 Orjan Friberg <orjanf@axis.com>
1287
1288 * gdb.base/setvar.exp: Escape curly braces.
1289 * gdb.stabs/weird.exp: Ditto.
1290
6884aa54
DJ
12912001-10-27 Daniel Jacobowitz <drow@mvista.com>
1292
1293 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1294 * gdm.mi/mi0-hack-cli.exp: Likewise.
1295
0398c9aa
AC
12962001-10-25 Andrew Cagney <ac131313@redhat.com>
1297
1298 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1299 messages.
1300
d20bf2e8
AC
13012001-10-21 Andrew Cagney <ac131313@redhat.com>
1302
1303 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1304 checking MI enabled.
1305
03dd63aa
CV
13062001-10-09 Corinna Vinschen <vinschen@redhat.com>
1307
1308 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1309
1d9d99f3
FCE
13102001-10-04 Frank Ch. Eigler <fche@redhat.com>
1311
1312 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1313 if gdb child process crashes, just signal an error.
1314
838ae6c4
JB
13152001-10-02 Jim Blandy <jimb@redhat.com>
1316
1317 * lib/gdb.exp (test_xfail_format): Simplify.
1318
1319 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1320 front of the variable name `format'. Simplify `if'.
1321
8f0cbc1c
DJ
13222001-10-01 Daniel Jacobowitz <drow@mvista.com>
1323
1324 * gdb.threads/pthreads.exp: Wait for output and delay
1325 before sending ^C.
1326
1f08dafd
DJ
13272001-10-01 Daniel Jacobowitz <drow@mvista.com>
1328
1329 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1330 some incorrect output instead of timing out.
1331 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1332
674f90ff
CV
13332001-09-28 Corinna Vinschen <vinschen@redhat.com>
1334
1335 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1336 check to allow additional `int'.
1337
9b284272
DJ
13382001-09-27 Daniel Jacobowitz <drow@mvista.com>
1339
1340 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1341 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1342
b55a4771
MS
13432001-09-27 Michael Snyder <msnyder@redhat.com>
1344
1345 * lib/gdb.exp (test_debug_format): New proc.
1346 (setup_xfail_format): Use new proc test_debug_format.
1347 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1348 proc; use new service proc test_debug_format.
1349 Replace all other "gcc_compiled" tests with this test.
1350 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1351 proc; use new service proc test_debug_format.
1352 Replace all other "gcc_compiled" tests with this test.
1353
13542001-09-27 Michael Snyder <msnyder@redhat.com>
1355
1356 * gdb.base/cvexpr.exp: New file.
1357 * gdb.base/cvexpr.c: New file
1358 Test for expressions using const and volatile keywords.
1359
4e6667ac
CV
13602001-09-26 Corinna Vinschen <vinschen@redhat.com>
1361
1362 * gdb.base/constvars.exp: Check for different orders of keywords
1363 and additional "int" strings in output.
1364
4f337972
AC
13652001-09-22 Andrew Cagney <ac131313@redhat.com>
1366
1367 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1368 responses from "help maint".
1369
2015650d
FCE
13702001-09-19 Frank Ch. Eigler <fche@redhat.com>
1371
1372 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1373 to localhost:NNN instead of :NNN, in case Xvfb is listening
1374 only on TCP.
1375
f3bcedc1
CV
13762001-09-19 Corinna Vinschen <vinschen@redhat.com>
1377
1378 * gdb.base/recurse.exp: When checking leaving the watchpoint
1379 scope, recognize when gdb is in function's epilogue and pass.
1380
6b819c92
KS
13812001-09-18 Keith Seitz <keiths@redhat.com>
1382
1383 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1384 support for running tests against sid targets.
1385 (gdbtk_done): Ditto.
1386
a10c9419
CV
13872001-09-18 Corinna Vinschen <vinschen@redhat.com>
1388
1389 * gdb.base/ending-run.c (main): Set stdout buffersize
1390 to the same reasonable value for any target.
1391 * gdb.base/ending-run.exp: Add a regular expression
1392 to make testsuite happy on Sanyo Stormy16 target.
1393
739d0d99
CV
13942001-09-17 Corinna Vinschen <vinschen@redhat.com>
1395
1396 * gdb.base/display.c (do_loops): Add float variable `f'.
1397 Increment f in loop.
1398 * gdb.base/display.exp: Increment timeout by 60 seconds.
1399 Change float display test to use variable `f'.
1400
1b8947f0
JB
14012001-09-17 Jim Blandy <jimb@redhat.com>
1402
1403 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1404 overflowing the limited breakpoint tables on some ROM monitors
1405 (like the ROM68K).
1406
9890ac81
FCE
14072001-09-15 Frank Ch. Eigler <fche@redhat.com>
1408
1409 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1410 the "-ac" (disable access control) flag.
1411
6db765ea
JH
14122001-08-30 Jeff Holcomb <jeffh@redhat.com>
1413
1414 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1415 ints.
1416
4c32cc04
KS
14172001-08-30 Keith Seitz <keiths@redhat.com>
1418
1419 * lib/gdb.exp: Move all insight-related functionality into
1420 separate file.
1421 * lib/insight-support.exp: New file.
1422
8d6e6f81
FCE
14232001-08-29 Frank Ch. Eigler <fche@redhat.com>
1424
1425 * config/sid.exp (sid_start): Never set sid verbosity; disable
1426 expect_background {} that consumed its stdout; tolerate </dev/null.
1427 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1428
6a90e1d0
AC
14292001-08-18 Andrew Cagney <ac131313@redhat.com>
1430
1431 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1432 CLI jump command to start it.
1433 (mi_run_to_main): Fail immediatly when unexpected output.
1434
1759b3c3
AC
14352001-08-18 Andrew Cagney <ac131313@redhat.com>
1436
1437 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1438 beginning of function. Fix PR gdb/191.
1439
61d11d80
FCE
14402001-08-16 Frank Ch. Eigler <fche@redhat.com>
1441
1442 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1443 what to force sid endianness to.
1444
942a4df2
KS
14452001-08-15 Keith Seitz <keiths@redhat.com>
1446
1447 * lib/gdb.exp (gdbtk_start): Don't set environment
1448 variables for TCL_LIBRARY and friends. Insight will
1449 now figure these out for itself.
1450
0521c418
MS
14512001-08-02 Michael Snyder <msnyder@redhat.com>
1452
1453 * gdb.base/completion.exp: Remove the symbol "a64l" from
1454 the expect string; this is target-specific, and not related
1455 to what is being tested.
1456
74a9a58a
DB
14572001-08-02 Dave Brolley <brolley@redhat.com>
1458
1459 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1460
c70819fa
MS
14612001-07-25 Michael Snyder <msnyder@redhat.com>
1462
c2b8fa57
MS
1463 * gdb.base/consecutive.exp: New file. Test stepping over
1464 breakpoints on consecutive instructions.
1465 * gdb.base/consecutive.c: New file.
1466
c70819fa
MS
1467 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1468 curly braces in regular expressions.
1469
2b1a1355
MS
14702001-07-25 Michael Snyder <msnyder@redhat.com>
1471
1472 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1473 legitimate output from stepping out of main.
1474
413eca6f
KS
14752001-07-22 Keith Seitz <keiths@redhat.com>
1476
1477 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1478 the empty string, do not run the tests.
1479
7e5a9322
SC
14802001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1481
1482 * gdb.base/long_long.exp: Detect size of pointer. Take into
1483 account 2-byte pointers when testing for p/a results.
1484
de58f10f
SC
14852001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1486
1487 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1488 and defined to 1K for m68hc11.
1489 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1490 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1491 (sizeof_random_data): New variable to tell the size of the data table;
1492 don't test past this size; always run to main.
1493
d6f5fea1
SC
14942001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1495
1496 * gdb.base/return2.exp: return of long long and double fails for
1497 68HC11; don't execute these tests on that platform.
1498 * gdb.base/return.exp: Return of a double fails for 68hc11.
1499
c477543d
SC
15002001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1501
1502 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1503 tests that print a float.
1504 * call-rt-st.exp: Likewise.
1505
63cf1c79
MK
15062001-07-12 Mark Kettenis <kettenis@gnu.org>
1507
1508 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1509 running this test on Linux.
1510
112f9ab5
MC
15112001-06-24 Michael Chastain <chastain@redhat.com>
1512
1513 * gdb.base/arithmet.exp: Remove some tests to make all test names
1514 unique.
1515
4970cb0f
MS
15162001-07-03 Michael Snyder <msnyder@redhat.com>
1517
1518 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1519 the output of the ptype command.
1520
d85da69f
MS
15212001-07-02 Michael Snyder <msnyder@redhat.com>
1522
4c8a82de
MS
1523 * gdb.base/completion.exp: Don't assume that break.c is the only
1524 source file that may contain functions named "marker".
d85da69f
MS
1525 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1526
8afc772b
AC
15272001-06-28 Andrew Cagney <ac131313@redhat.com>
1528
1529 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1530 of files to delete.
1531
1532 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1533 * gdb.disasm/h8300s.exp: New file.
1534 gdb.disasm/h8300s.s: Likewise.
1535
cff22675
AC
15362001-06-27 Andrew Cagney <ac131313@redhat.com>
1537
1538 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1539 empty breakpoint tables.
1540
68c81b54
AC
15412001-06-25 Andrew Cagney <ac131313@redhat.com>
1542
1543 * lib/mi-support.exp: Update args=... part of stop-reason
1544 patterns. Accept either a list or a tuple.
1545
2dd62704
AC
15462001-06-23 Andrew Cagney <ac131313@redhat.com>
1547
1548 * lib/mi-support.exp: Remove local emacs variable defining
1549 change-log-default-name.
1550
b4127474
MC
15512001-06-22 Michael Chastain <chastain@redhat.com>
1552
1553 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1554 This is operationally compatible with the previous version.
1555
8dbfb380
JB
15562001-06-13 Jim Blandy <jimb@redhat.com>
1557
1558 * lib/gdb.exp (gdb_test): Doc fix.
1559
f2d8c86d
MC
15602001-06-10 Michael Chastain <chastain@redhat.com>
1561
1562 * gdb.base/exprs.exp: Remove a duplicate test.
1563
81564d34
JB
15642001-06-06 Jim Blandy <jimb@redhat.com>
1565
1566 * gdb.base/return2.exp (main): Use values to test float and double
1567 returns that are not NaN's, to avoid being confused by IEEE
1568 comparison rules.
1569
da55addb
MS
15702001-06-04 Michael Snyder <msnyder@redhat.com>
1571
1572 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1573 non-zero if control_c fails. Terminate the test on failure,
1574 rather than wait for 12 more tests to time out.
1575
42c65987
JB
15762001-06-06 Jim Blandy <jimb@redhat.com>
1577
b18bced9
JB
1578 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1579 Don't forget to match the GDB prompt.
1580
42c65987
JB
1581 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1582
5b41e5f0
JB
15832001-06-04 Jim Blandy <jimb@redhat.com>
1584
1585 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1586 command.
1587
015e046f
KB
15882001-05-31 Kevin Buettner <kevinb@redhat.com>
1589
1590 * gdb.base/annota1.exp (info break): Match four or more spaces
1591 after "Address".
1592
fb1ffbbe
MC
15932001-05-31 Michael Chastain <chastain@redhat.com>
1594
1595 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1596 (dm_type_int_star): Likewise.
1597 (dm_type_long_star): Likewise.
1598 (dm_type_void_star): Likewise.
1599
5ea2a32c
KB
16002001-05-29 Kevin Buettner <kevinb@redhat.com>
1601
1602 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1603 to a known value in order to get consistent results regardless
1604 of the setting of INPUTRC or the presence or contents of .inputrc.
1605
ae23c492
MS
16062001-05-24 Michael Snyder <msnyder@redhat.com>
1607
ac55707e
MS
1608 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1609 Don't require that the main thread and the manager thread are the
1610 first in the list.
1611
ae23c492
MS
1612 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1613 debugging. If test fails, issue an "unsupported" not a "fail".
1614
400071f1
JB
16152001-05-24 Jim Blandy <jimb@redhat.com>
1616
1617 Don't assume that short is shorter than int.
1618 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1619 assume that shorts are smaller than ints. On a 16-bit machine,
1620 this isn't true.
1621 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1622 an int, is not equal to ~0 stored in an unsigned char. This tests
1623 the same thing that the previous test meant to, but works on
1624 16-bit machines, too.
1625 ("print unsigned char != (~0)"): Same test, complemented.
1626
0816a3e5
MS
16272001-05-24 Michael Snyder <msnyder@redhat.com>
1628
1629 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1630 test for (full_coverage == 0). This makes the test run faster,
1631 and prevents dejagnu getting out of step.
1632
f6dc23a9
KB
16332001-05-23 Kevin Buettner <kevinb@redhat.com>
1634
1635 * gdb.base/finish.exp (finish_void): Revise pattern for
1636 stopping on the call statement to not permit stopping at
1637 the start of the instructions comprising the call sequence.
1638
7dbd117d
MC
16392001-05-19 Michael Chastain <chastain@redhat.com>
1640
1641 * gdb.base/callfuncs.exp: Make all test names unique.
1642 * gdb.base/commands.exp: Make all test names unique.
1643 * gdb.base/condbreak.exp: Make all test names unique.
1644 * gdb.base/dbx.exp: Make all test names unique.
1645 * gdb.base/default.exp: Make all test names unique.
1646 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1647 and TIMEOUT messages to their corresponding PASS message.
1648 * gdb.base/ending-run.exp: Make all test names unique.
1649 * gdb.base/long_long.exp: Remove duplicate test.
1650
6b0b0a9e
KB
16512001-05-21 Kevin Buettner <kevinb@redhat.com>
1652
1653 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1654 stop on the call statement as well as the statement after the
1655 call.
1656
2caa35cb
MS
16572001-05-21 Michael Snyder <msnyder@redhat.com>
1658
1659 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1660
40713331
EZ
16612001-05-10 Elena Zannoni <ezannoni@redhat.com>
1662
1663 * gdb.base/completion.exp: Revamp test. Make it execute on all
1664 platforms.
1665
c2c1be8d
EZ
16662001-05-10 Elena Zannoni <ezannoni@redhat.com>
1667
2c9cd303
EZ
1668 * config/gdbserver.exp (gdb_load): Handle the case
1669 in which the arguments to gdbserver are given in the
1670 baseboard configuration file.
1671 Also handle the case in which the server needs to do a
1672 load.
1673
9671de48
KS
16742001-05-07 Keith Seitz <keiths@cygnus.com>
1675
1676 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1677 set up the display for testing.
1678 (gdbtk_start): Convert all paths to paths that tcl will like.
1679 Export target information to environment.
1680 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1681 necessary.
1682 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1683 (to_tcl_path): New proc to convert a given pathname into
1684 a path acceptible as an argument to a tcl command.
1685 (_gdbtk_export_target_info): New proc to export target info
1686 into the environment for gdbtk testing.
1687 (gdbtk_done): New proc to signal end-of-test.
1688
5a360f47
JB
16892001-05-06 Jim Blandy <jimb@redhat.com>
1690
1691 * restore.c: Make the code of caller0 correspond to its comment.
1692
66c756c6
MS
16932001-05-03 Michael Snyder <msnyder@redhat.com>
1694
1695 * config/sid.exp (gdb_target_sid): Check for error messages.
1696 On error or timeout, don't make expect exit (which will terminate
1697 all subsequent tests); instead just make gdb exit.
1698 (gdb_load): Check for error messages. On error or timeout,
1699 return a negative value.
1700
a966fde5
JB
17012001-04-24 Jim Blandy <jimb@redhat.com>
1702
851c18e0
JB
1703 * gdb.c++/templates.exp: If we see the prompt for the overload
1704 list, but we haven't recognized any of the longer patterns,
1705 arrange for this test to fail, not hang.
1706
a966fde5
JB
1707 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1708 variations.
1709
db144853
MC
17102001-04-22 Michael Chastain <chastain@redhat.com>
1711
1712 * gdb.c++/local.exp: Use the 'runto' library function.
1713 * gdb.c++/namespace.exp: Likewise.
1714 * gdb.c++/overload.exp: Likewise.
1715
3207ec21
KB
17162001-03-26 Kevin Buettner <kevinb@redhat.com>
1717
1718 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1719 * gdb.base/step-line.exp: New file. Test step/next in presence of
1720 #line directives.
1721 * gdb.base/step-line.c: New file. Test program for the above.
1722 * gdb.base/step-line.inp: New file. We pretend that this file has
1723 been transformed by some other tool into step-line.c.
1724
13b57657
JB
17252001-03-21 Jim Blandy <jimb@redhat.com>
1726
1727 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1728 unmangled operator names.
1729
754cbe1c
JB
17302001-03-20 Jim Blandy <jimb@redhat.com>
1731
1732 * gdb.threads/linux-dp.exp: Recognize an additional message
1733 generated by GDB when it doesn't understand how to debug threads
1734 on the target system.
1735
177495c9
AC
17362001-03-19 Andrew Cagney <ac131313@redhat.com>
1737
1738 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1739
f266096b
MC
17402001-03-12 Michael Chastain <chastain@redhat.com>
1741
1742 * gdb.c++/derivation.exp: Use the 'runto' library function.
1743
cac3c2ff
MC
17442001-03-12 Michael Chastain <chastain@redhat.com>
1745
1746 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1747
b6c11a24
MC
17482001-02-24 Michael Chastain <chastain@redhat.com>
1749
1750 * gdb.c++/ref-types.exp: Change handwritten code to library
1751 function 'runto'.
1752
6bae5bce
OF
17532001-03-16 Orjan Friberg <orjanf@axis.com>
1754
1755 * gdb.base/signals.exp: Set count to 0 explicitly.
1756
0015fd9a
MS
17572001-03-15 Mark Salter <msalter@redhat.com>
1758
1759 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1760 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
1761 (gdb_load): Add support for additional target_info: gdb_download_size
1762 and gdb_load_timeout.
0015fd9a 1763
fc33412a
DT
1764Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1765
1766 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1767 file -- to prevent failing when the compile fails but we have no
1768 intention of running the tests anyway.
1769
1770 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1771 tests if set.
1772
1773 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1774 integers.
1775
1776 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1777 * gdb.c++/namespace.exp: Ditto.
1778
115f06de
OF
17792001-03-07 Orjan Friberg <orjanf@axis.com>
1780
1781 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
1782 * gdb.base/pointers.exp: Relax pattern match of decimals.
1783
b6ba6518
KB
17842001-03-06 Kevin Buettner <kevinb@redhat.com>
1785
1786 * Makefile.in, config/abug.exp, config/cfdbug.exp,
1787 config/cpu32bug.exp, config/dve.exp, config/est.exp,
1788 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
1789 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
1790 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
1791 config/sh.exp, config/sid.exp, config/slite.exp,
1792 config/sparclet.exp, config/udi.exp, config/unknown.exp,
1793 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
1794 config/vxworks.exp, config/vxworks29k.exp,
1795 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
1796 gdb.base/all-bin.exp, gdb.base/annota1.exp,
1797 gdb.base/arithmet.exp, gdb.base/assign.exp,
1798 gdb.base/async.exp, gdb.base/attach.exp,
1799 gdb.base/bitfields.exp, gdb.base/bitops.exp,
1800 gdb.base/break.exp, gdb.base/call-ar-st.exp,
1801 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
1802 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
1803 gdb.base/commands.exp, gdb.base/completion.exp,
1804 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
1805 gdb.base/constvars.exp, gdb.base/corefile.exp,
1806 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1807 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
1808 gdb.base/ending-run.exp, gdb.base/environ.exp,
1809 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
1810 gdb.base/finish.exp, gdb.base/foll-exec.exp,
1811 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
1812 gdb.base/funcargs.exp, gdb.base/help.exp,
1813 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
1814 gdb.base/logical.exp, gdb.base/long_long.exp,
1815 gdb.base/maint.exp, gdb.base/mips_pro.exp,
1816 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
1817 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
1818 gdb.base/pointers.exp, gdb.base/printcmds.exp,
1819 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
1820 gdb.base/regs.exp, gdb.base/relational.exp,
1821 gdb.base/remote.exp, gdb.base/reread.exp,
1822 gdb.base/restore.exp, gdb.base/return2.exp,
1823 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
1824 gdb.base/selftest.exp, gdb.base/setshow.exp,
1825 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1826 gdb.base/sigall.exp, gdb.base/signals.exp,
1827 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
1828 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
1829 gdb.base/step-test.exp, gdb.base/structs.c,
1830 gdb.base/structs.exp, gdb.base/structs2.exp,
1831 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
1832 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
1833 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
1834 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1835 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
1836 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
1837 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
1838 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
1839 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
1840 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
1841 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
1842 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
1843 gdb.fortran/types.exp, gdb.java/jmisc.exp,
1844 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
1845 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
1846 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1847 gdb.trace/circ.exp, gdb.trace/collection.exp,
1848 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1849 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1850 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
1851 gdb.trace/report.exp, gdb.trace/save-trace.exp,
1852 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1853 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
1854 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
1855 notices.
1856
dc96c6c7 18572001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
1858
1859 * gdb.base/varargs.c (find_max_double): Fix printf format string:
1860 first arg is int not float.
1861
dc96c6c7 18622001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
1863
1864 * gdb.base/reread.exp: Unsupported for non-native targets;
1865 doesn't work for remote debugging.
1866
9b0c4aeb
FN
18672001-02-19 Fernando Nasser <fnasser@redhat.com>
1868
1869 From Drew Moseley <dmoseley@redhat.com>
1870 * gdb.base/ending-run.exp: Properly handle the BSP state when
1871 stepping past the end of main.
1872
02aa71d5
MC
18732001-02-19 John Moore <jmoore@redhat.com>
1874
1875 * gdb.base/commands.exp (infrun_breakpoint_command_test):
1876 Converted HPUX fix for non-expected items following multiple
1877 step commands into general solution for all platforms.
1878
1fa449a4
MC
18792001-02-18 Michael Chastain <chastain@redhat.com>
1880
1881 * gdb.c++/classes.exp (do_tests): Change runto statements
1882 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1883 statements demangler agnostic.
1884 * gdb.c++/virtfunc.exp (do_tests): Likewise.
1885 (gdb_virtfunc_restart): Likewise.
1886
b2f9ec70
MC
18872001-02-14 Michael Chastain <chastain@redhat.com>
1888
1889 * gdb.c++/inherit.exp (do_tests): Change runto statements
1890 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1891 statements demangler agnostic.
1892
cf74b8ca
AC
1893Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
1894
1895 * gdb.threads/pthreads.exp: Unify pass/fail messages for
1896 ``continue to bkpt at common_routine in thread 2'' and ``stopped
1897 before calling common_routine 15 times'' tests.
1898
99f78f56
MC
18992001-02-11 Michael Chastain <chastain@redhat.com>
1900
1901 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
1902 Helps the test script figure out which demangler is in use.
1903 (dm_type_foo_ref): Ditto.
1904 (dm_type_int_star): Ditto.
1905 (dm_type_long_star): Ditto.
1906 (dm_type_unsigned_int): Ditto.
1907 (dm_type_void): Ditto.
1908 (dm_type_void_star): Ditto.
99707966 1909 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
1910 Probe the gdb demangler and set variables to accommodate
1911 formatting differences.
1912 (info_func_regexp): New function. Same as info_func, but
1913 matches against a regexp.
1914 (info_func): Match against a literal string.
1915 (print_addr_2): New function. Match against a literal string,
1916 which can be different from the input to gdb.
1917 (print_addr): Simply call print_addr_2 with the same argument twice.
1918 (test_lookup_operator_functions): Use demangler formatting variables.
1919 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
1920 the tests in the same order as the C++ class declaration.
1921 (test_paddr_operator_functions): Ditto.
1922 (test_paddr_overloaded_functions): Ditto.
1923 (test_paddr_hairy_functions): Use demangler formatting variables.
1924 Add reference to gdb/19 for related tests.
1925 (do_tests): Call probe_demangler.
1926
1de8f023
KB
19272001-01-30 Kevin Buettner <kevinb@redhat.com>
1928
1929 * gdb.c++/templates.cc (printf): Remove unused function definition.
1930
ca3f91ed
MS
19312001-01-26 Felix Lee <flee@redhat.com>
1932
1933 * sid.exp (sid_exit): Pass host, not target, to remote_close.
1934
19352001-01-25 matthew green <mrg@redhat.com>
1936
1937 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
1938 up sid.
1939 (sid_exit): Call `remote_pop_conn' after GDB is gone.
1940
19412001-01-25 matthew green <mrg@redhat.com>
1942
1943 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
1944 Deprecate $sid_spawn_id.
1945 (sid_exit): Remove code necessary only for `spawn.'
1946
19472001-01-25 matthew green <mrg@redhat.com>
1948
1949 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
1950
fb18ec4a
MC
19512001-01-28 Michael Chastain <chastain@redhat.com>
1952
1953 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
1954 to call when tests fail. It takes gdb out of the overloaded
1955 function choice menu back to the main prompt, so that the test
1956 program stays synchronized.
1957 (set_bp_overloaded): New proc to collect all the common
1958 code for setting a breakpoint on an overloaded name. Calls
1959 take_gdb_out_of_choice_menu when needed.
1960 (menu_overload1arg): New variable to collect the repeated
1961 instances of the expected menu for an overloaded name. Change
1962 the regular expression to handle changes in g++ type encoding:
1963 "void" can be either "void" or "", and "unsigned int" can be
1964 either "unsigned int" or "unsigned".
1965 (continue_to_bp_overloaded): Change regular expressions to handle
1966 changes in g++ type encoding.
1967 (no proc): Call take_gdb_out_of_choice_menu when needed.
1968 Remove redundant calls to "info break". Accept either "canceled"
1969 or "cancelled". Change regular expressions in "info break"
1970 calls to handle changes in g++ type encoding. Give all tests
1971 unique strings.
1972
9c646a6e
BE
19732001-01-17 Ben Elliston <bje@redhat.com>
1974
1975 * config/sid.exp: New file.
1976
9549d9c1
AC
1977Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
1978
1979 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
1980
dc96c6c7 19812000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
1982
1983 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
1984 Add a RE to accept a non-ascii char if one is ever presented.
1985
b4df4f68
FN
19862000-12-20 Fernando Nasser <fnasser@redhat.com>
1987
297dd0fd 1988 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 1989
dc96c6c7 19902000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
1991
1992 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
1993 in regexp. One '\' does not suffice on Linux.
1994
4a7bddb6
MC
19952000-12-09 Michael Chastain <chastain@redhat.com>
1996
1997 * gdb.base/break.exp (test_clear_command): Use a marker function
1998 rather than 'main' for the test function. Also move this
1999 test to an execution point where the marker function names are
2000 guaranteed to be bound to functions. (Executing tests after a
2001 'finish' from main runs into name conflicts with local names
2002 in __libc_start_main).
2003
dc96c6c7 20042000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2005
2006 * gdb.base/finish.exp: New test for gdb's "finish" command.
2007 * gdb.base/return2.exp: New test for gdb's "return" command.
2008 * gdb.base/return2.c: New source file for above.
2009
dc96c6c7 20102000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2011
2012 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2013 * gdb.base/miscexprs.exp: Ditto.
2014 * gdb.base/pointers.exp: Ditto.
2015 * gdb.c++/derivation.exp: Ditto.
2016 * gdb.c++/local.exp: Ditto.
2017 * gdb.c++/namespace.exp: Ditto.
2018 * gdb.c++/overload.exp: Ditto.
2019 * gdb.c++/ref-types.exp: Ditto.
2020
dc96c6c7 20212000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2022
2023 * gdb.base/constvars.exp: Test result of "up" command.
2024 * gdb.base/miscexprs.exp: Ditto.
2025 * gdb.base/pointers.exp: Ditto.
2026 * gdb.base/scope.exp: Ditto.
2027 * gdb.c++/derivation.exp: Ditto.
2028 * gdb.c++/local.exp: Ditto.
2029 * gdb.c++/namespace.exp: Ditto.
2030 * gdb.c++/overload.exp: Ditto.
2031 * gdb.c++/ref-types.exp: Ditto.
2032
44097287
FN
20332000-11-22 Michael Chastain <chastain@redhat.com>
2034
2035 * mips_pro.exp: Accept either "middle -> top -> main" or
2036 "middle -> main" in the backtrace, because gcc can optimize
2037 tail calls to jumps. Remove setup_xfail for the hppa case.
2038 Add a comment with the original warning messages from PR 3016,
2039 which was filed in 1993, to preserve them for posterity.
2040
9d2e1bab
ND
20412000-11-17 Nick Duffek <nsd@redhat.com>
2042
2043 * lib/gdb.exp (gdb_test): Override timeout with board info.
2044
1aca8eb7
ND
20452000-11-17 Nick Duffek <nsd@redhat.com>
2046
2047 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2048 the second kill and detach messages.
2049
93076499
ND
20502000-11-17 Nick Duffek <nsd@redhat.com>
2051
2052 * configure.in: Add AC_EXEEXT.
2053 * configure: Regenerate.
2054 * Makefile.in (just-check): Export EXEEXT.
2055 * lib/gdb.exp ($EXEEXT): Import from environment.
2056 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2057 expect "maint dump-me" on Cygwin.
2058 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2059 $EXEEXT.
2060
30e87cd3
ND
20612000-11-17 Nick Duffek <nsd@redhat.com>
2062
2063 * gdb.base/break.exp: Test backtrace and finish from called
2064 function on all platforms, not just HP-UX.
2065
dc96c6c7 20662000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2067
2068 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2069 code from gdb_target_monitor, so it can be used independantly
2070 for gdbserver. Also comment out an unnecessary PUTS.
2071
dc96c6c7 20722000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2073
2074 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2075 * gdb.base/corefile.exp: Expect the message "Program is being
2076 debugged already" when we send the "corefile" command, since
2077 the preceeding gdb_load may have connected gdb to a remote target.
2078 * gdb.base/display.exp: Disable hardware watchpoints if new
2079 board info variable "no_hardware_watchpoints" is true.
2080 Replace single-letter commands with more readable ones.
2081 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2082 if new board info variable "no_hardware_watchpoints" is true.
2083 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2084 to see if stdio (printf) testing is possible.
2085 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2086 board info variable "no_hardware_watchpoints" is true. Use new
2087 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2088
39124dea
FN
20892000-11-13 Fernando Nasser <fnasser@redhat.com>
2090
2091 From Orjan Friberg <orjanf@axis.com>:
2092 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2093 in array print pattern match.
2094
a9e2e984
FN
20952000-11-09 Fernando Nasser <fnasser@redhat.com>
2096
2097 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2098 spelling "cancelled" to U.S. spelling "canceled" to match changes
2099 made to gdb.
2100 * gdb.c++/ovldbreak.exp: Ditto.
2101
c7db355b
PS
21022000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2103
2104 * gdb.base/callfuncs.c (main): Moved to end of file, call
2105 t_double_values to initialize the FPU before inferior calls are made.
2106 * gdb.base/callfuncs.exp: Test for register preservation after calling
2107 inferior functions. Add tests for continuining, finishing and
2108 returning from a stop in a call dummy.
2109
dc96c6c7 21102000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2111
2112 * gdb.base/commands.exp: Break up long lines, and re-indent.
2113
dc96c6c7 21142000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2115
2116 * config/gdbserver.exp: Rewritten from the ground up, to make it
2117 compatible with the current dejagnu tree, and to make it work with
2118 the new "gdbserver" in libremote.
2119
dc96c6c7 21202000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2121
2122 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2123 * gdb.base/varargs.exp: Skip entire test if no printf support.
2124 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2125 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2126
dc96c6c7 21272000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2128
2129 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2130 no floating point support.
2131 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2132 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2133 * gdb.base/call-rt-st.exp: Ditto.
2134 * gdb.base/call-strs.exp: Ditto.
2135
bac5fc66
JG
21362000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2137
2138 * gdb.base/sizeof.c: include <stdio.h>.
2139
2140 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2141 'finish', otherwise uncaptured gdb_prompt would potentially
2142 throw remaining test points out of sync.
2143
b22a6027
SB
21442000-07-26 Scott Bambrough <scottb@netwinder.org>
2145
2146 * gdb.base/recurse.exp: Run tests for all targets.
2147 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2148 gnu-oldld case on ARM.
2149 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2150 for ARM targets.
2151
d8231941
AG
2152Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2153
2154 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2155 * gdb.java/configure: Rebuild.
2156
8caabe69
AG
2157Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2158
2159 * gdb.java/jv-exp.exp: New file.
2160
9d273ca3
AG
2161Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2162
2163 * configure: Rebuilt.
2164 * configure.in (configdirs): Add gdb.java.
2165 * gdb.java/jmisc.java: New file.
2166 * gdb.java/jmisc.exp: New file.
2167 * gdb.java/Makefile.in: New file.
2168 * gdb.java/configure: Rebuilt.
2169 * gdb.java/configure.in: New file.
2170 * lib/java.exp: New file.
2171
4f823a66
AC
2172Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2173
2174 * gdb.base/exprs.exp: Test casts to a pointer including over and
2175 underflow.
2176
2391e11d
AC
2177Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2178
2179 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2180 and the compilers sizes.
2181
54602222
ND
21822000-07-09 Nick Duffek <nsd@redhat.com>
2183
2184 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2185 (use_methods): New function.
2186 (main): Call use_methods().
2187 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2188 (do_tests): Call test_method_param_class.
2189
2bec0572
ND
21902000-07-09 Nick Duffek <nsd@redhat.com>
2191
2192 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2193 spelling.
2194 (test_enums): New procedure. Move enum tests from end of script
2195 to here. Set breakpoint on function name instead of line number.
2196 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2197 (enums2): New marker function.
2198 (enums1): New function.
2199 (main): Call enums1(). Move enum tests to enums1().
2200
78492fde
AC
2201Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2202
2203 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2204 compile/link program. Update line numbers.
2205 * gdb.asm/d10v.inc: Define ``startup''.
2206 * gdb.asm/asmsrc1.s: Add definition of _start.
2207
49a2cef8
AC
2208Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2209
2210 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2211
3e6c8688
EZ
22122000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2213
2214 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2215 of 'help maint print' command.
2216
9ff5cbe9
AC
2217Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2218
2219 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2220 they use gdb_expect_list.
2221
17c579bd
AC
2222Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2223
2224 * gdb.base/commands.exp: Use ``set remote
2225 memory-read-packet-size'' instead of ``set endian big'' to test
2226 long commands.
2227
e6d71bf3
DB
22282000-06-03 Daniel Berlin <dan@cgsoftware.com>
2229
2230 * gdb.c++/templates.exp (do_tests): Make all of these work under
2231 g++, and stop skipping them.
2232
2233 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2234 work under g++.
2235
e5f9ba7b
MS
2236 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2237 initialization.
2238
dc96c6c7 22392000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2240
2241 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2242 the regular expression: accept an (almost) arbitrary sequence of
2243 "frames-invalid" and "breakpoints-invalid" messages both before
2244 and after the "starting" message.
2245
dc96c6c7 22462000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2247
2248 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2249
dc96c6c7 22502000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2251
2252 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2253 Relax the regular expression a little, make it pass on Solaris 8.
2254
8216cda9
KB
22552000-05-12 Kevin Buettner <kevinb@redhat.com>
2256
2257 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2258 a call, do not require that gdb stop on the line after the call.
2259 Instead, it is permissible for gdb to stop on the line of the
2260 call itself.
2261
1a570b2f
MS
22622000-05-12 Michael Snyder <msnyder@.cygnus.com>
2263
2264 * gdb.base/break.exp (bp on small function, optimized file):
2265 Add a second pass pattern. The behavior differs here between stabs
2266 and dwarf for one-line functions. Stabs preserves two line symbols
2267 (one before the prologue and one after) with the same line number,
2268 but dwarf regards these as duplicates and discards one of them.
2269 Therefore the address after the prologue (where the breakpoint is)
2270 has no exactly matching line symbol, and GDB reports the breakpoint
2271 as if it were in the middle of a line rather than at the beginning.
2272
dc96c6c7 22732000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2274
2275 * gdb.base/interrupt.exp: Make "pass" message say "send"
2276 rather than "send_gdb" (for consistancy).
2277
7d418785
AC
2278Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2279
2280 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2281 * gdb.c++/templates.cc: Properly check for GCC version number.
2282 * lib/compiler.cc: Likewise
2283
dc96c6c7 22842000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2285
2286 * gdb.base/break.exp: When compiled with -O2 optimization,
2287 gdb may not stop at the first line of main, due to code motion.
2288
dc96c6c7 22892000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2290
2291 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2292 This test depends on parsing the printf output from the target.
2293 Since the sparclet stub doesn't do stdio, this will never work.
2294 * gdb.base/call-rt-st.exp: ditto.
2295 * gdb.base/call-strs: ditto.
2296
dc96c6c7 22972000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2298
2299 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2300
2301 * gdb.base/ending-run.exp: After connecting to a remote target,
2302 but before running, the target will appear to be in a random
2303 location. Specify both a file and a line for breakpoints.
2304 Also, the function that calls main may be called 'init'
2305 rather than 'start'.
2306
a5a51225
EZ
23072000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2308
2309 * gdb.base/help.exp: Update output for add-symbol-file command.
2310
7930cc7c
FN
23112000-04-10 Fernando Nasser <fnasser@cygnus.com>
2312
2313 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2314 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2315
23e37ab1
C
23162000-04-07 J.T. Conklin <jtc@redback.com>
2317
e93c542c
C
2318 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2319
23e37ab1
C
2320 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2321
591b8fa3
PDM
2322Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2323
2324 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2325 values that can be represented exactly.
2326 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2327 above change, and to not check against the directory part of the source
2328 file name.
2329 (step into print_long_arg_list): Likewise.
2330 (print print_small_structs from print_long_arg_list): Likewise.
2331 (print print_long_arg_list): Likewise.
2332
7a495180
EZ
23332000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2334
30b53638 2335 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2336
beb998c6
AC
2337Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2338
2339 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2340
1c689132
DB
23412000-03-25 Daniel Berlin <dan@cgsoftware.com>
2342
2343 * gdb.base/commands.exp (deprecated_command_test): Add test for
2344 deprecate with no arguments.
2345
c1790a9d
JL
23462000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2347
2348 * gdb.base/break.exp: Add new test for setting breakpoints on
2349 optimized code so we can test breakpoints work even when function
2350 prologues may be optimized away
2351
003ba290
FN
23522000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2353
2354 From David Whedon <dwhedon@gordian.com>
2355 * gdb.base/commands.exp : Added command deprecator tests.
2356
6837a0a2
DB
23572000-03-22 Daniel Berlin <dan@cgsoftware.com>
2358
2359 * gdb.base/help.exp: Added test for new apropos command.
2360
b9593231
KB
23612000-03-21 Kevin Buettner <kevinb@redhat.com>
2362
2363 * gdb.base/pointers.c (usevar): New function.
2364 (main): Make sure that global variables v_int_pointer2, rptr,
2365 and y are all referenced someplace in the program by calling
2366 usevar() on them. [Some linkers delete symbols which are
2367 never referenced. The space remains, but there's no way to
2368 get a (symbolic) handle on the variable from the debugger.]
2369
751a959b
EZ
23702000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2371
2372 * gdb.base/printcmds.c: Add typedeffed arrays.
2373
2374 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2375 procedure to test arrays that are typedef'd.
2376
73a93a32
JI
23772000-03-13 James Ingham <jingham@leda.cygnus.com>
2378
2379 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 2380 the library directories.
73a93a32 2381
fb40c209
AC
2382Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2383
2384 * configure.in (configdirs): Add sub directory gdb.mi.
2385 * configure: Re-generate.
2386
2387 * gdb.mi: New directory.
beb998c6 2388
ee4dd2c9
AC
23892000-02-25 Scott Bambrough <scottb@netwinder.org>
2390
2391 * gdb.base/long_long.exp: Correct test suite failure when printing
2392 a long long value as a double on ARM platforms.
2393
70f0cc22
JB
23942000-02-16 Jim Blandy <jimb@redhat.com>
2395
2396 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2397 default source file is set properly before running this test.
2398
853819b8
EZ
23992000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2400
2401 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2402 gdbtk/library directory, not in gdbtcl2.
2403
dfcd3bfb
JM
24042000-02-04 Jim Blandy <jimb@redhat.com>
2405
2406 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2407 backslash from regexp pattern.
2408
2409 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2410 procedure. Use it to run all the "continue to bp overloaded"
2411 tests. Note that this changes the names of the tests slightly.
2412 If the breakpoint hit message includes a hex PC value, because
2413 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2414 from the real source code, still consider that a pass.
2415
2416 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2417 XFAIL here if the breakpoint message contains a hex address. Note
2418 similar change on 1999-11-02.
2419
2420 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2421
2422 * gdb.base/ptype.exp: Establish a default source file before
2423 calling get_debug_format.
2424
24252000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2426
2427 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2428
8b93c638
JM
24292000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2430
2431 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2432 of successive stepi commands -- while in the prologue we should see
2433 the function entry bracket.
2434
24352000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2436
2437 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2438 reach __change_mode() when stepping through the end of main().
2439
c5394b80
JM
24402000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2441
2442 * gdb.base/default.exp: Fix expected pattern.
2443 * gdb.base/help.exp: Same.
2444
0d06e24b
JM
24452000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2446
2447 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2448 Don't use xfail's because that affects only the following test.
beb998c6 2449
0d06e24b
JM
2450 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2451 solaris or linux.
2452
2453 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2454
dc96c6c7 24552000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2456
beb998c6 2457 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2458 "A syntax error" rather than "A parse error". Accept both.
2459
24602000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2461
2462 * gdb.base/default.exp: Remove OS dependent string from "target
2463 remote" test.
2464 * gdb.base/help.exp: Same for "help target remote" test.
2465
c3f6f71d
JM
24662000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2467
2468 From Jim Kingdon <kingdon@redhat.com>:
2469
2470 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2471 prompt (cleanup rather than necessity, but still might keep output
2472 from spilling to next test).
2473
24742000-01-02 Fred Fish <fnf@cygnus.com>
2475
2476 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2477 AIX, which defines them in <sys/types.h>.
2478
ed9a39eb 24791999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2480
ed9a39eb
JM
2481 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2482 float" test.
2483
24841999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2485
ed9a39eb 2486 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2487
2488 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2489 outermost frame disallowed".
2490
24911999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2492
2493 * gdb.base/setvar.exp: New tests for setting the value of a struct
2494 with a constant list.
2495
24961999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2497
2498 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2499 require the user to type a cast before setting the value of a struct.
2500
de57eccd
JM
25011999-12-06 Jim Blandy <jimb@cygnus.com>
2502
2503 * gdb.base/default.exp: Expect the new 'info float' command on
2504 all i386 platforms.
2505
2506 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2507 LinuxThreads libraries that don't support debugging.
2508
c2d11a7d
JM
2509Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2510
2511 * gdb.base/remote.c: Fill the buffer with truely random data.
2512 Change the buffer type to ``unsigned char'' to simplify size
2513 arithmetic.
2514
2515 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2516 stub only handles 400-1 byte packets. Verify that the download
2517 worked.
2518
25191999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2520
2521 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2522 tests, using UNRESOLVED for the untested cases. Also, does not wait
2523 for a timeout if the prompt was received before a recognizable pattern.
2524
25251999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2526
2527 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2528
25291999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2530
2531 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2532 watchpoints.
2533
25341999-11-24 Jason Merrill <jason@casey.cygnus.com>
2535
2536 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2537
2538 * gdb.c++/local.exp: Be more flexible in recognizing local class
2539 name mangling. Don't allow horribly truncated method names.
2540 * gdb.c++/derivation.exp: Expect protected inheritance.
2541 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2542 * gdb.c++/virtfunc.exp: Likewise.
2543 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2544 when printing a nested enum.
2545
25461999-11-22 Jim Blandy <jimb@cygnus.com>
2547
2548 * gdb.base/step-test.exp: Properly await GDB's response to setting
2549 a breakpoint on the call to large_struct_by_value.
2550
2551 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2552 just because we have debug info for the `start' function.
2553
25541999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2555
2556 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2557 "Unknown signal" messages, which indicate (on LinuxThreads) that
2558 GDB doesn't know how to debug threads on this system. This is
2559 better than hanging while philosopher 0 dumps chatter into gdb.log.
2560
25611999-11-18 Tom Tromey <tromey@cygnus.com>
2562
2563 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2564
25651999-11-18 Fred Fish <fnf@cygnus.com>
2566
2567 * gdb.base/coremaker2.c: Add sample program for generating
2568 cores that is more self contained than coremaker.c. Eventually
2569 I'll add more code to this and tie it into the testsuite.
2570
4ce44c66
JM
25711999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2572
2573 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2574
25751999-11-10 Jimmy Guo <guo@cup.hp.com>
2576
2577 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2578 from $srcdir/lib/.
2579 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2580 and gdb.c++/.
2581
2582 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2583
beb998c6 2584 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
2585 'continue with watch' test point.
2586
25871999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2588
2589 Merged from p2linux-990323-branch:
beb998c6 2590
4ce44c66
JM
2591 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2592
11cf8741
JM
2593Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2594
2595 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2596 {limit,fixed}''. Test ``set download-write-size''.
2597
2598Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2599
2600 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2601 gdb_expect_list.
2602
2603Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2604
2605 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2606
26071999-11-03 Mark Salter <msalter@cygnus.com>
2608
2609 * gdb.base/break.exp: Fix "stub continue" pattern.
2610
26111999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2612
2613 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2614
26151999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2616
2617 * gdb.base/display.exp ("finish"): Add timeout clause.
2618
2619 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2620 plain prompt clause, so this doesn't have to time out in order to
2621 fail.
2622
2623 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2624 breakpoint hit messages include an address.
2625
2626 * gdb.base/display.exp: Don't forget to escape parens in regular
2627 expressions. Unix regexp notatation sucks.
2628
26291999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2630
2631 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2632 order for 'signalled' message.
2633
5c44784c
JM
26341999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2635
2636 From Jimmy Guo <guo@cup.hp.com>:
2637 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2638 * gdb.base/annota1.c: Add code for tests to work with.
2639
26401999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2641
2642 * gdb.base/remote.exp: New test for remote downloading settings.
2643 * gdb.base/remote.c: New file with large .data.
2644
917317f4
JM
26451999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2646
2647 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2648 for LinuxThreads support, merged from the Code Fusion branch.
2649
2650Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2651
2652 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2653 containing exp_continue into a while within an expect. Don't
2654 attempt a start more than three times. Check return value from
2655 gdb_load.
beb998c6 2656
2df3850c
JM
2657Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2658
2659 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2660 a pass case.
2661
2acceee2
JM
26621999-10-01 Kevin Buettner <kevinb@cygnus.com>
2663
2664 * gdb.base/break.c (main): Added a statement that we can step
2665 off of.
2666 * gdb.base/break.exp: Added tests for setting a breakpoint
2667 at an offset and stepping onto a breakpoint.
2668
26691999-10-01 Fred Fish <fnf@cygnus.com>
2670
beb998c6 2671 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
2672 gdb output.
2673
c2c6d25f
JM
26741999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2675
2676 * gdb.base/break.exp: Code locations are in hex, don't forget!
2677 (For HP-UX.)
2678
26791999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2680
2681 * condbreak.exp: Use break.c as test program.
2682 * condbreak.c: Remove, redundant with break.c.
2683
26841999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2685
2686 * config/monitor.exp (gdb_target_monitor): Disable X- and
2687 Z-packets if the target needs it.
2688
26891999-09-13 James Ingham <jingham@leda.cygnus.com>
2690
2691 * gdb.c++/overload.exp: Added tests for listing overloaded
2692 functions with function pointers in the arg, explicitly calling
2693 out the version you want.
2694
cff3e48b
JM
26951999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2696
2697 * long_long.exp: Add variations of test cases that work for
2698 targets with 16-bit ints and 32-bit doubles.
2699
d4f3574e
SS
27001999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2701
2702 * break.c (main): Compare a possibly-uninitialized argc with an
2703 unlikely value that fits in 16 bits.
2704
27051999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2706
2707 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2708 0xfeeb, don't want negative numbers if ints are 16 bits.
2709
2710 * lib/gdb.exp (skip_cplus_tests): New proc.
2711 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2712 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2713 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2714 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2715 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2716 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2717 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2718 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2719
2720 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2721
2722Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2723
2724 * gdb.base/corefile.exp (up): Allow a parameter to appear
2725 in the frame that we're going up to.
2726
2727 From Jim Blandy <jimb@cygnus.com>:
2728
2729 * gdb.base/default.exp (info float): Expect some output now.
2730
2731 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2732 returning floating-point values to fail on the x86.
2733 * gdb.base/callfwmall.exp (do_function_calls): Same.
2734
2735 * gdb.base/list.exp (test_listsize): Correct expectations for
2736 listing line 1 with listsize 2. Also, listing a single line
2737 works now, as does listing three lines. [Kevin's note: There
2738 were a number of other cases fixed too where the expectations
2739 differed...]
2740
27411999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2742
2743 * gdb.base/selftest.exp: Add case for when version prints as
2744 constant string instead of char pointer.
2745
104c1213
JM
27461999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2747
2748 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2749 stepping out of main.
2750
2751 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2752 G++ used.
2753
2754 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2755 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2756
2757 * gdb.c++/ovldbreak.exp: Update match string in test that
2758 includes a warning of multiple breakpoints.
2759
27601999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2761
2762 * gdb.base/display.exp: Improve precision of step-after-finish
2763 added yesterday.
2764
2765 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2766 test.
2767
2768 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2769 configs when using G++, not just hppa*.
2770
27711999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2772
2773 * gdb.base/async.c: New file.
2774 * gdb.base/async.exp: New file.
2775
2776Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2777
2778 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2779 PA64.
2780
53a5351d
JM
2781Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
2782
104c1213
JM
2783 * gdb.base/display.exp: "finish" can leave us mid-line on many
2784 targets, deal with it. Add a small constant to main, instead of
2785 1000 since main+1000 may not be a valid address in the target.
2786
53a5351d
JM
2787 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
2788 on hpux11.
2789
2790 * gdb.base/attach.exp: Handle another hpux11 error message variant
2791 when attaching to a process that does not exist.
2792
27931999-08-19 J.T. Conklin <jtc@redback.com>
2794
2795 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
2796 characters in 'continue to 1241' test.
2797
27981999-08-17 Stan Shebs <shebs@andros.cygnus.com>
2799
2800 * gdb.base/call-ar-st.exp: Add a shorter match case for the
2801 stop in print_long_arg_list, define and use a whitespace
2802 variable in print_small_structs test, add an XFAIL for Solaris.
2803 * gdb.base/dbx.exp: XFAIL func commands until somebody is
2804 interested enough to fix.
2805
7be570e7
JM
28061999-08-13 Keith Seitz <keiths@cygnus.com>
2807
2808 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
2809 (dbx_gdb_load): Remove. Use gdb_load instead, since that
2810 proc knows about targets other than the natives.
2811 (test_assign): Use "gdb_run_cmd" to "run" the target.
2812 Check that we've actually hit the breakpoint at main.
2813 When we attempt to assign a value to a local variable, check
2814 that the variable is in the current scope, i.e., don't use
2815 a test with an empty result.
2816
2817Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2818
2819 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
2820 command.
2821
28221999-08-09 Stan Shebs <shebs@andros.cygnus.com>
2823
2824 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2825 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
2826 gdb.compat, gdb.threads-hp.
2827 gdb.hp/configure, gdb.hp/configure.in: New files.
2828 gdb.hp/Makefile.in: Recurse into new subdirs.
2829 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
2830 gdb.hp/gdb.objdbg: New directory, tests for debugging info
2831 in object files.
2832 gdb.hp/tools: New directory, aux tools for HP-specific tests.
2833
96baa820
JM
28341999-08-05 Stan Shebs <shebs@andros.cygnus.com>
2835
2836 * gdb.base/display.exp: Help expect by putting a newline in the
2837 funky printf, remove a bogus p/a test.
2838
28391999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2840
2841 * gdb.base/display.exp: Make sure that when we say 'run', we are
2842 connected to the target. This is necessary when running not
2843 natively.
2844
28451999-08-03 Stan Shebs <shebs@andros.cygnus.com>
2846
2847 * gdb.base/step-test.exp: Removed some extraneous messages.
2848
2849 * gdb.base/long_long.exp: Don't run memory examination tests
2850 on little-endian targets (they will need a different set of
2851 results to match).
2852
28531999-08-02 Stan Shebs <shebs@andros.cygnus.com>
2854
2855 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
2856 until somebody decides to fix GDB.
2857
2858 * gdb.base/long_long.c: Stop compiler complaint by specifying long
2859 constant as "ULL".
2860 * gdb.base/long_long.exp: Loosen x/c test, add partial result
2861 matches for a couple x/2 commands.
2862
a0b3c4fd
JM
28631999-07-30 Stan Shebs <shebs@andros.cygnus.com>
2864
2865 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
2866 by merging in ref-types2 tests.
2867 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
2868
2869 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2870 * gdb.c++/Makefile.in: Add standard actions.
2871 (EXECUTABLES): Rename from PROGS, update list.
2872 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
2873 from gdb.hp.
2874 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
2875 foo and bar locals.
2876 * gdb.c++/anon-union.exp: Fix tests to match.
2877 * gdb.c++/classes.exp: Run if HP compiler used, add extra
2878 expect matches to handle output variations.
2879 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
2880 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
2881 output, add HP alternatives for new and delete prints.
2882 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
2883 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
2884 * gdb.c++/demangle.exp: Use $style when reporting failure.
2885 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
2886 * gdb.c++/inherit.exp: Run if HP compiler used, add some
2887 match alternatives.
2888 * gdb.c++/local.exp: Add match alternatives or xfails for HP
2889 compilers.
2890 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
2891 * gdb.c++/method.exp: Add match alternatives.
2892 * gdb.c++/misc.cc: Add bool types.
2893 * gdb.c++/misc.exp: Add tests for bool types.
2894 * gdb.c++/overload.exp: Add xfails.
2895 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
2896 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
2897 add some more template parameter tests (only for HP currently).
2898 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
2899 * gdb.c++/virtfunc.cc: Add return type and value for main.
2900 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
2901 match alternatives.
beb998c6 2902
a0b3c4fd
JM
29031999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2904
2905 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
2906
29071999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
2908
2909 * gdb.base/signals.exp: Don't expect getting a backtrace from
2910 within a signal handler to fail on Linux.
2911
29121999-07-29 Stan Shebs <shebs@andros.cygnus.com>
2913
2914 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2915 * lib/gdb.exp: Remove some gratuitious semicolons.
2916 (delete_breakpoints): Increase timeout.
2917 (gdb_expect): Add -notransfer option.
2918 (gdb_test): Use -notransfer option.
2919 (get_compiler_info): Add f77 case.
2920 (get_compiler): New proc, split out from gdb_preprocess, add f77
2921 case.
2922 (gdb_preprocess): Call get_compiler.
2923
2924 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
2925 * gdb.base/attach.exp, gdb.base/display.exp,
2926 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
2927 gdb.base/long_long.exp, gdb.base/printcmds.exp,
2928 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
2929 third arg to gdb_test.
2930 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
2931 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
2932 HP-UX xfails, add others.
2933 * gdb.base/completion.exp: Reflect name change of self-test.
2934 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
2935 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
2936 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
2937 HP failure number.
2938 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
2939 useless HP-UX 10.30 references.
2940 * gdb.base/maint.exp: Loosen matches.
2941 * gdb.base/pointers.c (main): Declare more_code.
2942 * gdb.base/pointers.exp: Match on output of a `next'.
2943 * gdb.base/structs.c: Add prototypes.
2944 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
2945 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
2946
29471999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2948
2949 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
2950 command.
2951
29521999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2953
2954 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
2955 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
2956
2957 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
2958 debug info. Deal with lack of signal hanlder info in stack.
2959
2960 From Jim Kingdon <kingdon@redhat.com>:
2961 * gdb.base/annota1.exp: If printf has debug info, deal with it.
2962
5a2468f5
JM
29631999-07-19 Stan Shebs <shebs@andros.cygnus.com>
2964
2965 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
2966 gdb.base/foll-vfork.exp: Don't run for crosses.
2967
adf40b2e
JM
2968Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2969
2970 * gdb.base/configure.in: Check for gdbvars.exp instead of
2971 a1-selftest.exp.
2972 * gdb.base/configure: Re-generate.
2973
29741999-07-12 Stan Shebs <shebs@andros.cygnus.com>
2975
2976 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
2977 in trying to run first and name is too long.
2978
2979 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
2980 pointers2.c and pointers2.exp, respectively.
2981 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
2982 doschk happier.
2983
43e526b9
JM
29841999-07-08 Stan Shebs <shebs@andros.cygnus.com>
2985
2986 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
2987 callfuncs2.c and callfuncs2.exp.
2988
2989 * gdb.base/list.exp: Remove mistaken xfails.
2990 * gdb.base/list0.h: Add optional prototypes.
2991
9846de1b
JM
2992Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
2993
2994 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
2995 calling malloc.
2996 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
2997 * ptype.exp: Move test for get_debug_format to before its first
2998 use.
2999
30001999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3001
3002 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3003 * gdb.base/annota2.cc, annota2.exp: Move from here.
3004 * gdb.c++/annota2.cc, annota2.exp: To here.
3005 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3006
43ff13b4
JM
3007Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3008
3009 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3010 a consistent format.
3011
085dd6e6
JM
30121999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3013
3014 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3015 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3016 HP compilers, also set the globals $true and $false.
3017
3018 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3019 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3020 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3021 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3022 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3023 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3024 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3025 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3026 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3027 whatis.c} Add C++ compatible function definitions and return
3028 types, add includes for library functions.
3029 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3030 * gdb.base/step-test.c (myglob): Rename from glob.
3031 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3032 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3033 files, move here from gdb.hp.
3034 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3035 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3036 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3037 Adjust line numbers in regexps.
3038
3039 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3040 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3041 instead of 0/1.
3042
3043 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3044 foll-vfork.exp: New files, move here from gdb.hp.
3045 * gdb.base/page.exp: New file, test of pagination command.
3046
3047 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3048 recursion test.
3049 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3050
3051 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3052 gdb.base/solib.exp: Fix compiler invocation process.
3053
3054 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3055 HP-UX 11, turn off overload resolution explicitly.
3056 * gdb.base/commands.exp: Set argument list explicitly, add
3057 watchpoint test.
3058 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3059 them work.
3060 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3061 expressions properly.
3062 * gdb.base/corefile.exp: Loosen the match slightly.
3063 * gdb.base/default.exp: Allow "Error accessing memory" message
3064 also.
3065 * gdb.base/display.exp: Skip over x/0 j if PA64.
3066 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3067 * gdb.base/interrupt.exp: Ditto.
3068 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3069 in use.
3070 * gdb.base/list.exp: Add xfails for HP-UX.
3071 * gdb.base/long_long.exp: Refine some of the numeric matches.
3072 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3073 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3074 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3075 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3076 * gdb.base/ptype.exp: Succeed on more varieties of output.
3077 * gdb.base/scope.exp: Add xfails for HP-UX.
3078 * gdb.base/sect-cmd.exp: Add more cases.
3079 * gdb.base/setvar.exp: Add xfails for HP-UX.
3080 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3081 * gdb.base/signals.exp: Match on void symbolically.
3082 * gdb.base/step-test.exp: Add case for PA64.
3083 * gdb.base/term.exp: Add exit and restart.
3084 * gdb.base/twice.exp: Clean up after self.
3085 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3086 * gdb.base/whatis.exp: Allow more ways to pass tests.
3087
3088 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3089 no longer useful.
3090
3091Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3092
3093 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3094 list of patterns.
3095 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3096 print_double_array(double_array)", "continuing to breakpoint
3097 1018", "print print_double_array(array_d)" and "continuing to
3098 1034" tests.
beb998c6 3099
085dd6e6
JM
31001999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3101
3102 * Makefile.in: Add empty html and install-html targets.
3103
31041999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3105
3106 * config/mt-*: Remove, these haven't been used since 1996.
3107
31081999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3109
3110 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3111 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3112 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3113
9e0b60a8
JM
31141999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3115
3116 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3117 simpler match case for the ptype of the big class.
3118
31191999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3120
3121 * gdb.exp: Fix test for gdb_prompt existence.
3122
31231999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3124
3125 * gdb.exp (gdb_test): Add fail after calls to perror.
3126
31271999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3128
3129 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3130
31311999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3132
3133 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3134
0f71a2f6
JM
3135Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3136
3137 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3138 malloc() is linked in.
3139
31401999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3141
3142 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3143 step at end.
3144
3145 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3146
31471999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3148
3149 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3150
cce74817
JM
3151Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3152
3153 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3154 * gdb.base/mips_pro.exp: Likewise.
3155
31561999-06-02 Keith Seitz <keiths@cygnus.com>
3157
3158 * gdb.c++/templates.cc: Change all "new" operators to throw
3159 an exception.
3160 * gdb.c++/cplusfuncs.cc: Likewise.
3161
3162 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3163
3164Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3165
3166 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3167 * gdb.base/ending-run.exp: When stepping out of main, accept a
3168 step into an arbitrary assembler file.
3169
392a587b
JM
31701999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3171
beb998c6 3172 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3173 "breakpoint-invalid" to be printed.
beb998c6 3174 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3175 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3176 * gdb.base/annota2.cc: Initialize a.x to 0.
3177
9e086581
JM
31781999-05-17 Keith Seitz <keiths@cygnus.com>
3179
3180 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3181 when "skip_float_tests" set.
3182 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3183 "print print_ten_doubles", and "step into print_long_arg_list".
3184 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3185 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3186 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3187 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3188 "skip_float_tests" is set.
3189 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3190 when "skip_float_tests" set.
beb998c6 3191
cd0fc7c3
SS
31921999-05-06 Keith Seitz <keiths@cygnus.com>
3193
3194 * gdb.base/annota2.cc: Include stdio.h.
3195
3196Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3197
3198 * gdb.base/crossload.exp: Remove, this has been disabled ever
3199 since BFD stopped including all targets, and cross-GDB gets
3200 plenty of testing anyway.
3201 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3202 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3203 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3204 * gdb.base/README: Remove, was doc for this.
3205 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3206 needed.
3207
b83266a0
SS
32081999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3209
3210 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3211 output.
3212
3213 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3214 * gdb.base/annota2.exp: New file. More annotation tests.
3215 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3216 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3217
32181999-04-23 Angela Marie Thomas <angela@cygnus.com>
3219
3220 * config/cfdbug.exp: New file.
3221
7a292a7a
SS
32221999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3223
3224 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3225 Marcus Daniel's and Dale Hawkins's demangler crashes.
3226
3227 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3228 test_lucid_style_demangling, test_arm_style_demangling,
3229 test_hp_style_demangling): Try Tom Tromey's core-dumping
3230 identifier under each demangling style.
3231
32321999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3233
3234 * gdb.c++/demangle.exp: Include the current demangling style
3235 in all test names.
3236 (current_demangling_style): New global variable.
3237 (set_demangling_style, test_demangling_core, test_demangling,
3238 test_demangling_exact): New functions.
3239 (test_gnu_style_demangling, test_lucid_style_demangling,
3240 test_arm_style_demangling, test_hp_style_demangling): Use those,
3241 instead of calling gdb_test and gdb_test_exact directly.
3242 (catch_demangling_errors): New function, which reports errors
3243 signalled by the demangling test functions in an orderly way.
3244 (do_tests): Use catch_demangling_errors.
3245
32461999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3247
3248 * gdb.base/signals.exp (test_handle_all_print): Use () for
3249 grouping in expressions, not {}.
3250
3251 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3252 initialized yet.
3253
32541999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3255
3256 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3257 are listed.
3258
32591999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3260
3261 * gdb.stabs/weird.exp: Test for CC being defined before
3262 looking at its value.
3263
32641999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3265
3266 * gdb.base/call-ar-st.exp: Remove stray '#'.
3267 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3268 "short int" and "long int".
3269 * gdb.c++/overload.cc: Cast the string added in the previous
3270 change, to mollify finicky HP compiler.
3271 * gdb.hp/reg-test.exp (testfile): Fix file name.
3272 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3273
7a292a7a
SS
3274 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3275 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3276 alternate form of enum ptype.
3277
c906108c
SS
32781999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3279
7a292a7a
SS
3280 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3281 * gdb.hp/*.exp: Change all to run compiler probe only after
3282 passing skip_hp_tests, so as not to waste time on guaranteed
3283 failure.
3284
c906108c
SS
3285 * gdb.c++/overload.cc: Pass string instead of char addr, always
3286 init ccpfoo.
3287 * gdb.c++/templates.cc: Fix syntax error.
3288
7a292a7a
SS
3289Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3290
3291 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3292 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3293 command.
3294
32951999-03-18 James Ingham <jingham@cygnus.com>
3296
3297 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3298
3299 * gdb.c++/method.exp: It was testing an uninitialized int on the
3300 stack and assuming it was positive.
3301
3302 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3303
3304 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3305 keep it from killing the rest of the tests.
7a292a7a
SS
3306 Use gdb_continue_to_end.
3307
3308 * gdb.base/sigall.exp: use gdb_continue_to_end.
3309
3310 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3311
3312 * gdb.base/display.exp: use runto_main, not run.
3313
beb998c6
AC
3314 * gdb.base/default.exp: Check for the current error message in the
3315 r abbreviation test.
7a292a7a
SS
3316 Add strongarm to the targets that know info float.
3317
beb998c6 3318 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3319 run which doesn't work with monitors.
3320
3321 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3322
3323 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3324
3325 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3326 program. Traps the case (in Cygmon) when the program never really
3327 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3328 more places, so I used my name. Sorry Mark...
3329
3330 * config/monitor.exp (gdb_target_monitor): added another
3331 target_info parameter: remotebinarydownload. This will set the
3332 remotebinarydownload flag if this is causing some boards trouble.
3333
33341999-03-18 Mark Salter <msalter@cygnus.com>
3335
3336 * lib/gdb.exp (continue_to_exit): New function.
3337
3338 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3339 * gdb.base/ending-run.exp: Ditto.
3340 * gdb.base/step-test.exp: Ditto.
3341
33421999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3343
3344 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3345 (suggested by Art Haas <ahaas@neosoft.com>).
3346
33471999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3348
3349 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3350
3351Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3352
3353 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3354 descriptions of types (short unsigned int vs unsigned short, etc).
3355
33561999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3357
3358 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3359 a call to strlen; sometimes we do have sources.
3360
33611999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3362
3363 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3364 character, so GDB won't print garbage after its end.
beb998c6 3365
c906108c
SS
3366 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3367 breakpoint there instead. Sometimes GCC emits memcpy to handle
3368 the large structures being passed by value, so we step into that
3369 instead of sum_array_print, which obscures what we're really testing.
3370 * gdb.base/step-test.exp: However, we do want a test that notices
3371 the bizarre steps into memcpy, so do that here. Add check for
3372 stepping into function calls that pass large structures by value.
3373 ("Is that a noun clause, or are you just happy to see me?")
3374 Remove all references to specific line numbers.
3375 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3376 New type and function.
3377 (main): Call large_struct_by_value, passing it a large struct by value.
3378 * lib/gdb.exp (gdb_get_line_number): New function.
3379
3380 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3381 more portable.
3382
7a292a7a
SS
33831999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3384
c906108c
SS
3385 * lib/gdb.exp: Doc fixes.
3386
7a292a7a
SS
33871999-03-05 Nick Clifton <nickc@cygnus.com>
3388
beb998c6 3389 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3390
33911999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3392
c906108c
SS
3393 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3394 commands. They're not germane to this test, and they don't work
3395 that way on remote targets.
3396
3fc11d3e
JM
33971999-03-01 James Ingham <jingham@cygnus.com>
3398
3399 * Changelog entries merged over from gdb development branch.
3400
3fc11d3e
JM
3401 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3402
3403 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3404 for outputting results of test run.
3405
2d4a1622 3406 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
3407
3408 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 3409
7a292a7a
SS
34101999-02-25 Felix Lee <flee@cygnus.com>
3411
3412 * lib/gdb.exp (debug_format): initialize
3413
c906108c
SS
34141999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3415
3416 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3417 * gdb.base/call-rt-st.c: Ditto.
3418
c906108c
SS
34191999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3420
3421 * gdb.threads/pthreads.exp (horiz): New variable.
3422 (test_startup): Fix regexps that capture thread numbers.
3423
34241999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3425
3426 * gdb.base/smoke.exp: Disambiguate two test case names (both
3427 called ``print'').
3428
3429Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3430
3431 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3432 compilation.
3433
34341999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3435
3436 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3437 actual output formatting.
3438 * gdb.base/smoke.exp: GDB removes leading 0's.
3439 * gdb.base/volatile.exp: Don't check type of remuneration;
3440 that variable is no longer defined in constvars.c.
3441 * gdb.base/step-test.c (main): Exit with explicit exit code.
3442 * gdb.base/step-test.exp: Remove two nexti checks--they are
3443 not portable.
3444
34451999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3446
3447 * gdb.base/help.exp ("help delete display"): Fix test to match
3448 gdb's output.
3449
3450 * gdb.base/long_long.c (known_types): Initialize values to zero.
3451 * gdb.base/long_long.exp: Step one more line
3452 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3453 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3454 unique test case names.
3455
3456Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3457
beb998c6 3458 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3459
3460 * gdb.c++/method.exp: Add missing close brace.
3461
34621999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3463
3464 * gdb.base/maint.exp: Use 'set height 0' to disable page
3465 prompting, not 'set height 400'.
3466
3467 Fix a bunch of timeouts.
3468 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3469 four separate tests, so expect doesn't take forever to match a ton
3470 of text against a regexp with lots of .* forms.
3471 ("maint print psymbols", "maint print symbols"): Make some of
3472 these greps more selective, so that expect doesn't try to wade
3473 through huge piles of output and time out.
3474
3475 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3476
3477 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3478 tests: one which doesn't expect shlib events to be reported, and
3479 another which does, but is XFAIL for all platforms other than
3480 HP/UX.
3481
3482 * gdb.base/break.exp: Teach the test suite that the `catch
3483 fork', `catch vfork', and `catch exec' commands produce error
3484 messages on platforms that don't provide these features.
3485
3486Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3487
3488 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3489 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3490 (shortening names from solib_threshold.exp etc), won't run on
3491 anything but HP-UX for the foreseeable future.
3492 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3493 reflect move.
3494
3495Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3496
3497 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3498 gdb.trace/Makefile.in (clean): Remove all test executables.
3499
3500Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3501
3502 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3503 successfully re-sets breakpoints in shared libraries.
3504 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3505
3506Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3507
beb998c6
AC
3508 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3509 and compiled w/o GCC.
c906108c
SS
3510
3511 * gdb.hp/watch-cmd.exp: ditto.
3512
3513 * gdb.hp/watch-hp.exp: ditto.
3514
3515 * gdb.hp/xdb1.exp: ditto.
3516
3517 * gdb.hp/xdb2.exp: ditto.
3518
3519 * gdb.hp/dbx.exp: ditto.
3520
3521Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3522
3523 * constvars.c: Remove C++-isms.
3524 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3525 with GCC.
3526
3527Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3528
3529 The following changes are part of the HP merge.
3530
3531 * gdb.base/break.exp: new tests to verify that catchpoints for
3532 fork, vfork, and exec don't trigger inappropriately.
3533
3534 * gdb.base/opaque.exp: compile one file at a time, then link.
3535
3536 * gdb.base/signals.exp: be more restrictive about which hppa
3537 systems receive a setup_xfail. new tests.
3538
3539 * gdb.base/solib_threshold.build: new file.
3540 * gdb.base/solib_threshold.exp: new file.
3541 * gdb.base/solib_threshold.link_opts: new file.
3542 * gdb.base/solib_threshold.mk: new file.
3543 * gdb.base/gen_solib_threshold.c: new file.
3544
3545 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3546 tests. New tests for enums inside classes.
3547
3548 * gdb.c++/compiler.cc: indicate support of template debugging.
3549
3550 * gdb.c++/demangle.exp: run hp style demangling tests.
3551
3552 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3553 tests.
3554
3555 * gdb.c++/misc.cc: changes to support new tests.
3556
3557 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3558 to support new tests.
3559
3560 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3561 gcc, then skip these tests.
3562
3563Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3564
3565 The following files are part of the HP merge; some had longer
3566 names at HP, but have been renamed to be no more than 14
3567 characters in length.
3568
3569 * gdb.hp/ambiguous.cc: new file.
3570 * gdb.hp/ambiguous.exp: new file.
3571 * gdb.hp/attach.exp: new file.
3572 * gdb.hp/attach2.exp: new file.
3573 * gdb.hp/classes-hp.exp: new file.
3574 * gdb.hp/ctti.exp: new file.
3575 * gdb.hp/ctti-add.cc: new file.
3576 * gdb.hp/ctti-add1.cc: new file.
3577 * gdb.hp/ctti-add2.cc: new file.
3578 * gdb.hp/ctti-add3.cc: new file.
3579 * gdb.hp/dbx.exp: new file.
3580 * gdb.hp/exception.cc: new file.
3581 * gdb.hp/exception.exp: new file.
3582 * gdb.hp/foll-exec.c: new file.
3583 * gdb.hp/foll-exec.exp: new file.
3584 * gdb.hp/foll-fork.c: new file.
3585 * gdb.hp/foll-fork.exp: new file.
3586 * gdb.hp/foll-vfork.c: new file.
3587 * gdb.hp/foll-vfork.exp: new file.
3588 * gdb.hp/inherit-hp.exp: new file.
3589 * gdb.hp/more-steps.exp: new file.
3590 * gdb.hp/namespace.cc: new file.
3591 * gdb.hp/namespace.exp: new file.
3592 * gdb.hp/optimize.exp: new file.
3593 * gdb.hp/pxdb.c: new file.
3594 * gdb.hp/pxdb.exp: new file.
3595 * gdb.hp/quicksort.exp: new file.
3596 * gdb.hp/reg-test.exp: new file.
3597 * gdb.hp/reg-test.s: new file.
3598 * gdb.hp/sized-enum.c: new file.
3599 * gdb.hp/sized-enum.exp: new file.
3600 * gdb.hp/start-stop.exp: new file.
3601 * gdb.hp/templ-hp.cc: new file.
3602 * gdb.hp/templ-hp.exp: new file.
3603 * gdb.hp/thr-lib.c: new file.
3604 * gdb.hp/thr-lib.exp: new file.
3605 * gdb.hp/thr-lib.h: new file.
3606 * gdb.hp/thr-liblib.c: new file.
3607 * gdb.hp/virtfun-hp.c: new file.
3608 * gdb.hp/virtfun-hp.exp: new file.
3609 * gdb.hp/watch-cmd.exp: new file.
3610 * gdb.hp/watch-hp.exp: new file.
3611 * gdb.hp/xdb1.exp: new file.
3612 * gdb.hp/xdb2.exp: new file.
3613 * gdb.hp/xdb3.exp: new file.
3614
3615Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3616
3617 The following files are part of the HP merge; some had longer
3618 names at HP, but have been renamed to be no more than 14
3619 characters in length.
3620
3621 * gdb.base/ss.h: new file.
3622 * gdb.base/call-ar-st.c: new file.
3623 * gdb.base/call-ar-st.exp: new file.
3624 * gdb.base/call-rt-st.c: new file.
3625 * gdb.base/call-rt-st-exp: new file.
3626 * gdb.base/call-strs.exp: new file.
3627 * gdb.base/ena-dis-br.exp: new file.
3628 * gdb.base/environ.exp: new file.
3629 * gdb.base/long_long.exp: new file.
3630 * gdb.base/sect-cmd.exp: new file.
3631 * gdb.base/shlib-cl2.exp: new file.
3632 * gdb.base/smoke.exp: new file.
3633 * gdb.base/so-impl-ld.c: new file.
3634 * gdb.base/so-impl-ld.exp: new file.
3635 * gdb.base/so-indr-cl.c: new file.
3636 * gdb.base/so-indr-cl.exp: new file.
3637 * gdb.base/varargs.exp: new file.
3638 * gdb.base/volatile.exp: new file.
3639 * gdb.base/whatis-exp.exp: new file.
7a292a7a 3640 * gdb.base/display.exp: new file.
c906108c
SS
3641 * gdb.c++/derivation.exp: new file.
3642 * gdb.c++/local.exp: new file.
3643 * gdb.c++/member-ptr.exp: new file.
3644 * gdb.c++/overload.exp: new file.
3645 * gdb.c++/ovldbreak.exp: new file.
3646 * gdb.c++/ref-types.exp: new file.
3647 * gdb.c++/ref-types2.exp: new file.
3648 * gdb.c++/userdef.exp: new file.
beb998c6 3649
c906108c
SS
3650Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3651
3652 * gdb.base/default.exp: Reflect wording change in remote.c.
3653
dc96c6c7 3654Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3655
3656 * gdb.base/help.exp: Update to reflect current text.
3657
3658Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3659
3660 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3661 they're stack variables and contain garbage.
3662 * gdb.c++/anon-union.exp: new file.
3663
3664 The following changes were made by David Taylor
3665 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3666 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3667 in changes by HP.
3668
3669 * gdb.base/bitops.exp: new file.
3670 * gdb.base/default.exp: change expected messages for catch and
3671 info catch tests to reflect HP merge changes.
3672 * gdb.base/enable-disable-break.exp
3673 * gdb.base/ending-run.c: new file.
3674 * gdb.base/long_long.c: new file.
3675 * gdb.base/maint.exp: new file.
3676 * gdb.base/pointers2.exp: new file.
3677 * gdb.base/shlib-call2.exp: new file.
3678 * gdb.base/solib.exp: new file.
3679 * gdb.base/step-test.c: new file.
3680 * gdb.c++/anon-union.cc: new file.
3681 * gdb.c++/local.cc: new file.
3682 * gdb.c++/member-pointer.cc: new file.
3683 * gdb.c++/method.cc: new file.
3684 * gdb.c++/ref-types.cc: new file.
3685 * gdb.c++/ref-types2.cc: new file.
3686 * gdb.c++/userdef.cc: new file.
beb998c6 3687
c906108c
SS
3688 * gdb.base/scope.exp: compile one file at a time, then link.
3689 * gdb.base/langs.exp: ditto.
3690 * gdb.base/list.exp: ditto.
beb998c6 3691
c906108c
SS
3692Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3693
3694 The following changes were made by David Taylor
3695 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3696 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3697 in changes by HP.
beb998c6 3698
c906108c
SS
3699 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3700 skip tests. When compiling pass c++ flag to gdb_compile.
3701 * gdb.c++/
beb998c6 3702
c906108c
SS
3703 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3704 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3705 (skip_hp_tests): new function.
3706 (gdb_preprocess): new function.
3707
3708 * configure.in (hpdir): decide whether to configure gdb.hp.
3709 * configure: regenerated.
3710
3711 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3712 to delete on clean.
3713 (EXECUTABLES): update to reflect new additions.
3714 * gdb.base/commands.exp: update message expected.
3715 * gdb.base/default.exp: add copyright notice.
3716 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3717 * gdb.base/help.exp: update messages to reflect current text.
3718 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3719 targets for recurse tests.
3720 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3721 skip this file.
3722
3723 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3724 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3725 compilation.
3726 * gdb.c++/misc.exp: ditto.
3727 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3728 run the tests. tell gdb_compile that it's a c++ compilation.
3729
3730 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 3731
c906108c
SS
3732 * gdb.base/all-bin.exp: new file.
3733 * gdb.base/arithmet.exp: new file.
3734 * gdb.base/assign.exp: new file.
3735 * gdb.base/completion.exp: new file.
3736 * gdb.base/cond-expr.exp: new file.
3737 * gdb.base/condbreak.exp: new file.
3738 * gdb.base/define.exp: new file.
3739 * gdb.base/dollar.exp: new file.
3740 * gdb.base/environment.exp: new file.
3741 * gdb.base/eval-skip.exp: new file.
3742 * gdb.base/jump.exp: new file.
3743 * gdb.base/logical.exp: new file.
3744 * gdb.base/pointers.exp: new file.
3745 * gdb.base/relational.exp: new file.
3746 * gdb.base/section_command.exp: new file.
3747 * gdb.base/whatis-expr.exp: new file.
3748
3749 * gdb.base/all-types.c: new file.
3750 * gdb.base/call-array-struct.c: new file.
3751 * gdb.base/call-return-struct.c: new file.
3752 * gdb.base/call-strings.c: new file.
3753 * gdb.base/callfuncs2.c: new file.
3754 * gdb.base/condbreak.c: new file.
3755 * gdb.base/constvars.c: new file.
3756 * gdb.base/display.c: new file.
3757 * gdb.base/int-type.c: new file.
3758 * gdb.base/jump.c: new file.
3759 * gdb.base/miscexprs.c: new file.
3760 * gdb.base/pointers.c: new file.
3761 * gdb.base/pointers2.c: new file.
3762 * gdb.base/shmain.c: new file.
3763 * gdb.base/shr1.c: new file.
3764 * gdb.base/shr2.c: new file.
3765 * gdb.base/solib.c: new file.
3766 * gdb.base/solib1.c: new file.
3767 * gdb.base/solib2.c: new file.
3768 * gdb.base/varargs.c: new file.
3769 * gdb.c++/derivation.cc: new file.
3770 * gdb.c++/overload.cc: new file.
3771 * gdb.c++/ovldbreak.cc: new file.
3772 * gdb.hp/attach.c: new file.
3773 * gdb.hp/attach2.c: new file.
3774 * gdb.hp/average.c: new file.
3775 * gdb.hp/compiler.c: new file.
3776 * gdb.hp/compiler.cc: new file.
3777 * gdb.hp/execd-program.c: new file.
3778 * gdb.hp/follow-exec.c: new file.
3779 * gdb.hp/follow-fork.c: new file.
3780 * gdb.hp/follow-vfork-and-exec.c: new file.
3781 * gdb.hp/misc-hp.cc: new file.
3782 * gdb.hp/more-steps.c: new file.
3783 * gdb.hp/optimize.c: new file.
3784 * gdb.hp/quicksort.c: new file.
3785 * gdb.hp/run-hp.c: new file.
3786 * gdb.hp/start-stop.c: new file.
3787 * gdb.hp/sum.c: new file.
3788 * gdb.hp/templates-hp.cc: new file.
3789 * gdb.hp/thread-local-in-lib.c: new file.
3790 * gdb.hp/thread-local-in-lib.h: new file.
3791 * gdb.hp/thread-local-in-lib.lib.c: new file.
3792 * gdb.hp/vforked-program.c: new file.
3793 * gdb.hp/virtfunc-hp.cc: new file.
3794 * gdb.hp/watchpoint-hp.c: new file.
3795 * gdb.hp/xdb.c: new file.
3796 * gdb.hp/xdb0.c: new file.
3797 * gdb.hp/xdb0.h: new file.
3798 * gdb.hp/xdb1.c: new file.
3799
3800Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
3801
3802 The following change was made by Edith Epstein
3803 <eepstein@cygnus.com> as part of a project to merge in changes
3804 originally made by HP; HP did not create ChangeLog entries.
3805
3806 * gdb.c++/demangle.exp: changed the expected output for some
3807 ARM-style mangling -- removed second reference to datatype.
3808 For example, maint demangle __dt__11T1__pt__2_cFv
3809 T1<char>::~T1<char>(void)
3810 becomes,
3811 maint demangle __dt__11T1__pt__2_cFv
3812 T1<char>::~T1(void)
3813
3814 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 3815
c906108c
SS
3816Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
3817
3818 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
3819 * gdb.trace/backtrace.exp: Likewise.
3820 * gdb.trace/circ.exp: Likewise.
3821 * gdb.trace/collection.exp: Likewise.
3822 * gdb.trace/deltrace.exp: Likewise.
3823 * gdb.trace/infotrace.exp: Likewise.
3824 * gdb.trace/limits.exp: Likewise.
3825 * gdb.trace/packetlen.exp: Likewise.
3826 * gdb.trace/passc-dyn.exp: Likewise.
3827 * gdb.trace/passcount.exp: Likewise.
3828 * gdb.trace/report.exp: Likewise.
3829 * gdb.trace/save-trace.exp: Likewise.
3830 * gdb.trace/tfind.exp: Likewise.
3831 * gdb.trace/tracecmd.exp: Likewise.
3832 * gdb.trace/while-dyn.exp: Likewise.
3833 * gdb.trace/while-stepping.exp: Likewise.
3834
38351998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3836
3837 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
3838
3839Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
3840
3841 From Brendan Kehoe:
3842 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
3843 int return types.
3844
3845Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
3846
3847 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
3848 remote dos host testing right.
3849
3850Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
3851
3852 * gdb.base/corefile.exp: remove some xfails.
3853
3854Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
3855
3856 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
3857 have different timestamps.
3858
3859Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
3860
3861 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
3862 gdb.base/default.exp: Replace "exec" with "executable".
3863
3864Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
3865
3866 * gdb.base/default.exp: Change else if to elseif from previous
3867 delta.
3868
3869Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
3870
3871 * gdb.base/default.exp: Add brace missing from previous delta.
3872
3873Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
3874
3875 * gdb.base/default.exp: Support test for info float for all
3876 varieties of arm toolchain.
3877
dc96c6c7 3878Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3879
3880 * gdb.trace/*.exp: remove "remote_download" command.
3881
dc96c6c7 3882Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3883
3884 * gdb.trace/*.exp: remove -gdwarf from compile.
3885
3886Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
3887
3888 * gdb.trace/configure.in(AC_INIT): typo
3889 * gdb.trace/configure: regenerated
3890
dc96c6c7 3891Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3892
3893 * config/m68k-emc.exp: New file.
3894 * lib/<emc-support.exp trace-support.exp}: New files.
3895 * configure.in: add new test directory gdb.trace.
3896 * gdb.trace/{configure configure.in Makefile.in}: New files.
3897 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
3898 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
3899 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
3900 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
3901 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
3902 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
3903 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 3904
dc96c6c7 3905Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3906
3907 * gdb.c++/classes.exp: Change all regular expressions to match
3908 arbitrary combinations of newline/carriage-return, so that they
3909 will work equally well on Unix and Windows.
3910 * gdb.c++/inherit.exp: ditto.
3911 * gdb.c++/virtfunc.exp: ditto.
3912
39131998-08-11 Dawn Perchik <dawn@cygnus.com>
3914
3915 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
3916
c2d11a7d
JM
3917Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
3918
3919 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
3920 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
3921 to use a0-a3/d0-d3 as needed.
3922
3923Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
3924
3925 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
3926 * gdb.disasm/am33.exp: Corresponding changes.
3927
c906108c
SS
39281998-07-11 Felix Lee <flee@cygnus.com>
3929
3930 * gdb.base/callfuncs.exp: add cmp10 test.
3931 * gdb.base/callfuncs.c (cmp10): new function.
3932
3933Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
3934
beb998c6 3935 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
3936 into two parts to get around a synchronization problem in expect.
3937
3fc11d3e
JM
3938Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
3939
3940 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
3941
3942 * configure.in: Add options for gdbtk testsuite.
3943
3944 * configure: Regenerate.
3945
3946 * gdb.gdbtk: New directory to hold gdbtk tests.
3947
c906108c
SS
3948Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3949
3950 * gdb.fortran/types.exp: Escape brackets in expect patterns
3951 for test_float_literal_types_accepted tests.
3952 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
3953 before run test.
3954
c2d11a7d
JM
3955Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
3956
3957 * am33.exp: Just compile, do not link the testcase.
3958 * am33.s: Add ".am33" pseudoop to force am33 mode.
3959
c906108c
SS
39601998-06-25 Felix Lee <flee@cygnus.com>
3961
3962 * gdb.base/setshow.exp: make sure $pc is sane.
3963
3964 * gdb.stabs/weird.exp: split expect patterns properly.
3965
c2d11a7d
JM
3966Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
3967
3968 * gdb.disasm/am33.s: New disassembler testfile for the am33.
3969 * gdb.disasm/am33.exp: Run it.
3970
dc96c6c7 3971Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3972
3973 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
3974 match processing (and eliminate spurious timeouts when running).
3975
dc96c6c7 3976Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3977
3978 * gdb.base/signals.exp (test_handle_all_print): put back Mach
3979 exception test, but conditionalize it on target [mach | gnu].
3980
dc96c6c7 3981Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3982
3983 * gdb.base/overlays.exp: fixup compile line for linker script.
3984
3985Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
3986
3987 * gdb.fortran/types.exp: don't guess at float size.
3988
3989Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
3990
3991 * gdb.base/exprs.exp: delete test that depends on int size.
3992
3993Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
3994
3995 * config/sim.exp: Removed checks for target triplets.
3996 (gdb_target_sim): Use gdb,target_sim_options.
3997
3998Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
3999
4000 * gdb.base/reread.exp: New file.
4001 * gdb.base/reread1.c: New file.
4002 * gdb.base/reread2.c: New file.
4003
4004Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4005
4006 * config/sim.exp: Use 'target sim -sparclite' when running
4007 SPARClite programs.
4008
4009Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4010
4011 * gdb.base/structs2.exp: New file.
4012 * gdb.base/structs2.c: New file.
4013
4014Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4015
4016 * gdb.asm/common.inc: New file.
4017 * gdb.asm/d10v.inc: New file.
4018 * asm-source.exp: Pass -I's to gas to find .inc files.
4019 Update line numbers in expected output.
4020 * asmsrc1.s: Rewrite.
4021 * asmsrc2.s: Rewrite.
4022 * configure.in: Create arch.inc symlink.
4023 * configure: Regenerate.
4024 * Makefile.in (distclean): Delete arch.inc.
4025
4026Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4027
4028 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4029 (t_enum_value2): ditto
4030 (t_enum_value3): ditto
4031 (main): ditto
4032Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4033
4034 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4035 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4036 change.
4037 Use gdb_test instead of send_gdb/gdb_expect sequences.
4038
4039Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4040
4041 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4042 not void.
4043
4044Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4045
4046 * gdb.base/branches.c: Code with lots of loops and
4047 subroutines. Used to test gdbs ability to single step through PC
4048 changes, especially to test mips-tdep.c:mips_next_pc
4049
4050Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4051
4052 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4053 more rigorous EGCS C++ error checking.
4054
4055Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4056
4057 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4058 tests.
c906108c 4059 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4060 function when asleep.
c906108c 4061 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4062 for i*86 Linux and SVR4 signal handling problems.
4063 Remove linux xfail for `next to handler in signals_tests_1', fixed
4064 by recent infrun.c change.
c906108c 4065 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4066 stack backtraces.
c906108c
SS
4067 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4068 target.[ch] change.
4069
4070Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4071
4072 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4073 for a newline from gdb before continuing.
4074 (default_gdb_exit): Just look for y or n.
4075 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4076 it does, fail the rests of the tests in the file.
4077
4078Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4079
4080 * config/cygmon.exp: New file.
4081
4082Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4083
4084 * gdb.base/list.exp: Fix problem with "list default lines around
4085 main" test on remote targets.
4086
4087 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4088 run test on remote targets.
4089
4090Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4091
4092 * gdb.asm: New directory.
4093 * configure.in: Configure it.
4094 * configure: Regenerate.
4095 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4096 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4097
4098Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4099
4100 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4101
dc96c6c7 4102Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4103
c906108c
SS
4104 * gdb.base/overlays (several files): Merge the two overlay
4105 managers into one. Change variables (foox, barx, bazx, grbxx)
4106 back into ints but force them to load in their proper sections.
4107
4108Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4109
4110 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4111 on-chip insn memory and IMAP1 to upper 128k.
4112 (D10VCopy): Handle memory regions crossing 16k boundaries.
4113 (D10VCopy): Transfer data in 32 bit chunks.
4114
4115Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4116
4117 * gdb.base/overlays.c (main): Exit normally when result is
4118 correct.
4119
4120 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4121 map. Include space for printf in .text segment.
4122
4123 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4124 updated d10v memory VMA/LMA map.
4125 (D10VCopy): Call D10VTranslate.
beb998c6 4126
c906108c
SS
4127Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4128
4129 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4130
4131 * gdb.base/bar.c (barx, bar): Change variable to small array so
4132 that it won't be put into the .sdata - small data -
4133 section. Update reference.
4134 * gdb.base/baz.c (bazx, baz): Ditto.
4135 * gdb.base/foo.c (foox, foo): Ditto.
4136 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4137
4138 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4139 to be arrays.
beb998c6 4140
dc96c6c7 4141Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4142
c906108c
SS
4143 * gdb.base/overlays.exp: fix up and get working again.
4144 Add tests for backtraces from an overlay function.
beb998c6 4145
c906108c
SS
4146Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4147
4148 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4149 "calling function with watchpoint enabled".
4150
4151Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4152
4153 * gdb.base/break.exp (test_next_with_recursion): Remove
4154 gdb_suppress_tests for d10v-*-*.
4155 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4156 pending review of whether it is useful or not.
4157
4158Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4159
4160 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4161
4162Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4163
4164 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4165 * config/dve.exp: New file to support Densan boards.
4166
4167Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4168
4169 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4170 reads and BSD.
4171
4172Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4173
4174 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4175 response.
4176
4177 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4178
4179Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4180
4181 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4182 test.
4183
4184 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4185 target_sizeof_long and target_bigendian_p.
4186 (structs_by_value, structs_by_reference): Check values according
4187 to targets word size and endianess.
beb998c6 4188
c906108c
SS
4189Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4190
4191 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4192 output.
4193
4194Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4195
4196 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4197 Update test of set args help to match source change.
4198
4199Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4200
4201 * gdb.base/default.exp: Expect help system output to be in
4202 alphabetical order.
4203 * gdb.base/help.exp: Ditto.
4204
4205Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4206
4207 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4208 "i*86-pc-linux-gnu*".
4209 * gdb.base/interrupt.exp: Ditto.
4210 * gdb.base/corefile.exp: Ditto.
4211
4212 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4213 define vxworks when building the testcase.
4214
4215 * gdb.base/ptype.exp: Fix testnames to be unique.
4216 * gdb.base/radix.exp: Ditto.
4217 * gdb.base/term.exp: Ditto.
4218 * gdb.base/whatis.exp: Ditto.
4219 * gdb.c++/classes.exp: Ditto.
4220
4221Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4222
4223 * gdb.base/callfuncs.exp: Fix indentation.
4224
4225 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4226 suppress_flag has been set.
4227 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4228 target feature.
4229
4230Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4231
4232 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4233 the testcase.
4234
4235 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4236 set_debug_traps() and breakpoint().
4237 * gdb.c++/misc.cc (main): Ditto.
4238 * gdb.c++/templates.cc (main): Ditto.
4239 * gdb.c++/virtfunc.cc (main): Ditto.
4240
4241Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4242
4243 * lib/gdb.exp(gdb_step_for_stub): New function.
4244 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4245 exists, reload the executable and do a "continue" instead of
4246 doing a jump.
4247 (runto_main): Use gdb_step_for_stub.
beb998c6 4248
c906108c
SS
4249 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4250 tests to have unique names.
4251 * gdb.base/callfuncs.exp: Ditto.
4252 * gdb.base/commands.exp: Ditto.
4253 * gdb.base/default.exp: Ditto.
4254 * gdb.base/help.exp: Ditto.
4255 * gdb.base/list.exp: Ditto.
4256 * gdb.base/opaque.exp: Ditto.
4257 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4258 similar tests.
beb998c6 4259
c906108c
SS
4260 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4261 * gdb.c++/cplusfuncs.cc: Ditto.
4262 * gdb.c++/virtfunc.cc: Ditto.
4263
4264 * config/monitor.exp: Keep track of the last file we saw, rather
4265 than trying to get the info from gdb.
4266
4267 * gdb.fortran/types.exp: Move comment to previous line.
4268
4269Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4270
4271 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4272 target mode.
4273
4274Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4275
4276 From Bob Manson:
4277 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4278 string from GDB when it connects.
4279
4280 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4281
4282Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4283
4284 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4285 if we can't get a debug format from GDB (we may be testing an
4286 older GDB). Use a 10 second timeout when checking for the format.
4287
4288 * gdb.stabs/weird.exp: Fix quoting.
4289
4290 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4291
4292Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4293
4294 * config/arm-ice.exp: New file.
4295
4296Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4297
4298 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4299 until it has been modified to work with the new testsuite.
4300
99707966 4301 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4302 testcase won't compile, cause all of the testcases in the file to
4303 fail instead.
4304
4305 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4306 (gdb_clear_suppressed): New procedure.
4307 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4308 it contains a positive value.
4309
4310Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4311
4312 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4313
4314 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4315
4316Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4317
4318 * lib/gdb.exp (setup_xfail_format): New function.
4319 (get_debug_format): New function to get debug format.
4320 (debug_format): New global variable to hold last value set
4321 by get_debug_format.
4322 * gdb.base/list.exp: Call get_debug_format and expect some
4323 tests to fail for DWARF 1 and COFF formats.
4324 * gdb.c++/ptype.exp: Ditto.
4325 * gdb.c++/classes.exp: Ditto.
4326 * gdb.c++/cplusfuncs.exp: Ditto.
4327 * gdb.c++/inherit.exp: Ditto.
4328 * gdb.c++/templates.exp: Ditto.
4329 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4330
c906108c
SS
4331Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4332
4333 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4334 host doesn't have a currently-open connection.
4335
4336 * config/sparclet.exp: Cleanups and fixes to make it generic for
4337 any gdb stub target. Handle cases where gdb doesn't respond when
4338 interrupted in a sane fashion.
4339
4340 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4341 same thing in a totally different way.
4342
4343 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4344 setting "timeout".
4345 (gdb_start): We set the global gdb_prompt variable in
4346 default_gdb_init now.
4347
4348Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4349
4350 * gdb.base/printcmds.exp: Fix "check for floating addition"
4351 regexp to accept results within approx +/- .01 of exact value.
4352 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4353
4354Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4355
4356 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4357 properly.
4358 (gdb_expect): Add optional timeout parameter, and add timeout
4359 value to various calls.
4360 (gdb_suppress_tests): Only give one warning message per group.
4361
4362Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4363
4364 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4365 global variables. Handle getting a value for $timeout more
4366 gracefully.
4367
4368Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4369
4370 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4371 initialize.
4372 (default_gdb_init): New procedure; allow gdb_init to be overridden
4373 by a target configuration file.
4374 (gdb_expect): Pass the timeout to remote_expect.
4375
4376 * config/monitor.exp(gdb_load): Fix typo in regexp.
4377
4378Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4379
4380 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4381
4382Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4383
4384 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4385 here. Call gdb_target_exec before rebooting the target, to make
4386 sure the connection to the target is closed.
4387 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4388 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4389 Also detect "Timeout reading from remote" error.
4390
4391 * config/gdbserver.exp: Pass the executable being loaded to
4392 gdb_target_monitor. Don't call gdb_file_cmd here; let
4393 gdb_target_monitor do it.
4394
4395 * gdb.disasm/hppa.exp: Don't use exec_output.
4396
4397Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4398
4399 * gdb.base/list.exp: If we're debugging a non-native target,
4400 try to set the pc register to point to the start of the
4401 program before doing the first list command.
4402
4403 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4404 test_calls after restarting.
4405
4406 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4407 reloading.
4408
4409 * gdb.base/watchpoint.exp: Fix typo.
4410
4411 * gdb.base/setshow.exp: Check for use_gdb_stub.
4412
4413 * gdb.base/break.exp: Fix continue until exit test for the gdb
4414 stub case.
4415 * gdb.base/langs.exp: Ditto.
4416
4417 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4418 gdb_load_offset. If we weren't given a file to load, figure out
4419 what the current file is and use it.
4420
4421 * config/i386-bozo.exp: New file.
4422
4423Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4424
4425 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4426 feature.
4427
4428 * config/proelf.exp: New entry.
4429
4430Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4431
4432 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4433 of regexps.
4434
4435 * gdb.base/watchpoint.exp: Don't run the test_stepping
4436 tests if gdb can't call functions on the target.
4437
4438 * gdb.base/setshow.exp: Don't run the set prompt tests if
4439 the board has gdb_prompt set.
4440
4441Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4442
4443 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4444 * gdb.base/commands.exp: Likewise.
4445 * gdb.base/setshow.exp: Likewise.
4446
4447Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4448
4449 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4450 feature.
4451
4452 * config/i960.exp: New file.
4453
4454Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4455
4456 * gdb.base/funcargs.exp: Check for gdb,short_int target
4457 feature instead of looking for explicit target triplets.
4458
dc96c6c7 4459Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4460
beb998c6 4461 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4462 "p 123DEADBEEF", to check parse_number.
4463 * top.c: change "to enable to enable" to "to enable" in a couple
4464 of help strings.
4465
4466Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4467
4468 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4469 on the mn10300.
beb998c6 4470
c906108c
SS
4471Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4472
4473 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4474 where the test executable is run with explicit args.
4475 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4476
4477Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4478
4479 * gdb.base/run.c: Use FAKEARGV to build test executable that
4480 does not require a command line arg, since most simulators
4481 don't currently support passing such an arg into the simulated
4482 program.
4483 * gdb.base/commands.exp: Change tests to insert the proper
4484 value as the arg to the first recursive factorial call. Change
4485 compilation line to define FAKEARGV at compile time.
4486
4487Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4488
4489 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4490 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4491 function with watchpoint enabled" test.
4492
4493Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4494
4495 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4496 Don't call gdb_test when the command doesn't return to a gdb prompt.
4497
4498 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4499 "Tests restarted" messages.
4500
4501Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4502
4503 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4504
dc96c6c7 4505Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4506
4507 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4508 for INFO SYMBOL; add help tests for OVERLAY commands.
4509 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4510 add tests for OVERLAY commands
4511 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4512 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4513 * gdb.base/sigall.c: add usestubs code frag
4514 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4515
c906108c
SS
4516Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4517
4518 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4519 failures.
4520 (gdb_stop_suppressing_tests): Note that tests have restarted.
4521
4522Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4523
4524 * config/h8300.exp: New file.
4525
4526Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4527
4528 * gdb.base/setshow.exp: Check for the existence of a
4529 feature, not its value.
4530
4531Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4532
4533 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4534
4535 * gdb.base/scope.exp: It's now init0(), not init().
4536
4537 * gdb.base/scope0.c: For now, change init() to be init0().
4538
4539 * config/monitor.exp: Use gdb_serial in preference to serial
4540 or netport.
4541
4542 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4543 and it's not already set.
4544
4545Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4546
4547 * gdb.base/setshow.exp: Only test the run command if the target
4548 isn't using a stub and if it supports argument passing.
4549
4550Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4551
4552 * config/udi.exp(gdb_start): Make sure UDICONF is set
4553 properly before starting gdb.
4554
4555Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4556
4557 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4558 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4559 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4560
4561Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4562
4563 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4564 specialized code to reboot the board, use remote_reboot instead.
4565
4566 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4567
4568 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4569
4570 * config/monitor.exp: Make sure we disconnect from the target.
4571 Also, try a reboot/reload cycle instead of failing if the
4572 load fails.
4573
4574Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4575
4576 * gdb.base/default.exp: Don't set match_max.
4577 * gdb.base/help.exp: Ditto.
4578 * gdb.base/list.exp: Ditto.
4579 * gdb.base/signals.exp: Ditto.
4580
4581 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4582 set, use remote_ld to download the testcase instead of
4583 the GDB loader.
4584
4585Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4586
4587 * config/vr5000.exp: New file.
4588
4589 * config/monitor.exp(gdb_target_monitor): Add pattern for
4590 "Ending remote" to detect errors in connecting.
4591
4592 * gdb.base/setshow.exp: Add .* within auto language test.
4593
4594 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4595 target feature.
4596
4597 * config/monitor.exp(gdb_load): Check for a failure when loading,
4598 and reboot the board if necessary.
4599
4600 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4601 a set of tests. Remove print.* from the patterns being checked.
4602
4603Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4604
4605 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4606 refer to gdb_spawn_id.
4607
4608 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4609 longer used.
4610 * config/sparclet.exp: Ditto.
4611 * config/sparclet-old.exp: Ditto.
4612 * config/slite.exp: Ditto.
4613 * config/sim.exp: Ditto.
4614 * gdb.base/funcargs.exp: Ditto.
4615
4616 * lib/gdb.exp:Remove references to gdb_spawn_id.
4617 (gdb_expect): Move to remote.exp.
4618
4619Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4620
4621 * config/monitor.exp: Detect the "Couldn't establish connection"
4622 message from GDB.
4623
4624Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4625
4626 * gdb.base/bitfields.exp: Use runto instead of explicit
4627 gdb_run_cmd/gdb_expect sequences.
4628
4629 * gdb.base/break.exp(text_next_with_recursion): Add match for
4630 gdb_expect call.
4631
4632 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4633 We also need to handle the "A program is being debugged already"
4634 prompt from gdb. Use gdb_test to set the baud rate.
4635
4636 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4637 to 20000. Really. I mean it.
4638
4639Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4640
4641 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4642 fails. If suppress_flag is set, skip perror message about not
4643 being able to send to GDB.
4644 (send_gdb): If suppress_flag is set, don't try to send commands to
4645 GDB.
4646 (gdb_expect): If suppress_flag is set, always fail immediately.
4647 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4648 (gdb_init): Call gdb_stop_suppressing_tests.
4649 (default_gdb_exit): Ditto.
4650 (default_gdb_start): Ditto.
4651
4652 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4653 gdb_stop_suppressing_tests as appropriate.
4654 * gdb.base/break.exp: Ditto.
4655 * gdb.base/callfuncs.exp: Ditto.
4656 * gdb.base/commands.exp: Ditto.
4657 * gdb.base/exprs.exp: Ditto.
4658 * gdb.base/funcargs.exp: Ditto.
4659 * gdb.base/list.exp: Ditto.
4660 * gdb.base/recurse.exp: Ditto.
4661 * gdb.base/scope.exp: Ditto.
4662 * gdb.base/structs.exp: Ditto.
4663 * gdb.c++/inherit.exp: Ditto.
4664
4665Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4666
4667 * config/vr4300.exp: New file.
4668
99707966
MC
4669 * gdb.*/*.exp: Call gdb_expect instead of expect.
4670
4671 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
4672
4673Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4674
4675 * lib/gdb.exp(gdb_init): New function.
4676
4677 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4678 for each individual variable set.
4679
4680 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4681 name.
4682
4683 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4684
4685 * gdb.base/scope.exp: Use gdb_test.
4686
4687 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4688 aborting; the testsuite driver will do that for us (see
4689 gdb_finish). Also, use gdb_test in a few more places.
4690
4691Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4692
4693 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4694
4695Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4696
4697 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4698 and "add_tests" are not at the same address.
4699
4700Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4701
4702 * gdb.base/ptype.exp: Use gdb_test.
4703
4704Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4705
4706 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4707 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4708 left in. No longer expect them to fail.
4709
4710 * gdb.stabs/*.mt; Deleted, no longer used.
4711 * gdb.stabs/configure.in: Remove references to target makefile
4712 frags.
4713 * gdb.stabs/configure: Rebuilt.
4714
4715 * gdb.disasm/*.mt: Deleted, no longer used.
4716 * gdb.disasm/configure.in: Remove references to target makefile
4717 frags. Use "sh3.s" as the unique filename for this directory.
4718 * gdb.disasm/configure: Rebuilt.
4719
4720 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4721 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4722 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4723
4724Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4725
4726 * config/udi.exp: Use mondfe,name instead of remote_host.
4727
4728Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4729
4730 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4731 a function with a watchpoint enabled on the mn10200.
4732
4733 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4734 before trying to create it!
4735
4736Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4737
4738 * config/vx.exp: Use hostname instead of netport.
4739
4740 * config/vxworks.exp: New file.
4741
4742 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4743
4744 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4745 gdb before assuming everything worked. Send a ^C if a timeout
4746 occurs.
4747
4748 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4749 $gdb_spawn_id directly.
4750 (gdb_run_cmd): Try _start as well as start. Use the target feature
4751 gdb,start_symbol as the symbol to start from when jumping.
4752
4753Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4754
4755 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4756 redundant) test.
4757
4758 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4759 it doesn't lose for 16bit integer systems.
4760
4761Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4762
4763 * gdb.fortran/types.exp: If the target doesn't support "double"
4764 data types, then expect "real" types to only be 4 bytes.
4765
4766 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4767 call tests if the target doesn't support inferior function calls.
4768
4769 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4770 in printf tests.
4771
4772Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4773
4774 * gdb.base/help.exp: Disable "help set", "help show", and
4775 "help support". Simplify regexp for "help stack".
4776
4777 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4778 to 60 seconds. Temporarily set match_max to 15000 around the
4779 "info copying" test.
4780
4781 * gdb.base/nodebug.exp: Don't try to do an inferior function
4782 call if the target doesn't support them.
4783 * gdb.base/printcmds.exp: Likewise.
4784 * gdb.base/setvar.exp: Likewise.
4785 * gdb.base/structs.exp: Likewise.
4786 * gdb.c++/templates.exp: Likewise.
4787 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
4788
4789 * gdb.base/recurse.exp: Enable for the mn10200.
4790
4791 * configure.in: Do configure gdb.stabs directory for *-*-elf
4792 targets.
4793 * configure: Rebuilt.
4794
4795 * gdb.base/break.exp: Check for gdb,noresults before testing
4796 exit status and/or results from the target.
4797 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
4798 * lib/gdb.exp: Remove old (now bogus) initialization of
4799 noinferior, noargs, noresults and nosignals.
4800
4801Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
4802
4803 * config/sh.exp: New file.
4804
4805 * config/slite.exp: Try to connect multiple times to the board
4806 before rebooting. Only send a "monitor run" if need_monitor_run
4807 is set.
4808
4809 * gdb.base/break.exp: Don't do the "stub continue" test if
4810 the target has gdb_stub set.
4811
4812 * gdb.base/callfuncs.exp: Increase the timeout.
4813
4814 * gdb.base/interrupt.exp: Don't even try to compile the testcase
4815 if the target has gdb,noinferiorio set.
4816
4817 * gdb.base/list.exp: Increase match_max to 10000 characters.
4818
4819 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
4820
4821 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
4822 target.
4823
4824 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
4825
4826Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
4827
4828 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
4829 trying to delete the copy of gdb. Catch the file delete so we
4830 don't die if the delete fails; also, the file should be copied to
4831 the host, not to the build.
4832
4833Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
4834
4835 * lib/gdb.exp(gdb_test): Surround the result pattern with
4836 parenthesis in case it contains multiple regexps separated
4837 with |.
4838
4839 * gdb.base/watchpoint.exp: Use gdb_test.
4840 * gdb.base/default.exp: Ditto.
4841
4842Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
4843
99707966 4844 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 4845
c906108c
SS
4846 * gdb.base/scope.exp: Use gdb_test.
4847 * gdb.c++/classes.exp: Ditto.
4848 * gdb.c++/inherit.exp: Ditto.
4849
4850Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
4851
4852 * gdb.base/crossload.exp: Don't use execute_anywhere, use
4853 remote_exec instead.
4854 * gdb.base/corefile.exp: Don't be ridiculous.
4855 * gdb.base/*.c: Add missing stub invocations.
4856
4857Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
4858
4859 * config/slite.exp: Miscellaneous fixes.
4860
4861 * lib/gdb.exp: Fix runto.
4862
4863 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
4864 the target.
4865
4866 * gdb.base/watchpoint.exp: Fix regexp.
4867
4868 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4869 close and wait commands, as the descriptor may now be
4870 invalid. Always call "remote_close host".
4871
4872Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
4873
4874 Major rewrite for testsuite revision.
beb998c6 4875
c906108c
SS
4876 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
4877 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
4878 instead of relying on spawn_id to always contain a valid
4879 spawn id.
4880 (get_compiler_info): New procedure to build the ${binfile}.ci
4881 file, instead of replicating this in N different places.
4882 (gdb_compile): New procedure.
beb998c6 4883
c906108c
SS
4884 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
4885 appropriate arguments) instead of compile. Use gdb_test in a lot
4886 more places. Use send_gdb instead of send. Always run gdb_start
4887 at the start of a testcase, as this is no longer done magically.
4888
4889 config/*-gdb.exp: Rename without the -gdb suffix.
4890
4891 config/mips.exp: Use remote_close instead of exit_remote_shell.
4892 config/monitor.exp: Use target_info instead of looking at
4893 baud, timeout, etc.
4894 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
4895
4896Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4897
4898 * gdb.c++/templates.exp (test_ptype_of_templates),
4899 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
4900 Update expect patterns for destructors and assignment operators
4901 to match corresponding c-typeprint.c changes.
4902 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
4903 to destructor breakpoint test, GDB should be able to set the
4904 destructor breakpoint without specifying arguments.
4905
4906Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
4907
4908 * gdb.threads/pthreads.exp: Change result for failure to compile due
4909 to lack of pthreads runtime support from an error to simply an
4910 unsupported test, per dejagnu standards.
4911
4912Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4913
4914 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
4915 where GDB exits to reduce pattern match time.
4916 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
4917
4918 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
4919
dc96c6c7 4920Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4921
4922 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
4923 * gdb.base/default.exp: ditto.
4924 * gdb.base/nodebug.exp: ditto.
4925 * gdb.base/printcmds.exp: ditto.
4926 * gdb.base/ptype.exp: ditto.
4927 * gdb.base/setvar.exp: ditto.
4928 * gdb.base/structs.exp: ditto.
4929 * gdb.base/setshow.c: Guard against uninitialized values of argc.
4930
4931Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
4932
4933 * configure, */configure: Rebuild with autoconf 2.12.
4934
4935Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
4936
4937 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
4938 use new i*86-pc-linux*-gnu quads.
4939 * gdb.base/corefile.exp: Ditto.
4940 * gdb.base/signals.exp: Ditto.
4941 * gdb.base/sigall.exp: Ditto.
4942 * gdb.base/interrupt.exp: Ditto.
4943
4944 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
4945 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
4946 RedHat 4.0.
beb998c6 4947
c906108c
SS
4948 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
4949 linux. This allows the test case to at least compile on latest
4950 linux, but still not run due to missing the threads runtime library.
4951
4952Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4953
4954 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
4955 directory to search gdb directory. Accept and step over conditional
4956 stack alignment code. Consume $prompt in failure cases.
4957 Reset timeout to $oldtimeout instead of some arbitrary value.
4958 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
4959 timeout problems with infinite stack backtraces.
4960 * gdb.base/ptype.exp (ptype struct link, union tu_link):
4961 Accept function parameters for linkfunc member.
4962
4963Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
4964
4965 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
4966 (CXXFLAGS): Remove, unreferenced.
4967 (B_OPTIONS): Add for -B options and add code to initialize with
4968 previous -B options and also add -B option to pick up cross compiled
4969 runtime.
4970 (TARGET_INCLUDES): Add for -I options and add code to initialize when
4971 doing cross compiles.
4972 (target_alias): Declare global.
4973 (xgcc): Set variable to full path of gcc in build tree. Use findfile
4974 to verify that gcc exists in build tree, and if so set CC to that
4975 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 4976
c906108c
SS
4977Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
4978
4979 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
4980 ptype test for anonymous union. Fixup testcase to match
4981 current gcc debug output.
4982
4983Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
4984
4985 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
4986 force argument to an unsigned long type.
4987
4988Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
4989
4990 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
4991 tests and anonymous union print/ptype tests.
4992 * gdb.base/list.exp (test_forward-search): Increase timeout by
4993 5 minutes for the "search extremely long line" case.
4994 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
4995 completely optional and that the pass/fail messages use the command as
4996 the message if that third arg is a null string.
4997 (gdb_test_exact): Arrange that a null string pattern means match a
4998 null string output rather than any output, which might include random
4999 errors.
5000 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5001 backtrace test.
5002 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5003 always failing and failure is now exposed by gdb.exp changes.
5004
5005Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5006
5007 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5008 weren't being noted.
5009
5010Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5011
5012 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5013 * gdb.stabs/weird.exp: Remove v_comb xfails.
5014
dc96c6c7 5015Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5016
5017 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5018 list.exp scope.exp watchpoint.exp]
5019 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5020
dc96c6c7 5021Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5022
5023 * config/monitor.exp: Increase download timeout to 1000 seconds.
5024
dc96c6c7 5025Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5026
5027 * config/m32r.exp: Increase timeout to 120 seconds.
5028
5029Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5030
5031 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5032 and accept older ordering as obsolescent gcc or gdb.
5033 * gdb.c++/templates.exp: Ditto.
5034 * gdb.c++/virtfunc.exp: Ditto.
5035
5036Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5037
5038 * gdb.base/coremaker.c: Add code to mmap some data so we
5039 can check that it ends up in the core file.
5040 * gdb.base/corefile.exp: Add test to read mmapped data
5041 from core file.
5042
dc96c6c7 5043Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5044
5045 * config/m32r.exp: New file.
5046
5047Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5048
5049 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5050 that cflags can contains -gstabs, and work correctly for other tests.
5051
dc96c6c7 5052Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5053
5054 * gdb.base/setshow.exp: New file, tests show and set.
5055 * gdb.base/setshow.c: New file, tests show and set.
5056 * gdb.base/help.exp: Add test for help set|show annotate.
5057 * gdb.base/default.exp: Add test for set|show annotate.
5058
5059Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5060
5061 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5062 errors unique.
5063 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5064 explicitly.
5065
5066Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5067
5068 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5069 and width commands. This is done elsewhere.
5070 * (gdb_start): Don't call gdb_start_sim here. That's already
5071 done in gdb_load. This fixes lots of failures in default.exp.
5072
5073Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5074
5075 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5076 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5077 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5078 in the same we we treat other failures (since it may be an expected
5079 condition), rather than as an error.
5080 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5081 old test format.
5082
5083Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5084
5085 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5086 (distclean maintainer-clean realclean): No need to remove files
5087 twice. Nuke the duplicates.
5088 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5089 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5090 Remove config.h along with other config files.
5091
5092Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5093
5094 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5095 "p func1 ()" and note that rests of tests are skipped.
5096 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5097 setup_xfails for "print func2::coremaker_local".
5098 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5099 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5100 affected by the previous run test.
5101 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5102 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5103 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5104 "pass int powerset tuple" and "pass modeless int powerset tuple".
5105 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5106 "real write 4" and "real write 8".
5107 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5108 setup_xfails for "print vs1 after tuple assign 2",
5109 "print \$i after tuple assign 2", and
5110 "print vs2 after tuple assign 2".
5111 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5112 meaningful error message and return -1 so the caller can
5113 suppress further tests and avoid a cascade of errors.
beb998c6 5114
c906108c
SS
5115Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5116
5117 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5118 format for printing version.
5119 * gdb.base/default.exp: Ditto.
5120 * gdb.base/interrupt.exp: Fix problem with cascade of
5121 errors if child process dies while calling a function.
beb998c6 5122
c906108c
SS
5123Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5124
5125 * Makefile.in (VPATH): Add
5126 * Makefile.in (Makefile, config.status): Fix rules so things get
5127 remade when necessary.
5128
5129Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5130
5131 * Makefile.in (just-check): Add path to sibling expect dir
5132 to environment variable specified by RPATH_ENVVAR.
5133
5134Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5135
5136 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5137 (just-check): Add shared library paths for libstdc++, tk,
5138 tcl, bfd, and opcodes to the environment variable specified
5139 in RPATH_ENVVAR.
5140 * configure.in: Add support to recognize --enable-shared flag
5141 and generate correct value for RPATH_ENVVAR.
5142 * configure: Regenerated with autoconf.
5143
5144Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5145
5146 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5147 include all osf versions.
5148 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5149 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5150 when target is linux. When failing to build pthreads test
5151 executable, give more meaningful message.
5152 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5153 arg for pthread_create.
beb998c6 5154
c906108c
SS
5155Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5156
5157 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5158 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5159 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5160 and -lpthreads (everybody else).
5161 (test_startup): Fail gracefully if threads are not supported.
5162 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5163 "p/c array_index("abcdef",2)" when not gcc compiled.
5164 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5165 "print func2::coremaker_local" when not gcc compiled.
5166 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5167 "ptype on opaque struct tagname (statically)",
5168 "ptype on opaque struct tagname (dynamically) 1", and
5169 "ptype on opaque struct tagname (dynamically) 2"
5170 for not compiled with gcc.
5171 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5172 backtrace when compiled with gcc.
beb998c6 5173 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5174 than always return success.
5175
5176Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5177
5178 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5179
5180Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5181
5182 * gdb.base/structs.exp: Undo last change.
5183
5184Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5185
5186 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5187 encapsulate all the steps/nexts done during self test, starting
5188 at main, and makes them less sensitive to optimization issues.
5189 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5190 signal handler" test.
5191 * gdb.threads/pthreads.exp: Only run this for native configs.
5192 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5193 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5194 tests.
5195 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5196 for "runto test_calls(void)" test.
beb998c6 5197
c906108c
SS
5198Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5199
5200 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5201 and don't expect address info in breakpoint confirmations.
5202
5203Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5204
5205 * gdb.base/list.exp (test_forward_search): Increase timeout
5206 temporarily by 60 seconds for searching extremely long line,
5207 and then reset to old value when done. Increase expect input
5208 buffer to 10000.
5209
5210Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5211
5212 * gdb.base/list.exp (test_forward_search): Fix to handle very
5213 long source line without overflowing expect's input buffer.
5214
5215Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5216
5217 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5218 "buffer_full".
5219
5220 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5221 "buffer_full".
5222
5223 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5224 "buffer_full".
5225
5226 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5227 "buffer_full".
5228
5229Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5230
5231 * configure.in (configdirs): Add gdb.threads.
5232 * configure: Regenerated with autoconf.
5233 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5234 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5235 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5236
c906108c
SS
5237Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5238
5239 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5240
5241Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5242
5243 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5244 each signal's status in the output of "handle all print".
5245 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5246 the \r\n sequence that immediately precedes the gdb prompt.
5247 * gdb.base/a1-selftest.exp: Save original timeout and restore
5248 after test.
5249
5250Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5251
5252 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5253 symbol.
5254
5255Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5256
5257 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5258
5259Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5260
5261 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5262 timeout by 60 seconds.
5263
5264Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5265
5266 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5267 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5268 error return.
5269
5270Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5271
5272 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5273 gdb initialization, also report how long dejagnu waited. Restore
5274 old timeout before doing error return. Temporarily increase timeout
5275 by 3 minutes to allow for slow startups over heavy NFS use.
5276
5277Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5278
5279 * lib/gdb.exp: Report timeout value for verbosity level 2.
5280 * config/gdbserver.exp: Ditto.
5281 * config/hppro.exp: Ditto.
5282 * config/mips-gdb.exp: Ditto.
5283 * config/monitor.exp: Ditto.
5284 * config/netware.exp: Ditto.
5285 * config/sim-gdb.exp: Ditto.
5286 * config/slite-gdb.exp: Ditto.
5287 * config/udi-gdb.exp: Ditto.
5288 * config/unix-gdb.exp: Ditto.
5289 * config/vx-gdb.exp: Ditto.
5290 * gdb.base/a1-selftest.exp: Ditto.
5291 * gdb.base/a2-run.exp: Ditto.
5292 * gdb.base/break.exp: Ditto.
5293 * gdb.base/corefile.exp: Ditto.
5294 * gdb.base/list.exp: Ditto.
5295 * gdb.base/recurse.exp: Ditto.
5296 * gdb.base/scope.exp: Ditto.
5297 * gdb.base/signals.exp: Ditto.
5298
5299Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5300
5301 * gdb.threads/Makefile.in (docdir): Removed.
5302
5303Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5304
5305 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5306 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5307 @srcdir@.
beb998c6 5308 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5309 autoconf 2.5 or higher.
5310 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5311
5312Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5313
5314 * configure: Regenerated.
5315 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5316 avoid name clashes with SunOS headers.
5317
5318Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5319
5320 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5321
5322Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5323
5324 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5325 prototype information ends up in the compiler info file.
5326
5327Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5328
5329 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5330 attempting to regenerate it. Eliminate use of a temporary file
5331 and just generate the info file directly. Source it immediately,
5332 for consistency of use.
5333 * gdb.base/corefile.exp: Ditto
5334 * gdb.base/exprs.exp: Ditto.
5335 * gdb.base/funcargs.exp: Ditto.
5336 * gdb.base/langs.exp: Ditto.
5337 * gdb.base/list.exp: Ditto.
5338 * gdb.base/mips_pro.exp: Ditto.
5339 * gdb.base/nodebug.exp: Ditto.
5340 * gdb.base/opaque.exp: Ditto.
5341 * gdb.base/ptype.exp: Ditto.
5342 * gdb.base/scope.exp: Ditto.
5343 * gdb.base/setvar.exp: Ditto.
5344 * gdb.base/signals.exp: Ditto.
5345 * gdb.base/whatis.exp: Ditto.
5346 * gdb.c++/templates.exp: Ditto.
5347 * gdb.c++/virtfunc.exp: Ditto.
5348 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5349 whether or not to add -lstdc++ to the compile command line args.
5350
5351Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5352
5353 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5354 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5355 Increase timeout, a lot of single stepping might be needed if the
5356 target has no hardware watchpoints.
5357
5358Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5359
5360 * gdb.base/break.exp: Ignore compiler warnings when compiling
5361 break.c.
5362 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5363 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5364 from remote-sim.
5365 * gdb.base/exprs.exp: Add h8300 xfails.
5366 * gdb.base/funcargs.exp: Likewise.
5367 * gdb.base/nodebug.exp: Likewise.
5368 * gdb.base/printcmds.exp: Likewise.
5369 * gdb.base/ptype.exp: Likewise.
5370 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5371 h8300 xfails.
beb998c6 5372 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
5373 on the h8300.
5374 * gdb.base/funcargs.c: Explicitly make last constant argument to
5375 call_after_alloca_subr an unsigned long type.
5376 * gdb.base/return.c: Include stdio.h.
5377
5378Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5379
5380 * config/abug.exp: New file for the older Motorola Bug monitor
5381 that runs on the mvme13x series VME boards.
5382 * config/monitor.exp: Use the new config array for target settings
5383 if they exist.
5384
5385Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5386
5387 * sim-gdb.exp: Make the SH simulator allocate less space when
5388 it is targeted.
5389
5390Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5391
5392 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5393 test.
5394
5395Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5396
5397 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5398 "rs6000-*-*" for "list function in include file" when gcc compiled.
5399 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5400 for "p ctable1[120]".
5401 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5402 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5403 Remove setup_xfail for "rs6000-*-*" for
5404 "print 'scope0.c'::filelocal before run".
5405 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5406 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5407 since some compilers don't allow both options to be given
5408 on the same command line. Create object file and move it.
beb998c6 5409
c906108c
SS
5410Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5411
5412 * gdb.base/corefile.exp: Always regenerate the core file, since
5413 we always regenerate the coremaker program. Detect special case
5414 where registers cannot be read from core file.
beb998c6 5415
c906108c
SS
5416Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5417
5418 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5419 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5420 * gdb.c++/templates.exp: Only match on basename of file since
5421 some formats like xcoff don't encode directory information.
5422 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5423 and rs6000 AIX xcoff targets.
5424 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5425 * configure: Regenerate.
5426 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5427 here, rather than in distclean.
beb998c6 5428
c906108c
SS
5429Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5430
5431 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5432 defined, and use it to compile the test case with -O2. The
5433 native compilation still uses no optimization.
5434 * gdb.base/mips_pro.c: Remove inline assembly code since
5435 it is compiled PIC by default, which results in assembler
5436 warnings that make the testsuite think the compilation
5437 was unsuccessful.
5438
5439Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5440
5441 * gdb.c++/misc.exp: Add note to message for
5442 "print s.a for foo struct" that this is a known gcc 2.7.2
5443 and earlier bug.
5444
5445Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5446
5447 * gdb.base/break.exp: Fix pattern for matching "Delete all
5448 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5449 setup_xfail for deleting all breakpoints test. Fix various
5450 timeout messages to include "(timeout)".
5451 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5452 for "p t_float_values2(3.14159,float_val2)".
5453 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5454 for "continue to call2g" when gcc compiled.
5455 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5456 "up to foo in langs.exp", "show language at foo in langs.exp",
5457 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5458 and "show language at fsub in langs.exp".
5459 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5460 "list line 1 in include file", "list message for lines past EOF",
5461 "list function in include file", "list list0.h:foo", and
5462 "list filename:function; nonexistant function".
5463 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5464 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5465 and "ptype t_char_array" to be for native cc only.
beb998c6 5466
c906108c
SS
5467Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5468
beb998c6 5469 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5470 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5471 "print func2::coremaker_local", and "backtrace in corefile.exp".
5472
5473Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5474
5475 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5476 "bt in signals.exp". This problem only appears when running
5477 the testsuite, and then only intermittently.
5478
5479Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5480
5481 * gdb.base/return.exp (return_tests): Differentiate between
5482 two tests of continuing.
5483
5484Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5485
5486 * */Makefile.in (maintainer-clean): Remove config.log.
5487 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5488 * gdb.c++/Makefile.in (PROGS): Add inherit.
5489 (clean): Remove *.ci.
5490
5491Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5492
5493 * gdb.c++/misc.cc: Add test code from Mike Stump.
5494 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5495
5496Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5497
5498 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5499 to "alpha-*-osf2*" and add comment.
5500 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5501 setup_xfail for "step over execarg initialization" and
5502 "step over corearg initialization".
5503 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5504 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5505 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5506 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5507 "print func2::coremaker_local", and "backtrace in corefile.exp".
5508 * gdb.base/signals.exp: Build and source signals.ci.
5509 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5510 to be for gcc only.
5511 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5512
c906108c
SS
5513Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5514
5515 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5516 Feb 3 procfs.c change.
5517
5518Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5519
5520 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5521
5522Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5523
5524 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5525 from dejagnu's apparent default of 10 seconds, which gives random
5526 results when running the tests over NFS on moderately loaded systems.
5527 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5528
5529Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5530
5531 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5532 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5533 result reports.
5534
5535Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5536
5537 * configure.in (CY_AC_PATH_TCLH): Remove.
5538 * configure: Regenerate.
5539
5540Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5541
5542 * gdb.c++/Makefile.in (clean): Add missing '{'.
5543
5544Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5545
5546 * lib/gdb.exp: Provide a default value for noinferior.
5547
5548 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5549 Load libgloss.exp.
5550
5551Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5552
5553 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5554 the executable, not the .o to run the tests from.
5555
5556Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5557
5558 * gdb.base/break.exp: Don't test for program exit or exit status
5559 if $noresults if nonzero.
5560 * gdb.base/langs.exp: Likewise.
5561 * gdb.base/watchpoint.exp: Likewise.
5562
5563 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5564 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5565 trying to compile the testcase.
5566
5567Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5568
5569 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5570 * gdb.base/signals.exp (continue to handler): Likewise.
5571
5572Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5573
5574 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5575
5576 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5577
5578Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5579
5580 * gdb.base/corefile.exp: Recognize "not found" as failure
5581 when trying to determine if a core file was generated.
5582 If no core file was generate the first time, try again without
5583 the ulimit -c to work around braindamaged shells.
5584
5585Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5586
5587 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5588 [] tests with "test" and enclose string in quotes.
5589 * gdb.stabs/configure: Rebuild
beb998c6 5590
c906108c
SS
5591Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5592
5593 Changes in sync with expect:
5594 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5595 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5596 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5597 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5598 argument to AC_REQUIRE.
5599 * configure: Regenerated.
5600
5601Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5602
5603 * gdb.base/corefile.exp: When generating a core, discard any
5604 error messages about ulimit not found and the "core dumped"
5605 message from the shell that runs the coredumper.
5606
5607Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5608
5609 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5610
5611 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5612 which sed script to run. Expect failure for v_comb test
5613 on PA targets too.
beb998c6 5614
c906108c
SS
5615Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5616
5617 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5618 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5619
5620Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5621
5622 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5623 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5624 "sparc-sun-solaris*" xfails for "p v_comb".
5625 * lib/gdb.exp (default_gdb_start): Fix typo.
5626 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5627 messages to not include the full program name that caused
5628 the core dump since some systems (such as solaris) apparently
5629 truncate this path to about 80 characters.
5630 When generating a core file first try increasing the core file
5631 size limit to unlimited since some systems may default it to
5632 zero, and it is harmless to try it. Move the test for failing
5633 to generate a core file to where it will actually get executed.
5634 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5635 new gdb result from g++ debug info improvements and make old
5636 pattern obsolescent. Also account for size_t differences
5637 (may be int or long).
5638 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5639 initialization before function call is placed in the delay slot
5640 and thus appears to be skipped over by commands such as "next".
5641
5642Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5643
5644 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5645
5646Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5647
5648 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5649 input source file; fix code to compile test to deal with this
5650 convention.
5651 * gdb.c++/*.exp: Likewise.
5652
5653Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5654
5655 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5656 "bt in signals.exp".
5657
5658Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5659
5660 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5661 "step over execarg initialization" and
5662 "step over corearg initialization".
5663
5664Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5665
5666 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5667 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5668
5669Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5670
5671 From Rob Savoye (rob@poseidon.cygnus.com)
5672 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5673 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5674 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5675 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5676 configure.in}: Major reworking for autoconfig.
5677 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5678 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5679 New files.
5680 * config/unix-gdb.exp: Make GDB global.
5681 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5682 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5683 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5684 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5685 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5686 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5687 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5688 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5689 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5690 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5691 pr-8136.exp, result.exp, string.exp, tuples.exp},
5692 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5693 to returns as necessary, arrange for test to compile own testcase
5694 executable.
5695 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 5696
c906108c
SS
5697Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5698
5699 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5700 clear_xfail at end of test which might not call either pass or fail.
5701 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5702 "backtrace through signal handler".
5703
5704Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5705
5706 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5707 continuing from a job control stop signal.
5708 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5709
5710Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5711
5712 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5713 * gdb.base/corefile.exp: Likewise.
5714 * gdb.base/funcargs.exp: Likewise.
5715
5716Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5717
5718 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5719 * config/monitor.exp: Add support for setting baud rate.
5720
5721Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5722
5723 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5724 i*86-*-linux* xfails for "backtrace through signal handler".
5725 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5726 "print func2::coremaker_local".
5727 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5728 alpha-dec-osf2* xfail for
5729 "delete all breakpoints when none".
5730
5731Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5732
5733 * gdb.base/break.exp: Change test that deletes all breakpoints
5734 when no user breakpoints are installed. A post 4.15 change
5735 causes gdb to no longer prompt in this case.
5736
5737Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5738
5739 * gdb.base/return.exp (return_tests): Change xfail for test
5740 "correct value returned double test" to stop xfailing at
5741 Solaris 2.5. Apparently the bug has been fixed.
5742
5743Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5744
5745 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5746 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5747
5748Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5749
5750 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5751 * gdb.disasm/hppa.s: Corresponding changes.
5752
5753Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5754
5755 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5756 makefile fragment.
5757 * config/mt-hpux: Deleted.
5758
5759Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5760
beb998c6 5761 * Many files: When warning about suppressed tests due to a
c906108c
SS
5762 nonexistant test binary, avoid incrementing the warning count.
5763
5764Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5765
5766 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 5767
c906108c
SS
5768Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5769
5770 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5771 "sparc-*-solaris2*".
5772
5773Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5774
5775 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5776 Add global and local variables and initialize them.
5777 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5778 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5779 extracts the file name and terminating signal from the core file.
5780 * TODO: Remove note about tests for correct mapping of corefile.
5781 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
5782 from optimizing it away.
5783 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
5784 handles common blocks.
5785
5786Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
5787
5788 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
5789 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
5790
5791Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
5792
5793 * Makefile.in (maintainer-clean): New target, synonym for
5794 realclean.
5795 * gdb.base/Makefile.in (maintainer-clean): Likewise.
5796 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
5797 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
5798 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
5799 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
5800 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
5801
5802Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
5803
5804 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
5805 xfails when not gcc compiled for "print foo::funclocal".
5806 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
5807 "print foo::funclocal at foo",
5808 "print 'scope1.c'::foo::funclocal at foo",
5809 "print foo::funclocal_bss at foo",
5810 "print 'scope1.c'::foo::funclocal_bss at foo",
5811 "print foo::funclocal_ro at foo",
5812 "print 'scope1.c'::foo::funclocal_ro at foo",
5813 "print bar::funclocal at foo" and
5814 "print 'scope1.c'::bar::funclocal at foo".
5815 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
5816 gcc compiled for "print foo::funclocal at bar".
5817 Expand all messages to ensure that they identify that
5818 the test is at bar().
5819 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
5820 gcc compiled for:
5821 "ptype on opaque struct pointer (statically)",
5822 "ptype on opaque struct tagname (statically)",
5823 "ptype on opaque struct pointer (dynamically) 1",
5824 "ptype on opaque struct tagname (dynamically) 1",
5825 "ptype on opaque struct pointer (dynamically) 2" and
5826 "ptype on opaque struct tagname (dynamically) 2
5827 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
5828 gcc compiled for:
5829 "p datalocal"
5830 "whatis datalocal",
5831 "ptype datalocal",
5832 "p bsslocal",
5833 "whatis bsslocal", and
5834 "ptype bsslocal".
5835 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
5836 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
5837 when not gcc compiled.
5838 * gdb.base/funcargs.exp (float_and_integral_args): Add
5839 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
5840 compiled.
5841 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
5842 "backtrace from call6a" when not gcc compiled.
5843 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
5844 "backtrace from call7a" when not gcc compiled.
5845 * gdb.base/callfuncs.exp (do_function_calls):
5846 Add "hppa*-*-hpux*" xfail when not gcc compiled for
5847 "p t_char_array_values(char_array_val2,char_array_val1)",
5848 "p t_char_array_values(char_array_val1,char_array_val2)",
5849 "p t_char_array_values("carray 1","carray 2")",
5850 "p t_char_array_values("carray 1",char_array_val2)",
5851 "p t_char_array_values(char_array_val1,"carray 2")",
5852 "p sum_args(1,{2})",
5853 "p sum_args(2,{2,3})",
5854 "p sum_args(3,{2,3,4})",
5855 "p sum_args(4,{2,3,4,5})"
5856 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
5857 "backtrace in corefile.exp" when not gcc compiled.
5858
5859Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5860
5861 * gdb.base/signals.exp: Rewrite `handle all print' test as
5862 a procedure. Accept blanks or TABs as whitespace, increase
5863 timeout and expect input buffer size for the large output
5864 from the command. Remove "i*86-*-bsdi2.0" xfail.
5865
5866Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5867
5868 * gdb.base/setvar.exp: Add new testcases for truncation when
5869 assigning invalid values to bitfields.
5870
5871Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
5872
beb998c6 5873 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
5874 mips-sgi-irix* xfail for
5875 "call inferior func with struct - returns char *"
5876 and fix test so that an optional (unsigned char *) cast is
5877 accepted in the result.
5878
5879Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
5880
5881 * gdb.base/funcargs.exp (float_and_integral_args): Remove
5882 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5883 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
5884 * gdb.base/signals.exp: Remove duplicate "handle all print" test
5885 that accidentally got checked in.
5886
5887Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
5888
beb998c6 5889 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
5890 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
5891 compiled test.
5892 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
5893 Add mips-sgi-irix5* xfail for not gcc compiled.
5894 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
5895 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
5896 "p top", "whatis top", "p middle", and "whatis middle".
5897 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
5898 "whatis signed char" for not gcc compiled.
5899 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
5900 "set variable signed char=-1 (-1)" and
5901 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
5902 * gdb.base/funcargs.exp (float_and_integral_args):
5903 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
5904 Add mips-sgi-irix* xfail when not gcc compiled for
5905 "continue to call2b".
5906 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
5907 "continue to call2g".
5908 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
5909 "backtrace from call6a"
5910 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
5911 "backtrace from call7k".
5912 Add mips-sgi-irix5* xfail when not gcc compiled for
5913 "backtrace from call7a".
5914 (localvars_after_alloca): Fix gdb_test cmds for
5915 "print * after runto ...".
5916 Remove rs6000-*-* xfails for
5917 "print i after runto localvars_after_alloca" and
5918 "print l after runto localvars_after_alloca"
5919 for all compilers.
5920 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
5921 when not compiled with gcc, for:
5922 "print signed char == (minus)",
5923 "print signed char != (minus)",
5924 "print signed char < (minus)",
5925 "print signed char > (minus)".
5926 * gdb.base/callfuncs.exp (do_function_calls):
5927 Add mips-sgi-irix* xfail, when compiled with native compiler, for
5928 "call inferior func with struct - returns char *".
beb998c6 5929 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
5930 "correct value returned double test" to include Solaris 2.4.
5931 * gdb.base/funcargs.exp (float_and_integral_args):
5932 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 5933
c906108c
SS
5934Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5935
5936 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
5937 enumeration bitfields if compiling with GNU C.
5938 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
5939 to empty' prompt.
5940
5941Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
5942
5943 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
5944 test for PRO targets.
5945
5946 * gdb.base/funcargs.exp: Avoid ever setting more than 8
5947 breakpoints in the inferior at any given time by making
5948 two groups of breakpoints for call2*, call6* and call7*
5949 tests.
5950
5951Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5952
5953 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
5954 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
5955 from optimizing it away.
5956 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
5957 "call inferior func with struct".
5958
5959Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
5960
5961 * configure.in: Only configure gdb.chill for particular targets.
5962
5963Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
5964
5965 * gdb.base/Makefile.in: Add action to .c.o transformation
5966 rule that generates a .ci file for each .o file and remove
5967 explicit .c.o rules except for callfuncs.o.
5968 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
5969 generates a .ci file for each .o file and remove explicit
5970 .cc.o rules.
5971 (clean): Remove *.tmp *.ci files.
5972 (EXECUTABLES): Remove templ-info.exp.
5973 * gdb.base/compiler.c: New file.
5974 * gdb.c++/compiler.cc: New file
5975 * gdb.base/scope.exp: Source gdb.base/scope.ci.
5976 Change rs6000-*-* xfail for
5977 "print 'scope0.c'::filelocal_ro" and
5978 "print 'scope1.c'::filelocal" and
5979 "print 'scope1.c'::filelocal_bss" and
5980 "print 'scope1.c'::filelocal_ro" and
5981 "print 'scope1.c'::foo::funclocal" and
5982 "print 'scope1.c'::foo::funclocal_ro" and
5983 "print 'scope1.c'::bar::funclocal" and
5984 "print 'scope0.c'::filelocal_ro" and
5985 "print 'scope1.c'::filelocal at foo" and
5986 "print 'scope1.c'::filelocal_bss at foo" and
5987 "print 'scope1.c'::filelocal_ro at foo" and
5988 "print 'scope1.c'::foo::funclocal at foo" and
5989 "print 'scope1.c'::foo::funclocal_bss at foo" and
5990 "print 'scope1.c'::foo::funclocal_ro at foo" and
5991 "print 'scope1.c'::bar::funclocal at foo" and
5992 "print 'scope0.c'::filelocal_ro" and
5993 "print 'scope1.c'::filelocal" and
5994 "print 'scope1.c'::filelocal_bss" and
5995 "print 'scope1.c'::filelocal_ro" and
5996 "print 'scope1.c'::foo::funclocal" and
5997 "print 'scope1.c'::foo::funclocal_bss" and
5998 "print 'scope1.c'::foo::funclocal_ro" and
5999 "print 'scope1.c'::bar::funclocal" and
6000 "print 'scope1.c'::bar::funclocal_bss"
6001 to only be xfail'd when not compiled with gcc.
beb998c6 6002 Add rs6000-*-* xfail for
c906108c
SS
6003 "print 'scope0.c'::filelocal_bss before run"
6004 when compiled with gcc.
6005 (test_at_main): Add rs6000-*-* xfail for
6006 "print filelocal_ro in test_at_main"
6007 when compiled with gcc.
6008 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6009 Add rs6000-*-aix* xfail for
c906108c
SS
6010 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6011 "ptype t_char_array", not compiled with gcc.
6012 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6013 xfail for "list foo (in include file)" when gcc compiled.
6014 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6015 (integral_args): Add rs6000-*-* xfail for
6016 "run to call0a" if not compiled with gcc.
6017 (unsigned_integral_args): Add rs6000-*-* xfail for
6018 "run to call1a" if not compiled with gcc.
6019 (float_and_integral_args): Add rs6000-*-* xfail for
6020 "run to call2a" if not compiled with gcc and for
6021 "continue to call2b" for any compiler.
6022 Add rs6000-*-* xfail to
6023 "print f1 after run to call2a" for gcc compiled.
6024 (discard_and_shuffle): Add rs6000-*-* xfail for
6025 "run to call6a".
6026 (shuffle_round_robin): Add rs6000-*-* xfail for
6027 "backtrace from call7a" if not compiled with gcc.
6028 Add rs6000-*-* xfail for
6029 "backtrace from call7b" if compiled with gcc.
6030 (call_after_alloca): Add rs6000-*-* xfail for
6031 "print c in call_after_alloca" and
6032 "print s in call_after_alloca" and
6033 "backtrace from call_after_alloca_subr"
6034 if not compiled with gcc.
6035 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6036 "print c in localvars_in_indirect_call" and
6037 "print c in localvars_in_indirect_call" and
6038 "backtrace in indirectly called function" and
6039 "stepping into indirectly called function"
6040 if not compiled with gcc.
6041 (localvars_after_alloca): Add rs6000-*-* xfail for
6042 "print c after runto localvars_after_alloca" and
6043 "print s after runto localvars_after_alloca" and
6044 "print i after runto localvars_after_alloca" and
6045 "print l after runto localvars_after_alloca"
6046 for all compilers.
6047 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6048 than whatis-info.exp.
6049 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6050 than opaque-info.exp.
6051 Setup rs6000-*-* xfail for
beb998c6 6052 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6053 "ptype on opaque struct pointer (dynamically)" when
6054 not compiled with gcc.
6055 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6056 rather than callf-info.exp.
6057 (do_function_calls): Add clear_xfail for rs6000-*-* for
6058 "p t_float_values2(3.14159,float_val2)". Seems to work
6059 fine there, both with xlc and gcc. Need to find out what
6060 it is doing right and fix other platforms.
6061 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6062 "call inferior func with struct - returns int",
6063 "call inferior func with struct - returns long",
6064 "call inferior func with struct - returns float",
6065 "call inferior func with struct - returns double",
6066 "call inferior func with struct - returns char *",
6067 but only if not gcc compiled (presumes xlc compiled).
6068 Change rs6000-*-* xfails for
6069 "call inferior func with struct - returns char" and
6070 " call inferior func with struct - returns short" to only
6071 xfail if not using gcc.
6072 (clean mostlyclean): Remove *.ci and *.tmp files.
6073 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6074 than templ-info.exp.
6075 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6076 Add rs6000-*-* xfail for "up to foo in langs.exp"
6077 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6078 when not gcc compiled.
beb998c6 6079
c906108c
SS
6080Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6081
6082 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6083 * gdb.base/corefile.exp: Likewise.
6084 * gdb.base/list.exp: Likewise.
6085 * gdb.base/scope.exp: Likewise.
6086 * gdb.base/siganls.exp: Likewise.
6087
6088 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6089 compiler output.
6090 * gdb.base/whatis.exp: Likewise.
6091
6092Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6093
6094 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6095 failure (opcode table has been fixed to match reality).
6096
6097Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6098
6099 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6100 "call inferior func with struct - returns char",
6101 "call inferior func with struct - returns short"
6102
6103 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6104 "print 'scope0.c'::filelocal at main",
6105 "print 'scope0.c'::filelocal_bss in test_at_main",
6106 "print 'scope0.c'::filelocal at foo",
6107 "print 'scope0.c'::filelocal_bss in test_at_foo",
6108 "print 'scope0.c'::filelocal at bar",
6109 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6110
c906108c
SS
6111 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6112 in source file 1". This bug seems to have been fixed with both
6113 gcc and native cc (was native assembler bug?).
6114
6115Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6116
6117 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6118 "backtrace through signal handler" to "i*86-*-sysv4*".
6119 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6120 continue" case. Add "known SVR4 bug" to fail message.
6121 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6122 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6123 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6124 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6125 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6126 "up to foo in langs.exp", "show language at foo in
6127 langs.exp", "up to cppsub_ in langs.exp", "show
6128 language at cppsub_ in langs.exp", "up to fsub in
6129 langs.exp", and "show language at fsub in langs.exp".
6130 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6131 "bactrace in corefile.exp".
6132 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6133 "call inferior function with struct - returns float" and
6134 "call inferior function with struct - returns double".
beb998c6 6135
c906108c
SS
6136Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6137
6138 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6139 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6140 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6141 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6142
6143Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6144
6145 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6146 (or overriden) "CHILL" macro rather then bare "gcc".
6147 Also look for ../../gcc/xgcc since that is what we will
6148 actually need, not "Makefile". Remove following assignment
6149 of CHILL to CHILL_FOR_TARGET because that results in
6150 recursive definition.
6151
6152Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6153
6154 * gdb.base/corefile.exp: Change xfail for backtrace in
6155 corefile.exp from linuxaout to all linux.
6156 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6157 cases where we miss the breakpoint at the signal handler
6158 for some reason. Setup xfail for linuxoldld/linuxaout and
6159 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6160 hitting SIGURG breakpoint.
6161 * gdb.base/signals.exp: Setup xfail for "next" acting like
6162 continue to add linuxoldld. Setup xfail for all linux for
6163 "next to handler in signals_tests_1", "backtrace in
6164 signals_tests_1", "continue to func1", "pass SIGUSR1",
6165 and continue to handler".
6166
6167Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6168
6169 * Update all FSF addresses except those in COPYING* files.
6170
6171Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6172
6173 * gdb.base/a2-run.exp: Change messages to be more explicit about
6174 the status of args, and quote binfile in results.
6175
6176Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6177
6178 * gdb.base/callfuncs.exp: Add tests for passing structs to
6179 inferior functions and return various types.
6180 * gdb.base/callfuncs.c: Add functions to receive a struct
6181 and return a member of the struct, in various types.
6182
6183Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6184
6185 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6186
6187Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6188
6189 * config/vxworks29k.exp: New file, sources vxworks.exp.
6190
6191Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6192
6193 * config/gdbremote.exp: New file. Testing framework using
6194 gdbserver.
6195
6196Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6197
6198 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6199 "call function when asleep" and "send end of file".
6200 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6201 for "backtrace in corefile.exp".
6202 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6203 for "backtrace through signal handler".
6204 * gdb.base/corefile.exp: Make sure we actually generate a core file
6205 before trying the core tests. Some systems allow the user to suppress
6206 generation of core files and default to that (linux for example).
6207 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6208 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6209
6210Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6211
6212 * gdb.threads: New directory with some crude multi-threaded
6213 gdb tests (step.exp and step2.exp).
6214 * config/mt-lynx (STEP_EXECUTABLE): Define.
6215 (THREADFLAGS): Define.
6216
6217Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6218
6219 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6220
6221 * gdb.base/signals.exp: Disable whole file for lynx until
6222 further notice.
6223
6224 * gdb.base/signals.exp: xfail test where "next" acts like
6225 "continue" for lynx.
6226
6227 * gdb.base/interrupt.exp: xfail test for calling function while
6228 inferior is asleep for lynx.
6229
6230 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6231 than one cr-lf after each command.
6232
6233Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6234
6235 * configure.in: Reinstate setting of stabsdirs variable, fix
6236 typo in setting up configdirs for native builds.
6237
6238 * gdb.base/return.exp: Fix typo in return double test.
6239 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6240 compiler from optimizing them away.
6241
6242Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6243
6244 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6245 sequences to be echo'd by gdb when using gdb_test.
6246 * gdb.chill/chexp.exp: Likewise.
6247 * gdb.fortran/exprs.exp: Likewise
6248
6249Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6250
6251 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6252 after the inferior gdb has started.
6253
6254 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6255 after each command.
6256 * gdb.base/funcargs.exp: Likewise.
6257 * gdb.base/gdbvars.exp: Likewise.
6258 * gdb.base/interrupt.exp: Likewise.
6259 * gdb.base/list.exp: Likewise.
6260 * gdb.base/watchpoint.exp: Likewise.
6261 * gdb.c++/demangle.exp: Likewise.
6262 * gdb.c++/inherit.exp: Likewise.
6263 * gdb.chill/chexp.exp: Likewise.
6264 * gdb.fortran/exprs.exp: Likewise.
6265
6266 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6267 test if we can't handle IO to/from the inferior.
6268
6269 * gdb.c++/misc.exp: Always check for a program already being
6270 started after sending a "run" command to gdb.
6271
6272 * gdb.base/twice.exp: Start with a fresh gdb.
6273
6274 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6275 only depend on gdb's expression code, not the chill runtime.
6276
6277 * gdb.base/return.c: Put return values into variables so we
6278 can have gdb print them rather than depending on the program
6279 to print them.
6280 * gdb.base/return.exp: Corresponding changes.
6281
6282 * lib/gdb.exp: Provide default value for noinferiorio.
6283 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6284 the inferior.
6285
6286 * gdb.base/break.exp: Always check for a program already being
6287 started after sending a "run" command to gdb.
6288 (text_next_with_recursion): Don't check the output from the
6289 program's printf statement. Instead just make sure the program
6290 exited.
6291
6292 * gdb.base/commands.exp: Protect tests which need arguments with
6293 $noargs conditionals.
6294
6295Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6296
6297 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6298 of structure member arrays to match gdb/valops.c:value_addr change.
6299
6300Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6301
6302 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6303 cases.
6304
6305Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6306
6307 * configure.in (configdirs): Remove gdb.chill from default list
6308 of subdirs and then add it back in only if doing a native build.
6309 The current chill compiler does not yet work in any cross build.
6310 * Revert all signal changes from Jul 6.
6311 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6312 for sh-hms targets, allowing these tests to link, with no other
6313 changes. Testing is suppressed by setting "nosignals" in site.exp.
6314
6315Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6316
6317 * configure.in (signaldirs): Define and add to configdirs for all
6318 targets except some specific ones that are known to not support signals.
6319 Also clean up formatting.
6320 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6321 (signals, sigall): Remove rules to build.
6322 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6323 Moved to new gdb.signals directory.
6324 * gdb.signals: New test directory.
6325 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6326 signals.c signals.exp}: New or moved files.
6327
6328Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6329
6330 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6331
6332Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6333
6334 * gdb.base/return.exp: Xfail `return double' test failure
6335 on at least Solaris 2.3 and handle future/past versions on
6336 a case by case basis as appropriate. Also update message
6337 to include i*86 failures.
6338
6339Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6340
6341 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6342
6343 * lib/gdb.exp: Fix comment which erroneously identified
6344 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6345 gdb_file_cmd not gdb_load).
6346 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6347
6348 * gdb.base/setvar.exp: Make test names consistent between pass and
6349 fail cases. Use gdb_test more.
6350
6351Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6352
6353 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6354
6355Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6356
6357 * gdb.base/help.exp: Fix expected help string for `show commands'.
6358
6359Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6360
6361 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6362
6363 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6364 of a text section.
6365
6366Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6367
6368 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6369 that loop eventually terminates. Fix Connection refused logic so
6370 that testsuite will expire nicely.
6371
6372Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6373
6374 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6375 config/rom68k.exp: New tcl glue for the appropriate monitors.
6376 These all just end up calling monitor.exp.
6377 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6378 refused' by retrying. Cleanup some timeout issues.
6379 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6380 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6381 callers don't have to set/restore global timeout variable.
6382
6383 * The following set of changes centralizes management of the global
6384 timeout variable. This way, it can be set in one target dependent
6385 place instead of dozens of places scattered throughout the test suite.
6386 If you need to lengthen a timeout, then you should either set timeout
6387 in one of the config/{target}.exp files, or multiply it by a factor.
6388 Setting it to an absolute value is always going to lose for some
6389 targets.
6390 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6391 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6392 * gdb.base/funcargs.exp: Don't set timeout.
6393 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6394 * gdb.base/printcmds.exp (test_print_string_constants
6395 test_print_array_constants): Don't set timeout.
6396 * gdb.base/ptype.exp: Don't set timeout.
6397 * gdb.base/recurse.exp: Don't set timeout.
6398 * gdb.base/return.exp: Don't set timeout.
6399 * gdb.base/watchpoint.exp: Don't set timeout.
6400 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6401 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6402
6403Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6404
6405 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6406
6407Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6408
6409 * lib/gdb.exp: Disable chill tests for irix5.
6410
6411Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6412
6413 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6414 each test pass or fail.
6415
6416Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6417
6418 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6419 xlc not gcc.
6420
6421Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6422
6423 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6424
6425Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6426
6427 * config/est.exp: Fix copyright and comments. Remove dead code.
6428 Use targetname, serialport and baud variables instead of fixed
6429 constants.
6430 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6431 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6432
6433Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6434
6435 * gdb.base/watchpoint.exp: Don't run
6436 test_watchpoint_triggered_in_syscall for sunos.
6437
6438Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6439
6440 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6441 they don't seem to exist. Do include stdio.h.
6442
6443Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6444
6445 * gdb.base/a1-selftest.exp: Add alpha xfail.
6446
6447Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6448
6449 * gdb.base/watchpoint.c (main): Prompt before calling read().
6450 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6451 Revise accordingly. Remove cruft about sending "123" several
6452 times, until it gets noticed. Clean up the "print buf[0]" stuff
6453 so that it passes or fails, and waits for prompts in the usual way.
6454
6455Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6456
6457 * gdb.base/recurse.exp: Fix comment.
6458
6459 * TODO: Remove item about printing variables in nodebug.exp. Add
6460 item about enabling tests which are only run on some targets.
6461
6462 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6463 fail, make test names unique, use new gdb_test convention
6464 regarding pattern, use gdb_test more, etc.).
6465
6466 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6467 fail, make test names unique, etc.).
6468
6469Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6470
6471 * gdb.base/nodebug.c: Change return type of top and middle to
6472 short.
6473 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6474 are fixed by the recent mdebugread.c changes. Allow `short ()'
6475 as type for top and middle.
6476
6477Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6478
6479 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6480 nearly as I can tell, the whole thing was an accident in Stu's
6481 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6482 to replace a send/expect pair with gdb_test, but ended up only
6483 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6484 of 30 Mar 1995 took care of it, but left this vestigial comment
6485 which I am now nuking.
6486
6487Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6488
6489 * gdb.base/break.exp: Look for different line number for
6490 breakpoint at main depending on usestubs.
6491
6492Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6493
6494 * gdb.base/list.exp: Adjust some alternate expect patterns to
6495 match recent list0.c change. Add alternate expect pattern for
6496 output from `list default lines around main' for optimizing
6497 compilers.
6498
6499Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6500
6501 * lib/gdb.exp: If nosignals is not set, set it to 0.
6502
6503Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6504
6505 * config/slite-gdb.exp: Responds to load symbol table prompt.
6506 * gdb.base/break.exp: Adjust line number, fix rerun.
6507 * gdb.base/langs0.c: Add #ifdef usestubs.
6508
6509Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6510
6511 * gdb.base/list.exp: Adjust line contents after adding new lines in
6512 list0.c. Also fix a syntax error.
6513
6514 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6515 * gdb.base/break.exp: ditto.
6516 * gdb.base/list.exp: ditto.
6517 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6518 * gdb.base/run.c: ditto.
6519 * gdb.base/list0.c: ditto.
6520 * gdb.base/funcargs.c: ditto.
6521
6522Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6523
6524 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6525 $targetname, $serialport and $baud instead of hardwired variables.
6526 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6527 target doesn't support signals.
6528
6529Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6530
6531 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6532
6533Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6534
6535 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6536 Don't rely on the value of an auto variable before it has been
6537 initialized. Use gdb_test more.
6538
6539Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6540
6541 * lib/gdb.exp (default_gdb_version): A version number must start
6542 with a digit, but other than that contains all characters up to
6543 the first whitespace character.
6544
6545Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6546
6547 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6548
6549Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6550
6551 * gdb.c++/*.exp: Warn if executable does not exist. The original
6552 reason for skipping the warning was that configure.in sometimes
6553 intentionally skipped building the executables but the tcl code
6554 had no way of knowing. That (a) was always bogus with respect to
6555 error handling, (b) is no longer true (right now there is no way
6556 to skip C++ tests).
6557
6558 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6559
6560Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6561
6562 * gdb.base/list.exp: Add expect patterns for output from
6563 SunPRO compiled executables.
6564 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6565 types.
6566
6567Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6568
6569 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6570 number (we are already testing that the correct source line text
6571 gets printed).
6572
6573 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6574 that is what is intended, but something needed to be done to get
6575 sunos4 native working again.
6576
6577 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6578
6579 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6580 apparently went with a (very) old xfail.
6581
6582Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6583
6584 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6585 runto_main is a proc in gdb.exp that will do 'step' for target use
6586 stubs.
6587 * gdb.base/exprs.exp: ditto.
6588 * gdb.base/interrupt.exp: ditto.
6589 * gdb.base/opaque.exp: ditto.
6590 * gdb.base/printcmds.exp: ditto.
6591 * gdb.base/ptype.exp: ditto.
6592 * gdb.base/scope.exp: ditto.
6593 * gdb.base/setvar.exp: ditto.
6594 * gdb.base/signals.exp: ditto.
6595 * gdb.base/twice.exp: ditto.
6596 * gdb.c++/classes.exp: ditto.
6597 * gdb.c++/inherit.exp: ditto.
6598 * gdb.c++/templates.exp: ditto.
6599 * gdb.base/break.exp: no run and hit main for stubs. Change line
6600 numbers for breakpoints and info breakpoint.
6601 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6602 breakpoint().
6603 * gdb.base/callfuncs.c: ditto.
6604 * gdb.base/exprs: ditto.
6605 * gdb.base/interrupt.c: ditto.
6606 * gdb.base/opaque0.c: ditto.
6607 * gdb.base/printcmds.c: ditto.
6608 * gdb.base/ptype.c: ditto.
6609 * gdb.base/scope0.c: ditto.
6610 * gdb.base/setvar.c: ditto.
6611 * gdb.base/signals.c: ditto.
6612 * gdb.base/twice.c: ditto.
6613 * gdb.c++/misc.cc: ditto.
6614 * gdb.c++/templates.cc: ditto.
6615
6616Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6617
6618 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6619
6620 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6621 somewhere between `read' and `main.c'. I'm pretty sure the
6622 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6623 and it isn't particularly useful.
6624
6625 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6626
6627Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6628
6629 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6630
6631Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6632
6633 * config/mt-slite: add LIBS and -nostdlib.
6634 * config/slite-gdb.exp: add this new file to support sparclite target.
6635
6636Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6637
6638 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6639
6640 * gdb.base/a2-run.exp: Change argument to istarget from
6641 "*-*-vxworks" to "*-*-vxworks*".
6642 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6643
6644Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6645
6646 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6647 will not runto main but do a 'step' to step out of breakpoint().
6648 * config/mt-slite: add -Dusestubs.
6649
6650Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6651
6652 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6653 instead of just @.
6654
6655 * gdb.base/signals.exp: Add test for "handle all print".
6656 * TODO: Remove "handle all print". Also remove item about
6657 checking copyright date (I don't like the idea of a spurious FAIL
6658 based on when we run the tests).
6659
6660 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6661 for SunOS4 (reason for failure not investigated). Remove
6662 redundant test for $binfile.
6663
6664 * gdb.base/nodebug.c (array_index): Call malloc.
6665
6666 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6667
6668Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6669
6670 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6671 conventions and slightly simplify the matching regexp.
6672
6673Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6674
6675 * gdb.base/break.exp: Update gdb_test invocation to use new
6676 convention.
6677
6678 * lib/gdb.exp: If noargs is not set, set it to 0.
6679
6680 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6681 tests unique.
6682
6683 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6684
6685Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6686
6687 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6688 one argument of type "<non-float parameter>".
6689
6690Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6691
6692 * config/rom68k.exp: New file to support Motorola IDP board.
6693 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6694 * gdb.base/break.c: Change things around so that this program
6695 doesn't depend upon args. This is necessary to make remote
6696 targets work (in general, they can't take args).
6697 * gdb.base/break.exp: Don't try to send args to program. Don't
6698 expect output. Also, replace lots of code with gdb_test.
6699
6700Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6701
6702 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6703 printing of '\'' (which is what the comment says we are testing,
6704 even though we were not), not '''.
6705 (test_integer_literals_rejected): Test that printing ''' is an error.
6706
6707 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6708 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6709 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6710 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6711 Use gdb_test not test_print_accept.
6712 * lib/gdb.exp: Remove test_print_accept.
6713
6714 * gdb.base/signals.exp (signal_tests_1): Make pass message
6715 consistent with fail message.
6716
6717 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6718 unsigned char; the bug (PR 1821) is fixed.
6719
6720 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6721
6722 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6723 successful tests--makes xfailing them work right.
6724
6725Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6726
6727 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6728 only \r\n, not .*. The test can pass .* as the last thing in
6729 $pattern if that is what it wants. In addition to providing this
6730 flexibility, this change should speed up pattern matching in cases
6731 where the pattern already ended with .* (there were a number of
6732 them). This change also helps catch bad patterns--in the old
6733 scheme the typo "char \*" instead of "char \\*" would pass. Now
6734 it is caught.
6735 * Many .exp files: Update callers.
6736
6737 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6738 clearer and does not spuriously match multiple ('s. Likewise for
6739 ) and *.
6740
6741 * gdb.base/nodebug.exp: Test ability to call a function and pass
6742 it a string (even with no debugging info).
6743
6744 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6745 "p '\'", which is the same as "p ''" once tcl gets done with
6746 quoting, to "p '\\'", which I suspect is what is intended (one
6747 backslash gets sent to GDB).
6748
6749 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6750
6751Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6752
6753 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6754 1817) was fixed literally years ago.
6755
6756Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6757
6758 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6759 test, it causes stepping out of call_after_alloca_subr with
6760 optimizing compilers.
6761 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6762 fails.
6763
6764 * gdb.c++/templates.exp: Source templ-info.exp only if
6765 the templates executable exists.
6766
6767 * gdb.c++/misc.cc (class Contains_static_instance,
6768 class Contains_nested_static_instance),
6769 gdb.c++/classes.exp (test_static_members): Test printing of
6770 a class that contains a static instance of the class.
6771
6772Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6773
6774 * gdb.base/langs2.c (cppsub_): Don't prototype.
6775 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6776 only, I believe).
6777
6778Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6779
6780 * lib/gdb.exp (skip_chill_tests): New procedure.
6781
6782 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
6783
6784Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
6785
6786 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
6787 each expect pattern. Cuts runtime from 12 to about 4 seconds.
6788
6789Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6790
6791 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
6792
6793 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
6794 disassemble 8, not 16, instructions for part 4.
6795
6796 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
6797 support the latter anymore.
6798
6799 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
6800 -DNO_PROTOTYPES.
6801 * gdb.base/callfuncs.c: Control use of prototypes based on
6802 NO_PROTOTYPES, not __STDC__.
6803 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
6804 t_float_values2 tests if prototypes in use.
6805
6806 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
6807 t_double_values): When checking differences against DELTA, check
6808 that difference is within the range (-DELTA,DELTA), not just
6809 (-infinity,DELTA).
6810
6811Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
6812
6813 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
6814 'file' command firts, then 'target', then 'load', this is due to gdb
6815 target set up.
6816 * config/mips-gdb.exp: Fix a couple regular exp bugs.
6817
6818Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
6819
6820 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
6821 FP load/store variants.
6822 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
6823
6824Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6825
6826 * gdb.base/term.exp: Do not give a warning if not native, it is
6827 not an abnormal condition.
6828
6829Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
6830
6831 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
6832 t_char_array".
6833
6834Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6835
6836 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
6837 are getting the version number.
6838
6839 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
6840 if not native, it is not an abnormal condition.
6841
6842Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6843
6844 * lib/gdb.exp: Just use "file exists", rather than undocumented
6845 dejagnu procedure "findfile".
6846
6847Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6848
6849 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
6850 (LDFLAGS): Set to -Xlinker -Ur.
6851
6852 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
6853 Removed, these values are set by lib/gdb.exp.
6854
6855 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
6856
6857Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6858
6859 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
6860 of replicating gdb startup code.
6861
6862 * config/mt-vxworks (LDFLAGS): Set to -r.
6863 (CFLAGS_FOR_TARGET): Removed.
6864
6865 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
6866 (gdb) and gdb for vxworks uses (vxgdb).
6867
6868 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
6869 executable is not in the tree and host != target, use sed and
6870 program_transform_name to determine the gdb name used by the
6871 target.
6872
6873 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
6874 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
6875
6876Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6877
6878 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
6879 floats, chars, and shorts where there are ANSI-style function
6880 definitions.
6881
6882 * gdb.base/langs.exp, gdb.base/langs*: New test.
6883 * gdb.base/Makefile.in: Build it.
6884 * TODO: Remove item about checking that C names don't get C++
6885 demangling applied; this test tests it.
6886
6887Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6888
6889 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
6890 went with the const70 xfail. The xfail went away a year ago.
6891
6892 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
6893
6894 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
6895 for hp300.
6896
6897 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
6898
6899 * gdb.base/a1-selftest.exp: Don't run on hp300.
6900
6901Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6902
6903 * Makefile.in (site.exp): Set host_alias and target_alias as well
6904 as host_triplet and target_triplet.
6905
6906Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6907
6908 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
6909
6910 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
6911 places as other ecoff systems).
6912
6913 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
6914 ultrix.
6915
6916Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6917
6918 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
6919 remove them.
6920 * gdb.base/nodebug.exp: Accept "function" in addition to "text
6921 variable and "variable" in addition to "data variable".
6922 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
6923
6924 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
6925 2.
6926 * gdb.base/list1.c (long_line): Add additional statement at start
6927 of function.
6928 * gdb.base/list.exp (test_forward_search): Update line number to
6929 reflect new statement.
6930
6931Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6932
6933 * gdb.base/signals.exp: Reinitialize searched source directories
6934 after gdb_start call.
6935
6936Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
6937
6938 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
6939 * gdb.stabs/Makefile.in: Likewise.
6940
6941 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
6942 change. Instead split the tests into smaller pieces.
6943 * gdb.disasm/hppa.s: Corresponding changes.
6944
6945Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6946
6947 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6948 Quote ^C when passing it to stty. For some shells ^ is a pipe.
6949
6950 * gdb.base/funcargs.exp: Modify many tests so that every test
6951 either passes or fails. Make some test names unique.
6952
6953Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6954
6955 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6956 Call stty to set interrupt character.
6957
6958 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
6959 for HP assembler versus GNU assembler based on actual behavior of
6960 $(CC), rather than assuming that $(AS) is always the GNU assembler.
6961
6962 * TODO: Suggest a few more stepping tests.
6963
6964Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
6965
6966 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
6967 restart GDB for h8300 after a continue.
6968 (return): Add pattern to match a29k-udi behavior.
6969 * gdb.base/nodebug.exp: Remove obsolete comment.
6970 * gdb.base/regs.exp: New file, testing of register displays.
6971 * gdb.base/return.exp: Fix typo in reference to $objdir.
6972 * gdb.base/whatis.exp: Always start with a fresh GDB.
6973
6974Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6975
6976 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
6977 higher, these tests generate a lot of output.
6978
6979Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6980
6981 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
6982 code following the catch silently ignored some errors; without the
6983 catch they should be thrown like any other tcl error. Also, the
6984 catch used "" instead of {} which meant all the callers who wanted
6985 to include one of the characters "[]$ had to quote it an extra time.
6986 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
6987 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
6988 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
6989 Remove extra quoting.
6990
6991Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
6992
6993 * gdb.base/commands.exp: Make test names unique; every test either
6994 passes or fails. Update some comments.
6995
6996 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
6997
6998Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6999
7000 The following fixes a FAIL caused by the fact that the alpha stabs
7001 configuration didn't use the ".if alpha" code in weird.def.
7002 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7003 bit pointer, so the 32 bit version works even on the alpha.
7004 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7005 Remove the stuff which allowed us to have separate versions for
7006 alpha and everything else.
7007
7008 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7009 regexp which "info func operator\[\](" is supposed to match. Fix
7010 string to send to GDB. Note that GDB still doesn't work right. Add a
7011 new test for "info func .perator\[\](" which GDB does handle correctly.
7012
7013 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7014
7015Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7016
7017 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7018 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7019 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7020 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7021 it makes the tests harder to understand and confuses test-o-matic.
7022 The preferred style is that each test provides a PASS or a FAIL,
7023 and has a unique message (e.g. "continue #54" not just "continue")
7024 which is the same for the pass and the fail.
7025 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7026 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7027 to lib/gdb.exp.
7028 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7029 prt_accept which was basically the same thing. Likewise for
7030 test_print_reject and prt_reject.
7031 * lib/gdb.exp (test_print_reject): Add some more error message
7032 patterns to match from the former printcmds.exp (prt_reject).
7033 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7034 One defect of the passcount stuff is that some of it failed to
7035 report XPASS where appropriate.
7036 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7037 stuff before and after arg in expected pattern.
7038 (test_paddr_operator_functions): Re-do test without print_addr_of;
7039 this is the only test which seems to want extra stuff there.
7040
7041Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7042
7043 * gdb.base/nodebug.exp: Update new tests to reflect improved
7044 wording of gdb output.
7045
7046 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7047 and "ptype" work on variables in files compiled without -g.
7048 Replaces commented out "maint print msymbol" tests.
7049
7050Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7051
7052 * gdb.base/setvar.c (dummy): Call malloc.
7053
7054 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7055 losing with the irix4 sed.
7056
7057 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7058 ALRM" on irix4.
7059
7060Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7061
7062 * TODO: Remove items about corefile.exp testing new exec-file and
7063 backtrace; both are now done. Add items about printing enums.
7064
7065Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7066
7067 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7068 "get signal $thissig" test fails.
7069
7070 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7071
7072Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7073
7074 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7075 compiler warning with dec alpha compiler.
7076
7077 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7078 extra \n from gdb_test call (this explains why the prompt test
7079 that I removed yesterday was there).
7080 (user_defined_command_test): Remove extra \n and prompt test.
7081
7082 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7083 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7084 doesn't exist.
7085 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7086 Also remove alpha workaround, which turns out to be because
7087 SIGABRT == SIGLOST.
7088
7089 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7090
7091 * gdb.base/help.exp: Don't test "help show".
7092
7093Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7094
7095 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7096 "set print address" is on.
7097 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7098 pass prompt to gdb_test; gdb_test already looks for the prompt.
7099
7100 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7101
7102 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7103 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7104 was to make sure that gdb can read a core file. But (a) the "read
7105 the corefile" part didn't make it to a1-selftest.exp, we just
7106 delete the corefile after creating it, and (b) we test reading
7107 corefiles in corefile.exp anyway. Also, this test left around a
7108 xgdb process on Solaris.
7109
7110 * gdb.base/corefile.exp: Also test backtrace.
7111
7112Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7113
7114 * gdb.base/commands.exp: Test a simple user defined command with
7115 arguments and if/while statements; verify the full user command is
7116 printed by "show user".
7117
7118 * gdb.base/commands.exp: Test if/while commands as part of a
7119 breakpoint command list; verify they appear in breakpoint
7120 information.
7121
7122Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7123
7124 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7125 than by dividing by zero.
7126
7127Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7128
7129 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7130 performing an inferior call with watchpoints enabled.
7131 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7132 call.
7133
7134Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7135
7136 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7137 of "file" command.
7138
7139 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7140 Add additional pattern for when "int operator int(void);" appears
7141 in a different order.
7142
7143Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7144
7145 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7146
7147 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7148 and "signal" with ".*".
7149
7150Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7151
7152 * TODO: Add note about "handle all nostop".
7153
7154 * gdb.base/{sigall.c, sigall.exp}: New test.
7155 * gdb.base/Makefile.in: Add it.
7156
7157Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7158
7159 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7160 when invoking GDB, suppresses any windowing interface.
7161
7162Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7163
7164 * config/sim-gdb: New file, simulator testing support.
7165
7166Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7167
7168 * gdb.base/interrupt.exp: Test calling func1 twice.
7169
7170Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7171
7172 * gdb.base/list.exp (test_forward_search): Set timeout higher
7173 when we'll be getting lots of output from gdb.
7174
7175 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7176 "init_malloc" to after the expect statement. Run it if that
7177 regexp is taken, but also for two others which happen if source
7178 cannot be found.
7179
7180Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7181
7182 * gdb.base/printcmds.exp: New test, for printing register before
7183 program is running.
7184
7185Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7186
7187 * gdb.base/list.exp: Correct some alternate expect patterns
7188 to reflect changes in list1.c.
7189
7190Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7191
7192 * TODO: Add item regarding large frames.
7193
7194 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7195
7196 * TODO: Remove item about enabling return.exp; it
7197 is enabled. Suggest a few more "return" tests.
7198
7199Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7200
7201 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7202 anonymous unions.
7203
7204Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7205
7206 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7207 and pr-5646.o, so "make" is the same as "make all", not "make
7208 pr-4975.o".
7209
7210Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7211
7212 * gdb.base/list.exp: Adjust expectations to reflect changes in
7213 list1.c.
7214 (test_forward_search): New test proc.
7215 * gdb.base/list1.c (long_line): New function, has long source line.
7216
7217Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7218
7219 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7220 additional line of code that was added.
7221
7222Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7223
7224 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7225 tests so as not to overflow expect's input buffers.
7226 * gdb.disasm/hppa.exp: Corresponding changes.
7227
7228Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7229
7230 Beginnings of template debugging tests.
7231 * gdb.c++/templ-info.cc: New file to test for template
7232 debugging capability of the compiler.
7233 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7234 templ-info.cc.
7235 * gdb.c++/templates.cc: Add explicit template instantiations
7236 to enable compiling with -fno-implicit-templates. Add destructor
7237 and 'value' method to T5 class for template tests.
7238 * gdb.c++/templates.exp: Add testcases for printing of template
7239 types, setting breakpoints on template methods and calling a
beb998c6 7240 template method.
c906108c
SS
7241
7242Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7243
7244 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7245 branch target since some assemblers (gas-2.5) may emit a
7246 relocation for the branch instead of resolving it in the
7247 assembler.
7248
7249Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7250
7251 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7252 through signal handler.
7253
7254Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7255
7256 * configure.in (*-*-netware): Use config/mt-netware.
7257
7258 * config/mt-netware: New file.
7259 * config/mt-i386-netware: Removed, separate configs for different
7260 netware architectures are no longer needed now that we have
7261 --with-headers.
7262
7263Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7264
7265 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7266 by the recent changes to use ANSI C arithmetic conversions.
7267
7268Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7269
7270 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7271 bug involving using inferior_pid to figure out whether to select a
7272 frame.
7273
7274Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7275
7276 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7277 match the current disassembler output.
7278
7279Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7280
7281 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7282 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7283 types, expect "int" as type of integer values (for now).
7284
7285Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7286
7287 * gdb.base/commands.exp: New tests for if/while commands.
7288
7289Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7290
7291 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7292 by .*, since hex values have different syntax in Chill mode.
7293
7294Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7295
7296 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7297 linefeed from expect pattern for repeated types with indices > 9.
7298
7299Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7300
7301 First part of Fortran test suite.
7302 * gdb.fortran: New directory.
7303 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7304
7305Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7306
7307 * gdb.base/default.exp: Update expect pattern for load command
7308 without arguments.
7309
7310Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7311
7312 * configure.in: Change i386 to i[345]86.
7313 * gdb.base/configure.in: Likewise.
7314 * gdb.c++/configure.in: Likewise.
7315 * gdb.chill/configure.in: Likewise.
7316
7317Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7318
7319 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7320 patterns, since that is not a valid context for comments.
7321
7322Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7323
7324 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7325 repeated types and repeated types with indices > 9.
7326
7327Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7328
7329 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7330 2417; old bug has been fixed.
7331
7332Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7333
7334 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7335 send the newline ourselves instead of assuming gdb_test will do
7336 so when passed an empty input string.
7337
7338 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7339 stabs testcode.
7340
7341Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7342
7343 * lib/gdb.exp (gdb_test): Don't send anything if the first
7344 argument is an empty string. This makes cases where we want to
7345 match output that is already in expect's buffers (for example,
7346 matching a breakpoint after gdb_run_cmd has been called) work
7347 reliably.
7348
7349Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7350
7351 * config/netware.exp: New file.
7352
7353Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7354
7355 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7356 the -B and -L prefixes so we can find the debugging stub.
7357
7358 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7359 there and we are using the gcc from the tree.
7360
7361 * gdb.base/types.c: Removed.
7362
7363 * gdb.base/configure.in: Look for makefile fragments in ../config.
7364 Recognize i386-*-netware.
7365 * gdb.c++/configure.in: Likewise.
7366
7367Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7368
7369 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7370 the correct TCL syntax.
7371
7372Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7373
7374 * gdb.base/opaque.exp: use runto instead of messing around with
7375 breakpoints. Simplify by using gdb_test.
7376
7377 * gdb.base/bitfields.exp: restart between tests on netware targets
7378 because breakpoints aren't relocated after target death. Run
7379 processes to completion.
7380
7381 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7382
7383Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7384
7385 * Makefile.in: Remove extra tabs that confuse some versions
7386 of "make". Use the newly built gdb to test with by default,
7387 rather than the first one in the tester's search path.
7388
7389Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7390
7391 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7392
7393 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7394 condition help.
7395
7396Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7397
7398 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7399
7400 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7401 running.
7402 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7403 * gdb.base/funcargs.exp: Likewise.
7404
7405 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7406 * gdb.base/funcargs.exp: Likewise.
7407
7408 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7409 message is "".
7410
7411Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7412
7413 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7414 return,signals,twice}.exp: Handle non-existant binaries
7415 consistantly.
7416
7417 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7418 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7419 might testing a cross development system.
7420
7421Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7422
7423 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7424 runtest script is relative to ${srcdir}, not ${rootdir}.
7425
7426Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7427
7428 * gdb.base/signals.exp: Allow for optionality of breakpoint
7429 address.
7430
7431Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7432
7433 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7434
7435Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7436
7437 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7438 for size_t definition.
7439 * gdb.c++/templates.cc: Likewise
7440
7441 * config/mt-i386-netware: New file.
7442
7443 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7444 defined.
7445
7446 * gdb.base/Makefile.in: Added support for systems that name core
7447 files by appending "core" to the program name.
7448 * gdb.base/a1-selftest.exp: Likewise.
7449
7450Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7451
7452 * gdb.base/return.exp: Add comment and message for `return double'
7453 test failure on Sparc Solaris.
7454
7455Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7456
7457 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7458
7459Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7460
7461 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7462 from optimizing them away.
7463 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7464 patterns to include default constructors and assignment operators,
7465 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7466 character in the output of the virtual base pointer.
7467
7468Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7469
7470 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7471 expression match in print_addr_of to avoid unintented matches.
7472 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7473 versions up to 2.5.8.
7474
7475Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7476
7477 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7478 included file to run under newer versions of expect.
7479 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7480 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7481 Remove xfail for the virtual table of BDDHookV.
7482
7483Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7484
7485 * lib/gdb.exp (string_to_regexp): Set a default result.
7486 (default_gdb_start): Fix misleading message.
7487
7488Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7489
7490 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7491 Remove all CC, etc definitions.
7492 * config/mt-hpux: New file.
7493 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7494 (CFLAGS, LDFLAGS): Define.
7495 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7496
7497 * Makefile.in (site.exp): Don't insert host_os, etc.
7498 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7499 (distclean): Check existence of subdir.
7500 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7501 * gdb.base/Makefile.in: General cleanup and simplification.
7502 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7503 to build executables. Use default rule to build .o files.
7504 (EXPECT, RUNTEST, CC): Fix relative pathname.
7505 (site.exp): Don't insert host_os, etc.
7506 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7507 and/or SIGUSR1 defined.
7508 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7509 * gdb.c++/Makefile.in: General cleanup and simplification.
7510 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7511 (CFLAGS): Remove.
7512 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7513
7514Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7515
7516 * gdb.base/recurse.exp: Misc changes to get tests running again
7517 after Kung's changes to the watchpoint code.
7518 * gdb.base/watchpoint.exp: Likewise.
7519
7520Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7521
7522 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7523
7524Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7525
7526 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7527 * lib/gdb.exp (default_gdb_start): Define.
7528 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7529 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7530 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7531 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7532 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7533 Don't call gdb_target_udi in between tests.
7534
7535Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7536
7537 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7538 (which was basically just a local version of the same thing). In
7539 addition to avoiding duplication, gdb_test_exact is faster.
7540 * lib/gdb.exp (gdb_test_exact): Fix typo.
7541
7542 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7543 don't give an error.
7544
7545 * gdb.base/term.exp: Call delete_breakpoints before starting.
7546
7547 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7548 (t10): Add comment.
7549
7550Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7551
7552 Reorganization of the GDB Test Suite.
7553
7554 * gdb.base: New directory, contains all the basic tests.
7555 * gdb.c++: New directory, tests specific to C++.
7556 * gdb.chill: New directory, tests specific to Chill.
7557 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7558 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7559 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7560 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7561 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7562 t30-31 to chill).
7563 * */gdbme.*: Rename to match appropriate expect scripts.
7564 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7565 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7566 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7567 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7568 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7569 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7570 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7571 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7572 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7573 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7574 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7575 gdb.c++/virtfunc.cc: New names of C++ files.
7576 * gdb.chill/chillvars.ch: New name of Chill file.
7577 * gdb.base/configure.in, gdb.c++/configure.in,
7578 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7579 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7580 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7581 * configure.in (configdirs): Update to reflect directory changes.
7582 (target_abbrev): No longer define for any configuration.
7583 * Makefile.in: Cosmetic improvements to header comments.
7584
7585Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7586
7587 Various changes to gdb.t31:
7588
7589 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7590 * gdbme.ch: Make all key-words and predefineds be upper-case.
7591 * chillvars.exp: Expect key-words and predefinds in upper-case.
7592
7593 * chillvars.exp: Use gdb_test_exact many places.
7594 Change expected output for arrays (which now includes index labels).
7595
7596 * pr-5020.exp, gdme.ch (module PR_5020):
7597 New test, for PR-5020.
7598
7599Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7600
7601 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7602 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7603
7604Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7605
7606 * Makefile.in: Fix bit-rot in definitions of CHILL,
7607 CHILL_FOR_TARGET and Chill_LIB.
7608 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7609 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7610 CHILL, and CHILL_LIB.
7611
7612Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7613
7614 * Revert the previous changes. Please see Rob's directory
7615 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7616
7617Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7618
7619 * Makefile.in, configure.in, config/mips-gdb.exp,
7620 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7621 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7622 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7623 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7624 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7625 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7626 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7627 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7628 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7629 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7630 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7631 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7632 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7633 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7634 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7635 changes from 94Q1.
7636
7637Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7638
7639 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7640 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7641 Rob's new testing fragments.
7642
7643Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7644
7645 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7646 lib/gdb.exp: Replace error proc calls with perror.
7647
7648Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7649
7650 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7651 version also, match on casted version strings, and match on
7652 gdb startup case where the line numbers might be messed up.
7653
7654Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7655
7656 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7657 (CFLAGS): Delete it from here.
7658
7659Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7660
7661 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7662
7663Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7664
7665 * Makefile.in (RUNTEST): Default to just "runtest".
7666
7667Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7668
7669 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7670 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7671 the code has been restructured.
7672
7673Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7674
7675 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7676 \n, not just one of each.
7677
7678 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7679 /bin/cc gives a warning if you do.
7680
7681Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7682
beb998c6 7683 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
7684 __t10ListS_link1ZUiRCUiPT0
7685
7686Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7687
7688 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7689 on local variables in recursive functions.
7690
7691 * gdb.t07/Makefile.in: Build the new test.
7692
7693Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7694
7695 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7696 directly. Instead compare the return values from actual calls.
7697
7698Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7699
7700 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7701
7702Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7703
7704 * From Peter Schauer with minor modifications.
7705 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7706 stops in mid-line in the caller. Add xfail for returning a float
7707 value on X86 targets.
7708
7709Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7710
7711 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7712 to avoid expect lossage.
7713 (fmem_LRbug_tests): Likewise.
7714 * gdb.disasm/hppa.s: Corresponding changes.
7715
7716 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7717 conditions to work with latest dejagnu/expect.
7718
7719 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7720 expected to fail on the PA.
7721 (backtrace in call with trampolines): Explicitly require main
7722 to be frame #1 (no trampolines should show up in backtrace).
7723
7724 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7725 "continue -expect".
7726 * gdb.t06/break.exp: Likewise.
7727 * gdb.t07/watchpoint.exp: Likewise.
7728 * gdb.t13/bitfields.exp: Likewise.
7729 * gdb.t15/{funcargs,return}.exp: Likewise.
7730 * gdb.stabs/weird.exp: Likewise.
7731 * config/{mips,udi}-gdb.exp: Likewise.
7732
7733 * hppa.sed: Enclose comments within a sed command to avoid
7734 losing with the old OSF1 sed.
7735
7736Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7737
7738 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7739 sequent dynix.
7740 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7741 * gdb.t15/funcargs.exp: Conditionally step again to really
7742 finish from marker_call_with_trampolines. Handle the case where
7743 the first step from within call_with_trampolines already steps
7744 us back to main.
7745 * gdb.t15/gdbme.c: Add comment to closing brace of
7746 call_with_trampolines for funcargs.exp.
7747
7748Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7749
beb998c6 7750 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
7751 Fix typo(s).
7752
7753Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7754
7755 * gdb.t07/gdbme.c: More code for watchpoint testing.
7756
7757 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7758 "Hardware watchpoint" throughout file.
7759 (test_watchpoint_triggered_in_syscall): New test.
7760 (test_complex_watchpoint): New test.
7761
7762Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7763
7764 * gdbme.c (call_with_trampolines): New function to try and step
7765 into. Tests trampoline problems on the PA.
7766
7767 * funcargs.exp (localvars_in_indirect_call): No longer expect
7768 stepping into indirect call to fail on PAs.
7769 (test_stepping_over_trampolines): New test.
7770
7771Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7772
7773 * TODO: Add suggestions for static member function tests, and
7774 completion tests.
7775
7776Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7777
7778 * TODO: Add suggestions for "p/a" tests.
7779
7780 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
7781 (default_gdb_exit): Replace all the hair with sending "quit" to
7782 the process with a simple close.
7783
7784Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7785
7786 * TODO: Add suggestions for shared library tests.
7787
7788Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7789
7790 * TODO: Add suggestions for x/s tests.
7791
7792Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7793
7794 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
7795 "enable once", and "enable breakpoints once" with ".*".
7796
7797Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7798
7799 * TODO: Add suggestions about structure passing tests.
7800
7801Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7802
7803 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
7804 the primary1 test, use work around if __GNUC__ < 2.
7805 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
7806 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
7807 Test for bad output rather than waiting for timeout. Issue
7808 second continue only if first continue failed.
7809
7810Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7811
7812 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
7813 operator[] test with gdb_test because the old code didn't seem to
7814 be getting the quoting right with the new dejagnu.
7815
7816Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
7817
7818 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
7819 one from the path.
7820 * Makefile.in: Use a fresh expect if there is one, use runtest
7821 from the src tree if there is one.
beb998c6 7822
c906108c
SS
7823Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7824
7825 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
7826 next over recursive call. Revise the tests from that point on
7827 (which had been skipped) to match GDB's actual (correct) output.
7828
7829 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
7830 with next over a breakpoint whose condition is false.
7831
7832 * gdb.t00/help.exp: Comment out "help set print" tests just like
7833 (and for same reason as) "help set" test.
7834
7835Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7836
7837 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
7838 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
7839
7840Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7841
7842 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
7843 necessary gdb_target_udi.
7844
7845 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
7846
7847 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
7848 1838 and 2417; they are fixed.
7849
7850 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
7851 gdb.t03/ptype.exp (ptype structure, ptype union):
7852 Remove xfails; the test is looser than when the xfails were added.
7853
7854 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
7855 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
7856
7857 * gdb.t01/run.exp: Only run shell test if isnative.
7858
7859 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
7860 since "run" automatically loads if necessary. Call gdb_target_udi
7861 after the "file" since "file" kills any execution target.
7862
7863 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
7864 GDB. GDB doesn't work that way (not anymore at least) on UDI.
7865 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
7866 argument for UDI.
7867
7868Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7869
7870 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
7871
7872 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
7873
7874Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7875
7876 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
7877 properly quoting regexps. This makes the second argument to
7878 demangle a fixed string, which matches the callers, instead of a
7879 shell-style pattern which is what the previous implementation
7880 used. Update some of the callers.
7881
7882Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7883
7884 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
7885 (comib_nullified_tests): Fix typo.
7886 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
7887 strings. No longer expected to fail.
7888
7889 * gdb.disasm/hppa.s (addib_tests): Fix typo.
7890 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
7891 strings. No longer expected to fail.
7892
7893 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
7894 string. No longer expected to fail.
7895
7896Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7897
7898 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
7899 No longer expected to fail.
7900
7901 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
7902 string. No longer expected to fail.
7903
7904Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7905
7906 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
7907 only in the names (I probably got most of them). I was even
7908 generous with some which differed in underscores in names, and
7909 probably missed a few, and I *still* was able to remove almost a
7910 third of the file with almost no impact on testsuite coverage.
7911
7912Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7913
7914 * gdb.t00/default.exp: Match udi_attach error message as well as
7915 the one from child_attach.
7916
7917 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
7918
7919 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
7920
7921 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
7922 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
7923
7924 * Move test with enums and partial symbols back to
7925 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
7926 Reverts the change of 26 May 93. Per today's change to
7927 stabs.texinfo, the behavior that weird.exp was expecting was
7928 unreasonable; what is important is that the compiler+gdb get
7929 things right, which happens with a recent gcc. Also fix the test
7930 to deal with native compilers which put out the stab gdb can't
7931 deal with.
7932
7933Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7934
7935 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
7936 in the names. The main thing these accomplish is to slow things down.
7937 Many more such duplicates surely remain.
7938
7939 * gdb.t00/help.exp: Comment out "help support" test just like
7940 (and for same reason as) "help set" test.
7941
7942Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
7943
7944 * gdb.t06/break.exp: Remove setup_xfails for
7945 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
7946 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
7947 about known bug in gcc to include up through 2.5.8.
7948 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
7949 well as "_vb$".
7950 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
7951 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
7952 with latest gcc and gdb.
7953 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
7954 well as "_vb$".
7955
7956Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7957
7958 * configure.in (hppa*-*-*): Also configure and build stabs-only
7959 tests.
7960
7961Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7962
7963 * gdb.t10/hppa.mt: A makefile fragment for the PA.
7964 * gdb.t10/configure.in (hppa*-*-*): Use it.
7965
7966Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7967
7968 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
7969
7970Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7971
7972 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
7973 versions prior to 1.13.5.
7974
7975Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7976
7977 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
7978 the prompt is at the start of a line.
7979
7980Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7981
7982 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
7983 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
7984 in the copr tests now.
7985 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
7986 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
7987 expected to fail.
7988
7989Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
7990
7991 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
7992 gdb.t31/chillvars.exp, lib/gdb.exp:
7993 Tweak to run under either version of expect.
7994 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
7995 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
7996 * gdb.t11/list.exp: Remove extraneous whitespace.
7997
7998Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7999
8000 * gdb.t16/printcmds.exp (test_print_strings): Accept
8001 "(unsigned char *) " before the string.
8002
8003 * TODO: Add notes about printing of fancy types and GDB expressions.
8004
8005Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8006
8007 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8008 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8009 if doing mips-idt-ecoff.
c906108c
SS
8010
8011Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8012
8013 * Most .exp files: Tweak to run under either version of expect.
8014
8015Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8016
8017 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8018 xfails; I'm not sure why they are failing, but not because of PR 1806.
8019
8020Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8021
8022 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8023 defined in lib/gdb.exp.
8024
8025Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8026
8027 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8028 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8029 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8030 have to be typeless.
8031
8032Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8033
8034 * TODO: Add suggestion for copyright year test.
8035
8036Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8037
8038 * configure.in (*-*-lynxos*): Add stabs tests.
8039
8040Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8041
8042 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8043 so insert a tab before any assembler directive in column zero.
8044
8045 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8046 stores.
8047 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8048 stores.
8049 (fpu_short_memory_tests): Likewise.
8050
8051Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8052
8053 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8054 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8055 .stabs directives in comments.
8056
8057Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8058
8059 * TODO: New file, describing tests we could write.
8060 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8061
8062Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8063
8064 * gdb.t06/signals.exp: Add kludge to force re-sync.
8065
8066 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8067 to xgdb instead of gdb, get out of gdb.
8068
8069Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8070
8071 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8072 for info.
8073
8074Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8075
8076 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8077 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8078 * gdb.stabs/hppa.sed: New sed script for the PA.
8079
8080Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8081
8082 * gdb.stabs: Re-write weird.def and configuration to use sed
8083 instead of cpp. sed is portable and POSIX; cpp is neither.
8084
8085Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8086
8087 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8088
8089Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8090
8091 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8092
8093Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8094
8095 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8096 "_vb$".
8097 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8098 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8099
8100Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8101
8102 * lib/gdb.exp: Comment out code which depends on non-existent
8103 `transform' procedure.
8104
8105Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8106
8107 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8108 * lib/gdb.exp: Transform tool name.
8109 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8110 1.1's new error handling system.
8111
8112Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8113
8114 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8115
8116Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8117
8118 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8119 They made pattern matching so slow that timeouts happened on
8120 heavily loaded systems. Now any output from "show print" which
8121 gets us back to the GDB prompt is a PASS.
8122
8123Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8124
8125 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8126
8127Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8128
8129 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8130
8131 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8132 It is not from PR 3220.
8133
8134Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8135
8136 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8137 just started failing because they depended on the order the
8138 subcommands are presented, or exact docstring text. This kind of
8139 test is a pain and has minimal benefit.
8140
8141Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8142
8143 * gdb.t09/corefile.exp: At end of test, use "core" command with
8144 no arguments.
8145
8146Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8147
8148 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8149 17}/Makefile.in: Make it possible to run the testsuite with Sun
8150 make and CC = cross gcc by adding explicit build rules for .o
8151 files.
8152
8153Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8154
8155 * gdb.t15/funcargs.exp: Don't put comments on same line as
8156 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8157
c906108c
SS
8158Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8159
8160 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8161
8162Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8163
8164 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8165 * gdb.t20/inherit.exp: remove three dumplicate entries.
8166
8167Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8168
8169 * gdb.t06/break.exp: For "next over recursive call", fail on any
8170 incorrect output, not just on "factorial (value=2)".
8171
8172Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8173
8174 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8175 working now. Add an xfail if accesing a bss variable causes
8176 a memory error if the target is not yet run.
8177
8178Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8179
8180 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8181 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8182 name of __st* demangling (2 strings). Did Kung really get the
8183 more than 95 others right without testing them?
8184
8185Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8186
8187 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8188
8189Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8190
8191 * configure.in (configdirs): Add gdb.disasm
8192 * gdb.disasm: New directory for GDB disassembler tests.
8193 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8194
8195Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8196
8197 * gdb.t00/help.exp: Don't test "help set".
8198
8199 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8200 from within expect statements. None of these happen anymore and
8201 they cause regressions to be silently unnoticed.
8202
8203 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8204 messages) about known failures with gcc cygnus-2.4.5-930417.
8205
8206 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8207 comp-info.exp so it gets built if it doesn't exist.
8208
8209 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8210 it is no longer used.
8211 * gdb.t13/comp-info.c: Removed.
8212
8213Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8214
8215 * gdb.t06/signals.exp: Add xfail for sun3.
8216
8217Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8218
8219 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8220 relevant because ^C doesn't get sent but failure can be reproduced
8221 interactively).
8222
8223Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8224
8225 * gdb.stabs/alpha.mt: New configuration file for alpha.
8226 * gdb.stabs/configure.in: Use it.
8227 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8228 sharing with alpha.mt, redefine long to word via preprocessor.
8229 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8230 for alpha.
8231 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8232 native cc.
8233 * gdb.t00/teststrategy.exp: Change expect string so that we
8234 consume the `(xgdb)' from the command echo and from the gdb prompt.
8235 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8236 gdb currently compares all values as long, so this failure probably
8237 applies to any configuration where LONGEST is bigger than a target int.
8238 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8239 with gcc.
8240 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8241 to handle opaque pointers, gcc is.
8242 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8243 as first argument. Include <sys/types.h> and change all operator
8244 new definitions to use size_t.
8245 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8246 now that we use size_t.
8247
8248Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8249
8250 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8251 a long or float array cast all array members to the same type.
8252 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8253 with 64 bit longs.
8254 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8255 on alpha.
8256 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8257
8258Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8259
8260 * gdb.t24 (demangle.exp): Constructors of templates have names like
8261 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8262 section 14.6 of the ARM.
8263
8264 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8265 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8266 accomplish little and slow down the testsuite.
8267
8268 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8269 Accept spaces various places.
8270
8271Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8272
8273 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8274 with watchpoint enabled.
8275
8276 * Makefile.in: Remove definition of CC and remove the second
8277 definition of CXX (the "CXX = gcc" one remains). These definitions
8278 were causing backquotes to be expanded within backquotes, which
8279 doesn't work.
8280
8281Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8282
8283 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8284
8285Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8286
8287 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8288 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8289 by mips cc and contains no stabs entries.
8290
8291Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8292
8293 * config/vx-gdb.exp: Use fake device to load files rather than
8294 NFS.
8295 * lib/gdb.exp: New proc to do "file" command.
8296 * config/unix-gdb.exp: Use new "file" proc.
8297
8298Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8299
8300 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8301 Rework board rebooting slightly.
8302 (gdb_exit): Don't exit from the remote shell; there isn't one.
8303 * gdb.stabs/weird.exp: If a program is being debugged already,
8304 kill it.
8305 * gdb.t04/setvar.exp: Stop and restart gdb.
8306 * gdb.t05/expr.exp: Likewise.
8307 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8308 restart gdb and reload the program.
8309 * gdb.t08/opaque.exp: Likewise.
8310 * gdb.t12/scope.exp: Likewise.
8311 * gdb.t13/bitfields.exp: Likewise.
8312 * gdb.t15/funcargs.exp: Likewise.
8313 * gdb.t20/classes.exp: Likewise.
8314 * gdb.t03/ptype.exp: Increase timeout.
8315 * gdb.t16/printcmds.exp (test_print_string_constants,
8316 test_print_array_constants): Likewise.
8317 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8318 * gdb.t20/classes.exp (do_tests): Likewise.
8319 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8320
8321Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8322
8323 * gdb.stabs: Renamed *wierd* to *weird*.
8324
8325Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8326
8327 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8328 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8329
8330Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8331
8332 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8333 (do_tests): Remove xfail for whatis on one_var and two_var.
8334
8335Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8336
8337 * Makefile.in: Made cross building work better by adding
8338 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8339
8340Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8341
8342 * gdb.t15/{return.c,return.exp,Makefile.in}:
8343 New test, currently commented out.
8344
8345Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8346
8347 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8348 still running and removes the leftover named socket so GDb can do
8349 clean restarts.
8350
8351Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8352
8353 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8354 console, not GDB.
8355 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8356 cross testing works better with "make check"
8357 * config/unix-gdb: Use default procedures for exit and version.
8358 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8359 with the newest VxWorks.
8360
8361Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8362
8363 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8364 old form.
8365
8366 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8367 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8368
8369 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8370
8371 * config/unix-gdb.exp: Remove this version of gdb_exit
8372 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8373 Rob says he'll look at it when he gets back to testing boards.
8374
8375Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8376
8377 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8378 an expected fail for certain ptype commands.
8379
8380 * gdb.t20/classes.exp: Update expected results of "ptype class
8381 Base1" to account for the constructor that now appears in the type.
8382
8383Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8384
8385 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8386 disappeared from list.
8387 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8388 "alldone" proc with call to cleanup and exit.
8389 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8390 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8391 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8392 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8393 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8394 "alldone" proc with simple returns that suppress remaining
8395 tests. The alldone proc went away many months ago.
8396
8397Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8398
8399 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8400
8401 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8402
8403Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8404
8405 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8406 as vax gdb will display them.
8407
8408Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8409
8410 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8411 optimizers.
8412
8413 * scope.exp: Change "bad value for localval" messages so each one
8414 is unique.
8415
8416 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8417 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8418
8419 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8420
8421Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8422
8423 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8424 doesn't exist (due to optimization).
8425
8426Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8427
8428 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8429 contains \r because the filename is long.
8430
8431 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8432 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8433
8434Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8435
8436 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8437 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8438 Ultrix.
8439 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8440 int tests.
8441 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8442
8443Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8444
8445 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8446
8447 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8448 to match does not match the passing case but still matches the
c906108c
SS
8449 failing case.
8450
8451Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8452
8453 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8454
8455Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8456
8457 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8458 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8459 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8460 Remove various versions of gdb_exit.
8461 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8462 gdb_exit.
8463 * config/unix-gdb.exp: gdb_exit remains here, and should override
8464 the generic version, since it's doing a lot of wierd stuff that
8465 the other versions aren't. FIXME, fold it in, or abandon this
8466 version.
8467
8468Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8469
8470 * gdb.t24/demangle.exp: Add tests for PR 3220.
8471
8472Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8473
8474 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8475
8476Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8477
8478 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8479 "i386-*-*". Works for i486 as well.
8480
8481 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8482 bug, and expand domain of xfail to all SVR4 systems, since the
8483 actual problem is likely to be in generic SVR4 /proc support.
8484
8485Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8486
8487 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8488
8489Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8490
8491 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8492 xfails for other systems. Match a missing 'Continuing.' as an
8493 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8494
8495 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8496 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8497 Only issue warning for missing executables if -all option is used.
8498
8499 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8500 file if -all option is used. It's like an unpredictable XFAIL.
8501
8502Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8503
8504 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8505 for dynamically linked binaries.
8506
8507 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8508
8509Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8510
8511 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8512 to state that this is a known bug in old versions of g++.
8513
8514Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8515
8516 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8517 while waiting for `Continuing'.
8518
8519Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8520
8521 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8522 in text, data, and bss.
8523 * gdb.t10/nodebug.c: Add local and global test variables for
8524 initialized and uninitialized data.
8525
8526Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8527
8528 * config/unix-gdb.exp (gdb_exit): Add "wait".
8529
8530Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8531
8532 * gdb.t06/signals.exp: xfail the continue from the handler for all
8533 targets.
8534
8535 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8536 function with watchpoints enabled, the i386 call dummy starts with
8537 a call.
8538
8539 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8540 386 bsd names its corefiles.
8541
8542Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8543
8544 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8545 compilers don't grok it.
8546 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8547 with small octal ints rather than character constants, which
8548 are signed and might not fit if first promoted to int.
8549
8550Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8551
8552 * gdb.t09/Makefile.in (clean): Remove corefile.
8553
8554Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8555
8556 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8557
8558Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8559 and Jim Kingdon (kingdon@cygnus.com)
8560
8561 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8562 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8563 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8564
8565Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8566
8567 * gdb.t17/interrupt.exp: Add xfail for hppa.
8568
8569Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8570
8571 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8572 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8573 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8574 to determine signed-ness of bitfields and use the result to setup
8575 the xfail.
8576 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8577 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8578 call line is reached if necessary.
8579
8580Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8581
8582 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8583
8584Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8585
8586 * gdb.t06/break.exp: Also test `clear' command.
8587
8588Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8589
8590 * gdb.t00/teststrategy.exp: Remove extra quote.
8591
8592 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8593 watchpoint enabled to be for all non-68k machines.
8594
8595 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8596
8597Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8598
8599 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8600 targets use aout.mt instead of ecoff.mt as gas understands
8601 standard aout format.
8602
8603Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8604
8605 * lib/gdb.exp (runto): Don't insist that function we are running to
8606 was compiled with -g.
8607
8608 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8609
8610 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8611 to get back into the read system call.
8612 Accept leading newline in case where we woke it up.
8613
8614Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8615
8616 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8617 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8618 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8619 enable ecoff configuration.
8620
8621Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8622
8623 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8624
8625Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8626
8627 * gdb.t16/printcmds.exp: Add another printf test.
8628
8629Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8630
8631 * configure.in: If configured -with-stabs on any target, add
8632 stabsdirs to configdirs.
8633
8634Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8635
8636 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8637 fun" so pattern does not match the command itself.
8638
8639Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8640
8641 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8642
8643Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8644
8645 * gdb.t17/interrupt.exp: Test for more things.
8646
8647Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8648
8649 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8650 compiler arranges the code and line numbers.
8651
8652 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8653
8654Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8655
8656 * gdb.t00/help.exp: Increase expect input buffer size.
8657
8658Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8659
8660 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8661
8662 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8663
8664 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8665
8666 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8667 [0-9]*, not just [0-9].
8668
8669Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8670
8671 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8672
8673 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8674
8675Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8676
8677 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8678
8679Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8680
8681 * gdb.t06/signals.c: Add xfails for sun3.
8682
8683 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8684
8685 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8686 test_stepping tests.
8687
8688Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8689
8690 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8691
8692 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8693
8694 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8695 rather than actually putting it through cpp twice.
8696
8697 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8698
8699Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8700
8701 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8702 no longer needed.
8703
8704Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8705
8706 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8707
8708 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8709 C++ features prints as "struct", make it a pass, not an xfail.
8710
8711Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8712
8713 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8714 Don't require VA to print as "class" rather than "struct".
8715
8716Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8717
8718 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8719
8720Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8721
8722 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8723
8724Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8725
8726 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8727 order.
8728
8729Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8730
8731 * gdb.t16/printcmds.exp: Add printf tests.
8732
8733 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8734
8735 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8736
8737Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8738
8739 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8740 pass counts, to counteract any existing or future setup_xfails.
8741
8742Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8743
8744 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8745 {BEGIN,END}_COMMON for common block instead of STAB.
8746 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8747
8748 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8749 intp_var should be N_GSYM not N_LSYM.
8750 wierd-aout.S: Use a label for the value of the N_SO.
8751 wierd.def: Remove all backslashes.
8752 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8753
8754Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8755
8756 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8757 get the expected next to inheritance3.
8758
8759Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8760
8761 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8762 now that gcc-2.4 gets it right.
8763
8764Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8765
8766 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8767
8768 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8769 generating comp-info.exp which works for cross-compilation.
8770
8771Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8772
8773 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8774 "*-*-sysv4.*".
8775
8776Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8777
8778 * gdb.t01/run.exp: Start with a fresh gdb.
8779 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8780 SVR4.x.
8781
8782Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
8783
8784 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
8785 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
8786 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
8787 Makefile.in (distclean, realclean): Remove gdbme.c from list of
8788 things to remove.
8789
8790Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
8791
8792 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
8793 test cases from bug reports.
8794
8795Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
8796
8797 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
8798 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
8799 avoid spurious xfails.
8800 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
8801 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
8802 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
8803
8804Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
8805
8806 * gdb.t00/teststrategy.exp: Rework to provide more useful
8807 description of each test, fix problem with systems that define
8808 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
8809 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
8810 results for "next over recursive call" so timeouts aren't taken
8811 by error.
8812
8813Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
8814
8815 * gdb.t12/scope.exp: Test printing of variables before run.
8816
8817 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
8818 printed in wrong order due to sorting.
8819
8820Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
8821
8822 * gdb.t00/teststrategy.exp: Fix expected results for printing
8823 user entered string constant. Is array of char, prints with no
8824 address.
8825
8826 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
8827 commands.
8828 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
8829 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
8830 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
8831 of struct of char arrays.
8832 * gdb.t00/radix.exp: New tests for radix commands.
8833
8834Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
8835
8836 * gdb.t16/printcmd.exp: Print a variable before running program
8837 (with xfail for AIX).
8838
8839Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
8840
8841 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
8842
8843 * gdb.t16/printcmd.exp: Don't print variables before running program.
8844
8845 * gdb.t06/break.exp: Don't require envp argument to main.
8846
8847 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
8848
8849 * gdb.t02/whatis.exp, gdb.t11/list.exp:
8850 Add xfails for rs6000.
8851
8852 * gdb.t02/whatis.exp: Change other tests not to re-test something
8853 we already tested.
8854
8855 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
8856 each type used has a variable of that type.
8857
8858Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
8859
8860 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
8861
8862Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8863
8864 * configure.in: change srctrigger to be a file, not a directory
8865
8866Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
8867
8868 * configure.in (mips-idt-ecoff*): Added trailing '*'.
8869
8870 * gdb.t11/list.exp: Fixed a couple of typos.
8871
8872Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
8873
8874 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
8875 is fixed and PR is closed.
8876 * gdb.t16 (gdbme.c): Add simple test string variable.
8877 * gdb.t16 (printcmds.exp): Add tests with simple test string
8878 variable, primarily for boundaries on "set print elements".
8879
8880Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
8881
8882 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
8883 Make leading 0's optional and don't expect a tab in the middle
8884 of the number.
8885
8886 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
8887
8888 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
8889 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
8890 don't end command passed to gdb_test with newline.
8891
8892 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
8893 signed keyword away, don't expect signed bitfields to be signed.
8894
8895 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
8896 printing with only as many 1's as are in the field as well as printing
8897 with 32 1's (see comment).
8898
8899Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
8900
8901 * gdb.t00/default.exp: Start with a fresh gdb.
8902 * configure.in (configdirs): Remove gdb.t31 until the chill
8903 compiler works again. It no longer is able to find chillrt0
8904 since it isn't in libchill.a anymore.
8905 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
8906 wierd.o, make more modular.
8907 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
8908 spurious newlines that caused problems.
8909
8910Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8911
8912 * Move test with enums and partial symbols from gdb.t03/ptype.exp
8913 to gdb.stabs/wierd.exp since GCC has worked around the bug.
8914 gdb.stabs/wierd.{exp,def}: Many new tests.
8915
8916 * gdb.t00/default.exp: update info line for new message.
8917
8918 * gdb.t02/{whatis.exp,gdbme.c}:
8919 Test that "char *" doesn't print as "caddr_t".
8920
8921Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8922
8923 * gdb.t00/help.exp: Use .* in place of some help messages which
8924 just changed.
8925 gdb.t00/default.exp: Update "info frame" test for new message.
8926 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
8927 Remove some xfails
8928
8929Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8930
8931 * gdb.t03/{gdbme.c,ptype.exp}:
8932 Add tests for typedef'd struct and union without tags.
8933 Also check "whatis" on a variable of a typedef'd enum without a tag.
8934
8935 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
8936 PRMS 1823; the bug still exists but isn't reproduced by this test
8937 anymore), and remove rs6000 XFAIL (the bug is fixed).
8938
8939 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
8940 duplicated from whatis.exp. For those that are left, accept
8941 "long", "long int", or "int" for long variables (whatis.exp already
8942 has an XFAIL for "int", so no need to fail it here).
8943
8944 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
8945 Deal with GCC's names for types now that GDB uses the compiler's names.
8946
8947 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
8948 setup_xfail's for sunos4. If we #defined the signed keyword away,
8949 don't expect GDB to know that char it is signed.
8950
8951 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
8952
8953Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
8954
8955 * configure.in (configdirs): Add gdb.t24 for C++ tests that
8956 should work on any system, regardless of debugging format.
8957 * gdb.t21/demangle.exp: Move to gdb.t24.
8958 * gdb.t24/demangle.exp: Move from gdb.t21.
8959 * gdb.t24/{Makefile.in, configure.in}: New files.
8960
8961Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8962
8963 * configure.in: Do gdb.stabs and C++ tests only for stabs.
8964 * gdb.stabs: New directory.
8965
8966Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8967
8968 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
8969 not just "Quit anyway?".
8970
8971Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
8972
8973 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
8974 that all setup_xfails are immediately followed by clear_xfails.
8975
8976Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
8977
8978 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
8979 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
8980 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
8981 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
8982 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
8983 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8984 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8985 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
8986 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
8987 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
8988 gdb.t31/chillvars.exp, lib/gdb.exp:
8989 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
8990 bug-gdb@prep.ai.mit.edu.
8991
8992Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
8993
8994 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
8995 with 0.0, not integer 0.
8996
8997Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
8998
8999 * gdb.t06/break.exp: Update for "Kill the program" message change.
9000
9001Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9002
9003 * Makefile.in (GDBFLAGS): Set to -nx.
9004 * Makefile.in (site.exp): Use GDBFLAGS.
9005
9006Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9007
9008 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9009 Makefiles.
9010 (check): depend on just-check.
9011 (just-check): added so that tests can be run without a noop
9012 build pass.
9013
9014Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9015
9016 Switch to using configure's configdirs.
9017 * Makefile.in (Makefile): add configure.in dependency.
9018 (SUBDIRS): removed redundant assignment.
9019 * configure.in: switch subdirs assignment to configdirs.
9020 * gdb.t*/configure.in: new files.
9021
9022Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9023
9024 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9025 works.
9026
9027Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9028
9029 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9030 in explicit rules. Apparently this is not supported by some makes.
9031
9032Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9033
9034 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9035
9036Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9037
9038 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9039 disappeared.
9040
9041Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9042
9043 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9044
9045Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9046
9047 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9048 watchpoint problem that is now fixed.
9049 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9050 uninitialized convenience variables.
9051 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9052 structures.
9053
9054Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9055
9056 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9057 which causes expect to get out of sync with gdb on long output
9058 from help set.
9059 * gdb.t09/corefile.exp: Make expected pattern for core file
9060 failing signal and frame output format less sun specific.
9061
9062Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9063
9064 * gdb.t31/chillvars.exp: Add and remove initial dummy
9065 breakpoint, so that symbol table is forced in.
9066 (Needed at least on Sunos4, though it seems not SVR4.)
9067 * gdb.t31/chillvars.exp: Update for changed output format.
9068
9069Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9070
9071 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9072
9073Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9074
9075 * Makefile.in: Added --srcdir when invoking runtest, removed the
9076 need for a local config file. (optional now)
9077
9078Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9079
9080 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9081 failure count used to force early termination. Add some more
9082 expected failures for gnu style demangling.
9083
9084Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9085
9086 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9087 pmi variable from gdb.t20/gdbme to get optimized away.
9088 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9089 Check for written corefile upon timeout _and_ eof.
9090
9091Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9092
9093 * config/unix-gdb.exp: Add missing return 0.
9094
9095Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9096
9097 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9098 test termination.
9099
9100Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9101
9102 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9103 disappeared.
9104
9105Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9106
9107 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9108 time as i860 support works.
9109
beb998c6 9110 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9111 "backtrace 100\r" rather than just "backtrace\r", to match last
9112 change.
9113
9114Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9115
9116 * config/udi-gdb.exp (gdb_exit): Remove close command.
9117 (gdb_target_udi): New procedure to set the UDI target.
9118 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9119 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9120 Added waits for prompts after several question responses. Added
9121 some more responses used by a29k-amd-udi-gdb.
9122 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9123 pass different arguments, restart UDI connection after program
9124 completion.
9125 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9126 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9127 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9128 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9129 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9130 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9131 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9132 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9133 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9134 after program completion.
9135 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9136 compiled with a SELECT_VECS setting.
9137 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9138 infinite recursion.
9139
9140 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9141 Added checks for COFF results, and made them expected failures for
9142 all targets. It would be better to make them expected failures
9143 for COFF targets only.
9144
9145Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9146
9147 * Makefile.in: add null dvi target, don't bother to recurse
9148 through test directories for info and install-info; rename
9149 $(datadir) to be dejagnu instead of deja-gnu
9150
9151Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9152
9153 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9154 compiler to coredump.
9155 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9156 code.
9157
9158Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9159
9160 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9161 coredump.
9162 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9163 code.
9164
9165Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9166
9167 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9168 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9169 which in a shell. Deletes xgdb when done.
9170 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9171 Tests the return from the "set height" or "set width" commands.
9172 Added a few return codes where needed.
9173
9174Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9175
9176 * Makefile.in (SUBDIRS): Add gdb.t17.
9177 * configure.in (subdirs): Add gdb.t17.
9178 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9179 files to test gdb's calling of functions in the inferior with
9180 the correct arguments and gdb's ability to retrieve any
9181 result returned.
9182
9183Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9184
9185 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9186 may be called after gdb goes away. Previous versions of expect
9187 needed these to avoid file descriptor leaks, but they cause
9188 errors with the current revision of expect.
9189 * gdb.t00/gdbvars.exp: Use -re on expected output after
9190 setting sevenbit-strings.
9191 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9192 to set sevenbit-strings consistent across tests.
9193 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9194 set sevenbit-strings consistent across tests.
9195
9196Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9197
9198 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9199 expected output to match current "expect" expectations.
9200
9201Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9202
9203 * gdb.t00/default.exp: Change expected output for default "source"
9204 command, to match new gdb behavior which requires a filename to
9205 source.
9206
9207Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9208
9209 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9210 expected fail for i486-*-* that misses the marker2 function.
9211 * gdb.t10/crossload.exp (bfddefault): Allow successful
9212 recognition of a format to pass even if no symbols are found.
9213 Explicitly catch failures where the format is not recognized
9214 or is ambiguous, and add the reason to the fail message.
9215 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9216 the cause is and invalid target and add reason to failure message.
9217 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9218 elf32-i386, elf32-sparc, and elf32-i860.
9219 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9220 Set up expected failure for 'filename'::variable scope resolution,
9221 which is now apparently broken on all targets.
9222 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9223 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9224 gdb.t23/templates.exp: Change failure for missing binfile into
9225 just a warning.
9226 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9227 references.
9228
9229Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9230
9231 * gdb.t00/default.exp: Add expected output for default "source"
9232 command, to match new gdb behavior.
9233 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9234
9235Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9236
9237 * config/*-gdb.exp: returns an error, rather than exiting on
9238 internal errors.
9239
9240Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9241
9242 * gdb.t03/gdbme.c: Add pointer to struct variable.
9243 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9244 referencing struct members.
9245
9246Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9247
9248 * configure.in (mips-idt-ecoff): New target.
9249 * config/mips-gdb.exp: New file for remote board using MIPS remote
9250 debugging protocol.
9251
9252 * Redid configuration scheme. Removed gdb.t*/configure.in.
9253 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9254 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9255 distclean targets. Built executables via .o files. Adjusted
9256 tests to account for source files in $(srcdir) rather than
9257 $(objdir).
9258 * lib/gdb.exp (runto): Don't expect () after the function name,
9259 because it may have arguments.
9260
9261Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9262
9263 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9264 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9265 expected failures for mips-idt-* and mips-sgi-*.
9266 * gdb.t00/default.exp (attach): Kill process if requested.
9267 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9268 that does not read core files.
9269 * gdb.t01/run.exp: Removed checks for exit status code.
9270 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9271 it is linked in.
9272 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9273 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9274 appropriate, rather than doing it by hand.
9275 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9276 execution.
9277 * gdb.t10/crossload.exp: Kill existing program if needed.
9278 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9279 appropriate, rather than doing it by hand. Always increase
9280 timeout for this test, not just for VxWorks.
9281
9282Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9283
9284 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9285 of Chill STRUCT types and STRUCT values.
9286 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9287 than "char".
9288 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9289 struct2): New struct definitions and initializations to test
c906108c
SS
9290 simple Chill STRUCT types.
9291
9292Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9293
9294 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9295 the null byte at the end of strings.
9296 * gdb.t00/default.exp: Make show version insensitive to copyright
9297 date.
9298 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9299 to avoid dependencies on target char signedness.
9300 * gdb.t16/printcmds.exp: Update expected results for explicitly
9301 unsigned char.
9302 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9303 now work.
9304 * gdb.t21/demangle.exp: Add many more patterns for template
9305 demangling, most of them being expected failures.
9306 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9307 string we are matching for, to match on the whole string.
9308 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9309 and fix a whole bunch that had incorrect expected output but were
9310 passing anyway because of the bug in "proc demangle".
9311 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9312 type.
9313 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9314
9315Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9316
9317 * gdb/testsuite: made modifications to testcases, etc., to allow
9318 them to work properly given the reorganization of deja-gnu and the
9319 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9320
9321Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9322
9323 * gdb/testsuite: Initial creation of gdb/testsuite.
9324 Migrated dejagnu testcases and support files for testing nm to
9325 gdb/testsuite from deja-gnu. These files were moved "as is"
9326 with no modifications. This migration is part of a major overhaul
9327 of dejagnu. The modifications to these testcases, etc., which
9328 will allow them to work with the new version of dejagnu will be
9329 made in a future update.
9330\f
9331Local Variables:
9332mode: indented-text
9333left-margin: 8
9334fill-column: 74
9335version-control: never
9336End:
This page took 0.695014 seconds and 4 git commands to generate.