* Makefile.in: Regenerate.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f0708dbb
JB
12002-12-21 Jim Blandy <jimb@redhat.com>
2
4c2acfea
JB
3 * gdb.c++/psmang.exp: Doc fix.
4
f0708dbb
JB
5 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
6 test.
7
9579e000
DC
82002-12-20 David Carlton <carlton@math.stanford.edu>
9
10 * gdb.c++/annota2.exp: KFAIL annotate-quit.
11
d1810171
MC
122002-12-18 Michael Chastain <mec@shout.net>
13
14 * gdb.c++/annota2.exp: Add copyright year 2002.
15
76565097
DC
162002-12-17 David Carlton <carlton@math.stanford.edu>
17
18 * gdb.c++/try_catch.cc: Add marker comments.
19 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
20 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
21 * gdb.c++/m-static.cc: Ditto.
22 * gdb.c++/m-static1.cc: Ditto.
23 * gdb.c++/try_catch.cc: Ditto.
24
da81390b
JJ
252002-12-16 Jeff Johnston <jjohnstn@redhat.com>
26
27 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
28 to see whether we are using the new -environment-directory
29 command which resets via -r or the old version of the command
30 which may prompt the user. Part of fix for gdb/741.
31
b304d130
AC
322002-12-13 Andrew Cagney <ac131313@redhat.com>
33
34 * gdb.fortran/types.exp: Update obsolete comment.
35 * gdb.fortran/exprs.exp: Ditto.
36 * lib/gdb.exp: Delete obsolete code.
37 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
38 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
39 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
40 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
41 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
42 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
43 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
44 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
45 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
46 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
47 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
48 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
49 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
50 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
51 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
52 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
53 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
54 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
55 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
56 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
57 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
58 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
59 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
60 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
61 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
62 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
63 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
64 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
65 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
66 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
67 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
68 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
69 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
70 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
71 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
72 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
73 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
74
a23b6e6a
DC
752002-12-11 David Carlton <carlton@math.stanford.edu>
76
77 * gdb.c++/m-data.exp: Add test for members that shadow global
78 variables: see PR gdb/804.
79 * gdb.c++/m-data.cc: Ditto.
80
6604731b
DJ
812002-12-10 Daniel Jacobowitz <drow@mvista.com>
82
83 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
84
de46ecd7
DC
852002-12-06 David Carlton <carlton@math.stanford.edu>
86
87 * gdb.base/store.c: Don't declare functions static.
88
27e829d0
AC
892002-12-04 Andrew Cagney <ac131313@redhat.com>
90
91 * gdb.base/store.exp, gdb.base/store.c: New files.
92
92806416
DJ
932002-12-03 Daniel Jacobowitz <drow@mvista.com>
94
95 * gdb.base/selftest.exp: Update for current gdb.
96
3bcbaac5
DJ
972002-12-03 Daniel Jacobowitz <drow@mvista.com>
98
99 * gdb.base/maint.exp: Only dump symbols from one source file
100 or objfile.
101
f4f00b1f
DJ
1022002-12-03 Daniel Jacobowitz <drow@mvista.com>
103
104 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
105 function call.
106
f1c8a949
JB
1072002-11-25 Jim Blandy <jimb@redhat.com>
108
109 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
110 function appearing in error message.
111
9e297a97
DJ
1122002-11-21 Daniel Jacobowitz <drow@mvista.com>
113
114 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
115
1f312e79
JJ
1162002-11-08 Jeff Johnston <jjohnstn@redhat.com>
117
118 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
119 for mi1 and current mi is in correct format. New mi startup message
120 should be in mi console format. This is part of fix for PR gdb/604.
121
83c31e7d
FN
1222002-09-18 Fernando Nasser <fnasser@redhat.com>
123
124 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
125 which explicitly prints the zero offset as "+0".
126
322b3f65
DJ
1272002-10-22 Daniel Jacobowitz <drow@mvista.com>
128
129 * gdb.threads/schedlock.c (args): Make unsigned.
130
1312002-10-21 Daniel Jacobowitz <drow@mvista.com>
132
133 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
134 numbers. Allow "foo2|selected stack frame".
135 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
136 * gdb.asm/asmsrc2.s: Likewise.
137 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
138 comments.
139 * gdb.asm/mips.inc: New file.
140
5e2fe5b8
AF
1412002-10-18 Adam Fedor <fedor@gnu.org>
142
143 * gdb.base/default.exp: Update expected output to include 'ObjC'.
144 * gdb.base/help.exp: Likewise.
145
abe1a5d0
KB
1462002-10-17 Kevin Buettner <kevinb@redhat.com>
147
148 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
149 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
150
10abb1d4
JB
1512002-10-02 Jim Blandy <jimb@redhat.com>
152
153 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
154
1f609b42
AC
1552002-10-01 Andrew Cagney <ac131313@redhat.com>
156
157 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
158 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
159 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
160 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
161 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
162 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
163 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
164
0aee02e4
AC
1652002-09-29 Andrew Cagney <ac131313@redhat.com>
166
167 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
168 * mi0-disassemble.exp, mi0-eval.exp: Delete.
169 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
170 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
171 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
172 * mi0-var-block.exp, mi0-var-child.exp: Delete.
173 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
174
6fde09ad
KB
1752002-09-27 Kevin Buettner <kevinb@redhat.com>
176
177 * gdb.base/annota1.exp (info break): Make directory components of
178 path optional since not all compilers emit this debug information.
179
180 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
181 step ends up stepping out of the function instead of stopping on
182 the epilogue.
183
9e8aab75
KS
1842002-09-26 Keith Seitz <keiths@redhat.com>
185
186 * lib/insight-support.exp (gdbtk_start): Figure out where
187 the insight executable is based on where gdb is. Use this
188 executable to start insight instead of gdb.
189
e36180d7
AC
1902002-09-25 Andrew Cagney <cagney@redhat.com>
191
192 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
193
9dd34b2b
AC
1942002-09-24 Andrew Cagney <ac131313@redhat.com>
195
196 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
197 test_isolated_complaints.
198 (test_empty_complaint): New function.
199 (test_empty_complaints): New function. Check no output when no
200 complaints.
201
dea97812
KB
2022002-09-19 Jim Blandy <jimb@redhat.com>
203
204 * gdb.base/charset.exp, gdb.base/charset.c: New files.
205
54951bd7
AC
2062002-09-19 Andrew Cagney <ac131313@redhat.com>
207
208 * gdb.gdb/complaints.exp: New file.
209
dec43320
AC
2102002-09-18 Andrew Cagney <ac131313@redhat.com>
211
212 * gdb.base/maint.exp: Check `help maint internal-warning'.
213
e70d6e3f
DC
2142002-09-18 David Carlton <carlton@math.stanford.edu>
215
216 * gdb.c++/m-static.exp: Remove breakpoints depending on line
217 numbers, and replace them by a single breakpoint after the
218 constructors are all finished.
219 Add test 4.
220 * gdb.c++/m-static.cc: Add test 4.
221 * gdb.c++/m-static.h: New file.
222 * gdb.c++/m-static1.cc: New file.
223
224 * gdb.c++/printmethod.exp: New file.
225 * gdb.c++/printmethod.cc: New file.
226
227 * gdb.c++/pr-574.exp: New file.
228 * gdb.c++/pr-574.cc: New file.
229
afb5c968
CV
2302002-09-18 Corinna Vinschen <vinschen@redhat.com>
231
232 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
233 embedded targets which never actually exit.
234
31e45dee
FN
2352002-09-18 Fernando Nasser <fnasser@redhat.com>
236
237 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
238 "don't step after run" as unresolved or unsupported, instead of xfail.
239
a283c5a1
CV
2402002-09-18 Corinna Vinschen <vinschen@redhat.com>
241
242 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
243 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
244 Add newline to expected string in "step out of main (status wrapper)"
245 case.
246
11350d2a
CV
2472002-09-18 Corinna Vinschen <vinschen@redhat.com>
248
249 * lib/gdb.exp (rerun_to_main): Allow restarting application.
250 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
251
0deec7d6
TT
2522002-09-17 Tom Tromey <tromey@redhat.com>
253
254 * gdb.base/printcmds.exp (test_print_string_constants): Expect
255 \000, not \0, in double-quoted string.
256
b2b4a1b5
CV
2572002-09-14 Corinna Vinschen <vinschen@redhat.com>
258
259 * gdb.base/command.exp: Don't expect a "Program exited normally"
260 string after running the commands execution on breakpoint tests.
261
1c56143a
CV
2622002-09-13 Corinna Vinschen <vinschen@redhat.com>
263
264 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
265
37f8da45
JB
2662002-09-12 Joel Brobecker <brobecker@gnat.com>
267
268 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
269
08b468e0
KS
2702002-09-10 Keith Seitz <keiths@redhat.com>
271
272 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
273 runto proc.
274 (mi_run_to_main): Use mi_runto.
275 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
276
dc360f58
KS
2772002-09-10 Keith Seitz <keiths@redhat.com>
278
279 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
280 regexp for stopping at main. Could have multiple event notifications.
281 Don't assume that main was declared with no parameters.
282 (mi_next): Use mi_step_to.
283 (mi_step): Use mi_next_to.
284
ce3abcfb
CV
2852002-09-09 Corinna Vinschen <vinschen@redhat.com>
286
287 * gdb.base/default.exp: Fix expected string in `info float' test.
288
d1f5b980
BE
2892002-09-09 Ben Elliston <bje@redhat.com>
290
291 * config/mips.exp: Update comments.
292 * config/mips-idt.exp: Likewise.
293 * config/nind.exp: Likewise.
294 * config/slite.exp: Likewise.
295 * config/sparclet.exp: Likewise.
296 * config/udi.exp: Likewise.
297 * config/vx.exp: Likewise.
298 * config/vxworks29k.exp: Likewise.
299
2f71430b
JB
3002002-09-05 Jim Blandy <jimb@redhat.com>
301
302 * gdb.threads/killed.exp: Fix test failure message.
303
7ddebc7e
KS
3042002-09-04 Keith Seitz <keiths@redhat.com>
305
306 * lib/mi-support.exp: Update copyright.
307 (mi_gdb_test): Increase the priority of the expected pattern
308 so that it matches gdb_test.
309
0ae67eb3
KS
3102002-09-03 Keith Seitz <keiths@redhat.com>
311
312 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
313 Use integer comparison instead of string comparison for testing
314 whether binary was built.
315
38fc42c8
JB
3162002-09-03 Jim Blandy <jimb@redhat.com>
317
318 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
319
b6ff0e81
JB
3202002-08-29 Jim Blandy <jimb@redhat.com>
321
322 * gdb.threads/pthreads.exp: Move the portable thread compilation
323 code into a function in lib/gdb.exp, and call that from here.
324 * lib/gdb.exp (gdb_compile_pthreads): New function.
325
07c98896
KS
3262002-08-29 Keith Seitz <keiths@redhat.com>
327
328 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
329 expect_out so that callers can get at it.
330
0312286c
DJ
3312002-08-23 Daniel Jacobowitz <drow@mvista.com>
332
333 * gdb.threads/print-threads.c: New file.
334 * gdb.threads/print-threads.exp: New file.
335 * gdb.threads/schedlock.c: New file.
336 * gdb.threads/schedlock.exp: New file.
337
dd039bc4
EZ
3382002-08-22 Elena Zannoni <ezannoni@redhat.com>
339
340 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
341 not altivec.c.
342
1f36144c
MK
3432002-08-17 Mark Kettenis <kettenis@gnu.org>
344
345 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
346 targets. The problem should be fixed now.
347
16057ec7 3482002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
349
350 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
351 2002-07-24 change that removes final dots from error messages.
352
3c1499ad
TT
3532002-08-13 Tom Tromey <tromey@redhat.com>
354
355 * gdb.base/readline.exp: New file.
356
a20ce2c3
AC
3572002-08-01 Andrew Cagney <ac131313@redhat.com>
358
359 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
360 supress message.
361
db034ac5
AC
3622002-08-01 Andrew Cagney <cagney@redhat.com>
363
364 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
365 CHILL_FOR_TARGET and CHILL_LIB.
366 * configure.in (configdirs): Remove gdb.chill.
367 * configure: Regenerate.
368 * lib/gdb.exp: Obsolete references to chill.
369 * gdb.fortran/types.exp: Ditto.
370 * gdb.fortran/exprs.exp: Ditto.
371
3e000b18
KB
3722002-07-30 Kevin Buettner <kevinb@redhat.com>
373
374 * gdb.base/shlib-call.exp (additional_flags): Conditionally
375 set Irix-specific compile and link flags.
376
28f4966b
KB
3772002-07-29 Kevin Buettner <kevinb@redhat.com>
378
379 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
380 source files. The ``-o'' option doesn't work with the ``-E'' option
381 when using the Irix compiler.
382
46c0d5a6
DJ
3832002-07-19 Daniel Jacobowitz <drow@mvista.com>
384
385 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
386 Improve support for reusing an exec file. Copy exec file
387 to target, and run gdbserver on the target instead of on the host.
388
eecf4bed
JB
3892002-07-18 Jim Blandy <jimb@redhat.com>
390
0f815cdf
JB
391 * gdb.base/ending-run.exp: Don't expect to see the program end in
392 some orderly fashion when we're running on a real stand-alone
393 board.
394
eecf4bed
JB
395 * gdb.base/interrupt.exp: Correct logic for skipping tests on
396 targets that don't support interrupts.
397
52d309e4
JB
3982002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
399
400 * gdb.base/attach.exp: Add patterns to match output from /proc-based
401 systems.
402 Move comments in expect statements to inside the actions, so that they
403 don't get matched against.
404
ff683d9e
MK
4052002-07-10 Mark Kettenis <kettenis@gnu.org>
406
407 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
408 function when asleep" test.
409
b5356753
AC
4102002-07-10 Andrew Cagney <ac131313@redhat.com>
411
412 * gdb.base/page.exp: Rewrite to handle problems with very long
413 `info set' output. Update copyright.
414
6aa4d13a
AC
4152002-06-26 Andrew Cagney <ac131313@redhat.com>
416
417 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
418 gdb.threads-hp.
419 * gdb.hp/configure: Regenerate.
420 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
421 * gdb.hp/gdb.threads-hp/configure: Delete file.
422 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
423
8cf8c2b8
AC
4242002-06-22 Andrew Cagney <ac131313@redhat.com>
425
426 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
427 setlocale, bindtextdomain and textdomain.
428
6827a8f8
JB
4292002-06-11 Jim Blandy <jimb@redhat.com>
430
919d772c
JB
431 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
432 preprocessor macro information is present.
433
6827a8f8
JB
434 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
435 tests.
436
c15b0d21
MS
4372002-06-06 Michael Snyder <msnyder@redhat.com>
438
c5984d70
MS
439 * gdb.base/overlays.exp: Record addresses of overlay
440 functions in TCL variables rather than in GDB variables,
441 to avoid having GDB convert them to pointers (with loss
442 of information).
443
99a8512b
MS
444 * gdb.base/d10v.ld: Merge in several years worth of
445 default linker script changes.
c15b0d21
MS
446 * gdb.base/long_long.exp: Add check for sizeof (long double).
447
be26fe0d
ML
4482002-06-06 Michal Ludvig <mludvig@suse.cz>
449
450 * gdb.asm/asm-source.exp: Add x86-64 target.
451 * gdb.asm/x86_64.inc: New.
452
258093ca 4532002-05-30 Michael Chastain <mec@shout.net>
258093ca 454
4b3153f1 455 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
456 * gdb.c++/m-static.cc: New file.
457 * gdb.c++/m-static.exp: New file.
458
241264c6
MS
4592002-05-28 Michael Snyder <msnyder@redhat.com>
460
461 * gdb.base/call-ar-st.exp: Allow for reduced floating point
462 precision.
463
9bba8c8f 4642002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 465
4b3153f1 466 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
467 * gdb.c++/m-data.cc: New file.
468 * gdb.c++/m-data.exp: New file.
469
4702002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 471
4b3153f1 472 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
473 * gdb.c++/try_catch.cc: New file.
474 * gdb.c++/try_catch.exp: New file.
475
def1b996
MC
4762002-05-27 Michael Chastain <mec@shout.net>
477
478 * gdb.c++/local.exp: Accept more nested types in output.
479
522ba268
MC
4802002-05-26 Michael Chastain <mec@shout.net>
481
482 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
483
277254ba
MS
4842002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
485
486 * lib/gdb.exp (gdb_wrapper_init): Just because
487 gdb_wrapper_file exists, this does not mean that the file
488 should not be rebuilt. That is what gdb_wrapper_initialized
489 is for.
490 (default_gdb_init): Reset gdb_wrapper_initialized.
491
b61a8733
MS
4922002-05-23 Michael Snyder <msnyder@redhat.com>
493
5bdb6d01
MS
494 * gdb.base/all-bin.exp: Revise previous patch by just reducing
495 the precision of the floating point test results.
496 * gdb.base/call-rt-st.exp: Ditto.
497
b61a8733
MS
498 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
499 * gdb.base/call-rt-st.exp: Ditto.
500
56f6e910
MC
5012002-05-19 Michael Chastain <mec@shout.net>
502
503 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
504
ad0b0016
EZ
5052002-05-19 Elena Zannoni <ezannoni@redhat.com>
506
507 * configure.in (configdirs): Add gdb.arch.
508 * configure: Regenerate.
509
f617d2b6
JB
5102002-05-17 Jim Blandy <jimb@redhat.com>
511
512 * gdb.base/completion.exp: Recognize the more detailed error
513 messages produced by the macro expander's lexical analyzer.
514
eac2a696
EZ
5152002-05-14 Elena Zannoni <ezannoni@redhat.com>
516
517 * gdb.arch/altivec-abi.c: New file.
518 * gdb.arch/altivec-abi.exp: New file.
519 * gdb.arch/altivec-regs.c: New file.
520 * gdb.arch/altivec-regs.exp: New file.
521
2fdde8f8
DJ
5222002-05-14 Daniel Jacobowitz <drow@mvista.com>
523
524 * gdb.base/maint.exp (maint print type): Update for new type
525 structure.
eac2a696 526
e31f1a7c
EZ
5272002-05-14 Elena Zannoni <ezannoni@redhat.com>
528
529 * gdb.arch: New directory.
530 * gdb.arch/configure.in: New file.
531 * gdb.arch/configure: New file.
532 * gdb.arch/Makefile.in: New file.
533
db589741
CV
5342002-05-13 Corinna Vinschen <vinschen@redhat.com>
535
536 * gdb.asm/asm-source.exp: Add v850 as supported target.
537 * gdb.asm/v850.inc: New file.
538
8ce2a7dc
DJ
5392002-05-13 Daniel Jacobowitz <drow@mvista.com>
540
541 * gdb.c++/annota2.exp (annotate-quit): Add comment.
542
df763c7f
DJ
5432002-05-12 Daniel Jacobowitz <drow@mvista.com>
544
545 * gdb.base/break.exp: Check 'break "marker2"'.
546
377daeed
MS
5472002-05-10 Michael Snyder <msnyder@redhat.com>
548
549 * gdb.base/long_long.exp: Fix typo.
550
c4b7bc2b
JB
5512002-05-10 Jim Blandy <jimb@redhat.com>
552
ecac9a4e
JB
553 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
554 a bug.
555
c4b7bc2b
JB
556 * gdb.base/printcmds.exp (test_integer_literals_rejected):
557 Recognize more detailed error message produced by the macro
558 expander's lexical analyzer.
559 * lib/gdb.exp (test_print_reject): Same.
560
e71019a1
MK
5612002-05-09 Mark Kettenis <kettenis@gnu.org>
562
563 * gdb.c++/method.exp: Fix typo.
564
fedfc8e6
MS
5652002-05-08 Michael Snyder <msnyder@redhat.com>
566
166a1957
MS
567 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
568 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 569 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
570 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
571 Add iftarget clause for strongarm.
572
f1c47eb2
MS
5732002-05-06 Michael Snyder <msnyder@redhat.com>
574
cb9a9d3e
MS
575 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
576 (gdb_continue_to_end): Accept output from status wrapper.
577 * gdb.base/ending-run.exp: Add case for output from status wrapper.
578 Clean up fail messages to match pass messages.
579
f1c47eb2
MS
580 Enable the "needs_status_wrapper" testsuite feature.
581 * lib/gdb.exp (gdb_wrapper_init): New procedure.
582 (gdb_compile): Conditionally call gdb_wrapper_init.
583 * gdb.base/a2-run.exp: Recognize output from status wrapper.
584 * gdb.c++/method.exp: Recognize output from status wrapper.
585
6079c749
BE
5862002-05-06 Ben Elliston <bje@redhat.com>
587From Graydon Hoare <graydon@redhat.com>
588
589 * config/sid.exp: Include support for "rawsid" protocol.
590
188baff3
JB
5912002-05-03 Jim Blandy <jimb@redhat.com>
592
593 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
594 * gdb.c++/hang3.C: New file.
595
b9c07f0f
AC
5962002-05-04 Andrew Cagney <ac131313@redhat.com>
597
598 * gdb.base/default.exp: Remove obsolete code.
599 * gdb.c++/misc.exp: Ditto. Update copyright.
600 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
601 * gdb.base/whatis.exp: Ditto. Update copyright.
602 * gdb.base/scope.exp: Ditto. Update copyright.
603 * gdb.base/ptype.exp: Ditto. Update copyright.
604 * gdb.base/printcmds.exp: Ditto. Update copyright.
605 * gdb.base/opaque.exp: Ditto. Update copyright.
606 * gdb.base/list.exp: Ditto.
607 * gdb.base/funcargs.exp: Ditto. Update copyright.
608 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
609 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
610 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
611 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
612 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
613 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
614
5c7a0397
MS
6152002-05-02 Michael Snyder <msnyder@redhat.com>
616
d6dcc264 617 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
618 * gdb.base/long_long.exp: Add xscale target.
619 * gdb.base/default.exp: Add xscale target.
620
eb7f1c48
JB
6212002-05-01 Jim Blandy <jimb@redhat.com>
622
623 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
624 gdb.c++/hang.exp: New test.
625
a6befae8
FF
6262002-05-01 Fred Fish <fnf@redhat.com>
627
628 * gdb.base/completion.exp: Handle completions of "./Make" for
629 more than one completion possibility, as is the case when we
630 build and test in the source tree.
631
0a310277
AG
6322002-04-29 Anthony Green <green@redhat.com>
633
634 * gdb.java/jmisc1.exp: New file.
635 * gdb.java/jmisc2.exp: New file.
636
6ff9af88
DJ
6372002-04-24 Daniel Jacobowitz <drow@mvista.com>
638
639 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
640
96b3d632
EZ
6412002-04-23 Elena Zannoni <ezannoni@redhat.com>
642
643 * gdb.base/help.exp: Change 'help status' to allow for target
644 dependent output differences.
645
5019bb54
MC
6462002-04-22 Michael Chastain <mec@shout.net>
647
648 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
649
a805a116
MC
6502002-04-22 Michael Chastain <mec@shout.net>
651
652 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
653
a1706bfd
DM
6542002-04-17 David S. Miller <davem@redhat.com>
655
656 * gdb.asm/sparc64.inc: New file.
657 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
658
a73a20a2
EZ
6592002-04-19 Elena Zannoni <ezannoni@redhat.com>
660
661 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
662 instruction file directly into the build tree. Clean up at end of
663 test.
664
ba678339
DM
6652002-04-18 David S. Miller <davem@redhat.com>
666
667 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
668 handle 64-bit platforms correctly.
669 * gdb.base/maint.exp: Likewise.
670
b03399da
KB
6712002-04-18 Kevin Buettner <kevinb@redhat.com>
672
673 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
674 ``-fpic'' when compiling files comprising a shared library, but
675 it does need additional linker flags in order to find shared
676 libraries at run time.
677
e2004992
KB
6782002-04-18 Kevin Buettner <kevinb@redhat.com>
679
680 * gdb.base/cvexpr.c (use): New function.
681 (main): Invoke use() on all global variables to prevent
682 some linkers from deleting these otherwise unused symbols.
683
d8937120
MC
6842002-04-17 Michael Chastain <mec@shout.net>
685From David S. Miller <davem@redhat.com>
686
687 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
688 handle 64-bit platforms correctly.
689
ffd61a58
MS
6902002-04-12 Michael Snyder <msnyder@redhat.com>
691From Jim Blandy <jimb@redhat.com>
692 * gdb.base/foo.c (foox): Remove section attribute; the linker
693 script can handle this instead.
694 * gdb.base/bar.c (barx): Same.
695 * gdb.base/baz.c (bazx): Same.
696 * gdb.base/grbx.c (grbxx): Same.
697
698 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
699 manager doesn't automatically unmap overlays unnecessarily.
700
6b8426a6
MH
7012002-04-10 Martin M. Hunt <hunt@redhat.com>
702
703 * gdb.base/ending-run.exp: Fix pattern for Mips targets
704 stepping out of main.
705
34af4875
MC
7062002-04-09 Michael Chastain <mec@shout.net>
707
708 * gdb.c++/local.cc (main): Move call to marker1() inside nested
709 scope so that the nested scope tests will make sense.
710 * gdb.c++/local.exp: Write patterns that actually work with gcc
711 (the HP patterns "were never known to work with gcc").
712 Keep the old aCC patterns too.
713
2d1676a0
DJ
7142002-04-09 Daniel Jacobowitz <drow@mvista.com>
715
716 * gdb.base/attach.exp: Correct target board test.
717
3a63e3f9
MC
7182002-04-08 Michael Chastain <mec@shout.net>
719
720 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
721 in a const method. Add some xfail and fail cases for configurations
722 that do not emit the "const ...".
723
f18dabd2
MC
7242002-04-07 Michael Chastain <mec@shout.net>
725
726 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
727 Accept "A * const" and "const A * const" as type of "this".
728 Fix spelling of getFunky throughout. Make messages uniform.
729
0fcddd82
EZ
7302002-04-07 Elena Zannoni <ezannoni@redhat.com>
731
732 Work around for PR gdb/285:
733 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
734
16a8534a
EZ
7352002-04-07 Elena Zannoni <ezannoni@redhat.com>
736
737 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
738 instructions file at run time instead of configure time.
739 Sometimes we run the test in a directory that is not the one we
740 configured in.
741 * gdb.asm/configure.in: Delete creation of symlink.
742 * gdb.asm/configure: Regenerate.
743
24181d81
JB
7442002-04-05 J. Brobecker <brobecker@gnat.com>
745
746 * gdb.gdb/xfullpath.exp: New test, to exercise the new
747 xfullpath () function.
748
7cdb7107
DJ
7492002-04-04 Daniel Jacobowitz <drow@mvista.com>
750
751 * gdb.asm/Makefile.in: Correct dependencies.
752
753 * gdb.asm/powerpc.inc: New file.
754 * gdb.asm/asm-source.exp: Add PowerPC.
755 * gdb.asm/configure.in: Likewise.
756 * gdb.asm/configure: Regenerated.
757
a7d17088
DJ
7582002-04-04 Daniel Jacobowitz <drow@mvista.com>
759
760 * gdb.base/relocate.exp: New file.
761 * gdb.base/relocate.c: New file.
762
cd721503
FF
7632002-04-04 Fred Fish <fnf@redhat.com>
764
765 * gdb.base/step-test.exp: Update comment regarding stopping in
766 memcpy/bcopy calls inserted as part of the compiler runtime.
767
b22ad7a7
MS
7682002-04-04 Michael Snyder <msnyder@redhat.com>
769
770 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
771
5f279fa6
DJ
7722002-04-03 Daniel Jacobowitz <drow@mvista.com>
773
774 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
775 (gdb_expect): Remove $notransfer hack.
776
dd0fd3ce
DJ
7772002-04-02 Daniel Jacobowitz <drow@mvista.com>
778
779 * gdb.c++/classes.exp ("calling method for small class"): Match
780 updated register output.
781
1e50cda1
DJ
7822002-03-30 Daniel Jacobowitz <drow@mvista.com>
783
784 Fix PR gdb/452
785 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
786 when finished. Make gdb_file_cmd send "exec-file" when
787 appropriate.
788
24015922
DJ
7892002-03-30 Daniel Jacobowitz <drow@mvista.com>
790
791 * gdb.base/attach.exp: Remove extra setup_xfail.
792
dd7dfd64
MS
7932002-03-26 Michael Snyder <msnyder@redhat.com>
794
795 * gdb.base/default.exp: Add tests for dump, append, and restore.
796 * gdb.base/help.exp: Add tests for dump, append, and restore.
797 * gdb.base/dump.exp: New file, test dump, append and restore.
798 * gdb.base/dump.c: New file.
799
48b2f8d7
MS
8002002-03-27 Michael Snyder <msnyder@redhat.com>
801
802 * gdb.base/help.exp: Modify expect strings to reflect
803 clean-ups in help messages.
804
05b4d525
FF
8052002-03-26 Fred Fish <fnf@redhat.com>
806
807 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
808 have debugging info for those functions and the compiler uses them
809 internally to copy structs around.
810
d7679631
FF
8112002-03-26 Fred Fish <fnf@redhat.com>
812
813 * gdb.base/list.exp: Revert the change made yesterday and add note
814 about why we don't list the default lines for remote targets.
815
523ac3f9
MS
8162002-03-25 Michael Snyder <msnyder@redhat.com>
817
818 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
819
754b2b8d
FF
8202002-03-25 Fred Fish <fnf@redhat.com>
821
822 * gdb.base/list.exp: This test works on remote targets so remove
823 the short circuit for remote targets. Update copyright.
824
33c3e192
FF
8252002-03-25 Fred Fish <fnf@redhat.com>
826
827 * gdb.base/attach.exp: Fix logic error that was suppressing this
828 test for all non hppa*-*-hpux* targets, instead of the hp target.
829 Move comments closer to the suppression point. Also now need to
830 check that we are running natively.
831
d43e73ee
MS
8322002-03-22 Michael Snyder <msnyder@redhat.com>
833
882c8f02
MS
834 * gdb.base/default.exp: Add test for gcore. Update copyright.
835 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 836
04c12f60
FF
8372002-03-06 Fred Fish <fnf@redhat.com>
838
839 * gdb.base/funcargs.c: Remove extraneous ';' character.
840 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
841
b43df995
MC
8422002-03-04 Michael Chastain <mec@shout.net>
843
844 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
845 accommodate gcc v3 function signature.
846 * gdb.mi/mi0-var-cmd-exp: Ditto.
847
92362027
AC
8482002-02-24 Andrew Cagney <ac131313@redhat.com>
849
850 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
851 ``GNU/Linux'' or ``Linux kernel''
852 * testsuite/gdb.threads/pthreads.c: Ditto.
853
258ad32d
MC
8542002-02-24 Michael Chastain <mec@shout.net>
855
856 * gdb.threads/pthreads.c (thread1): Add a return statement.
857 (thread2): Likewise.
858 (foo): Likewise.
859
04c3b3d4
MC
8602002-02-23 Michael Chastain <mec@shout.net>
861
862 * gdb.threads/linux-dp.c (philosopher): Add a return statement
863 to placate gcc.
864
5a2a0a20
MC
8652002-02-23 Michael Chastain <mec@shout.net>
866
867 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
868 test "ptype bint". The test passes on all my stabs configurations.
869
a640f7fc
JB
8702002-02-21 Jim Blandy <jimb@redhat.com>
871
27924826
JB
872 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
873 filename at a time, and watch for the ones we want to see.
874
a640f7fc
JB
875 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
876 types of pointers to prototyped functions.
877
edcc8c75
AC
8782002-02-20 Andrew Cagney <ac131313@redhat.com>
879
880 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
881 signed, unsigned and straight char.
882 (padding_char, padding_short, padding_int, padding_long,
883 padding_long_long, padding_float, padding_double,
884 padding_long_double): New global variables.
885 (fill, fill_structs): New functions.
886
887 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
888 for correctly sized writes. Update copyright.
889 (get_valueof): New procedure.
890 (get_sizeof): Call get_valueof.
891 (check_valueof): New procedure.
892 (check_padding): New procedure.
893
ac57ea44
MC
8942002-02-20 Michael Chastain <mec@shout.net>
895
896 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
897 to setup_xfail. Document some of the remaining calls.
898
7a10c941
MC
8992002-02-18 Michael Chastain <mec@shout.net>
900
901 * gdb.c++/userdef.exp: Update copyright year.
902
fb8acdcc
DJ
9032002-02-18 Daniel Jacobowitz <drow@mvista.com>
904
905 * gdb.c++/userdef.exp: Test overloaded operators properly.
906 Remove xfails.
907
fda6ae12
MS
9082002-02-14 Michael Snyder <msnyder@redhat.com>
909
910 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
911
676a0442
DJ
9122002-02-14 Daniel Jacobowitz <drow@mvista.com>
913
914 * gdb.base/a2-run.exp: Check for a remote target properly.
915 * gdb.base/annota1.exp: Likewise.
916 * gdb.base/list.exp: Likewise.
917 * gdb.base/reread.exp: Likewise.
918 * gdb.base/scope.exp: Likewise.
919 * gdb.base/shlib-call.exp: Likewise.
920 * gdb.base/term.exp: Likewise.
921 * gdb.c++/annota2.exp: Likewise.
922
78b4f468
RE
9232002-02-13 Richard Earnshaw <rearnsha@arm.com>
924
925 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
926
9a81ba51
MC
9272002-02-10 Michael Chastain <mec@shout.net>
928
929 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
930 (call_after_alloca): Ditto.
931
004af6c7
DJ
9322002-02-10 Daniel Jacobowitz <drow@mvista.com>
933
934 * gdb.base/ending-run.exp: Guard "cont" test with
935 gdb_skip_stdio_test.
936
37225f62
JB
9372002-02-06 Jim Blandy <jimb@redhat.com>
938
939 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
940 from here...
941 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
942 To here. Disable this test on non-HP platforms. Add big comment.
943
fe6fdd96
MS
9442002-02-04 Michael Snyder <msnyder@redhat.com>
945
946 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
947 other than d10v and m32r.
948
036fad3f
RE
9492002-02-02 Richard Earnshaw <rearnsha@arm.com>
950
951 * gdb.base/default.exp: Rewrite test patterns to reduce time
952 taken to match them.
953
7148ab62
DJ
9542002-01-30 Daniel Jacobowitz <drow@mvista.com>
955
956 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
957 Allow a start function above main.
958 * gdb.threads/linux-dp.exp: Fix copyright date.
959
396cc255
DJ
9602002-01-30 Daniel Jacobowitz <drow@mvista.com>
961
962 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
963 (check_philosopher_stack): Check for manager thread before checking
964 for a just-starting thread.
965
f038d31b
DJ
9662002-01-30 Daniel Jacobowitz <drow@mvista.com>
967
968 From Neil Booth <neil@daikokuya.demon.co.uk>:
969 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
970 warnings.
971
b3ff9d9a
FF
9722002-01-21 Fred Fish <fnf@redhat.com>
973
974 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
975 not caller.
976
39ad761d
JB
9772002-01-21 Jim Blandy <jimb@redhat.com>
978
979 * gdb.base/reread.exp: Check that GDB properly re-reads the
980 executable file when it changes while no inferior is running.
981
aaf320fa
FF
9822002-01-21 Fred Fish <fnf@redhat.com>
983
984 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
985 optionally accept the "shlib events" variation.
986
808a31f5
JB
9872002-01-21 Jim Blandy <jimb@redhat.com>
988
989 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
990 call `fflush' after every `printf', so that the output is produced
991 at predictable points, regardless of whatever buffering does (or
992 doesn't) take place.
993 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
994 at different points.
995
4420d5e2
DJ
9962002-01-20 Daniel Jacobowitz <drow@mvista.com>
997
998 * gdb.c++/inherit.exp: Update copyright years.
999 * gdb.c++/method.exp: Likewise.
1000
3e36a0f4
DJ
10012002-01-20 Daniel Jacobowitz <drow@mvista.com>
1002
1003 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1004 artificial methods/arguments.
1005 * gdb.c++/derivation.exp: Likewise.
1006 * gdb.c++/inherit.exp: Likewise.
1007 * gdb.c++/method.exp: Likewise.
1008 * gdb.c++/virtfunc.exp: Likewise.
1009
b4ceaee6
AC
10102002-01-18 Andrew Cagney <ac131313@redhat.com>
1011
1012 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1013 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1014 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1015 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1016 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1017 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1018
ecace851
JB
10192002-01-17 Jim Blandy <jimb@redhat.com>
1020
1021 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1022 anchoring the pattern matching the entry point symbol's name.
1023
375fc983
AC
10242002-01-17 Andrew Cagney <ac131313@redhat.com>
1025
1026 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1027 continue/quit query. Update copyright.
1028
fe6fdd96
MS
10292002-01-14 Michael Snyder <msnyder@redhat.com>
1030
1031 * gdb.base/gcore.exp: Remove extra debugging output.
1032
e017c81f
DJ
10332002-01-13 Daniel Jacobowitz <drow@mvista.com>
1034
1035 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1036 for slightly dubious v2 mangled string.
1037
37ab3bf8
DJ
10382002-01-13 Daniel Jacobowitz <drow@mvista.com>
1039
1040 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1041
1bc05c3a 10422002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1043
1bc05c3a 1044 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1045
1bc05c3a
JM
1046 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1047 constructors.
1048 * gdb.c++/derivation.exp: Likewise.
1049 * gdb.c++/templates.exp: Likewise.
1050 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1051
1bc05c3a
JM
10522002-01-10 Michael Snyder <msnyder@redhat.com>
1053
1054 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1055
a911c360
MS
10562002-01-08 Michael Snyder <msnyder@redhat.com>
1057
1058 * gdb.base/gcore.exp: New test for generate-core-file command.
1059 * gdb.base/gcore.c: Testcase for above.
1060 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1061
ea2119ec
JM
10622002-01-08 Jason Merrill <jason@redhat.com>
1063
1064 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1065
68203136
FF
10662002-01-07 Fred Fish <fnf@redhat.com>
1067
1068 * gdb.c++/overload.exp: Remove unconditional xfails for:
1069 print foo_instance1.overloadargs(1)
1070 print foo_instance1.overloadargs(1, 2)
1071 print foo_instance1.overloadargs(1, 2, 3)
1072 print foo_instance1.overloadargs(1, 2, 3, 4)
1073 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1074 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1075 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1076 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1077 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1078 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1079 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1080 print foo_instance1.overload1arg()
1081 print foo_instance1.overload1arg((char)arg2)
1082 print foo_instance1.overload1arg((signed char)arg3)
1083 print foo_instance1.overload1arg((unsigned char)arg4)
1084 print foo_instance1.overload1arg((int)arg7)
1085 print foo_instance1.overload1arg((unsigned int)arg8)
1086 print foo_instance1.overload1arg((float)arg11)
1087 print foo_instance1.overload1arg((double)arg12)
1088
21b9b5b1
MS
10892002-01-07 Michael Snyder <msnyder@redhat.com>
1090
1091 * gdb.base/huge.exp: New test. Print a very large target data object.
1092 (skip_huge_test): New test variable. Define if you want to skip this
1093 test. The test reads an 8 megabyte data object from the target, so it
1094 might be very time consuming on remote targets with a slow connection.
1095 * gdb.base/huge.c: New file. Test case for above.
1096
725f922e
FF
10972002-01-07 Fred Fish <fnf@redhat.com>
1098
1099 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1100 g_instance.bfoo, and g_instance.cfoo.
1101
634d57ec
JL
1102Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1103
f286b2c3
JL
1104 * gdb.base/break.c (multi_line_if_conditional): New function.
1105 (multi_ilne_while_conditional): Likewise.
1106 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1107 IF or WHILE condition puts the breakpoint at the start of
1108 the condition.
1109
634d57ec
JL
1110 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1111 hppa*-*-hpux* expected failure.
1112 * gdb.base/structs.exp (do_function_calls): Similarly.
1113
1114 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1115 watchpoints.
1116
9fbfe2dc
AC
11172002-01-06 Andrew Cagney <ac131313@redhat.com>
1118
1119 Fix PR gdb/66.
1120 * gdb.base/structs.exp: Replace skip for a29k with skip for
1121 gdb,cannot_call_functions.
1122 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1123 * gdb.base/callfuncs.exp: Ditto.
1124 * gdb.base/call-rt-st.exp: Ditto.
1125 * gdb.base/call-strs.exp: Ditto.
1126 * gdb.base/callfwmall.exp: Ditto.
1127 * gdb.base/scope.exp: Obsolete xfail a29k.
1128 * gdb.c++/misc.exp: Ditto.
1129 * gdb.c++/cplusfuncs.exp: Ditto.
1130 * gdb.base/ptype.exp: Ditto.
1131 * gdb.base/printcmds.exp: Ditto.
1132 * gdb.base/opaque.exp: Ditto.
1133 * gdb.base/list.exp: Ditto.
1134 * gdb.base/funcargs.exp: Ditto.
1135 * gdb.base/default.exp: Ditto.
1136
8ddad156
MS
11372002-01-04 Michael Snyder <msnyder@redhat.com>
1138
ca4976a6 1139 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1140 * gdb.base/maint.exp: Add tests for maint info sections options.
1141
1b074332
JL
1142Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1143
1144 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1145
7d159115
CV
11462001-12-20 Corinna Vinschen <vinschen@redhat.com>
1147
1148 * gdb.asm/arm.inc: New file.
1149 * gdb.asm/asm-source.exp: Add arm targets.
1150 * gdb.asm/configure.in: Ditto.
1151 * gdb.asm/configure: Recreated from configure.in.
1152
8fb87725
JL
1153Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1154
afabe08c
JL
1155 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1156 with HP's compiler.
1157 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1158 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1159 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1160 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1161
1162 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1163 either HP's compilers or GCC.
1164
db521deb
JL
1165 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1166 a SIGBUS or SIGSEGV.
1167
1168 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1169
1170 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1171 can be compiled with either HP's compiler or GCC.
1172
cfa88ab7
JL
1173 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1174 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1175 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1176
ca344dff
JL
1177 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1178 to match current gdb output. Update due to using auto-solib-limit
1179 for limiting instead of overloading auto-solib-add.
1180 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1181 test program.
1182
3f3c6e55 1183 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1184 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1185 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1186 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1187 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1188 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1189 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1190 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1191 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1192 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1193 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1194 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1195 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1196
8fb87725
JL
1197 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1198 a SIGTRAP to the inferior.
1199
cf599fa7
CV
12002001-12-19 Corinna Vinschen <vinschen@redhat.com>
1201
1202 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1203 Substitute call to target_link by call to gdb_compile.
1204
2cd045cd
JL
1205Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1206
1207 * gdb.base/break.exp: Fix HP specific search string when testing
1208 backtracing in a called function.
1209
1210 * gdb.base/constvars.exp: Only set lang to C++ if we're
1211 compiling the test with HP's compilers.
1212 * gdb.base/volatile.exp: Similarly.
1213
99ebe9ac
JB
12142001-12-19 Jim Blandy <jimb@redhat.com>
1215
1216 * gdb.base/printcmds.exp: Expect the null character to be printed
1217 as '\0', and the '\013' to be printed as '\v'.
1218 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1219 * gdb.base/setvar.exp: Same.
1220
b9891b29
JB
12212001-12-17 Jim Blandy <jimb@redhat.com>
1222
0eba65ab
JB
1223 * gdb.base/completion.exp: Rather than completing very long
1224 filenames, which can make the readline library produce output we
1225 don't recognize, cd to the directory first, and then complete
1226 using nice, short relative paths.
1227
6970b5b1
JB
1228 * gdb.base/completion.exp: On some systems, there is, in fact, a
1229 variable named `b' in scope, since GDB treats all static
1230 variables as being in scope. So use `no_var_named_this'
1231 instead of `b'.
1232
b9891b29
JB
1233 * gdb.base/corefile.exp: Recognize the message saying that GDB
1234 can't find the core file's registers as a failure.
1235
e6ccd35f
JSC
12362001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1237
1238 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1239 test expect string more specific.
1240
105ba819
CV
12412001-12-13 Corinna Vinschen <vinschen@redhat.com>
1242
1243 * gdb.asm/asm-source.exp: Add support for xstormy16.
1244 * gdb.asm/configure.in: Ditto.
1245 * gdb.asm/configure: Rebuild.
1246 * gdb.asm/xstormy16.inc: New file.
1247
e9e79dd9
FF
12482001-12-10 Fred Fish <fnf@redhat.com>
1249
1250 * gdb.base/maint.exp: Update to match changes in type dumping code.
1251
347dc97d
JB
12522001-12-10 Jim Blandy <jimb@redhat.com>
1253
1254 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1255 matching the entry point symbol's name at the beginning of the
1256 line.
1257
5178b9d6
DJ
12582001-12-07 Daniel Jacobowitz <drow@mvista.com>
1259
1260 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1261 gdb.c++/inherit.exp, gdb.c++/method.exp,
1262 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1263 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1264 and class layout support.
1265
af890c52
DJ
12662001-12-07 Daniel Jacobowitz <drow@mvista.com>
1267
1268 * gdb.c++/classes.exp: Add test for static member function.
1269 * gdb.c++/misc.cc: Add class with static member function.
1270
7a345fb3
JB
12712001-12-07 Jim Blandy <jimb@redhat.com>
1272
f2e54a80 1273 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1274 those tests as `unsupported'.
1275 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1276 Rewrite subsequent tests to use it.
1277
1278 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1279 those tests as `unsupported'.
1280 * gdb.base/structs.exp (call_struct_func): New function.
1281 (do_function_calls): Use call_struct_func to call the functions
1282 returning structs.
1283
0bc69509
JB
1284 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1285 whether functions are prototyped or not, so we can't possibly pass
1286 arguments to t_float_values2 properly.
1287
7a345fb3
JB
1288 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1289 value of `timeout' for targets other than the mips*tx39-*.
1290
edb6ede1
MS
12912001-12-06 Michael Snyder <msnyder@redhat.com>
1292
1293 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1294 and detect whether the start symbol has a leading underscore.
1295
2d842f13
JB
12962001-12-04 Jim Blandy <jimb@redhat.com>
1297
1298 * gdb.base/completion.exp: Clarify indentation.
1299
68550daf
JB
13002001-12-03 Jim Blandy <jimb@redhat.com>
1301
1302 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1303 variables on the S/390, not `.word'.
1304
cd5195a8
JB
13052001-11-30 Jim Blandy <jimb@redhat.com>
1306
1307 Add assembly-source tests for s390-ibm-linux.
1308 * gdb.asm/s390.inc: New file.
1309 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1310 the S/390 architecture.
1311 * gdb.asm/configure: Regenerated.
1312
ca9efc90
MS
13132001-11-30 Michael Snyder <msnyder@redhat.com>
1314
1315 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1316 next, info source, info sources, info line, global and static
1317 variables, and static functions.
1318 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1319 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1320 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1321 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1322 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1323 (gdbasm_leave): Restore frame pointer.
1324 (gdbasm_startup): Copy stack set-up from crt0.S.
1325
d0e66976
FN
13262001-11-26 Fernando Nasser <fnasser@redhat.com>
1327
1328 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1329 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1330 to a local (non-static) variable. Copy tstruct.a to a static buffer
1331 and return a pointer to that buffer.
1332 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1333
e2334072
MK
13342001-11-24 Mark Kettenis <kettenis@gnu.org>
1335
1336 * gdb.asm/configure.in: Fix recognition of ix86 target.
1337 * gdb.asm/configure: Regenerate.
1338
756caa3d
MS
13392001-11-21 Michael Snyder <msnyder@redhat.com>
1340
1341 * gdb.asm/sparc.inc: New file.
1342 * gdb.asm/asm-source.exp: Recognize sparc target.
1343 * gdb.asm/configure.in: Recognize sparc target.
1344 * gdb.asm/configure: Regenerate.
1345
9a4d72d5
MS
13462001-11-21 Michael Snyder <msnyder@redhat.com>
1347
1348 * gdb.asm/m32r.inc: New file.
1349 * gdb.asm/asm-source.exp: Recognize m32r target.
1350 * gdb.asm/configure.in: Recognize m32r target.
1351 * gdb.asm/configure: Regenerate.
1352
a773d1cd
MS
13532001-11-20 Michael Snyder <msnyder@redhat.com>
1354
017ac23d
MS
1355 * gdb.asm/i386.inc: New file.
1356 * gdb.asm/asm-source.exp: Recognize ix86 target.
1357 * gdb.asm/configure.in: Recognize ix86 target.
1358 * gdb.asm/configure: Regenerate.
1359
a773d1cd
MS
1360 * gdb.c++/namespace.exp: Fix quotes in output messages.
1361
bb632afb
MS
13622001-11-14 Michael Snyder <msnyder@redhat.com>
1363
25d559ca 1364 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1365 qualifier in a type cast expression, to designate an address
1366 in the instruction space (Harvard architecture).
1367
4749e309
MS
13682001-11-13 Michael Snyder <msnyder@redhat.com>
1369
1370 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1371 Tests for expressions using 'const' and 'volatile'.
1372
25050984
CV
13732001-11-13 Corinna Vinschen <vinschen@redhat.com>
1374
1375 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1376
1902c51f
DJ
13772001-11-12 Daniel Jacobowitz <drow@mvista.com>
1378
1379 * lib/mi-support.exp (mi_run_to_helper): Move comments
1380 outside of gdb_expect.
1381
dcf95b47
DJ
13822001-11-11 Daniel Jacobowitz <drow@mvista.com>
1383
1384 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1385 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1386 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1387 mi0_run_to): New functions.
1388 * gdb.mi/mi-simplerun.exp: Use them.
1389 * gdb.mi/mi0-simplerun.exp: Likewise.
1390 * gdb.mi/mi-var-cmd.exp: Likewise.
1391 * gdb.mi/mi0-var-cmd.exp: Likewise.
1392
45b074e1
AC
13932001-11-10 Andrew Cagney <ac131313@redhat.com>
1394
1395 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1396 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1397
bf50d346
AC
13982001-11-09 Andrew Cagney <ac131313@redhat.com>
1399
1400 * gdb.base/restore.exp: Include $expected value in restored test
1401 message.
1402
9383332c
AC
14032001-11-09 Andrew Cagney <ac131313@redhat.com>
1404
1405 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1406 implemented.
1407
db62520a
MS
14082001-11-08 Michael Snyder <msnyder@redhat.com>
1409
1410 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1411 Add pass/fail message for stop at breakpoint in call dummy function.
1412
b5703437
MS
14132001-11-07 Michael Snyder <msnyder@redhat.com>
1414
760f6330
MS
1415 * gdb.c++/templates.exp (test_template_breakpoints):
1416 If we get an overload menu, but it does not match what
1417 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1418 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1419 making the whitespace optional. Argument for "new" may be
1420 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1421 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1422 making the whitespace optional. Also replace "(void) with
1423 "((void|)), making the keyword "void" optional.
63f50499
MS
1424 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1425 making the whitespace optional. Also replace "(void) with
1426 "((void|)), making the keyword "void" optional.
3bf40917
MS
1427 * gdb.base/callfuncs.c (t_float_values): This function must
1428 _not_ be prototyped, and the following function (t_float_values2)
1429 must be prototyped (if the compiler supports it), so that GDB
1430 can be tested against both cases. Usually one case involves
1431 promotion of float to double, while the other does not.
1432 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1433 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1434 includes a stack frame for "start".
1435
c8ab4e6d
JB
14362001-11-05 Jim Blandy <jimb@redhat.com>
1437
1438 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1439 pointers are 32 bits long, and that offsets of relocs are always
1440 stored in the data (REL-style), and not in the reloc entry itself
1441 (RELA-style).
1442 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1443 stabs.
1444
3f08ced9
MS
14452001-11-01 Michael Snyder <msnyder@redhat.com>
1446
1447 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1448 and regular expression operators by using quoting.
1449
cbfa24cd
MS
14502001-10-31 Michael Snyder <msnyder@redhat.com>
1451
1452 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1453 depending on what the symbol table contains.
1454 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1455 the output of the ptype command. Similarly, accept both "const &"
1456 and "const&".
1457
aaa68313
CV
14582001-10-31 Corinna Vinschen <vinschen@redhat.com>
1459
1460 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1461 symbol `STORAGE' to allow to choose the storage class of
1462 the local datastructures.
1463 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1464 compiler directive.
1465
91740388
MS
14662001-10-30 Michael Snyder <msnyder@redhat.com>
1467
1468 * gdb.base/jump.exp: Allow it to run for all targets.
1469
1b7c05e7
CV
14702001-10-29 Corinna Vinschen <vinschen@redhat.com>
1471
1472 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1473 with new double_array size.
1474 (main): Change storage class of all local variables to static.
1475 Reduce size of double_array to 9.
1476 * gdb.base/call-ar-st.exp: Increase timeout value.
1477 Change expected output for double array to match new size in
1478 call-ar-st.c.
1479
36a22261
CV
14802001-10-29 Corinna Vinschen <vinschen@redhat.com>
1481
1482 * gdb.base/ending-run.exp: Create identical output when passing
1483 `step to end of run' case. Add regular expression branch satisfying
1484 Stormy16 target.
1485
92b8ae91
MK
14862001-10-28 Mark Kettenis <kettenis@gnu.org>
1487
1488 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1489 that we catch the expected failure under Linux/x86.
1490
cb135b83
OF
14912001-10-29 Orjan Friberg <orjanf@axis.com>
1492
1493 * gdb.base/setvar.exp: Escape curly braces.
1494 * gdb.stabs/weird.exp: Ditto.
1495
6884aa54
DJ
14962001-10-27 Daniel Jacobowitz <drow@mvista.com>
1497
1498 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1499 * gdm.mi/mi0-hack-cli.exp: Likewise.
1500
0398c9aa
AC
15012001-10-25 Andrew Cagney <ac131313@redhat.com>
1502
1503 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1504 messages.
1505
d20bf2e8
AC
15062001-10-21 Andrew Cagney <ac131313@redhat.com>
1507
1508 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1509 checking MI enabled.
1510
03dd63aa
CV
15112001-10-09 Corinna Vinschen <vinschen@redhat.com>
1512
1513 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1514
1d9d99f3
FCE
15152001-10-04 Frank Ch. Eigler <fche@redhat.com>
1516
1517 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1518 if gdb child process crashes, just signal an error.
1519
838ae6c4
JB
15202001-10-02 Jim Blandy <jimb@redhat.com>
1521
1522 * lib/gdb.exp (test_xfail_format): Simplify.
1523
1524 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1525 front of the variable name `format'. Simplify `if'.
1526
8f0cbc1c
DJ
15272001-10-01 Daniel Jacobowitz <drow@mvista.com>
1528
1529 * gdb.threads/pthreads.exp: Wait for output and delay
1530 before sending ^C.
1531
1f08dafd
DJ
15322001-10-01 Daniel Jacobowitz <drow@mvista.com>
1533
1534 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1535 some incorrect output instead of timing out.
1536 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1537
674f90ff
CV
15382001-09-28 Corinna Vinschen <vinschen@redhat.com>
1539
1540 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1541 check to allow additional `int'.
1542
9b284272
DJ
15432001-09-27 Daniel Jacobowitz <drow@mvista.com>
1544
1545 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1546 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1547
b55a4771
MS
15482001-09-27 Michael Snyder <msnyder@redhat.com>
1549
1550 * lib/gdb.exp (test_debug_format): New proc.
1551 (setup_xfail_format): Use new proc test_debug_format.
1552 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1553 proc; use new service proc test_debug_format.
1554 Replace all other "gcc_compiled" tests with this test.
1555 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1556 proc; use new service proc test_debug_format.
1557 Replace all other "gcc_compiled" tests with this test.
1558
15592001-09-27 Michael Snyder <msnyder@redhat.com>
1560
1561 * gdb.base/cvexpr.exp: New file.
1562 * gdb.base/cvexpr.c: New file
1563 Test for expressions using const and volatile keywords.
1564
4e6667ac
CV
15652001-09-26 Corinna Vinschen <vinschen@redhat.com>
1566
1567 * gdb.base/constvars.exp: Check for different orders of keywords
1568 and additional "int" strings in output.
1569
4f337972
AC
15702001-09-22 Andrew Cagney <ac131313@redhat.com>
1571
1572 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1573 responses from "help maint".
1574
2015650d
FCE
15752001-09-19 Frank Ch. Eigler <fche@redhat.com>
1576
1577 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1578 to localhost:NNN instead of :NNN, in case Xvfb is listening
1579 only on TCP.
1580
f3bcedc1
CV
15812001-09-19 Corinna Vinschen <vinschen@redhat.com>
1582
1583 * gdb.base/recurse.exp: When checking leaving the watchpoint
1584 scope, recognize when gdb is in function's epilogue and pass.
1585
6b819c92
KS
15862001-09-18 Keith Seitz <keiths@redhat.com>
1587
1588 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1589 support for running tests against sid targets.
1590 (gdbtk_done): Ditto.
1591
a10c9419
CV
15922001-09-18 Corinna Vinschen <vinschen@redhat.com>
1593
1594 * gdb.base/ending-run.c (main): Set stdout buffersize
1595 to the same reasonable value for any target.
1596 * gdb.base/ending-run.exp: Add a regular expression
1597 to make testsuite happy on Sanyo Stormy16 target.
1598
739d0d99
CV
15992001-09-17 Corinna Vinschen <vinschen@redhat.com>
1600
1601 * gdb.base/display.c (do_loops): Add float variable `f'.
1602 Increment f in loop.
1603 * gdb.base/display.exp: Increment timeout by 60 seconds.
1604 Change float display test to use variable `f'.
1605
1b8947f0
JB
16062001-09-17 Jim Blandy <jimb@redhat.com>
1607
1608 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1609 overflowing the limited breakpoint tables on some ROM monitors
1610 (like the ROM68K).
1611
9890ac81
FCE
16122001-09-15 Frank Ch. Eigler <fche@redhat.com>
1613
1614 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1615 the "-ac" (disable access control) flag.
1616
6db765ea
JH
16172001-08-30 Jeff Holcomb <jeffh@redhat.com>
1618
1619 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1620 ints.
1621
4c32cc04
KS
16222001-08-30 Keith Seitz <keiths@redhat.com>
1623
1624 * lib/gdb.exp: Move all insight-related functionality into
1625 separate file.
1626 * lib/insight-support.exp: New file.
1627
8d6e6f81
FCE
16282001-08-29 Frank Ch. Eigler <fche@redhat.com>
1629
1630 * config/sid.exp (sid_start): Never set sid verbosity; disable
1631 expect_background {} that consumed its stdout; tolerate </dev/null.
1632 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1633
6a90e1d0
AC
16342001-08-18 Andrew Cagney <ac131313@redhat.com>
1635
1636 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1637 CLI jump command to start it.
1638 (mi_run_to_main): Fail immediatly when unexpected output.
1639
1759b3c3
AC
16402001-08-18 Andrew Cagney <ac131313@redhat.com>
1641
1642 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1643 beginning of function. Fix PR gdb/191.
1644
61d11d80
FCE
16452001-08-16 Frank Ch. Eigler <fche@redhat.com>
1646
1647 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1648 what to force sid endianness to.
1649
942a4df2
KS
16502001-08-15 Keith Seitz <keiths@redhat.com>
1651
1652 * lib/gdb.exp (gdbtk_start): Don't set environment
1653 variables for TCL_LIBRARY and friends. Insight will
1654 now figure these out for itself.
1655
0521c418
MS
16562001-08-02 Michael Snyder <msnyder@redhat.com>
1657
1658 * gdb.base/completion.exp: Remove the symbol "a64l" from
1659 the expect string; this is target-specific, and not related
1660 to what is being tested.
1661
74a9a58a
DB
16622001-08-02 Dave Brolley <brolley@redhat.com>
1663
1664 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1665
c70819fa
MS
16662001-07-25 Michael Snyder <msnyder@redhat.com>
1667
c2b8fa57
MS
1668 * gdb.base/consecutive.exp: New file. Test stepping over
1669 breakpoints on consecutive instructions.
1670 * gdb.base/consecutive.c: New file.
1671
c70819fa
MS
1672 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1673 curly braces in regular expressions.
1674
2b1a1355
MS
16752001-07-25 Michael Snyder <msnyder@redhat.com>
1676
1677 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1678 legitimate output from stepping out of main.
1679
413eca6f
KS
16802001-07-22 Keith Seitz <keiths@redhat.com>
1681
1682 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1683 the empty string, do not run the tests.
1684
7e5a9322
SC
16852001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1686
1687 * gdb.base/long_long.exp: Detect size of pointer. Take into
1688 account 2-byte pointers when testing for p/a results.
1689
de58f10f
SC
16902001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1691
1692 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1693 and defined to 1K for m68hc11.
1694 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1695 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1696 (sizeof_random_data): New variable to tell the size of the data table;
1697 don't test past this size; always run to main.
1698
d6f5fea1
SC
16992001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1700
1701 * gdb.base/return2.exp: return of long long and double fails for
1702 68HC11; don't execute these tests on that platform.
1703 * gdb.base/return.exp: Return of a double fails for 68hc11.
1704
c477543d
SC
17052001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1706
1707 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1708 tests that print a float.
1709 * call-rt-st.exp: Likewise.
1710
63cf1c79
MK
17112001-07-12 Mark Kettenis <kettenis@gnu.org>
1712
1713 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1714 running this test on Linux.
1715
112f9ab5
MC
17162001-06-24 Michael Chastain <chastain@redhat.com>
1717
1718 * gdb.base/arithmet.exp: Remove some tests to make all test names
1719 unique.
1720
4970cb0f
MS
17212001-07-03 Michael Snyder <msnyder@redhat.com>
1722
1723 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1724 the output of the ptype command.
1725
d85da69f
MS
17262001-07-02 Michael Snyder <msnyder@redhat.com>
1727
4c8a82de
MS
1728 * gdb.base/completion.exp: Don't assume that break.c is the only
1729 source file that may contain functions named "marker".
d85da69f
MS
1730 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1731
8afc772b
AC
17322001-06-28 Andrew Cagney <ac131313@redhat.com>
1733
1734 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1735 of files to delete.
1736
1737 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1738 * gdb.disasm/h8300s.exp: New file.
1739 gdb.disasm/h8300s.s: Likewise.
1740
cff22675
AC
17412001-06-27 Andrew Cagney <ac131313@redhat.com>
1742
1743 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1744 empty breakpoint tables.
1745
68c81b54
AC
17462001-06-25 Andrew Cagney <ac131313@redhat.com>
1747
1748 * lib/mi-support.exp: Update args=... part of stop-reason
1749 patterns. Accept either a list or a tuple.
1750
2dd62704
AC
17512001-06-23 Andrew Cagney <ac131313@redhat.com>
1752
1753 * lib/mi-support.exp: Remove local emacs variable defining
1754 change-log-default-name.
1755
b4127474
MC
17562001-06-22 Michael Chastain <chastain@redhat.com>
1757
1758 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1759 This is operationally compatible with the previous version.
1760
8dbfb380
JB
17612001-06-13 Jim Blandy <jimb@redhat.com>
1762
1763 * lib/gdb.exp (gdb_test): Doc fix.
1764
f2d8c86d
MC
17652001-06-10 Michael Chastain <chastain@redhat.com>
1766
1767 * gdb.base/exprs.exp: Remove a duplicate test.
1768
81564d34
JB
17692001-06-06 Jim Blandy <jimb@redhat.com>
1770
1771 * gdb.base/return2.exp (main): Use values to test float and double
1772 returns that are not NaN's, to avoid being confused by IEEE
1773 comparison rules.
1774
da55addb
MS
17752001-06-04 Michael Snyder <msnyder@redhat.com>
1776
1777 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1778 non-zero if control_c fails. Terminate the test on failure,
1779 rather than wait for 12 more tests to time out.
1780
42c65987
JB
17812001-06-06 Jim Blandy <jimb@redhat.com>
1782
b18bced9
JB
1783 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1784 Don't forget to match the GDB prompt.
1785
42c65987
JB
1786 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1787
5b41e5f0
JB
17882001-06-04 Jim Blandy <jimb@redhat.com>
1789
1790 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1791 command.
1792
015e046f
KB
17932001-05-31 Kevin Buettner <kevinb@redhat.com>
1794
1795 * gdb.base/annota1.exp (info break): Match four or more spaces
1796 after "Address".
1797
fb1ffbbe
MC
17982001-05-31 Michael Chastain <chastain@redhat.com>
1799
1800 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1801 (dm_type_int_star): Likewise.
1802 (dm_type_long_star): Likewise.
1803 (dm_type_void_star): Likewise.
1804
5ea2a32c
KB
18052001-05-29 Kevin Buettner <kevinb@redhat.com>
1806
1807 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1808 to a known value in order to get consistent results regardless
1809 of the setting of INPUTRC or the presence or contents of .inputrc.
1810
ae23c492
MS
18112001-05-24 Michael Snyder <msnyder@redhat.com>
1812
ac55707e
MS
1813 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1814 Don't require that the main thread and the manager thread are the
1815 first in the list.
1816
ae23c492
MS
1817 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1818 debugging. If test fails, issue an "unsupported" not a "fail".
1819
400071f1
JB
18202001-05-24 Jim Blandy <jimb@redhat.com>
1821
1822 Don't assume that short is shorter than int.
1823 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1824 assume that shorts are smaller than ints. On a 16-bit machine,
1825 this isn't true.
1826 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1827 an int, is not equal to ~0 stored in an unsigned char. This tests
1828 the same thing that the previous test meant to, but works on
1829 16-bit machines, too.
1830 ("print unsigned char != (~0)"): Same test, complemented.
1831
0816a3e5
MS
18322001-05-24 Michael Snyder <msnyder@redhat.com>
1833
1834 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1835 test for (full_coverage == 0). This makes the test run faster,
1836 and prevents dejagnu getting out of step.
1837
f6dc23a9
KB
18382001-05-23 Kevin Buettner <kevinb@redhat.com>
1839
1840 * gdb.base/finish.exp (finish_void): Revise pattern for
1841 stopping on the call statement to not permit stopping at
1842 the start of the instructions comprising the call sequence.
1843
7dbd117d
MC
18442001-05-19 Michael Chastain <chastain@redhat.com>
1845
1846 * gdb.base/callfuncs.exp: Make all test names unique.
1847 * gdb.base/commands.exp: Make all test names unique.
1848 * gdb.base/condbreak.exp: Make all test names unique.
1849 * gdb.base/dbx.exp: Make all test names unique.
1850 * gdb.base/default.exp: Make all test names unique.
1851 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1852 and TIMEOUT messages to their corresponding PASS message.
1853 * gdb.base/ending-run.exp: Make all test names unique.
1854 * gdb.base/long_long.exp: Remove duplicate test.
1855
6b0b0a9e
KB
18562001-05-21 Kevin Buettner <kevinb@redhat.com>
1857
1858 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1859 stop on the call statement as well as the statement after the
1860 call.
1861
2caa35cb
MS
18622001-05-21 Michael Snyder <msnyder@redhat.com>
1863
1864 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1865
40713331
EZ
18662001-05-10 Elena Zannoni <ezannoni@redhat.com>
1867
1868 * gdb.base/completion.exp: Revamp test. Make it execute on all
1869 platforms.
1870
c2c1be8d
EZ
18712001-05-10 Elena Zannoni <ezannoni@redhat.com>
1872
2c9cd303
EZ
1873 * config/gdbserver.exp (gdb_load): Handle the case
1874 in which the arguments to gdbserver are given in the
1875 baseboard configuration file.
1876 Also handle the case in which the server needs to do a
1877 load.
1878
9671de48
KS
18792001-05-07 Keith Seitz <keiths@cygnus.com>
1880
1881 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1882 set up the display for testing.
1883 (gdbtk_start): Convert all paths to paths that tcl will like.
1884 Export target information to environment.
1885 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1886 necessary.
1887 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1888 (to_tcl_path): New proc to convert a given pathname into
1889 a path acceptible as an argument to a tcl command.
1890 (_gdbtk_export_target_info): New proc to export target info
1891 into the environment for gdbtk testing.
1892 (gdbtk_done): New proc to signal end-of-test.
1893
5a360f47
JB
18942001-05-06 Jim Blandy <jimb@redhat.com>
1895
1896 * restore.c: Make the code of caller0 correspond to its comment.
1897
66c756c6
MS
18982001-05-03 Michael Snyder <msnyder@redhat.com>
1899
1900 * config/sid.exp (gdb_target_sid): Check for error messages.
1901 On error or timeout, don't make expect exit (which will terminate
1902 all subsequent tests); instead just make gdb exit.
1903 (gdb_load): Check for error messages. On error or timeout,
1904 return a negative value.
1905
a966fde5
JB
19062001-04-24 Jim Blandy <jimb@redhat.com>
1907
851c18e0
JB
1908 * gdb.c++/templates.exp: If we see the prompt for the overload
1909 list, but we haven't recognized any of the longer patterns,
1910 arrange for this test to fail, not hang.
1911
a966fde5
JB
1912 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1913 variations.
1914
db144853
MC
19152001-04-22 Michael Chastain <chastain@redhat.com>
1916
1917 * gdb.c++/local.exp: Use the 'runto' library function.
1918 * gdb.c++/namespace.exp: Likewise.
1919 * gdb.c++/overload.exp: Likewise.
1920
3207ec21
KB
19212001-03-26 Kevin Buettner <kevinb@redhat.com>
1922
1923 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1924 * gdb.base/step-line.exp: New file. Test step/next in presence of
1925 #line directives.
1926 * gdb.base/step-line.c: New file. Test program for the above.
1927 * gdb.base/step-line.inp: New file. We pretend that this file has
1928 been transformed by some other tool into step-line.c.
1929
13b57657
JB
19302001-03-21 Jim Blandy <jimb@redhat.com>
1931
1932 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1933 unmangled operator names.
1934
754cbe1c
JB
19352001-03-20 Jim Blandy <jimb@redhat.com>
1936
1937 * gdb.threads/linux-dp.exp: Recognize an additional message
1938 generated by GDB when it doesn't understand how to debug threads
1939 on the target system.
1940
177495c9
AC
19412001-03-19 Andrew Cagney <ac131313@redhat.com>
1942
1943 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1944
f266096b
MC
19452001-03-12 Michael Chastain <chastain@redhat.com>
1946
1947 * gdb.c++/derivation.exp: Use the 'runto' library function.
1948
cac3c2ff
MC
19492001-03-12 Michael Chastain <chastain@redhat.com>
1950
1951 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1952
b6c11a24
MC
19532001-02-24 Michael Chastain <chastain@redhat.com>
1954
1955 * gdb.c++/ref-types.exp: Change handwritten code to library
1956 function 'runto'.
1957
6bae5bce
OF
19582001-03-16 Orjan Friberg <orjanf@axis.com>
1959
1960 * gdb.base/signals.exp: Set count to 0 explicitly.
1961
0015fd9a
MS
19622001-03-15 Mark Salter <msalter@redhat.com>
1963
1964 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1965 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
1966 (gdb_load): Add support for additional target_info: gdb_download_size
1967 and gdb_load_timeout.
0015fd9a 1968
fc33412a
DT
1969Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1970
1971 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1972 file -- to prevent failing when the compile fails but we have no
1973 intention of running the tests anyway.
1974
1975 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1976 tests if set.
1977
1978 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1979 integers.
1980
1981 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1982 * gdb.c++/namespace.exp: Ditto.
1983
115f06de
OF
19842001-03-07 Orjan Friberg <orjanf@axis.com>
1985
1986 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
1987 * gdb.base/pointers.exp: Relax pattern match of decimals.
1988
b6ba6518
KB
19892001-03-06 Kevin Buettner <kevinb@redhat.com>
1990
1991 * Makefile.in, config/abug.exp, config/cfdbug.exp,
1992 config/cpu32bug.exp, config/dve.exp, config/est.exp,
1993 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
1994 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
1995 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
1996 config/sh.exp, config/sid.exp, config/slite.exp,
1997 config/sparclet.exp, config/udi.exp, config/unknown.exp,
1998 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
1999 config/vxworks.exp, config/vxworks29k.exp,
2000 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2001 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2002 gdb.base/arithmet.exp, gdb.base/assign.exp,
2003 gdb.base/async.exp, gdb.base/attach.exp,
2004 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2005 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2006 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2007 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2008 gdb.base/commands.exp, gdb.base/completion.exp,
2009 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2010 gdb.base/constvars.exp, gdb.base/corefile.exp,
2011 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2012 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2013 gdb.base/ending-run.exp, gdb.base/environ.exp,
2014 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2015 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2016 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2017 gdb.base/funcargs.exp, gdb.base/help.exp,
2018 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2019 gdb.base/logical.exp, gdb.base/long_long.exp,
2020 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2021 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2022 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2023 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2024 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2025 gdb.base/regs.exp, gdb.base/relational.exp,
2026 gdb.base/remote.exp, gdb.base/reread.exp,
2027 gdb.base/restore.exp, gdb.base/return2.exp,
2028 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2029 gdb.base/selftest.exp, gdb.base/setshow.exp,
2030 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2031 gdb.base/sigall.exp, gdb.base/signals.exp,
2032 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2033 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2034 gdb.base/step-test.exp, gdb.base/structs.c,
2035 gdb.base/structs.exp, gdb.base/structs2.exp,
2036 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2037 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2038 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2039 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2040 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2041 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2042 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2043 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2044 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2045 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2046 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2047 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2048 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2049 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2050 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2051 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2052 gdb.trace/circ.exp, gdb.trace/collection.exp,
2053 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2054 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2055 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2056 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2057 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2058 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2059 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2060 notices.
2061
dc96c6c7 20622001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2063
2064 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2065 first arg is int not float.
2066
dc96c6c7 20672001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2068
2069 * gdb.base/reread.exp: Unsupported for non-native targets;
2070 doesn't work for remote debugging.
2071
9b0c4aeb
FN
20722001-02-19 Fernando Nasser <fnasser@redhat.com>
2073
2074 From Drew Moseley <dmoseley@redhat.com>
2075 * gdb.base/ending-run.exp: Properly handle the BSP state when
2076 stepping past the end of main.
2077
02aa71d5
MC
20782001-02-19 John Moore <jmoore@redhat.com>
2079
2080 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2081 Converted HPUX fix for non-expected items following multiple
2082 step commands into general solution for all platforms.
2083
1fa449a4
MC
20842001-02-18 Michael Chastain <chastain@redhat.com>
2085
2086 * gdb.c++/classes.exp (do_tests): Change runto statements
2087 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2088 statements demangler agnostic.
2089 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2090 (gdb_virtfunc_restart): Likewise.
2091
b2f9ec70
MC
20922001-02-14 Michael Chastain <chastain@redhat.com>
2093
2094 * gdb.c++/inherit.exp (do_tests): Change runto statements
2095 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2096 statements demangler agnostic.
2097
cf74b8ca
AC
2098Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2099
2100 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2101 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2102 before calling common_routine 15 times'' tests.
2103
99f78f56
MC
21042001-02-11 Michael Chastain <chastain@redhat.com>
2105
2106 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2107 Helps the test script figure out which demangler is in use.
2108 (dm_type_foo_ref): Ditto.
2109 (dm_type_int_star): Ditto.
2110 (dm_type_long_star): Ditto.
2111 (dm_type_unsigned_int): Ditto.
2112 (dm_type_void): Ditto.
2113 (dm_type_void_star): Ditto.
99707966 2114 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2115 Probe the gdb demangler and set variables to accommodate
2116 formatting differences.
2117 (info_func_regexp): New function. Same as info_func, but
2118 matches against a regexp.
2119 (info_func): Match against a literal string.
2120 (print_addr_2): New function. Match against a literal string,
2121 which can be different from the input to gdb.
2122 (print_addr): Simply call print_addr_2 with the same argument twice.
2123 (test_lookup_operator_functions): Use demangler formatting variables.
2124 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2125 the tests in the same order as the C++ class declaration.
2126 (test_paddr_operator_functions): Ditto.
2127 (test_paddr_overloaded_functions): Ditto.
2128 (test_paddr_hairy_functions): Use demangler formatting variables.
2129 Add reference to gdb/19 for related tests.
2130 (do_tests): Call probe_demangler.
2131
1de8f023
KB
21322001-01-30 Kevin Buettner <kevinb@redhat.com>
2133
2134 * gdb.c++/templates.cc (printf): Remove unused function definition.
2135
ca3f91ed
MS
21362001-01-26 Felix Lee <flee@redhat.com>
2137
2138 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2139
21402001-01-25 matthew green <mrg@redhat.com>
2141
2142 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2143 up sid.
2144 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2145
21462001-01-25 matthew green <mrg@redhat.com>
2147
2148 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2149 Deprecate $sid_spawn_id.
2150 (sid_exit): Remove code necessary only for `spawn.'
2151
21522001-01-25 matthew green <mrg@redhat.com>
2153
2154 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2155
fb18ec4a
MC
21562001-01-28 Michael Chastain <chastain@redhat.com>
2157
2158 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2159 to call when tests fail. It takes gdb out of the overloaded
2160 function choice menu back to the main prompt, so that the test
2161 program stays synchronized.
2162 (set_bp_overloaded): New proc to collect all the common
2163 code for setting a breakpoint on an overloaded name. Calls
2164 take_gdb_out_of_choice_menu when needed.
2165 (menu_overload1arg): New variable to collect the repeated
2166 instances of the expected menu for an overloaded name. Change
2167 the regular expression to handle changes in g++ type encoding:
2168 "void" can be either "void" or "", and "unsigned int" can be
2169 either "unsigned int" or "unsigned".
2170 (continue_to_bp_overloaded): Change regular expressions to handle
2171 changes in g++ type encoding.
2172 (no proc): Call take_gdb_out_of_choice_menu when needed.
2173 Remove redundant calls to "info break". Accept either "canceled"
2174 or "cancelled". Change regular expressions in "info break"
2175 calls to handle changes in g++ type encoding. Give all tests
2176 unique strings.
2177
9c646a6e
BE
21782001-01-17 Ben Elliston <bje@redhat.com>
2179
2180 * config/sid.exp: New file.
2181
9549d9c1
AC
2182Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2183
2184 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2185
dc96c6c7 21862000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2187
2188 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2189 Add a RE to accept a non-ascii char if one is ever presented.
2190
b4df4f68
FN
21912000-12-20 Fernando Nasser <fnasser@redhat.com>
2192
297dd0fd 2193 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2194
dc96c6c7 21952000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2196
2197 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2198 in regexp. One '\' does not suffice on Linux.
2199
4a7bddb6
MC
22002000-12-09 Michael Chastain <chastain@redhat.com>
2201
2202 * gdb.base/break.exp (test_clear_command): Use a marker function
2203 rather than 'main' for the test function. Also move this
2204 test to an execution point where the marker function names are
2205 guaranteed to be bound to functions. (Executing tests after a
2206 'finish' from main runs into name conflicts with local names
2207 in __libc_start_main).
2208
dc96c6c7 22092000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2210
2211 * gdb.base/finish.exp: New test for gdb's "finish" command.
2212 * gdb.base/return2.exp: New test for gdb's "return" command.
2213 * gdb.base/return2.c: New source file for above.
2214
dc96c6c7 22152000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2216
2217 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2218 * gdb.base/miscexprs.exp: Ditto.
2219 * gdb.base/pointers.exp: Ditto.
2220 * gdb.c++/derivation.exp: Ditto.
2221 * gdb.c++/local.exp: Ditto.
2222 * gdb.c++/namespace.exp: Ditto.
2223 * gdb.c++/overload.exp: Ditto.
2224 * gdb.c++/ref-types.exp: Ditto.
2225
dc96c6c7 22262000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2227
2228 * gdb.base/constvars.exp: Test result of "up" command.
2229 * gdb.base/miscexprs.exp: Ditto.
2230 * gdb.base/pointers.exp: Ditto.
2231 * gdb.base/scope.exp: Ditto.
2232 * gdb.c++/derivation.exp: Ditto.
2233 * gdb.c++/local.exp: Ditto.
2234 * gdb.c++/namespace.exp: Ditto.
2235 * gdb.c++/overload.exp: Ditto.
2236 * gdb.c++/ref-types.exp: Ditto.
2237
44097287
FN
22382000-11-22 Michael Chastain <chastain@redhat.com>
2239
2240 * mips_pro.exp: Accept either "middle -> top -> main" or
2241 "middle -> main" in the backtrace, because gcc can optimize
2242 tail calls to jumps. Remove setup_xfail for the hppa case.
2243 Add a comment with the original warning messages from PR 3016,
2244 which was filed in 1993, to preserve them for posterity.
2245
9d2e1bab
ND
22462000-11-17 Nick Duffek <nsd@redhat.com>
2247
2248 * lib/gdb.exp (gdb_test): Override timeout with board info.
2249
1aca8eb7
ND
22502000-11-17 Nick Duffek <nsd@redhat.com>
2251
2252 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2253 the second kill and detach messages.
2254
93076499
ND
22552000-11-17 Nick Duffek <nsd@redhat.com>
2256
2257 * configure.in: Add AC_EXEEXT.
2258 * configure: Regenerate.
2259 * Makefile.in (just-check): Export EXEEXT.
2260 * lib/gdb.exp ($EXEEXT): Import from environment.
2261 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2262 expect "maint dump-me" on Cygwin.
2263 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2264 $EXEEXT.
2265
30e87cd3
ND
22662000-11-17 Nick Duffek <nsd@redhat.com>
2267
2268 * gdb.base/break.exp: Test backtrace and finish from called
2269 function on all platforms, not just HP-UX.
2270
dc96c6c7 22712000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2272
2273 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2274 code from gdb_target_monitor, so it can be used independantly
2275 for gdbserver. Also comment out an unnecessary PUTS.
2276
dc96c6c7 22772000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2278
2279 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2280 * gdb.base/corefile.exp: Expect the message "Program is being
2281 debugged already" when we send the "corefile" command, since
2282 the preceeding gdb_load may have connected gdb to a remote target.
2283 * gdb.base/display.exp: Disable hardware watchpoints if new
2284 board info variable "no_hardware_watchpoints" is true.
2285 Replace single-letter commands with more readable ones.
2286 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2287 if new board info variable "no_hardware_watchpoints" is true.
2288 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2289 to see if stdio (printf) testing is possible.
2290 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2291 board info variable "no_hardware_watchpoints" is true. Use new
2292 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2293
39124dea
FN
22942000-11-13 Fernando Nasser <fnasser@redhat.com>
2295
2296 From Orjan Friberg <orjanf@axis.com>:
2297 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2298 in array print pattern match.
2299
a9e2e984
FN
23002000-11-09 Fernando Nasser <fnasser@redhat.com>
2301
2302 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2303 spelling "cancelled" to U.S. spelling "canceled" to match changes
2304 made to gdb.
2305 * gdb.c++/ovldbreak.exp: Ditto.
2306
c7db355b
PS
23072000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2308
2309 * gdb.base/callfuncs.c (main): Moved to end of file, call
2310 t_double_values to initialize the FPU before inferior calls are made.
2311 * gdb.base/callfuncs.exp: Test for register preservation after calling
2312 inferior functions. Add tests for continuining, finishing and
2313 returning from a stop in a call dummy.
2314
dc96c6c7 23152000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2316
2317 * gdb.base/commands.exp: Break up long lines, and re-indent.
2318
dc96c6c7 23192000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2320
2321 * config/gdbserver.exp: Rewritten from the ground up, to make it
2322 compatible with the current dejagnu tree, and to make it work with
2323 the new "gdbserver" in libremote.
2324
dc96c6c7 23252000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2326
2327 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2328 * gdb.base/varargs.exp: Skip entire test if no printf support.
2329 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2330 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2331
dc96c6c7 23322000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2333
2334 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2335 no floating point support.
2336 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2337 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2338 * gdb.base/call-rt-st.exp: Ditto.
2339 * gdb.base/call-strs.exp: Ditto.
2340
bac5fc66
JG
23412000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2342
2343 * gdb.base/sizeof.c: include <stdio.h>.
2344
2345 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2346 'finish', otherwise uncaptured gdb_prompt would potentially
2347 throw remaining test points out of sync.
2348
b22a6027
SB
23492000-07-26 Scott Bambrough <scottb@netwinder.org>
2350
2351 * gdb.base/recurse.exp: Run tests for all targets.
2352 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2353 gnu-oldld case on ARM.
2354 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2355 for ARM targets.
2356
d8231941
AG
2357Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2358
2359 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2360 * gdb.java/configure: Rebuild.
2361
8caabe69
AG
2362Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2363
2364 * gdb.java/jv-exp.exp: New file.
2365
9d273ca3
AG
2366Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2367
2368 * configure: Rebuilt.
2369 * configure.in (configdirs): Add gdb.java.
2370 * gdb.java/jmisc.java: New file.
2371 * gdb.java/jmisc.exp: New file.
2372 * gdb.java/Makefile.in: New file.
2373 * gdb.java/configure: Rebuilt.
2374 * gdb.java/configure.in: New file.
2375 * lib/java.exp: New file.
2376
4f823a66
AC
2377Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2378
2379 * gdb.base/exprs.exp: Test casts to a pointer including over and
2380 underflow.
2381
2391e11d
AC
2382Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2383
2384 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2385 and the compilers sizes.
2386
54602222
ND
23872000-07-09 Nick Duffek <nsd@redhat.com>
2388
2389 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2390 (use_methods): New function.
2391 (main): Call use_methods().
2392 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2393 (do_tests): Call test_method_param_class.
2394
2bec0572
ND
23952000-07-09 Nick Duffek <nsd@redhat.com>
2396
2397 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2398 spelling.
2399 (test_enums): New procedure. Move enum tests from end of script
2400 to here. Set breakpoint on function name instead of line number.
2401 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2402 (enums2): New marker function.
2403 (enums1): New function.
2404 (main): Call enums1(). Move enum tests to enums1().
2405
78492fde
AC
2406Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2407
2408 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2409 compile/link program. Update line numbers.
2410 * gdb.asm/d10v.inc: Define ``startup''.
2411 * gdb.asm/asmsrc1.s: Add definition of _start.
2412
49a2cef8
AC
2413Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2414
2415 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2416
3e6c8688
EZ
24172000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2418
2419 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2420 of 'help maint print' command.
2421
9ff5cbe9
AC
2422Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2423
2424 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2425 they use gdb_expect_list.
2426
17c579bd
AC
2427Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2428
2429 * gdb.base/commands.exp: Use ``set remote
2430 memory-read-packet-size'' instead of ``set endian big'' to test
2431 long commands.
2432
e6d71bf3
DB
24332000-06-03 Daniel Berlin <dan@cgsoftware.com>
2434
2435 * gdb.c++/templates.exp (do_tests): Make all of these work under
2436 g++, and stop skipping them.
2437
2438 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2439 work under g++.
2440
e5f9ba7b
MS
2441 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2442 initialization.
2443
dc96c6c7 24442000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2445
2446 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2447 the regular expression: accept an (almost) arbitrary sequence of
2448 "frames-invalid" and "breakpoints-invalid" messages both before
2449 and after the "starting" message.
2450
dc96c6c7 24512000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2452
2453 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2454
dc96c6c7 24552000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2456
2457 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2458 Relax the regular expression a little, make it pass on Solaris 8.
2459
8216cda9
KB
24602000-05-12 Kevin Buettner <kevinb@redhat.com>
2461
2462 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2463 a call, do not require that gdb stop on the line after the call.
2464 Instead, it is permissible for gdb to stop on the line of the
2465 call itself.
2466
1a570b2f
MS
24672000-05-12 Michael Snyder <msnyder@.cygnus.com>
2468
2469 * gdb.base/break.exp (bp on small function, optimized file):
2470 Add a second pass pattern. The behavior differs here between stabs
2471 and dwarf for one-line functions. Stabs preserves two line symbols
2472 (one before the prologue and one after) with the same line number,
2473 but dwarf regards these as duplicates and discards one of them.
2474 Therefore the address after the prologue (where the breakpoint is)
2475 has no exactly matching line symbol, and GDB reports the breakpoint
2476 as if it were in the middle of a line rather than at the beginning.
2477
dc96c6c7 24782000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2479
2480 * gdb.base/interrupt.exp: Make "pass" message say "send"
2481 rather than "send_gdb" (for consistancy).
2482
7d418785
AC
2483Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2484
2485 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2486 * gdb.c++/templates.cc: Properly check for GCC version number.
2487 * lib/compiler.cc: Likewise
2488
dc96c6c7 24892000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2490
2491 * gdb.base/break.exp: When compiled with -O2 optimization,
2492 gdb may not stop at the first line of main, due to code motion.
2493
dc96c6c7 24942000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2495
2496 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2497 This test depends on parsing the printf output from the target.
2498 Since the sparclet stub doesn't do stdio, this will never work.
2499 * gdb.base/call-rt-st.exp: ditto.
2500 * gdb.base/call-strs: ditto.
2501
dc96c6c7 25022000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2503
2504 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2505
2506 * gdb.base/ending-run.exp: After connecting to a remote target,
2507 but before running, the target will appear to be in a random
2508 location. Specify both a file and a line for breakpoints.
2509 Also, the function that calls main may be called 'init'
2510 rather than 'start'.
2511
a5a51225
EZ
25122000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2513
2514 * gdb.base/help.exp: Update output for add-symbol-file command.
2515
7930cc7c
FN
25162000-04-10 Fernando Nasser <fnasser@cygnus.com>
2517
2518 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2519 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2520
23e37ab1
C
25212000-04-07 J.T. Conklin <jtc@redback.com>
2522
e93c542c
C
2523 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2524
23e37ab1
C
2525 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2526
591b8fa3
PDM
2527Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2528
2529 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2530 values that can be represented exactly.
2531 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2532 above change, and to not check against the directory part of the source
2533 file name.
2534 (step into print_long_arg_list): Likewise.
2535 (print print_small_structs from print_long_arg_list): Likewise.
2536 (print print_long_arg_list): Likewise.
2537
7a495180
EZ
25382000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2539
30b53638 2540 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2541
beb998c6
AC
2542Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2543
2544 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2545
1c689132
DB
25462000-03-25 Daniel Berlin <dan@cgsoftware.com>
2547
2548 * gdb.base/commands.exp (deprecated_command_test): Add test for
2549 deprecate with no arguments.
2550
c1790a9d
JL
25512000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2552
2553 * gdb.base/break.exp: Add new test for setting breakpoints on
2554 optimized code so we can test breakpoints work even when function
2555 prologues may be optimized away
2556
003ba290
FN
25572000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2558
2559 From David Whedon <dwhedon@gordian.com>
2560 * gdb.base/commands.exp : Added command deprecator tests.
2561
6837a0a2
DB
25622000-03-22 Daniel Berlin <dan@cgsoftware.com>
2563
2564 * gdb.base/help.exp: Added test for new apropos command.
2565
b9593231
KB
25662000-03-21 Kevin Buettner <kevinb@redhat.com>
2567
2568 * gdb.base/pointers.c (usevar): New function.
2569 (main): Make sure that global variables v_int_pointer2, rptr,
2570 and y are all referenced someplace in the program by calling
2571 usevar() on them. [Some linkers delete symbols which are
2572 never referenced. The space remains, but there's no way to
2573 get a (symbolic) handle on the variable from the debugger.]
2574
751a959b
EZ
25752000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2576
2577 * gdb.base/printcmds.c: Add typedeffed arrays.
2578
2579 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2580 procedure to test arrays that are typedef'd.
2581
73a93a32
JI
25822000-03-13 James Ingham <jingham@leda.cygnus.com>
2583
2584 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 2585 the library directories.
73a93a32 2586
fb40c209
AC
2587Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2588
2589 * configure.in (configdirs): Add sub directory gdb.mi.
2590 * configure: Re-generate.
2591
2592 * gdb.mi: New directory.
beb998c6 2593
ee4dd2c9
AC
25942000-02-25 Scott Bambrough <scottb@netwinder.org>
2595
2596 * gdb.base/long_long.exp: Correct test suite failure when printing
2597 a long long value as a double on ARM platforms.
2598
70f0cc22
JB
25992000-02-16 Jim Blandy <jimb@redhat.com>
2600
2601 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2602 default source file is set properly before running this test.
2603
853819b8
EZ
26042000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2605
2606 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2607 gdbtk/library directory, not in gdbtcl2.
2608
dfcd3bfb
JM
26092000-02-04 Jim Blandy <jimb@redhat.com>
2610
2611 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2612 backslash from regexp pattern.
2613
2614 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2615 procedure. Use it to run all the "continue to bp overloaded"
2616 tests. Note that this changes the names of the tests slightly.
2617 If the breakpoint hit message includes a hex PC value, because
2618 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2619 from the real source code, still consider that a pass.
2620
2621 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2622 XFAIL here if the breakpoint message contains a hex address. Note
2623 similar change on 1999-11-02.
2624
2625 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2626
2627 * gdb.base/ptype.exp: Establish a default source file before
2628 calling get_debug_format.
2629
26302000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2631
2632 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2633
8b93c638
JM
26342000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2635
2636 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2637 of successive stepi commands -- while in the prologue we should see
2638 the function entry bracket.
2639
26402000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2641
2642 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2643 reach __change_mode() when stepping through the end of main().
2644
c5394b80
JM
26452000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2646
2647 * gdb.base/default.exp: Fix expected pattern.
2648 * gdb.base/help.exp: Same.
2649
0d06e24b
JM
26502000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2651
2652 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2653 Don't use xfail's because that affects only the following test.
beb998c6 2654
0d06e24b
JM
2655 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2656 solaris or linux.
2657
2658 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2659
dc96c6c7 26602000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2661
beb998c6 2662 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2663 "A syntax error" rather than "A parse error". Accept both.
2664
26652000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2666
2667 * gdb.base/default.exp: Remove OS dependent string from "target
2668 remote" test.
2669 * gdb.base/help.exp: Same for "help target remote" test.
2670
c3f6f71d
JM
26712000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2672
2673 From Jim Kingdon <kingdon@redhat.com>:
2674
2675 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2676 prompt (cleanup rather than necessity, but still might keep output
2677 from spilling to next test).
2678
26792000-01-02 Fred Fish <fnf@cygnus.com>
2680
2681 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2682 AIX, which defines them in <sys/types.h>.
2683
ed9a39eb 26841999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2685
ed9a39eb
JM
2686 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2687 float" test.
2688
26891999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2690
ed9a39eb 2691 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2692
2693 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2694 outermost frame disallowed".
2695
26961999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2697
2698 * gdb.base/setvar.exp: New tests for setting the value of a struct
2699 with a constant list.
2700
27011999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2702
2703 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2704 require the user to type a cast before setting the value of a struct.
2705
de57eccd
JM
27061999-12-06 Jim Blandy <jimb@cygnus.com>
2707
2708 * gdb.base/default.exp: Expect the new 'info float' command on
2709 all i386 platforms.
2710
2711 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2712 LinuxThreads libraries that don't support debugging.
2713
c2d11a7d
JM
2714Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2715
2716 * gdb.base/remote.c: Fill the buffer with truely random data.
2717 Change the buffer type to ``unsigned char'' to simplify size
2718 arithmetic.
2719
2720 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2721 stub only handles 400-1 byte packets. Verify that the download
2722 worked.
2723
27241999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2725
2726 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2727 tests, using UNRESOLVED for the untested cases. Also, does not wait
2728 for a timeout if the prompt was received before a recognizable pattern.
2729
27301999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2731
2732 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2733
27341999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2735
2736 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2737 watchpoints.
2738
27391999-11-24 Jason Merrill <jason@casey.cygnus.com>
2740
2741 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2742
2743 * gdb.c++/local.exp: Be more flexible in recognizing local class
2744 name mangling. Don't allow horribly truncated method names.
2745 * gdb.c++/derivation.exp: Expect protected inheritance.
2746 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2747 * gdb.c++/virtfunc.exp: Likewise.
2748 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2749 when printing a nested enum.
2750
27511999-11-22 Jim Blandy <jimb@cygnus.com>
2752
2753 * gdb.base/step-test.exp: Properly await GDB's response to setting
2754 a breakpoint on the call to large_struct_by_value.
2755
2756 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2757 just because we have debug info for the `start' function.
2758
27591999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2760
2761 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2762 "Unknown signal" messages, which indicate (on LinuxThreads) that
2763 GDB doesn't know how to debug threads on this system. This is
2764 better than hanging while philosopher 0 dumps chatter into gdb.log.
2765
27661999-11-18 Tom Tromey <tromey@cygnus.com>
2767
2768 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2769
27701999-11-18 Fred Fish <fnf@cygnus.com>
2771
2772 * gdb.base/coremaker2.c: Add sample program for generating
2773 cores that is more self contained than coremaker.c. Eventually
2774 I'll add more code to this and tie it into the testsuite.
2775
4ce44c66
JM
27761999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2777
2778 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2779
27801999-11-10 Jimmy Guo <guo@cup.hp.com>
2781
2782 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2783 from $srcdir/lib/.
2784 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2785 and gdb.c++/.
2786
2787 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2788
beb998c6 2789 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
2790 'continue with watch' test point.
2791
27921999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2793
2794 Merged from p2linux-990323-branch:
beb998c6 2795
4ce44c66
JM
2796 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2797
11cf8741
JM
2798Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2799
2800 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2801 {limit,fixed}''. Test ``set download-write-size''.
2802
2803Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2804
2805 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2806 gdb_expect_list.
2807
2808Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2809
2810 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2811
28121999-11-03 Mark Salter <msalter@cygnus.com>
2813
2814 * gdb.base/break.exp: Fix "stub continue" pattern.
2815
28161999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2817
2818 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2819
28201999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2821
2822 * gdb.base/display.exp ("finish"): Add timeout clause.
2823
2824 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2825 plain prompt clause, so this doesn't have to time out in order to
2826 fail.
2827
2828 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2829 breakpoint hit messages include an address.
2830
2831 * gdb.base/display.exp: Don't forget to escape parens in regular
2832 expressions. Unix regexp notatation sucks.
2833
28341999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2835
2836 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2837 order for 'signalled' message.
2838
5c44784c
JM
28391999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2840
2841 From Jimmy Guo <guo@cup.hp.com>:
2842 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2843 * gdb.base/annota1.c: Add code for tests to work with.
2844
28451999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2846
2847 * gdb.base/remote.exp: New test for remote downloading settings.
2848 * gdb.base/remote.c: New file with large .data.
2849
917317f4
JM
28501999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2851
2852 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2853 for LinuxThreads support, merged from the Code Fusion branch.
2854
2855Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2856
2857 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2858 containing exp_continue into a while within an expect. Don't
2859 attempt a start more than three times. Check return value from
2860 gdb_load.
beb998c6 2861
2df3850c
JM
2862Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2863
2864 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2865 a pass case.
2866
2acceee2
JM
28671999-10-01 Kevin Buettner <kevinb@cygnus.com>
2868
2869 * gdb.base/break.c (main): Added a statement that we can step
2870 off of.
2871 * gdb.base/break.exp: Added tests for setting a breakpoint
2872 at an offset and stepping onto a breakpoint.
2873
28741999-10-01 Fred Fish <fnf@cygnus.com>
2875
beb998c6 2876 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
2877 gdb output.
2878
c2c6d25f
JM
28791999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2880
2881 * gdb.base/break.exp: Code locations are in hex, don't forget!
2882 (For HP-UX.)
2883
28841999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2885
2886 * condbreak.exp: Use break.c as test program.
2887 * condbreak.c: Remove, redundant with break.c.
2888
28891999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2890
2891 * config/monitor.exp (gdb_target_monitor): Disable X- and
2892 Z-packets if the target needs it.
2893
28941999-09-13 James Ingham <jingham@leda.cygnus.com>
2895
2896 * gdb.c++/overload.exp: Added tests for listing overloaded
2897 functions with function pointers in the arg, explicitly calling
2898 out the version you want.
2899
cff3e48b
JM
29001999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2901
2902 * long_long.exp: Add variations of test cases that work for
2903 targets with 16-bit ints and 32-bit doubles.
2904
d4f3574e
SS
29051999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2906
2907 * break.c (main): Compare a possibly-uninitialized argc with an
2908 unlikely value that fits in 16 bits.
2909
29101999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2911
2912 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2913 0xfeeb, don't want negative numbers if ints are 16 bits.
2914
2915 * lib/gdb.exp (skip_cplus_tests): New proc.
2916 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2917 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2918 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2919 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2920 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2921 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2922 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2923 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2924
2925 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2926
2927Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2928
2929 * gdb.base/corefile.exp (up): Allow a parameter to appear
2930 in the frame that we're going up to.
2931
2932 From Jim Blandy <jimb@cygnus.com>:
2933
2934 * gdb.base/default.exp (info float): Expect some output now.
2935
2936 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2937 returning floating-point values to fail on the x86.
2938 * gdb.base/callfwmall.exp (do_function_calls): Same.
2939
2940 * gdb.base/list.exp (test_listsize): Correct expectations for
2941 listing line 1 with listsize 2. Also, listing a single line
2942 works now, as does listing three lines. [Kevin's note: There
2943 were a number of other cases fixed too where the expectations
2944 differed...]
2945
29461999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2947
2948 * gdb.base/selftest.exp: Add case for when version prints as
2949 constant string instead of char pointer.
2950
104c1213
JM
29511999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2952
2953 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2954 stepping out of main.
2955
2956 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2957 G++ used.
2958
2959 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2960 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2961
2962 * gdb.c++/ovldbreak.exp: Update match string in test that
2963 includes a warning of multiple breakpoints.
2964
29651999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2966
2967 * gdb.base/display.exp: Improve precision of step-after-finish
2968 added yesterday.
2969
2970 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2971 test.
2972
2973 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2974 configs when using G++, not just hppa*.
2975
29761999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2977
2978 * gdb.base/async.c: New file.
2979 * gdb.base/async.exp: New file.
2980
2981Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2982
2983 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2984 PA64.
2985
53a5351d
JM
2986Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
2987
104c1213
JM
2988 * gdb.base/display.exp: "finish" can leave us mid-line on many
2989 targets, deal with it. Add a small constant to main, instead of
2990 1000 since main+1000 may not be a valid address in the target.
2991
53a5351d
JM
2992 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
2993 on hpux11.
2994
2995 * gdb.base/attach.exp: Handle another hpux11 error message variant
2996 when attaching to a process that does not exist.
2997
29981999-08-19 J.T. Conklin <jtc@redback.com>
2999
3000 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3001 characters in 'continue to 1241' test.
3002
30031999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3004
3005 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3006 stop in print_long_arg_list, define and use a whitespace
3007 variable in print_small_structs test, add an XFAIL for Solaris.
3008 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3009 interested enough to fix.
3010
7be570e7
JM
30111999-08-13 Keith Seitz <keiths@cygnus.com>
3012
3013 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3014 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3015 proc knows about targets other than the natives.
3016 (test_assign): Use "gdb_run_cmd" to "run" the target.
3017 Check that we've actually hit the breakpoint at main.
3018 When we attempt to assign a value to a local variable, check
3019 that the variable is in the current scope, i.e., don't use
3020 a test with an empty result.
3021
3022Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3023
3024 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3025 command.
3026
30271999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3028
3029 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3030 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3031 gdb.compat, gdb.threads-hp.
3032 gdb.hp/configure, gdb.hp/configure.in: New files.
3033 gdb.hp/Makefile.in: Recurse into new subdirs.
3034 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3035 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3036 in object files.
3037 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3038
96baa820
JM
30391999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3040
3041 * gdb.base/display.exp: Help expect by putting a newline in the
3042 funky printf, remove a bogus p/a test.
3043
30441999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3045
3046 * gdb.base/display.exp: Make sure that when we say 'run', we are
3047 connected to the target. This is necessary when running not
3048 natively.
3049
30501999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3051
3052 * gdb.base/step-test.exp: Removed some extraneous messages.
3053
3054 * gdb.base/long_long.exp: Don't run memory examination tests
3055 on little-endian targets (they will need a different set of
3056 results to match).
3057
30581999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3059
3060 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3061 until somebody decides to fix GDB.
3062
3063 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3064 constant as "ULL".
3065 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3066 matches for a couple x/2 commands.
3067
a0b3c4fd
JM
30681999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3069
3070 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3071 by merging in ref-types2 tests.
3072 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3073
3074 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3075 * gdb.c++/Makefile.in: Add standard actions.
3076 (EXECUTABLES): Rename from PROGS, update list.
3077 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3078 from gdb.hp.
3079 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3080 foo and bar locals.
3081 * gdb.c++/anon-union.exp: Fix tests to match.
3082 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3083 expect matches to handle output variations.
3084 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3085 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3086 output, add HP alternatives for new and delete prints.
3087 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3088 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3089 * gdb.c++/demangle.exp: Use $style when reporting failure.
3090 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3091 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3092 match alternatives.
3093 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3094 compilers.
3095 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3096 * gdb.c++/method.exp: Add match alternatives.
3097 * gdb.c++/misc.cc: Add bool types.
3098 * gdb.c++/misc.exp: Add tests for bool types.
3099 * gdb.c++/overload.exp: Add xfails.
3100 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3101 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3102 add some more template parameter tests (only for HP currently).
3103 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3104 * gdb.c++/virtfunc.cc: Add return type and value for main.
3105 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3106 match alternatives.
beb998c6 3107
a0b3c4fd
JM
31081999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3109
3110 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3111
31121999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3113
3114 * gdb.base/signals.exp: Don't expect getting a backtrace from
3115 within a signal handler to fail on Linux.
3116
31171999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3118
3119 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3120 * lib/gdb.exp: Remove some gratuitious semicolons.
3121 (delete_breakpoints): Increase timeout.
3122 (gdb_expect): Add -notransfer option.
3123 (gdb_test): Use -notransfer option.
3124 (get_compiler_info): Add f77 case.
3125 (get_compiler): New proc, split out from gdb_preprocess, add f77
3126 case.
3127 (gdb_preprocess): Call get_compiler.
3128
3129 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3130 * gdb.base/attach.exp, gdb.base/display.exp,
3131 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3132 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3133 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3134 third arg to gdb_test.
3135 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3136 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3137 HP-UX xfails, add others.
3138 * gdb.base/completion.exp: Reflect name change of self-test.
3139 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3140 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3141 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3142 HP failure number.
3143 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3144 useless HP-UX 10.30 references.
3145 * gdb.base/maint.exp: Loosen matches.
3146 * gdb.base/pointers.c (main): Declare more_code.
3147 * gdb.base/pointers.exp: Match on output of a `next'.
3148 * gdb.base/structs.c: Add prototypes.
3149 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3150 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3151
31521999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3153
3154 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3155 command.
3156
31571999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3158
3159 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3160 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3161
3162 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3163 debug info. Deal with lack of signal hanlder info in stack.
3164
3165 From Jim Kingdon <kingdon@redhat.com>:
3166 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3167
5a2468f5
JM
31681999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3169
3170 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3171 gdb.base/foll-vfork.exp: Don't run for crosses.
3172
adf40b2e
JM
3173Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3174
3175 * gdb.base/configure.in: Check for gdbvars.exp instead of
3176 a1-selftest.exp.
3177 * gdb.base/configure: Re-generate.
3178
31791999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3180
3181 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3182 in trying to run first and name is too long.
3183
3184 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3185 pointers2.c and pointers2.exp, respectively.
3186 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3187 doschk happier.
3188
43e526b9
JM
31891999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3190
3191 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3192 callfuncs2.c and callfuncs2.exp.
3193
3194 * gdb.base/list.exp: Remove mistaken xfails.
3195 * gdb.base/list0.h: Add optional prototypes.
3196
9846de1b
JM
3197Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3198
3199 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3200 calling malloc.
3201 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3202 * ptype.exp: Move test for get_debug_format to before its first
3203 use.
3204
32051999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3206
3207 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3208 * gdb.base/annota2.cc, annota2.exp: Move from here.
3209 * gdb.c++/annota2.cc, annota2.exp: To here.
3210 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3211
43ff13b4
JM
3212Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3213
3214 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3215 a consistent format.
3216
085dd6e6
JM
32171999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3218
3219 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3220 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3221 HP compilers, also set the globals $true and $false.
3222
3223 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3224 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3225 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3226 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3227 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3228 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3229 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3230 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3231 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3232 whatis.c} Add C++ compatible function definitions and return
3233 types, add includes for library functions.
3234 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3235 * gdb.base/step-test.c (myglob): Rename from glob.
3236 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3237 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3238 files, move here from gdb.hp.
3239 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3240 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3241 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3242 Adjust line numbers in regexps.
3243
3244 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3245 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3246 instead of 0/1.
3247
3248 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3249 foll-vfork.exp: New files, move here from gdb.hp.
3250 * gdb.base/page.exp: New file, test of pagination command.
3251
3252 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3253 recursion test.
3254 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3255
3256 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3257 gdb.base/solib.exp: Fix compiler invocation process.
3258
3259 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3260 HP-UX 11, turn off overload resolution explicitly.
3261 * gdb.base/commands.exp: Set argument list explicitly, add
3262 watchpoint test.
3263 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3264 them work.
3265 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3266 expressions properly.
3267 * gdb.base/corefile.exp: Loosen the match slightly.
3268 * gdb.base/default.exp: Allow "Error accessing memory" message
3269 also.
3270 * gdb.base/display.exp: Skip over x/0 j if PA64.
3271 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3272 * gdb.base/interrupt.exp: Ditto.
3273 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3274 in use.
3275 * gdb.base/list.exp: Add xfails for HP-UX.
3276 * gdb.base/long_long.exp: Refine some of the numeric matches.
3277 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3278 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3279 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3280 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3281 * gdb.base/ptype.exp: Succeed on more varieties of output.
3282 * gdb.base/scope.exp: Add xfails for HP-UX.
3283 * gdb.base/sect-cmd.exp: Add more cases.
3284 * gdb.base/setvar.exp: Add xfails for HP-UX.
3285 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3286 * gdb.base/signals.exp: Match on void symbolically.
3287 * gdb.base/step-test.exp: Add case for PA64.
3288 * gdb.base/term.exp: Add exit and restart.
3289 * gdb.base/twice.exp: Clean up after self.
3290 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3291 * gdb.base/whatis.exp: Allow more ways to pass tests.
3292
3293 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3294 no longer useful.
3295
3296Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3297
3298 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3299 list of patterns.
3300 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3301 print_double_array(double_array)", "continuing to breakpoint
3302 1018", "print print_double_array(array_d)" and "continuing to
3303 1034" tests.
beb998c6 3304
085dd6e6
JM
33051999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3306
3307 * Makefile.in: Add empty html and install-html targets.
3308
33091999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3310
3311 * config/mt-*: Remove, these haven't been used since 1996.
3312
33131999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3314
3315 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3316 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3317 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3318
9e0b60a8
JM
33191999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3320
3321 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3322 simpler match case for the ptype of the big class.
3323
33241999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3325
3326 * gdb.exp: Fix test for gdb_prompt existence.
3327
33281999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3329
3330 * gdb.exp (gdb_test): Add fail after calls to perror.
3331
33321999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3333
3334 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3335
33361999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3337
3338 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3339
0f71a2f6
JM
3340Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3341
3342 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3343 malloc() is linked in.
3344
33451999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3346
3347 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3348 step at end.
3349
3350 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3351
33521999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3353
3354 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3355
cce74817
JM
3356Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3357
3358 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3359 * gdb.base/mips_pro.exp: Likewise.
3360
33611999-06-02 Keith Seitz <keiths@cygnus.com>
3362
3363 * gdb.c++/templates.cc: Change all "new" operators to throw
3364 an exception.
3365 * gdb.c++/cplusfuncs.cc: Likewise.
3366
3367 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3368
3369Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3370
3371 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3372 * gdb.base/ending-run.exp: When stepping out of main, accept a
3373 step into an arbitrary assembler file.
3374
392a587b
JM
33751999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3376
beb998c6 3377 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3378 "breakpoint-invalid" to be printed.
beb998c6 3379 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3380 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3381 * gdb.base/annota2.cc: Initialize a.x to 0.
3382
9e086581
JM
33831999-05-17 Keith Seitz <keiths@cygnus.com>
3384
3385 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3386 when "skip_float_tests" set.
3387 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3388 "print print_ten_doubles", and "step into print_long_arg_list".
3389 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3390 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3391 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3392 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3393 "skip_float_tests" is set.
3394 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3395 when "skip_float_tests" set.
beb998c6 3396
cd0fc7c3
SS
33971999-05-06 Keith Seitz <keiths@cygnus.com>
3398
3399 * gdb.base/annota2.cc: Include stdio.h.
3400
3401Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3402
3403 * gdb.base/crossload.exp: Remove, this has been disabled ever
3404 since BFD stopped including all targets, and cross-GDB gets
3405 plenty of testing anyway.
3406 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3407 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3408 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3409 * gdb.base/README: Remove, was doc for this.
3410 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3411 needed.
3412
b83266a0
SS
34131999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3414
3415 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3416 output.
3417
3418 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3419 * gdb.base/annota2.exp: New file. More annotation tests.
3420 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3421 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3422
34231999-04-23 Angela Marie Thomas <angela@cygnus.com>
3424
3425 * config/cfdbug.exp: New file.
3426
7a292a7a
SS
34271999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3428
3429 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3430 Marcus Daniel's and Dale Hawkins's demangler crashes.
3431
3432 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3433 test_lucid_style_demangling, test_arm_style_demangling,
3434 test_hp_style_demangling): Try Tom Tromey's core-dumping
3435 identifier under each demangling style.
3436
34371999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3438
3439 * gdb.c++/demangle.exp: Include the current demangling style
3440 in all test names.
3441 (current_demangling_style): New global variable.
3442 (set_demangling_style, test_demangling_core, test_demangling,
3443 test_demangling_exact): New functions.
3444 (test_gnu_style_demangling, test_lucid_style_demangling,
3445 test_arm_style_demangling, test_hp_style_demangling): Use those,
3446 instead of calling gdb_test and gdb_test_exact directly.
3447 (catch_demangling_errors): New function, which reports errors
3448 signalled by the demangling test functions in an orderly way.
3449 (do_tests): Use catch_demangling_errors.
3450
34511999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3452
3453 * gdb.base/signals.exp (test_handle_all_print): Use () for
3454 grouping in expressions, not {}.
3455
3456 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3457 initialized yet.
3458
34591999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3460
3461 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3462 are listed.
3463
34641999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3465
3466 * gdb.stabs/weird.exp: Test for CC being defined before
3467 looking at its value.
3468
34691999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3470
3471 * gdb.base/call-ar-st.exp: Remove stray '#'.
3472 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3473 "short int" and "long int".
3474 * gdb.c++/overload.cc: Cast the string added in the previous
3475 change, to mollify finicky HP compiler.
3476 * gdb.hp/reg-test.exp (testfile): Fix file name.
3477 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3478
7a292a7a
SS
3479 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3480 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3481 alternate form of enum ptype.
3482
c906108c
SS
34831999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3484
7a292a7a
SS
3485 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3486 * gdb.hp/*.exp: Change all to run compiler probe only after
3487 passing skip_hp_tests, so as not to waste time on guaranteed
3488 failure.
3489
c906108c
SS
3490 * gdb.c++/overload.cc: Pass string instead of char addr, always
3491 init ccpfoo.
3492 * gdb.c++/templates.cc: Fix syntax error.
3493
7a292a7a
SS
3494Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3495
3496 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3497 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3498 command.
3499
35001999-03-18 James Ingham <jingham@cygnus.com>
3501
3502 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3503
3504 * gdb.c++/method.exp: It was testing an uninitialized int on the
3505 stack and assuming it was positive.
3506
3507 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3508
3509 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3510 keep it from killing the rest of the tests.
7a292a7a
SS
3511 Use gdb_continue_to_end.
3512
3513 * gdb.base/sigall.exp: use gdb_continue_to_end.
3514
3515 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3516
3517 * gdb.base/display.exp: use runto_main, not run.
3518
beb998c6
AC
3519 * gdb.base/default.exp: Check for the current error message in the
3520 r abbreviation test.
7a292a7a
SS
3521 Add strongarm to the targets that know info float.
3522
beb998c6 3523 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3524 run which doesn't work with monitors.
3525
3526 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3527
3528 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3529
3530 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3531 program. Traps the case (in Cygmon) when the program never really
3532 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3533 more places, so I used my name. Sorry Mark...
3534
3535 * config/monitor.exp (gdb_target_monitor): added another
3536 target_info parameter: remotebinarydownload. This will set the
3537 remotebinarydownload flag if this is causing some boards trouble.
3538
35391999-03-18 Mark Salter <msalter@cygnus.com>
3540
3541 * lib/gdb.exp (continue_to_exit): New function.
3542
3543 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3544 * gdb.base/ending-run.exp: Ditto.
3545 * gdb.base/step-test.exp: Ditto.
3546
35471999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3548
3549 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3550 (suggested by Art Haas <ahaas@neosoft.com>).
3551
35521999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3553
3554 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3555
3556Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3557
3558 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3559 descriptions of types (short unsigned int vs unsigned short, etc).
3560
35611999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3562
3563 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3564 a call to strlen; sometimes we do have sources.
3565
35661999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3567
3568 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3569 character, so GDB won't print garbage after its end.
beb998c6 3570
c906108c
SS
3571 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3572 breakpoint there instead. Sometimes GCC emits memcpy to handle
3573 the large structures being passed by value, so we step into that
3574 instead of sum_array_print, which obscures what we're really testing.
3575 * gdb.base/step-test.exp: However, we do want a test that notices
3576 the bizarre steps into memcpy, so do that here. Add check for
3577 stepping into function calls that pass large structures by value.
3578 ("Is that a noun clause, or are you just happy to see me?")
3579 Remove all references to specific line numbers.
3580 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3581 New type and function.
3582 (main): Call large_struct_by_value, passing it a large struct by value.
3583 * lib/gdb.exp (gdb_get_line_number): New function.
3584
3585 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3586 more portable.
3587
7a292a7a
SS
35881999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3589
c906108c
SS
3590 * lib/gdb.exp: Doc fixes.
3591
7a292a7a
SS
35921999-03-05 Nick Clifton <nickc@cygnus.com>
3593
beb998c6 3594 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3595
35961999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3597
c906108c
SS
3598 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3599 commands. They're not germane to this test, and they don't work
3600 that way on remote targets.
3601
3fc11d3e
JM
36021999-03-01 James Ingham <jingham@cygnus.com>
3603
3604 * Changelog entries merged over from gdb development branch.
3605
3fc11d3e
JM
3606 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3607
3608 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3609 for outputting results of test run.
3610
2d4a1622 3611 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
3612
3613 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 3614
7a292a7a
SS
36151999-02-25 Felix Lee <flee@cygnus.com>
3616
3617 * lib/gdb.exp (debug_format): initialize
3618
c906108c
SS
36191999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3620
3621 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3622 * gdb.base/call-rt-st.c: Ditto.
3623
c906108c
SS
36241999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3625
3626 * gdb.threads/pthreads.exp (horiz): New variable.
3627 (test_startup): Fix regexps that capture thread numbers.
3628
36291999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3630
3631 * gdb.base/smoke.exp: Disambiguate two test case names (both
3632 called ``print'').
3633
3634Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3635
3636 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3637 compilation.
3638
36391999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3640
3641 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3642 actual output formatting.
3643 * gdb.base/smoke.exp: GDB removes leading 0's.
3644 * gdb.base/volatile.exp: Don't check type of remuneration;
3645 that variable is no longer defined in constvars.c.
3646 * gdb.base/step-test.c (main): Exit with explicit exit code.
3647 * gdb.base/step-test.exp: Remove two nexti checks--they are
3648 not portable.
3649
36501999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3651
3652 * gdb.base/help.exp ("help delete display"): Fix test to match
3653 gdb's output.
3654
3655 * gdb.base/long_long.c (known_types): Initialize values to zero.
3656 * gdb.base/long_long.exp: Step one more line
3657 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3658 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3659 unique test case names.
3660
3661Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3662
beb998c6 3663 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3664
3665 * gdb.c++/method.exp: Add missing close brace.
3666
36671999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3668
3669 * gdb.base/maint.exp: Use 'set height 0' to disable page
3670 prompting, not 'set height 400'.
3671
3672 Fix a bunch of timeouts.
3673 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3674 four separate tests, so expect doesn't take forever to match a ton
3675 of text against a regexp with lots of .* forms.
3676 ("maint print psymbols", "maint print symbols"): Make some of
3677 these greps more selective, so that expect doesn't try to wade
3678 through huge piles of output and time out.
3679
3680 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3681
3682 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3683 tests: one which doesn't expect shlib events to be reported, and
3684 another which does, but is XFAIL for all platforms other than
3685 HP/UX.
3686
3687 * gdb.base/break.exp: Teach the test suite that the `catch
3688 fork', `catch vfork', and `catch exec' commands produce error
3689 messages on platforms that don't provide these features.
3690
3691Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3692
3693 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3694 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3695 (shortening names from solib_threshold.exp etc), won't run on
3696 anything but HP-UX for the foreseeable future.
3697 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3698 reflect move.
3699
3700Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3701
3702 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3703 gdb.trace/Makefile.in (clean): Remove all test executables.
3704
3705Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3706
3707 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3708 successfully re-sets breakpoints in shared libraries.
3709 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3710
3711Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3712
beb998c6
AC
3713 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3714 and compiled w/o GCC.
c906108c
SS
3715
3716 * gdb.hp/watch-cmd.exp: ditto.
3717
3718 * gdb.hp/watch-hp.exp: ditto.
3719
3720 * gdb.hp/xdb1.exp: ditto.
3721
3722 * gdb.hp/xdb2.exp: ditto.
3723
3724 * gdb.hp/dbx.exp: ditto.
3725
3726Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3727
3728 * constvars.c: Remove C++-isms.
3729 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3730 with GCC.
3731
3732Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3733
3734 The following changes are part of the HP merge.
3735
3736 * gdb.base/break.exp: new tests to verify that catchpoints for
3737 fork, vfork, and exec don't trigger inappropriately.
3738
3739 * gdb.base/opaque.exp: compile one file at a time, then link.
3740
3741 * gdb.base/signals.exp: be more restrictive about which hppa
3742 systems receive a setup_xfail. new tests.
3743
3744 * gdb.base/solib_threshold.build: new file.
3745 * gdb.base/solib_threshold.exp: new file.
3746 * gdb.base/solib_threshold.link_opts: new file.
3747 * gdb.base/solib_threshold.mk: new file.
3748 * gdb.base/gen_solib_threshold.c: new file.
3749
3750 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3751 tests. New tests for enums inside classes.
3752
3753 * gdb.c++/compiler.cc: indicate support of template debugging.
3754
3755 * gdb.c++/demangle.exp: run hp style demangling tests.
3756
3757 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3758 tests.
3759
3760 * gdb.c++/misc.cc: changes to support new tests.
3761
3762 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3763 to support new tests.
3764
3765 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3766 gcc, then skip these tests.
3767
3768Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3769
3770 The following files are part of the HP merge; some had longer
3771 names at HP, but have been renamed to be no more than 14
3772 characters in length.
3773
3774 * gdb.hp/ambiguous.cc: new file.
3775 * gdb.hp/ambiguous.exp: new file.
3776 * gdb.hp/attach.exp: new file.
3777 * gdb.hp/attach2.exp: new file.
3778 * gdb.hp/classes-hp.exp: new file.
3779 * gdb.hp/ctti.exp: new file.
3780 * gdb.hp/ctti-add.cc: new file.
3781 * gdb.hp/ctti-add1.cc: new file.
3782 * gdb.hp/ctti-add2.cc: new file.
3783 * gdb.hp/ctti-add3.cc: new file.
3784 * gdb.hp/dbx.exp: new file.
3785 * gdb.hp/exception.cc: new file.
3786 * gdb.hp/exception.exp: new file.
3787 * gdb.hp/foll-exec.c: new file.
3788 * gdb.hp/foll-exec.exp: new file.
3789 * gdb.hp/foll-fork.c: new file.
3790 * gdb.hp/foll-fork.exp: new file.
3791 * gdb.hp/foll-vfork.c: new file.
3792 * gdb.hp/foll-vfork.exp: new file.
3793 * gdb.hp/inherit-hp.exp: new file.
3794 * gdb.hp/more-steps.exp: new file.
3795 * gdb.hp/namespace.cc: new file.
3796 * gdb.hp/namespace.exp: new file.
3797 * gdb.hp/optimize.exp: new file.
3798 * gdb.hp/pxdb.c: new file.
3799 * gdb.hp/pxdb.exp: new file.
3800 * gdb.hp/quicksort.exp: new file.
3801 * gdb.hp/reg-test.exp: new file.
3802 * gdb.hp/reg-test.s: new file.
3803 * gdb.hp/sized-enum.c: new file.
3804 * gdb.hp/sized-enum.exp: new file.
3805 * gdb.hp/start-stop.exp: new file.
3806 * gdb.hp/templ-hp.cc: new file.
3807 * gdb.hp/templ-hp.exp: new file.
3808 * gdb.hp/thr-lib.c: new file.
3809 * gdb.hp/thr-lib.exp: new file.
3810 * gdb.hp/thr-lib.h: new file.
3811 * gdb.hp/thr-liblib.c: new file.
3812 * gdb.hp/virtfun-hp.c: new file.
3813 * gdb.hp/virtfun-hp.exp: new file.
3814 * gdb.hp/watch-cmd.exp: new file.
3815 * gdb.hp/watch-hp.exp: new file.
3816 * gdb.hp/xdb1.exp: new file.
3817 * gdb.hp/xdb2.exp: new file.
3818 * gdb.hp/xdb3.exp: new file.
3819
3820Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3821
3822 The following files are part of the HP merge; some had longer
3823 names at HP, but have been renamed to be no more than 14
3824 characters in length.
3825
3826 * gdb.base/ss.h: new file.
3827 * gdb.base/call-ar-st.c: new file.
3828 * gdb.base/call-ar-st.exp: new file.
3829 * gdb.base/call-rt-st.c: new file.
3830 * gdb.base/call-rt-st-exp: new file.
3831 * gdb.base/call-strs.exp: new file.
3832 * gdb.base/ena-dis-br.exp: new file.
3833 * gdb.base/environ.exp: new file.
3834 * gdb.base/long_long.exp: new file.
3835 * gdb.base/sect-cmd.exp: new file.
3836 * gdb.base/shlib-cl2.exp: new file.
3837 * gdb.base/smoke.exp: new file.
3838 * gdb.base/so-impl-ld.c: new file.
3839 * gdb.base/so-impl-ld.exp: new file.
3840 * gdb.base/so-indr-cl.c: new file.
3841 * gdb.base/so-indr-cl.exp: new file.
3842 * gdb.base/varargs.exp: new file.
3843 * gdb.base/volatile.exp: new file.
3844 * gdb.base/whatis-exp.exp: new file.
7a292a7a 3845 * gdb.base/display.exp: new file.
c906108c
SS
3846 * gdb.c++/derivation.exp: new file.
3847 * gdb.c++/local.exp: new file.
3848 * gdb.c++/member-ptr.exp: new file.
3849 * gdb.c++/overload.exp: new file.
3850 * gdb.c++/ovldbreak.exp: new file.
3851 * gdb.c++/ref-types.exp: new file.
3852 * gdb.c++/ref-types2.exp: new file.
3853 * gdb.c++/userdef.exp: new file.
beb998c6 3854
c906108c
SS
3855Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3856
3857 * gdb.base/default.exp: Reflect wording change in remote.c.
3858
dc96c6c7 3859Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3860
3861 * gdb.base/help.exp: Update to reflect current text.
3862
3863Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3864
3865 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3866 they're stack variables and contain garbage.
3867 * gdb.c++/anon-union.exp: new file.
3868
3869 The following changes were made by David Taylor
3870 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3871 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3872 in changes by HP.
3873
3874 * gdb.base/bitops.exp: new file.
3875 * gdb.base/default.exp: change expected messages for catch and
3876 info catch tests to reflect HP merge changes.
3877 * gdb.base/enable-disable-break.exp
3878 * gdb.base/ending-run.c: new file.
3879 * gdb.base/long_long.c: new file.
3880 * gdb.base/maint.exp: new file.
3881 * gdb.base/pointers2.exp: new file.
3882 * gdb.base/shlib-call2.exp: new file.
3883 * gdb.base/solib.exp: new file.
3884 * gdb.base/step-test.c: new file.
3885 * gdb.c++/anon-union.cc: new file.
3886 * gdb.c++/local.cc: new file.
3887 * gdb.c++/member-pointer.cc: new file.
3888 * gdb.c++/method.cc: new file.
3889 * gdb.c++/ref-types.cc: new file.
3890 * gdb.c++/ref-types2.cc: new file.
3891 * gdb.c++/userdef.cc: new file.
beb998c6 3892
c906108c
SS
3893 * gdb.base/scope.exp: compile one file at a time, then link.
3894 * gdb.base/langs.exp: ditto.
3895 * gdb.base/list.exp: ditto.
beb998c6 3896
c906108c
SS
3897Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3898
3899 The following changes were made by David Taylor
3900 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3901 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3902 in changes by HP.
beb998c6 3903
c906108c
SS
3904 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3905 skip tests. When compiling pass c++ flag to gdb_compile.
3906 * gdb.c++/
beb998c6 3907
c906108c
SS
3908 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3909 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3910 (skip_hp_tests): new function.
3911 (gdb_preprocess): new function.
3912
3913 * configure.in (hpdir): decide whether to configure gdb.hp.
3914 * configure: regenerated.
3915
3916 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3917 to delete on clean.
3918 (EXECUTABLES): update to reflect new additions.
3919 * gdb.base/commands.exp: update message expected.
3920 * gdb.base/default.exp: add copyright notice.
3921 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3922 * gdb.base/help.exp: update messages to reflect current text.
3923 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3924 targets for recurse tests.
3925 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3926 skip this file.
3927
3928 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3929 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3930 compilation.
3931 * gdb.c++/misc.exp: ditto.
3932 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3933 run the tests. tell gdb_compile that it's a c++ compilation.
3934
3935 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 3936
c906108c
SS
3937 * gdb.base/all-bin.exp: new file.
3938 * gdb.base/arithmet.exp: new file.
3939 * gdb.base/assign.exp: new file.
3940 * gdb.base/completion.exp: new file.
3941 * gdb.base/cond-expr.exp: new file.
3942 * gdb.base/condbreak.exp: new file.
3943 * gdb.base/define.exp: new file.
3944 * gdb.base/dollar.exp: new file.
3945 * gdb.base/environment.exp: new file.
3946 * gdb.base/eval-skip.exp: new file.
3947 * gdb.base/jump.exp: new file.
3948 * gdb.base/logical.exp: new file.
3949 * gdb.base/pointers.exp: new file.
3950 * gdb.base/relational.exp: new file.
3951 * gdb.base/section_command.exp: new file.
3952 * gdb.base/whatis-expr.exp: new file.
3953
3954 * gdb.base/all-types.c: new file.
3955 * gdb.base/call-array-struct.c: new file.
3956 * gdb.base/call-return-struct.c: new file.
3957 * gdb.base/call-strings.c: new file.
3958 * gdb.base/callfuncs2.c: new file.
3959 * gdb.base/condbreak.c: new file.
3960 * gdb.base/constvars.c: new file.
3961 * gdb.base/display.c: new file.
3962 * gdb.base/int-type.c: new file.
3963 * gdb.base/jump.c: new file.
3964 * gdb.base/miscexprs.c: new file.
3965 * gdb.base/pointers.c: new file.
3966 * gdb.base/pointers2.c: new file.
3967 * gdb.base/shmain.c: new file.
3968 * gdb.base/shr1.c: new file.
3969 * gdb.base/shr2.c: new file.
3970 * gdb.base/solib.c: new file.
3971 * gdb.base/solib1.c: new file.
3972 * gdb.base/solib2.c: new file.
3973 * gdb.base/varargs.c: new file.
3974 * gdb.c++/derivation.cc: new file.
3975 * gdb.c++/overload.cc: new file.
3976 * gdb.c++/ovldbreak.cc: new file.
3977 * gdb.hp/attach.c: new file.
3978 * gdb.hp/attach2.c: new file.
3979 * gdb.hp/average.c: new file.
3980 * gdb.hp/compiler.c: new file.
3981 * gdb.hp/compiler.cc: new file.
3982 * gdb.hp/execd-program.c: new file.
3983 * gdb.hp/follow-exec.c: new file.
3984 * gdb.hp/follow-fork.c: new file.
3985 * gdb.hp/follow-vfork-and-exec.c: new file.
3986 * gdb.hp/misc-hp.cc: new file.
3987 * gdb.hp/more-steps.c: new file.
3988 * gdb.hp/optimize.c: new file.
3989 * gdb.hp/quicksort.c: new file.
3990 * gdb.hp/run-hp.c: new file.
3991 * gdb.hp/start-stop.c: new file.
3992 * gdb.hp/sum.c: new file.
3993 * gdb.hp/templates-hp.cc: new file.
3994 * gdb.hp/thread-local-in-lib.c: new file.
3995 * gdb.hp/thread-local-in-lib.h: new file.
3996 * gdb.hp/thread-local-in-lib.lib.c: new file.
3997 * gdb.hp/vforked-program.c: new file.
3998 * gdb.hp/virtfunc-hp.cc: new file.
3999 * gdb.hp/watchpoint-hp.c: new file.
4000 * gdb.hp/xdb.c: new file.
4001 * gdb.hp/xdb0.c: new file.
4002 * gdb.hp/xdb0.h: new file.
4003 * gdb.hp/xdb1.c: new file.
4004
4005Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4006
4007 The following change was made by Edith Epstein
4008 <eepstein@cygnus.com> as part of a project to merge in changes
4009 originally made by HP; HP did not create ChangeLog entries.
4010
4011 * gdb.c++/demangle.exp: changed the expected output for some
4012 ARM-style mangling -- removed second reference to datatype.
4013 For example, maint demangle __dt__11T1__pt__2_cFv
4014 T1<char>::~T1<char>(void)
4015 becomes,
4016 maint demangle __dt__11T1__pt__2_cFv
4017 T1<char>::~T1(void)
4018
4019 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4020
c906108c
SS
4021Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4022
4023 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4024 * gdb.trace/backtrace.exp: Likewise.
4025 * gdb.trace/circ.exp: Likewise.
4026 * gdb.trace/collection.exp: Likewise.
4027 * gdb.trace/deltrace.exp: Likewise.
4028 * gdb.trace/infotrace.exp: Likewise.
4029 * gdb.trace/limits.exp: Likewise.
4030 * gdb.trace/packetlen.exp: Likewise.
4031 * gdb.trace/passc-dyn.exp: Likewise.
4032 * gdb.trace/passcount.exp: Likewise.
4033 * gdb.trace/report.exp: Likewise.
4034 * gdb.trace/save-trace.exp: Likewise.
4035 * gdb.trace/tfind.exp: Likewise.
4036 * gdb.trace/tracecmd.exp: Likewise.
4037 * gdb.trace/while-dyn.exp: Likewise.
4038 * gdb.trace/while-stepping.exp: Likewise.
4039
40401998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4041
4042 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4043
4044Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4045
4046 From Brendan Kehoe:
4047 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4048 int return types.
4049
4050Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4051
4052 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4053 remote dos host testing right.
4054
4055Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4056
4057 * gdb.base/corefile.exp: remove some xfails.
4058
4059Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4060
4061 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4062 have different timestamps.
4063
4064Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4065
4066 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4067 gdb.base/default.exp: Replace "exec" with "executable".
4068
4069Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4070
4071 * gdb.base/default.exp: Change else if to elseif from previous
4072 delta.
4073
4074Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4075
4076 * gdb.base/default.exp: Add brace missing from previous delta.
4077
4078Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4079
4080 * gdb.base/default.exp: Support test for info float for all
4081 varieties of arm toolchain.
4082
dc96c6c7 4083Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4084
4085 * gdb.trace/*.exp: remove "remote_download" command.
4086
dc96c6c7 4087Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4088
4089 * gdb.trace/*.exp: remove -gdwarf from compile.
4090
4091Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4092
4093 * gdb.trace/configure.in(AC_INIT): typo
4094 * gdb.trace/configure: regenerated
4095
dc96c6c7 4096Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4097
4098 * config/m68k-emc.exp: New file.
4099 * lib/<emc-support.exp trace-support.exp}: New files.
4100 * configure.in: add new test directory gdb.trace.
4101 * gdb.trace/{configure configure.in Makefile.in}: New files.
4102 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4103 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4104 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4105 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4106 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4107 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4108 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4109
dc96c6c7 4110Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4111
4112 * gdb.c++/classes.exp: Change all regular expressions to match
4113 arbitrary combinations of newline/carriage-return, so that they
4114 will work equally well on Unix and Windows.
4115 * gdb.c++/inherit.exp: ditto.
4116 * gdb.c++/virtfunc.exp: ditto.
4117
41181998-08-11 Dawn Perchik <dawn@cygnus.com>
4119
4120 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4121
c2d11a7d
JM
4122Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4123
4124 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4125 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4126 to use a0-a3/d0-d3 as needed.
4127
4128Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4129
4130 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4131 * gdb.disasm/am33.exp: Corresponding changes.
4132
c906108c
SS
41331998-07-11 Felix Lee <flee@cygnus.com>
4134
4135 * gdb.base/callfuncs.exp: add cmp10 test.
4136 * gdb.base/callfuncs.c (cmp10): new function.
4137
4138Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4139
beb998c6 4140 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4141 into two parts to get around a synchronization problem in expect.
4142
3fc11d3e
JM
4143Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4144
4145 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4146
4147 * configure.in: Add options for gdbtk testsuite.
4148
4149 * configure: Regenerate.
4150
4151 * gdb.gdbtk: New directory to hold gdbtk tests.
4152
c906108c
SS
4153Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4154
4155 * gdb.fortran/types.exp: Escape brackets in expect patterns
4156 for test_float_literal_types_accepted tests.
4157 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4158 before run test.
4159
c2d11a7d
JM
4160Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4161
4162 * am33.exp: Just compile, do not link the testcase.
4163 * am33.s: Add ".am33" pseudoop to force am33 mode.
4164
c906108c
SS
41651998-06-25 Felix Lee <flee@cygnus.com>
4166
4167 * gdb.base/setshow.exp: make sure $pc is sane.
4168
4169 * gdb.stabs/weird.exp: split expect patterns properly.
4170
c2d11a7d
JM
4171Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4172
4173 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4174 * gdb.disasm/am33.exp: Run it.
4175
dc96c6c7 4176Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4177
4178 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4179 match processing (and eliminate spurious timeouts when running).
4180
dc96c6c7 4181Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4182
4183 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4184 exception test, but conditionalize it on target [mach | gnu].
4185
dc96c6c7 4186Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4187
4188 * gdb.base/overlays.exp: fixup compile line for linker script.
4189
4190Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4191
4192 * gdb.fortran/types.exp: don't guess at float size.
4193
4194Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4195
4196 * gdb.base/exprs.exp: delete test that depends on int size.
4197
4198Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4199
4200 * config/sim.exp: Removed checks for target triplets.
4201 (gdb_target_sim): Use gdb,target_sim_options.
4202
4203Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4204
4205 * gdb.base/reread.exp: New file.
4206 * gdb.base/reread1.c: New file.
4207 * gdb.base/reread2.c: New file.
4208
4209Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4210
4211 * config/sim.exp: Use 'target sim -sparclite' when running
4212 SPARClite programs.
4213
4214Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4215
4216 * gdb.base/structs2.exp: New file.
4217 * gdb.base/structs2.c: New file.
4218
4219Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4220
4221 * gdb.asm/common.inc: New file.
4222 * gdb.asm/d10v.inc: New file.
4223 * asm-source.exp: Pass -I's to gas to find .inc files.
4224 Update line numbers in expected output.
4225 * asmsrc1.s: Rewrite.
4226 * asmsrc2.s: Rewrite.
4227 * configure.in: Create arch.inc symlink.
4228 * configure: Regenerate.
4229 * Makefile.in (distclean): Delete arch.inc.
4230
4231Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4232
4233 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4234 (t_enum_value2): ditto
4235 (t_enum_value3): ditto
4236 (main): ditto
4237Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4238
4239 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4240 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4241 change.
4242 Use gdb_test instead of send_gdb/gdb_expect sequences.
4243
4244Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4245
4246 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4247 not void.
4248
4249Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4250
4251 * gdb.base/branches.c: Code with lots of loops and
4252 subroutines. Used to test gdbs ability to single step through PC
4253 changes, especially to test mips-tdep.c:mips_next_pc
4254
4255Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4256
4257 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4258 more rigorous EGCS C++ error checking.
4259
4260Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4261
4262 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4263 tests.
c906108c 4264 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4265 function when asleep.
c906108c 4266 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4267 for i*86 Linux and SVR4 signal handling problems.
4268 Remove linux xfail for `next to handler in signals_tests_1', fixed
4269 by recent infrun.c change.
c906108c 4270 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4271 stack backtraces.
c906108c
SS
4272 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4273 target.[ch] change.
4274
4275Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4276
4277 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4278 for a newline from gdb before continuing.
4279 (default_gdb_exit): Just look for y or n.
4280 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4281 it does, fail the rests of the tests in the file.
4282
4283Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4284
4285 * config/cygmon.exp: New file.
4286
4287Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4288
4289 * gdb.base/list.exp: Fix problem with "list default lines around
4290 main" test on remote targets.
4291
4292 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4293 run test on remote targets.
4294
4295Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4296
4297 * gdb.asm: New directory.
4298 * configure.in: Configure it.
4299 * configure: Regenerate.
4300 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4301 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4302
4303Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4304
4305 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4306
dc96c6c7 4307Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4308
c906108c
SS
4309 * gdb.base/overlays (several files): Merge the two overlay
4310 managers into one. Change variables (foox, barx, bazx, grbxx)
4311 back into ints but force them to load in their proper sections.
4312
4313Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4314
4315 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4316 on-chip insn memory and IMAP1 to upper 128k.
4317 (D10VCopy): Handle memory regions crossing 16k boundaries.
4318 (D10VCopy): Transfer data in 32 bit chunks.
4319
4320Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4321
4322 * gdb.base/overlays.c (main): Exit normally when result is
4323 correct.
4324
4325 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4326 map. Include space for printf in .text segment.
4327
4328 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4329 updated d10v memory VMA/LMA map.
4330 (D10VCopy): Call D10VTranslate.
beb998c6 4331
c906108c
SS
4332Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4333
4334 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4335
4336 * gdb.base/bar.c (barx, bar): Change variable to small array so
4337 that it won't be put into the .sdata - small data -
4338 section. Update reference.
4339 * gdb.base/baz.c (bazx, baz): Ditto.
4340 * gdb.base/foo.c (foox, foo): Ditto.
4341 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4342
4343 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4344 to be arrays.
beb998c6 4345
dc96c6c7 4346Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4347
c906108c
SS
4348 * gdb.base/overlays.exp: fix up and get working again.
4349 Add tests for backtraces from an overlay function.
beb998c6 4350
c906108c
SS
4351Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4352
4353 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4354 "calling function with watchpoint enabled".
4355
4356Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4357
4358 * gdb.base/break.exp (test_next_with_recursion): Remove
4359 gdb_suppress_tests for d10v-*-*.
4360 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4361 pending review of whether it is useful or not.
4362
4363Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4364
4365 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4366
4367Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4368
4369 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4370 * config/dve.exp: New file to support Densan boards.
4371
4372Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4373
4374 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4375 reads and BSD.
4376
4377Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4378
4379 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4380 response.
4381
4382 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4383
4384Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4385
4386 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4387 test.
4388
4389 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4390 target_sizeof_long and target_bigendian_p.
4391 (structs_by_value, structs_by_reference): Check values according
4392 to targets word size and endianess.
beb998c6 4393
c906108c
SS
4394Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4395
4396 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4397 output.
4398
4399Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4400
4401 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4402 Update test of set args help to match source change.
4403
4404Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4405
4406 * gdb.base/default.exp: Expect help system output to be in
4407 alphabetical order.
4408 * gdb.base/help.exp: Ditto.
4409
4410Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4411
4412 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4413 "i*86-pc-linux-gnu*".
4414 * gdb.base/interrupt.exp: Ditto.
4415 * gdb.base/corefile.exp: Ditto.
4416
4417 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4418 define vxworks when building the testcase.
4419
4420 * gdb.base/ptype.exp: Fix testnames to be unique.
4421 * gdb.base/radix.exp: Ditto.
4422 * gdb.base/term.exp: Ditto.
4423 * gdb.base/whatis.exp: Ditto.
4424 * gdb.c++/classes.exp: Ditto.
4425
4426Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4427
4428 * gdb.base/callfuncs.exp: Fix indentation.
4429
4430 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4431 suppress_flag has been set.
4432 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4433 target feature.
4434
4435Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4436
4437 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4438 the testcase.
4439
4440 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4441 set_debug_traps() and breakpoint().
4442 * gdb.c++/misc.cc (main): Ditto.
4443 * gdb.c++/templates.cc (main): Ditto.
4444 * gdb.c++/virtfunc.cc (main): Ditto.
4445
4446Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4447
4448 * lib/gdb.exp(gdb_step_for_stub): New function.
4449 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4450 exists, reload the executable and do a "continue" instead of
4451 doing a jump.
4452 (runto_main): Use gdb_step_for_stub.
beb998c6 4453
c906108c
SS
4454 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4455 tests to have unique names.
4456 * gdb.base/callfuncs.exp: Ditto.
4457 * gdb.base/commands.exp: Ditto.
4458 * gdb.base/default.exp: Ditto.
4459 * gdb.base/help.exp: Ditto.
4460 * gdb.base/list.exp: Ditto.
4461 * gdb.base/opaque.exp: Ditto.
4462 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4463 similar tests.
beb998c6 4464
c906108c
SS
4465 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4466 * gdb.c++/cplusfuncs.cc: Ditto.
4467 * gdb.c++/virtfunc.cc: Ditto.
4468
4469 * config/monitor.exp: Keep track of the last file we saw, rather
4470 than trying to get the info from gdb.
4471
4472 * gdb.fortran/types.exp: Move comment to previous line.
4473
4474Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4475
4476 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4477 target mode.
4478
4479Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4480
4481 From Bob Manson:
4482 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4483 string from GDB when it connects.
4484
4485 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4486
4487Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4488
4489 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4490 if we can't get a debug format from GDB (we may be testing an
4491 older GDB). Use a 10 second timeout when checking for the format.
4492
4493 * gdb.stabs/weird.exp: Fix quoting.
4494
4495 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4496
4497Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4498
4499 * config/arm-ice.exp: New file.
4500
4501Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4502
4503 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4504 until it has been modified to work with the new testsuite.
4505
99707966 4506 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4507 testcase won't compile, cause all of the testcases in the file to
4508 fail instead.
4509
4510 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4511 (gdb_clear_suppressed): New procedure.
4512 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4513 it contains a positive value.
4514
4515Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4516
4517 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4518
4519 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4520
4521Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4522
4523 * lib/gdb.exp (setup_xfail_format): New function.
4524 (get_debug_format): New function to get debug format.
4525 (debug_format): New global variable to hold last value set
4526 by get_debug_format.
4527 * gdb.base/list.exp: Call get_debug_format and expect some
4528 tests to fail for DWARF 1 and COFF formats.
4529 * gdb.c++/ptype.exp: Ditto.
4530 * gdb.c++/classes.exp: Ditto.
4531 * gdb.c++/cplusfuncs.exp: Ditto.
4532 * gdb.c++/inherit.exp: Ditto.
4533 * gdb.c++/templates.exp: Ditto.
4534 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4535
c906108c
SS
4536Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4537
4538 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4539 host doesn't have a currently-open connection.
4540
4541 * config/sparclet.exp: Cleanups and fixes to make it generic for
4542 any gdb stub target. Handle cases where gdb doesn't respond when
4543 interrupted in a sane fashion.
4544
4545 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4546 same thing in a totally different way.
4547
4548 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4549 setting "timeout".
4550 (gdb_start): We set the global gdb_prompt variable in
4551 default_gdb_init now.
4552
4553Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4554
4555 * gdb.base/printcmds.exp: Fix "check for floating addition"
4556 regexp to accept results within approx +/- .01 of exact value.
4557 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4558
4559Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4560
4561 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4562 properly.
4563 (gdb_expect): Add optional timeout parameter, and add timeout
4564 value to various calls.
4565 (gdb_suppress_tests): Only give one warning message per group.
4566
4567Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4568
4569 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4570 global variables. Handle getting a value for $timeout more
4571 gracefully.
4572
4573Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4574
4575 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4576 initialize.
4577 (default_gdb_init): New procedure; allow gdb_init to be overridden
4578 by a target configuration file.
4579 (gdb_expect): Pass the timeout to remote_expect.
4580
4581 * config/monitor.exp(gdb_load): Fix typo in regexp.
4582
4583Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4584
4585 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4586
4587Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4588
4589 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4590 here. Call gdb_target_exec before rebooting the target, to make
4591 sure the connection to the target is closed.
4592 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4593 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4594 Also detect "Timeout reading from remote" error.
4595
4596 * config/gdbserver.exp: Pass the executable being loaded to
4597 gdb_target_monitor. Don't call gdb_file_cmd here; let
4598 gdb_target_monitor do it.
4599
4600 * gdb.disasm/hppa.exp: Don't use exec_output.
4601
4602Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4603
4604 * gdb.base/list.exp: If we're debugging a non-native target,
4605 try to set the pc register to point to the start of the
4606 program before doing the first list command.
4607
4608 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4609 test_calls after restarting.
4610
4611 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4612 reloading.
4613
4614 * gdb.base/watchpoint.exp: Fix typo.
4615
4616 * gdb.base/setshow.exp: Check for use_gdb_stub.
4617
4618 * gdb.base/break.exp: Fix continue until exit test for the gdb
4619 stub case.
4620 * gdb.base/langs.exp: Ditto.
4621
4622 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4623 gdb_load_offset. If we weren't given a file to load, figure out
4624 what the current file is and use it.
4625
4626 * config/i386-bozo.exp: New file.
4627
4628Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4629
4630 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4631 feature.
4632
4633 * config/proelf.exp: New entry.
4634
4635Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4636
4637 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4638 of regexps.
4639
4640 * gdb.base/watchpoint.exp: Don't run the test_stepping
4641 tests if gdb can't call functions on the target.
4642
4643 * gdb.base/setshow.exp: Don't run the set prompt tests if
4644 the board has gdb_prompt set.
4645
4646Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4647
4648 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4649 * gdb.base/commands.exp: Likewise.
4650 * gdb.base/setshow.exp: Likewise.
4651
4652Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4653
4654 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4655 feature.
4656
4657 * config/i960.exp: New file.
4658
4659Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4660
4661 * gdb.base/funcargs.exp: Check for gdb,short_int target
4662 feature instead of looking for explicit target triplets.
4663
dc96c6c7 4664Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4665
beb998c6 4666 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4667 "p 123DEADBEEF", to check parse_number.
4668 * top.c: change "to enable to enable" to "to enable" in a couple
4669 of help strings.
4670
4671Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4672
4673 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4674 on the mn10300.
beb998c6 4675
c906108c
SS
4676Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4677
4678 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4679 where the test executable is run with explicit args.
4680 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4681
4682Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4683
4684 * gdb.base/run.c: Use FAKEARGV to build test executable that
4685 does not require a command line arg, since most simulators
4686 don't currently support passing such an arg into the simulated
4687 program.
4688 * gdb.base/commands.exp: Change tests to insert the proper
4689 value as the arg to the first recursive factorial call. Change
4690 compilation line to define FAKEARGV at compile time.
4691
4692Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4693
4694 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4695 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4696 function with watchpoint enabled" test.
4697
4698Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4699
4700 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4701 Don't call gdb_test when the command doesn't return to a gdb prompt.
4702
4703 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4704 "Tests restarted" messages.
4705
4706Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4707
4708 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4709
dc96c6c7 4710Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4711
4712 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4713 for INFO SYMBOL; add help tests for OVERLAY commands.
4714 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4715 add tests for OVERLAY commands
4716 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4717 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4718 * gdb.base/sigall.c: add usestubs code frag
4719 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4720
c906108c
SS
4721Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4722
4723 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4724 failures.
4725 (gdb_stop_suppressing_tests): Note that tests have restarted.
4726
4727Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4728
4729 * config/h8300.exp: New file.
4730
4731Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4732
4733 * gdb.base/setshow.exp: Check for the existence of a
4734 feature, not its value.
4735
4736Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4737
4738 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4739
4740 * gdb.base/scope.exp: It's now init0(), not init().
4741
4742 * gdb.base/scope0.c: For now, change init() to be init0().
4743
4744 * config/monitor.exp: Use gdb_serial in preference to serial
4745 or netport.
4746
4747 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4748 and it's not already set.
4749
4750Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4751
4752 * gdb.base/setshow.exp: Only test the run command if the target
4753 isn't using a stub and if it supports argument passing.
4754
4755Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4756
4757 * config/udi.exp(gdb_start): Make sure UDICONF is set
4758 properly before starting gdb.
4759
4760Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4761
4762 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4763 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4764 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4765
4766Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4767
4768 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4769 specialized code to reboot the board, use remote_reboot instead.
4770
4771 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4772
4773 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4774
4775 * config/monitor.exp: Make sure we disconnect from the target.
4776 Also, try a reboot/reload cycle instead of failing if the
4777 load fails.
4778
4779Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4780
4781 * gdb.base/default.exp: Don't set match_max.
4782 * gdb.base/help.exp: Ditto.
4783 * gdb.base/list.exp: Ditto.
4784 * gdb.base/signals.exp: Ditto.
4785
4786 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4787 set, use remote_ld to download the testcase instead of
4788 the GDB loader.
4789
4790Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4791
4792 * config/vr5000.exp: New file.
4793
4794 * config/monitor.exp(gdb_target_monitor): Add pattern for
4795 "Ending remote" to detect errors in connecting.
4796
4797 * gdb.base/setshow.exp: Add .* within auto language test.
4798
4799 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4800 target feature.
4801
4802 * config/monitor.exp(gdb_load): Check for a failure when loading,
4803 and reboot the board if necessary.
4804
4805 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4806 a set of tests. Remove print.* from the patterns being checked.
4807
4808Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4809
4810 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4811 refer to gdb_spawn_id.
4812
4813 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4814 longer used.
4815 * config/sparclet.exp: Ditto.
4816 * config/sparclet-old.exp: Ditto.
4817 * config/slite.exp: Ditto.
4818 * config/sim.exp: Ditto.
4819 * gdb.base/funcargs.exp: Ditto.
4820
4821 * lib/gdb.exp:Remove references to gdb_spawn_id.
4822 (gdb_expect): Move to remote.exp.
4823
4824Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4825
4826 * config/monitor.exp: Detect the "Couldn't establish connection"
4827 message from GDB.
4828
4829Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4830
4831 * gdb.base/bitfields.exp: Use runto instead of explicit
4832 gdb_run_cmd/gdb_expect sequences.
4833
4834 * gdb.base/break.exp(text_next_with_recursion): Add match for
4835 gdb_expect call.
4836
4837 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4838 We also need to handle the "A program is being debugged already"
4839 prompt from gdb. Use gdb_test to set the baud rate.
4840
4841 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4842 to 20000. Really. I mean it.
4843
4844Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4845
4846 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4847 fails. If suppress_flag is set, skip perror message about not
4848 being able to send to GDB.
4849 (send_gdb): If suppress_flag is set, don't try to send commands to
4850 GDB.
4851 (gdb_expect): If suppress_flag is set, always fail immediately.
4852 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4853 (gdb_init): Call gdb_stop_suppressing_tests.
4854 (default_gdb_exit): Ditto.
4855 (default_gdb_start): Ditto.
4856
4857 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4858 gdb_stop_suppressing_tests as appropriate.
4859 * gdb.base/break.exp: Ditto.
4860 * gdb.base/callfuncs.exp: Ditto.
4861 * gdb.base/commands.exp: Ditto.
4862 * gdb.base/exprs.exp: Ditto.
4863 * gdb.base/funcargs.exp: Ditto.
4864 * gdb.base/list.exp: Ditto.
4865 * gdb.base/recurse.exp: Ditto.
4866 * gdb.base/scope.exp: Ditto.
4867 * gdb.base/structs.exp: Ditto.
4868 * gdb.c++/inherit.exp: Ditto.
4869
4870Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4871
4872 * config/vr4300.exp: New file.
4873
99707966
MC
4874 * gdb.*/*.exp: Call gdb_expect instead of expect.
4875
4876 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
4877
4878Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4879
4880 * lib/gdb.exp(gdb_init): New function.
4881
4882 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4883 for each individual variable set.
4884
4885 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4886 name.
4887
4888 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4889
4890 * gdb.base/scope.exp: Use gdb_test.
4891
4892 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4893 aborting; the testsuite driver will do that for us (see
4894 gdb_finish). Also, use gdb_test in a few more places.
4895
4896Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4897
4898 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4899
4900Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4901
4902 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4903 and "add_tests" are not at the same address.
4904
4905Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4906
4907 * gdb.base/ptype.exp: Use gdb_test.
4908
4909Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4910
4911 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4912 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4913 left in. No longer expect them to fail.
4914
4915 * gdb.stabs/*.mt; Deleted, no longer used.
4916 * gdb.stabs/configure.in: Remove references to target makefile
4917 frags.
4918 * gdb.stabs/configure: Rebuilt.
4919
4920 * gdb.disasm/*.mt: Deleted, no longer used.
4921 * gdb.disasm/configure.in: Remove references to target makefile
4922 frags. Use "sh3.s" as the unique filename for this directory.
4923 * gdb.disasm/configure: Rebuilt.
4924
4925 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4926 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4927 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4928
4929Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4930
4931 * config/udi.exp: Use mondfe,name instead of remote_host.
4932
4933Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4934
4935 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4936 a function with a watchpoint enabled on the mn10200.
4937
4938 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4939 before trying to create it!
4940
4941Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4942
4943 * config/vx.exp: Use hostname instead of netport.
4944
4945 * config/vxworks.exp: New file.
4946
4947 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4948
4949 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4950 gdb before assuming everything worked. Send a ^C if a timeout
4951 occurs.
4952
4953 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4954 $gdb_spawn_id directly.
4955 (gdb_run_cmd): Try _start as well as start. Use the target feature
4956 gdb,start_symbol as the symbol to start from when jumping.
4957
4958Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4959
4960 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4961 redundant) test.
4962
4963 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4964 it doesn't lose for 16bit integer systems.
4965
4966Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4967
4968 * gdb.fortran/types.exp: If the target doesn't support "double"
4969 data types, then expect "real" types to only be 4 bytes.
4970
4971 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4972 call tests if the target doesn't support inferior function calls.
4973
4974 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4975 in printf tests.
4976
4977Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4978
4979 * gdb.base/help.exp: Disable "help set", "help show", and
4980 "help support". Simplify regexp for "help stack".
4981
4982 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4983 to 60 seconds. Temporarily set match_max to 15000 around the
4984 "info copying" test.
4985
4986 * gdb.base/nodebug.exp: Don't try to do an inferior function
4987 call if the target doesn't support them.
4988 * gdb.base/printcmds.exp: Likewise.
4989 * gdb.base/setvar.exp: Likewise.
4990 * gdb.base/structs.exp: Likewise.
4991 * gdb.c++/templates.exp: Likewise.
4992 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
4993
4994 * gdb.base/recurse.exp: Enable for the mn10200.
4995
4996 * configure.in: Do configure gdb.stabs directory for *-*-elf
4997 targets.
4998 * configure: Rebuilt.
4999
5000 * gdb.base/break.exp: Check for gdb,noresults before testing
5001 exit status and/or results from the target.
5002 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5003 * lib/gdb.exp: Remove old (now bogus) initialization of
5004 noinferior, noargs, noresults and nosignals.
5005
5006Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5007
5008 * config/sh.exp: New file.
5009
5010 * config/slite.exp: Try to connect multiple times to the board
5011 before rebooting. Only send a "monitor run" if need_monitor_run
5012 is set.
5013
5014 * gdb.base/break.exp: Don't do the "stub continue" test if
5015 the target has gdb_stub set.
5016
5017 * gdb.base/callfuncs.exp: Increase the timeout.
5018
5019 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5020 if the target has gdb,noinferiorio set.
5021
5022 * gdb.base/list.exp: Increase match_max to 10000 characters.
5023
5024 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5025
5026 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5027 target.
5028
5029 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5030
5031Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5032
5033 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5034 trying to delete the copy of gdb. Catch the file delete so we
5035 don't die if the delete fails; also, the file should be copied to
5036 the host, not to the build.
5037
5038Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5039
5040 * lib/gdb.exp(gdb_test): Surround the result pattern with
5041 parenthesis in case it contains multiple regexps separated
5042 with |.
5043
5044 * gdb.base/watchpoint.exp: Use gdb_test.
5045 * gdb.base/default.exp: Ditto.
5046
5047Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5048
99707966 5049 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5050
c906108c
SS
5051 * gdb.base/scope.exp: Use gdb_test.
5052 * gdb.c++/classes.exp: Ditto.
5053 * gdb.c++/inherit.exp: Ditto.
5054
5055Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5056
5057 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5058 remote_exec instead.
5059 * gdb.base/corefile.exp: Don't be ridiculous.
5060 * gdb.base/*.c: Add missing stub invocations.
5061
5062Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5063
5064 * config/slite.exp: Miscellaneous fixes.
5065
5066 * lib/gdb.exp: Fix runto.
5067
5068 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5069 the target.
5070
5071 * gdb.base/watchpoint.exp: Fix regexp.
5072
5073 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5074 close and wait commands, as the descriptor may now be
5075 invalid. Always call "remote_close host".
5076
5077Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5078
5079 Major rewrite for testsuite revision.
beb998c6 5080
c906108c
SS
5081 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5082 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5083 instead of relying on spawn_id to always contain a valid
5084 spawn id.
5085 (get_compiler_info): New procedure to build the ${binfile}.ci
5086 file, instead of replicating this in N different places.
5087 (gdb_compile): New procedure.
beb998c6 5088
c906108c
SS
5089 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5090 appropriate arguments) instead of compile. Use gdb_test in a lot
5091 more places. Use send_gdb instead of send. Always run gdb_start
5092 at the start of a testcase, as this is no longer done magically.
5093
5094 config/*-gdb.exp: Rename without the -gdb suffix.
5095
5096 config/mips.exp: Use remote_close instead of exit_remote_shell.
5097 config/monitor.exp: Use target_info instead of looking at
5098 baud, timeout, etc.
5099 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5100
5101Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5102
5103 * gdb.c++/templates.exp (test_ptype_of_templates),
5104 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5105 Update expect patterns for destructors and assignment operators
5106 to match corresponding c-typeprint.c changes.
5107 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5108 to destructor breakpoint test, GDB should be able to set the
5109 destructor breakpoint without specifying arguments.
5110
5111Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5112
5113 * gdb.threads/pthreads.exp: Change result for failure to compile due
5114 to lack of pthreads runtime support from an error to simply an
5115 unsupported test, per dejagnu standards.
5116
5117Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5118
5119 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5120 where GDB exits to reduce pattern match time.
5121 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5122
5123 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5124
dc96c6c7 5125Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5126
5127 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5128 * gdb.base/default.exp: ditto.
5129 * gdb.base/nodebug.exp: ditto.
5130 * gdb.base/printcmds.exp: ditto.
5131 * gdb.base/ptype.exp: ditto.
5132 * gdb.base/setvar.exp: ditto.
5133 * gdb.base/structs.exp: ditto.
5134 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5135
5136Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5137
5138 * configure, */configure: Rebuild with autoconf 2.12.
5139
5140Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5141
5142 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5143 use new i*86-pc-linux*-gnu quads.
5144 * gdb.base/corefile.exp: Ditto.
5145 * gdb.base/signals.exp: Ditto.
5146 * gdb.base/sigall.exp: Ditto.
5147 * gdb.base/interrupt.exp: Ditto.
5148
5149 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5150 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5151 RedHat 4.0.
beb998c6 5152
c906108c
SS
5153 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5154 linux. This allows the test case to at least compile on latest
5155 linux, but still not run due to missing the threads runtime library.
5156
5157Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5158
5159 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5160 directory to search gdb directory. Accept and step over conditional
5161 stack alignment code. Consume $prompt in failure cases.
5162 Reset timeout to $oldtimeout instead of some arbitrary value.
5163 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5164 timeout problems with infinite stack backtraces.
5165 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5166 Accept function parameters for linkfunc member.
5167
5168Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5169
5170 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5171 (CXXFLAGS): Remove, unreferenced.
5172 (B_OPTIONS): Add for -B options and add code to initialize with
5173 previous -B options and also add -B option to pick up cross compiled
5174 runtime.
5175 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5176 doing cross compiles.
5177 (target_alias): Declare global.
5178 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5179 to verify that gcc exists in build tree, and if so set CC to that
5180 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5181
c906108c
SS
5182Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5183
5184 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5185 ptype test for anonymous union. Fixup testcase to match
5186 current gcc debug output.
5187
5188Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5189
5190 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5191 force argument to an unsigned long type.
5192
5193Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5194
5195 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5196 tests and anonymous union print/ptype tests.
5197 * gdb.base/list.exp (test_forward-search): Increase timeout by
5198 5 minutes for the "search extremely long line" case.
5199 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5200 completely optional and that the pass/fail messages use the command as
5201 the message if that third arg is a null string.
5202 (gdb_test_exact): Arrange that a null string pattern means match a
5203 null string output rather than any output, which might include random
5204 errors.
5205 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5206 backtrace test.
5207 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5208 always failing and failure is now exposed by gdb.exp changes.
5209
5210Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5211
5212 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5213 weren't being noted.
5214
5215Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5216
5217 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5218 * gdb.stabs/weird.exp: Remove v_comb xfails.
5219
dc96c6c7 5220Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5221
5222 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5223 list.exp scope.exp watchpoint.exp]
5224 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5225
dc96c6c7 5226Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5227
5228 * config/monitor.exp: Increase download timeout to 1000 seconds.
5229
dc96c6c7 5230Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5231
5232 * config/m32r.exp: Increase timeout to 120 seconds.
5233
5234Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5235
5236 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5237 and accept older ordering as obsolescent gcc or gdb.
5238 * gdb.c++/templates.exp: Ditto.
5239 * gdb.c++/virtfunc.exp: Ditto.
5240
5241Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5242
5243 * gdb.base/coremaker.c: Add code to mmap some data so we
5244 can check that it ends up in the core file.
5245 * gdb.base/corefile.exp: Add test to read mmapped data
5246 from core file.
5247
dc96c6c7 5248Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5249
5250 * config/m32r.exp: New file.
5251
5252Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5253
5254 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5255 that cflags can contains -gstabs, and work correctly for other tests.
5256
dc96c6c7 5257Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5258
5259 * gdb.base/setshow.exp: New file, tests show and set.
5260 * gdb.base/setshow.c: New file, tests show and set.
5261 * gdb.base/help.exp: Add test for help set|show annotate.
5262 * gdb.base/default.exp: Add test for set|show annotate.
5263
5264Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5265
5266 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5267 errors unique.
5268 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5269 explicitly.
5270
5271Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5272
5273 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5274 and width commands. This is done elsewhere.
5275 * (gdb_start): Don't call gdb_start_sim here. That's already
5276 done in gdb_load. This fixes lots of failures in default.exp.
5277
5278Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5279
5280 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5281 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5282 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5283 in the same we we treat other failures (since it may be an expected
5284 condition), rather than as an error.
5285 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5286 old test format.
5287
5288Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5289
5290 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5291 (distclean maintainer-clean realclean): No need to remove files
5292 twice. Nuke the duplicates.
5293 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5294 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5295 Remove config.h along with other config files.
5296
5297Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5298
5299 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5300 "p func1 ()" and note that rests of tests are skipped.
5301 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5302 setup_xfails for "print func2::coremaker_local".
5303 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5304 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5305 affected by the previous run test.
5306 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5307 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5308 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5309 "pass int powerset tuple" and "pass modeless int powerset tuple".
5310 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5311 "real write 4" and "real write 8".
5312 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5313 setup_xfails for "print vs1 after tuple assign 2",
5314 "print \$i after tuple assign 2", and
5315 "print vs2 after tuple assign 2".
5316 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5317 meaningful error message and return -1 so the caller can
5318 suppress further tests and avoid a cascade of errors.
beb998c6 5319
c906108c
SS
5320Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5321
5322 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5323 format for printing version.
5324 * gdb.base/default.exp: Ditto.
5325 * gdb.base/interrupt.exp: Fix problem with cascade of
5326 errors if child process dies while calling a function.
beb998c6 5327
c906108c
SS
5328Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5329
5330 * Makefile.in (VPATH): Add
5331 * Makefile.in (Makefile, config.status): Fix rules so things get
5332 remade when necessary.
5333
5334Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5335
5336 * Makefile.in (just-check): Add path to sibling expect dir
5337 to environment variable specified by RPATH_ENVVAR.
5338
5339Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5340
5341 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5342 (just-check): Add shared library paths for libstdc++, tk,
5343 tcl, bfd, and opcodes to the environment variable specified
5344 in RPATH_ENVVAR.
5345 * configure.in: Add support to recognize --enable-shared flag
5346 and generate correct value for RPATH_ENVVAR.
5347 * configure: Regenerated with autoconf.
5348
5349Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5350
5351 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5352 include all osf versions.
5353 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5354 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5355 when target is linux. When failing to build pthreads test
5356 executable, give more meaningful message.
5357 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5358 arg for pthread_create.
beb998c6 5359
c906108c
SS
5360Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5361
5362 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5363 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5364 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5365 and -lpthreads (everybody else).
5366 (test_startup): Fail gracefully if threads are not supported.
5367 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5368 "p/c array_index("abcdef",2)" when not gcc compiled.
5369 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5370 "print func2::coremaker_local" when not gcc compiled.
5371 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5372 "ptype on opaque struct tagname (statically)",
5373 "ptype on opaque struct tagname (dynamically) 1", and
5374 "ptype on opaque struct tagname (dynamically) 2"
5375 for not compiled with gcc.
5376 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5377 backtrace when compiled with gcc.
beb998c6 5378 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5379 than always return success.
5380
5381Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5382
5383 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5384
5385Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5386
5387 * gdb.base/structs.exp: Undo last change.
5388
5389Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5390
5391 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5392 encapsulate all the steps/nexts done during self test, starting
5393 at main, and makes them less sensitive to optimization issues.
5394 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5395 signal handler" test.
5396 * gdb.threads/pthreads.exp: Only run this for native configs.
5397 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5398 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5399 tests.
5400 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5401 for "runto test_calls(void)" test.
beb998c6 5402
c906108c
SS
5403Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5404
5405 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5406 and don't expect address info in breakpoint confirmations.
5407
5408Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5409
5410 * gdb.base/list.exp (test_forward_search): Increase timeout
5411 temporarily by 60 seconds for searching extremely long line,
5412 and then reset to old value when done. Increase expect input
5413 buffer to 10000.
5414
5415Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5416
5417 * gdb.base/list.exp (test_forward_search): Fix to handle very
5418 long source line without overflowing expect's input buffer.
5419
5420Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5421
5422 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5423 "buffer_full".
5424
5425 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5426 "buffer_full".
5427
5428 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5429 "buffer_full".
5430
5431 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5432 "buffer_full".
5433
5434Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5435
5436 * configure.in (configdirs): Add gdb.threads.
5437 * configure: Regenerated with autoconf.
5438 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5439 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5440 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5441
c906108c
SS
5442Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5443
5444 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5445
5446Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5447
5448 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5449 each signal's status in the output of "handle all print".
5450 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5451 the \r\n sequence that immediately precedes the gdb prompt.
5452 * gdb.base/a1-selftest.exp: Save original timeout and restore
5453 after test.
5454
5455Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5456
5457 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5458 symbol.
5459
5460Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5461
5462 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5463
5464Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5465
5466 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5467 timeout by 60 seconds.
5468
5469Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5470
5471 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5472 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5473 error return.
5474
5475Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5476
5477 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5478 gdb initialization, also report how long dejagnu waited. Restore
5479 old timeout before doing error return. Temporarily increase timeout
5480 by 3 minutes to allow for slow startups over heavy NFS use.
5481
5482Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5483
5484 * lib/gdb.exp: Report timeout value for verbosity level 2.
5485 * config/gdbserver.exp: Ditto.
5486 * config/hppro.exp: Ditto.
5487 * config/mips-gdb.exp: Ditto.
5488 * config/monitor.exp: Ditto.
5489 * config/netware.exp: Ditto.
5490 * config/sim-gdb.exp: Ditto.
5491 * config/slite-gdb.exp: Ditto.
5492 * config/udi-gdb.exp: Ditto.
5493 * config/unix-gdb.exp: Ditto.
5494 * config/vx-gdb.exp: Ditto.
5495 * gdb.base/a1-selftest.exp: Ditto.
5496 * gdb.base/a2-run.exp: Ditto.
5497 * gdb.base/break.exp: Ditto.
5498 * gdb.base/corefile.exp: Ditto.
5499 * gdb.base/list.exp: Ditto.
5500 * gdb.base/recurse.exp: Ditto.
5501 * gdb.base/scope.exp: Ditto.
5502 * gdb.base/signals.exp: Ditto.
5503
5504Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5505
5506 * gdb.threads/Makefile.in (docdir): Removed.
5507
5508Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5509
5510 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5511 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5512 @srcdir@.
beb998c6 5513 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5514 autoconf 2.5 or higher.
5515 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5516
5517Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5518
5519 * configure: Regenerated.
5520 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5521 avoid name clashes with SunOS headers.
5522
5523Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5524
5525 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5526
5527Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5528
5529 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5530 prototype information ends up in the compiler info file.
5531
5532Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5533
5534 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5535 attempting to regenerate it. Eliminate use of a temporary file
5536 and just generate the info file directly. Source it immediately,
5537 for consistency of use.
5538 * gdb.base/corefile.exp: Ditto
5539 * gdb.base/exprs.exp: Ditto.
5540 * gdb.base/funcargs.exp: Ditto.
5541 * gdb.base/langs.exp: Ditto.
5542 * gdb.base/list.exp: Ditto.
5543 * gdb.base/mips_pro.exp: Ditto.
5544 * gdb.base/nodebug.exp: Ditto.
5545 * gdb.base/opaque.exp: Ditto.
5546 * gdb.base/ptype.exp: Ditto.
5547 * gdb.base/scope.exp: Ditto.
5548 * gdb.base/setvar.exp: Ditto.
5549 * gdb.base/signals.exp: Ditto.
5550 * gdb.base/whatis.exp: Ditto.
5551 * gdb.c++/templates.exp: Ditto.
5552 * gdb.c++/virtfunc.exp: Ditto.
5553 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5554 whether or not to add -lstdc++ to the compile command line args.
5555
5556Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5557
5558 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5559 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5560 Increase timeout, a lot of single stepping might be needed if the
5561 target has no hardware watchpoints.
5562
5563Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5564
5565 * gdb.base/break.exp: Ignore compiler warnings when compiling
5566 break.c.
5567 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5568 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5569 from remote-sim.
5570 * gdb.base/exprs.exp: Add h8300 xfails.
5571 * gdb.base/funcargs.exp: Likewise.
5572 * gdb.base/nodebug.exp: Likewise.
5573 * gdb.base/printcmds.exp: Likewise.
5574 * gdb.base/ptype.exp: Likewise.
5575 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5576 h8300 xfails.
beb998c6 5577 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
5578 on the h8300.
5579 * gdb.base/funcargs.c: Explicitly make last constant argument to
5580 call_after_alloca_subr an unsigned long type.
5581 * gdb.base/return.c: Include stdio.h.
5582
5583Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5584
5585 * config/abug.exp: New file for the older Motorola Bug monitor
5586 that runs on the mvme13x series VME boards.
5587 * config/monitor.exp: Use the new config array for target settings
5588 if they exist.
5589
5590Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5591
5592 * sim-gdb.exp: Make the SH simulator allocate less space when
5593 it is targeted.
5594
5595Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5596
5597 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5598 test.
5599
5600Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5601
5602 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5603 "rs6000-*-*" for "list function in include file" when gcc compiled.
5604 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5605 for "p ctable1[120]".
5606 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5607 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5608 Remove setup_xfail for "rs6000-*-*" for
5609 "print 'scope0.c'::filelocal before run".
5610 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5611 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5612 since some compilers don't allow both options to be given
5613 on the same command line. Create object file and move it.
beb998c6 5614
c906108c
SS
5615Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5616
5617 * gdb.base/corefile.exp: Always regenerate the core file, since
5618 we always regenerate the coremaker program. Detect special case
5619 where registers cannot be read from core file.
beb998c6 5620
c906108c
SS
5621Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5622
5623 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5624 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5625 * gdb.c++/templates.exp: Only match on basename of file since
5626 some formats like xcoff don't encode directory information.
5627 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5628 and rs6000 AIX xcoff targets.
5629 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5630 * configure: Regenerate.
5631 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5632 here, rather than in distclean.
beb998c6 5633
c906108c
SS
5634Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5635
5636 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5637 defined, and use it to compile the test case with -O2. The
5638 native compilation still uses no optimization.
5639 * gdb.base/mips_pro.c: Remove inline assembly code since
5640 it is compiled PIC by default, which results in assembler
5641 warnings that make the testsuite think the compilation
5642 was unsuccessful.
5643
5644Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5645
5646 * gdb.c++/misc.exp: Add note to message for
5647 "print s.a for foo struct" that this is a known gcc 2.7.2
5648 and earlier bug.
5649
5650Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5651
5652 * gdb.base/break.exp: Fix pattern for matching "Delete all
5653 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5654 setup_xfail for deleting all breakpoints test. Fix various
5655 timeout messages to include "(timeout)".
5656 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5657 for "p t_float_values2(3.14159,float_val2)".
5658 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5659 for "continue to call2g" when gcc compiled.
5660 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5661 "up to foo in langs.exp", "show language at foo in langs.exp",
5662 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5663 and "show language at fsub in langs.exp".
5664 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5665 "list line 1 in include file", "list message for lines past EOF",
5666 "list function in include file", "list list0.h:foo", and
5667 "list filename:function; nonexistant function".
5668 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5669 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5670 and "ptype t_char_array" to be for native cc only.
beb998c6 5671
c906108c
SS
5672Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5673
beb998c6 5674 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5675 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5676 "print func2::coremaker_local", and "backtrace in corefile.exp".
5677
5678Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5679
5680 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5681 "bt in signals.exp". This problem only appears when running
5682 the testsuite, and then only intermittently.
5683
5684Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5685
5686 * gdb.base/return.exp (return_tests): Differentiate between
5687 two tests of continuing.
5688
5689Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5690
5691 * */Makefile.in (maintainer-clean): Remove config.log.
5692 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5693 * gdb.c++/Makefile.in (PROGS): Add inherit.
5694 (clean): Remove *.ci.
5695
5696Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5697
5698 * gdb.c++/misc.cc: Add test code from Mike Stump.
5699 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5700
5701Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5702
5703 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5704 to "alpha-*-osf2*" and add comment.
5705 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5706 setup_xfail for "step over execarg initialization" and
5707 "step over corearg initialization".
5708 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5709 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5710 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5711 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5712 "print func2::coremaker_local", and "backtrace in corefile.exp".
5713 * gdb.base/signals.exp: Build and source signals.ci.
5714 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5715 to be for gcc only.
5716 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5717
c906108c
SS
5718Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5719
5720 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5721 Feb 3 procfs.c change.
5722
5723Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5724
5725 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5726
5727Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5728
5729 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5730 from dejagnu's apparent default of 10 seconds, which gives random
5731 results when running the tests over NFS on moderately loaded systems.
5732 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5733
5734Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5735
5736 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5737 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5738 result reports.
5739
5740Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5741
5742 * configure.in (CY_AC_PATH_TCLH): Remove.
5743 * configure: Regenerate.
5744
5745Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5746
5747 * gdb.c++/Makefile.in (clean): Add missing '{'.
5748
5749Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5750
5751 * lib/gdb.exp: Provide a default value for noinferior.
5752
5753 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5754 Load libgloss.exp.
5755
5756Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5757
5758 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5759 the executable, not the .o to run the tests from.
5760
5761Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5762
5763 * gdb.base/break.exp: Don't test for program exit or exit status
5764 if $noresults if nonzero.
5765 * gdb.base/langs.exp: Likewise.
5766 * gdb.base/watchpoint.exp: Likewise.
5767
5768 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5769 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5770 trying to compile the testcase.
5771
5772Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5773
5774 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5775 * gdb.base/signals.exp (continue to handler): Likewise.
5776
5777Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5778
5779 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5780
5781 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5782
5783Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5784
5785 * gdb.base/corefile.exp: Recognize "not found" as failure
5786 when trying to determine if a core file was generated.
5787 If no core file was generate the first time, try again without
5788 the ulimit -c to work around braindamaged shells.
5789
5790Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5791
5792 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5793 [] tests with "test" and enclose string in quotes.
5794 * gdb.stabs/configure: Rebuild
beb998c6 5795
c906108c
SS
5796Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5797
5798 Changes in sync with expect:
5799 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5800 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5801 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5802 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5803 argument to AC_REQUIRE.
5804 * configure: Regenerated.
5805
5806Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5807
5808 * gdb.base/corefile.exp: When generating a core, discard any
5809 error messages about ulimit not found and the "core dumped"
5810 message from the shell that runs the coredumper.
5811
5812Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5813
5814 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5815
5816 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5817 which sed script to run. Expect failure for v_comb test
5818 on PA targets too.
beb998c6 5819
c906108c
SS
5820Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5821
5822 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5823 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5824
5825Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5826
5827 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5828 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5829 "sparc-sun-solaris*" xfails for "p v_comb".
5830 * lib/gdb.exp (default_gdb_start): Fix typo.
5831 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5832 messages to not include the full program name that caused
5833 the core dump since some systems (such as solaris) apparently
5834 truncate this path to about 80 characters.
5835 When generating a core file first try increasing the core file
5836 size limit to unlimited since some systems may default it to
5837 zero, and it is harmless to try it. Move the test for failing
5838 to generate a core file to where it will actually get executed.
5839 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5840 new gdb result from g++ debug info improvements and make old
5841 pattern obsolescent. Also account for size_t differences
5842 (may be int or long).
5843 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5844 initialization before function call is placed in the delay slot
5845 and thus appears to be skipped over by commands such as "next".
5846
5847Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5848
5849 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5850
5851Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5852
5853 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5854 input source file; fix code to compile test to deal with this
5855 convention.
5856 * gdb.c++/*.exp: Likewise.
5857
5858Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5859
5860 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5861 "bt in signals.exp".
5862
5863Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5864
5865 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5866 "step over execarg initialization" and
5867 "step over corearg initialization".
5868
5869Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5870
5871 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5872 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5873
5874Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5875
5876 From Rob Savoye (rob@poseidon.cygnus.com)
5877 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5878 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5879 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5880 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5881 configure.in}: Major reworking for autoconfig.
5882 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5883 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5884 New files.
5885 * config/unix-gdb.exp: Make GDB global.
5886 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5887 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5888 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5889 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5890 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5891 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5892 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5893 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5894 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5895 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5896 pr-8136.exp, result.exp, string.exp, tuples.exp},
5897 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5898 to returns as necessary, arrange for test to compile own testcase
5899 executable.
5900 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 5901
c906108c
SS
5902Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5903
5904 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5905 clear_xfail at end of test which might not call either pass or fail.
5906 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5907 "backtrace through signal handler".
5908
5909Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5910
5911 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5912 continuing from a job control stop signal.
5913 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5914
5915Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5916
5917 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5918 * gdb.base/corefile.exp: Likewise.
5919 * gdb.base/funcargs.exp: Likewise.
5920
5921Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5922
5923 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5924 * config/monitor.exp: Add support for setting baud rate.
5925
5926Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5927
5928 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5929 i*86-*-linux* xfails for "backtrace through signal handler".
5930 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5931 "print func2::coremaker_local".
5932 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5933 alpha-dec-osf2* xfail for
5934 "delete all breakpoints when none".
5935
5936Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5937
5938 * gdb.base/break.exp: Change test that deletes all breakpoints
5939 when no user breakpoints are installed. A post 4.15 change
5940 causes gdb to no longer prompt in this case.
5941
5942Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5943
5944 * gdb.base/return.exp (return_tests): Change xfail for test
5945 "correct value returned double test" to stop xfailing at
5946 Solaris 2.5. Apparently the bug has been fixed.
5947
5948Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5949
5950 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5951 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5952
5953Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5954
5955 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5956 * gdb.disasm/hppa.s: Corresponding changes.
5957
5958Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5959
5960 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5961 makefile fragment.
5962 * config/mt-hpux: Deleted.
5963
5964Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5965
beb998c6 5966 * Many files: When warning about suppressed tests due to a
c906108c
SS
5967 nonexistant test binary, avoid incrementing the warning count.
5968
5969Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5970
5971 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 5972
c906108c
SS
5973Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5974
5975 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5976 "sparc-*-solaris2*".
5977
5978Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5979
5980 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5981 Add global and local variables and initialize them.
5982 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5983 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5984 extracts the file name and terminating signal from the core file.
5985 * TODO: Remove note about tests for correct mapping of corefile.
5986 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
5987 from optimizing it away.
5988 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
5989 handles common blocks.
5990
5991Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
5992
5993 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
5994 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
5995
5996Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
5997
5998 * Makefile.in (maintainer-clean): New target, synonym for
5999 realclean.
6000 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6001 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6002 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6003 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6004 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6005 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6006
6007Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6008
6009 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6010 xfails when not gcc compiled for "print foo::funclocal".
6011 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6012 "print foo::funclocal at foo",
6013 "print 'scope1.c'::foo::funclocal at foo",
6014 "print foo::funclocal_bss at foo",
6015 "print 'scope1.c'::foo::funclocal_bss at foo",
6016 "print foo::funclocal_ro at foo",
6017 "print 'scope1.c'::foo::funclocal_ro at foo",
6018 "print bar::funclocal at foo" and
6019 "print 'scope1.c'::bar::funclocal at foo".
6020 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6021 gcc compiled for "print foo::funclocal at bar".
6022 Expand all messages to ensure that they identify that
6023 the test is at bar().
6024 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6025 gcc compiled for:
6026 "ptype on opaque struct pointer (statically)",
6027 "ptype on opaque struct tagname (statically)",
6028 "ptype on opaque struct pointer (dynamically) 1",
6029 "ptype on opaque struct tagname (dynamically) 1",
6030 "ptype on opaque struct pointer (dynamically) 2" and
6031 "ptype on opaque struct tagname (dynamically) 2
6032 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6033 gcc compiled for:
6034 "p datalocal"
6035 "whatis datalocal",
6036 "ptype datalocal",
6037 "p bsslocal",
6038 "whatis bsslocal", and
6039 "ptype bsslocal".
6040 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6041 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6042 when not gcc compiled.
6043 * gdb.base/funcargs.exp (float_and_integral_args): Add
6044 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6045 compiled.
6046 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6047 "backtrace from call6a" when not gcc compiled.
6048 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6049 "backtrace from call7a" when not gcc compiled.
6050 * gdb.base/callfuncs.exp (do_function_calls):
6051 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6052 "p t_char_array_values(char_array_val2,char_array_val1)",
6053 "p t_char_array_values(char_array_val1,char_array_val2)",
6054 "p t_char_array_values("carray 1","carray 2")",
6055 "p t_char_array_values("carray 1",char_array_val2)",
6056 "p t_char_array_values(char_array_val1,"carray 2")",
6057 "p sum_args(1,{2})",
6058 "p sum_args(2,{2,3})",
6059 "p sum_args(3,{2,3,4})",
6060 "p sum_args(4,{2,3,4,5})"
6061 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6062 "backtrace in corefile.exp" when not gcc compiled.
6063
6064Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6065
6066 * gdb.base/signals.exp: Rewrite `handle all print' test as
6067 a procedure. Accept blanks or TABs as whitespace, increase
6068 timeout and expect input buffer size for the large output
6069 from the command. Remove "i*86-*-bsdi2.0" xfail.
6070
6071Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6072
6073 * gdb.base/setvar.exp: Add new testcases for truncation when
6074 assigning invalid values to bitfields.
6075
6076Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6077
beb998c6 6078 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6079 mips-sgi-irix* xfail for
6080 "call inferior func with struct - returns char *"
6081 and fix test so that an optional (unsigned char *) cast is
6082 accepted in the result.
6083
6084Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6085
6086 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6087 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6088 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6089 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6090 that accidentally got checked in.
6091
6092Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6093
beb998c6 6094 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6095 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6096 compiled test.
6097 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6098 Add mips-sgi-irix5* xfail for not gcc compiled.
6099 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6100 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6101 "p top", "whatis top", "p middle", and "whatis middle".
6102 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6103 "whatis signed char" for not gcc compiled.
6104 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6105 "set variable signed char=-1 (-1)" and
6106 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6107 * gdb.base/funcargs.exp (float_and_integral_args):
6108 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6109 Add mips-sgi-irix* xfail when not gcc compiled for
6110 "continue to call2b".
6111 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6112 "continue to call2g".
6113 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6114 "backtrace from call6a"
6115 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6116 "backtrace from call7k".
6117 Add mips-sgi-irix5* xfail when not gcc compiled for
6118 "backtrace from call7a".
6119 (localvars_after_alloca): Fix gdb_test cmds for
6120 "print * after runto ...".
6121 Remove rs6000-*-* xfails for
6122 "print i after runto localvars_after_alloca" and
6123 "print l after runto localvars_after_alloca"
6124 for all compilers.
6125 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6126 when not compiled with gcc, for:
6127 "print signed char == (minus)",
6128 "print signed char != (minus)",
6129 "print signed char < (minus)",
6130 "print signed char > (minus)".
6131 * gdb.base/callfuncs.exp (do_function_calls):
6132 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6133 "call inferior func with struct - returns char *".
beb998c6 6134 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6135 "correct value returned double test" to include Solaris 2.4.
6136 * gdb.base/funcargs.exp (float_and_integral_args):
6137 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6138
c906108c
SS
6139Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6140
6141 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6142 enumeration bitfields if compiling with GNU C.
6143 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6144 to empty' prompt.
6145
6146Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6147
6148 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6149 test for PRO targets.
6150
6151 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6152 breakpoints in the inferior at any given time by making
6153 two groups of breakpoints for call2*, call6* and call7*
6154 tests.
6155
6156Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6157
6158 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6159 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6160 from optimizing it away.
6161 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6162 "call inferior func with struct".
6163
6164Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6165
6166 * configure.in: Only configure gdb.chill for particular targets.
6167
6168Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6169
6170 * gdb.base/Makefile.in: Add action to .c.o transformation
6171 rule that generates a .ci file for each .o file and remove
6172 explicit .c.o rules except for callfuncs.o.
6173 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6174 generates a .ci file for each .o file and remove explicit
6175 .cc.o rules.
6176 (clean): Remove *.tmp *.ci files.
6177 (EXECUTABLES): Remove templ-info.exp.
6178 * gdb.base/compiler.c: New file.
6179 * gdb.c++/compiler.cc: New file
6180 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6181 Change rs6000-*-* xfail for
6182 "print 'scope0.c'::filelocal_ro" and
6183 "print 'scope1.c'::filelocal" and
6184 "print 'scope1.c'::filelocal_bss" and
6185 "print 'scope1.c'::filelocal_ro" and
6186 "print 'scope1.c'::foo::funclocal" and
6187 "print 'scope1.c'::foo::funclocal_ro" and
6188 "print 'scope1.c'::bar::funclocal" and
6189 "print 'scope0.c'::filelocal_ro" and
6190 "print 'scope1.c'::filelocal at foo" and
6191 "print 'scope1.c'::filelocal_bss at foo" and
6192 "print 'scope1.c'::filelocal_ro at foo" and
6193 "print 'scope1.c'::foo::funclocal at foo" and
6194 "print 'scope1.c'::foo::funclocal_bss at foo" and
6195 "print 'scope1.c'::foo::funclocal_ro at foo" and
6196 "print 'scope1.c'::bar::funclocal at foo" and
6197 "print 'scope0.c'::filelocal_ro" and
6198 "print 'scope1.c'::filelocal" and
6199 "print 'scope1.c'::filelocal_bss" and
6200 "print 'scope1.c'::filelocal_ro" and
6201 "print 'scope1.c'::foo::funclocal" and
6202 "print 'scope1.c'::foo::funclocal_bss" and
6203 "print 'scope1.c'::foo::funclocal_ro" and
6204 "print 'scope1.c'::bar::funclocal" and
6205 "print 'scope1.c'::bar::funclocal_bss"
6206 to only be xfail'd when not compiled with gcc.
beb998c6 6207 Add rs6000-*-* xfail for
c906108c
SS
6208 "print 'scope0.c'::filelocal_bss before run"
6209 when compiled with gcc.
6210 (test_at_main): Add rs6000-*-* xfail for
6211 "print filelocal_ro in test_at_main"
6212 when compiled with gcc.
6213 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6214 Add rs6000-*-aix* xfail for
c906108c
SS
6215 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6216 "ptype t_char_array", not compiled with gcc.
6217 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6218 xfail for "list foo (in include file)" when gcc compiled.
6219 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6220 (integral_args): Add rs6000-*-* xfail for
6221 "run to call0a" if not compiled with gcc.
6222 (unsigned_integral_args): Add rs6000-*-* xfail for
6223 "run to call1a" if not compiled with gcc.
6224 (float_and_integral_args): Add rs6000-*-* xfail for
6225 "run to call2a" if not compiled with gcc and for
6226 "continue to call2b" for any compiler.
6227 Add rs6000-*-* xfail to
6228 "print f1 after run to call2a" for gcc compiled.
6229 (discard_and_shuffle): Add rs6000-*-* xfail for
6230 "run to call6a".
6231 (shuffle_round_robin): Add rs6000-*-* xfail for
6232 "backtrace from call7a" if not compiled with gcc.
6233 Add rs6000-*-* xfail for
6234 "backtrace from call7b" if compiled with gcc.
6235 (call_after_alloca): Add rs6000-*-* xfail for
6236 "print c in call_after_alloca" and
6237 "print s in call_after_alloca" and
6238 "backtrace from call_after_alloca_subr"
6239 if not compiled with gcc.
6240 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6241 "print c in localvars_in_indirect_call" and
6242 "print c in localvars_in_indirect_call" and
6243 "backtrace in indirectly called function" and
6244 "stepping into indirectly called function"
6245 if not compiled with gcc.
6246 (localvars_after_alloca): Add rs6000-*-* xfail for
6247 "print c after runto localvars_after_alloca" and
6248 "print s after runto localvars_after_alloca" and
6249 "print i after runto localvars_after_alloca" and
6250 "print l after runto localvars_after_alloca"
6251 for all compilers.
6252 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6253 than whatis-info.exp.
6254 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6255 than opaque-info.exp.
6256 Setup rs6000-*-* xfail for
beb998c6 6257 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6258 "ptype on opaque struct pointer (dynamically)" when
6259 not compiled with gcc.
6260 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6261 rather than callf-info.exp.
6262 (do_function_calls): Add clear_xfail for rs6000-*-* for
6263 "p t_float_values2(3.14159,float_val2)". Seems to work
6264 fine there, both with xlc and gcc. Need to find out what
6265 it is doing right and fix other platforms.
6266 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6267 "call inferior func with struct - returns int",
6268 "call inferior func with struct - returns long",
6269 "call inferior func with struct - returns float",
6270 "call inferior func with struct - returns double",
6271 "call inferior func with struct - returns char *",
6272 but only if not gcc compiled (presumes xlc compiled).
6273 Change rs6000-*-* xfails for
6274 "call inferior func with struct - returns char" and
6275 " call inferior func with struct - returns short" to only
6276 xfail if not using gcc.
6277 (clean mostlyclean): Remove *.ci and *.tmp files.
6278 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6279 than templ-info.exp.
6280 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6281 Add rs6000-*-* xfail for "up to foo in langs.exp"
6282 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6283 when not gcc compiled.
beb998c6 6284
c906108c
SS
6285Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6286
6287 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6288 * gdb.base/corefile.exp: Likewise.
6289 * gdb.base/list.exp: Likewise.
6290 * gdb.base/scope.exp: Likewise.
6291 * gdb.base/siganls.exp: Likewise.
6292
6293 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6294 compiler output.
6295 * gdb.base/whatis.exp: Likewise.
6296
6297Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6298
6299 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6300 failure (opcode table has been fixed to match reality).
6301
6302Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6303
6304 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6305 "call inferior func with struct - returns char",
6306 "call inferior func with struct - returns short"
6307
6308 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6309 "print 'scope0.c'::filelocal at main",
6310 "print 'scope0.c'::filelocal_bss in test_at_main",
6311 "print 'scope0.c'::filelocal at foo",
6312 "print 'scope0.c'::filelocal_bss in test_at_foo",
6313 "print 'scope0.c'::filelocal at bar",
6314 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6315
c906108c
SS
6316 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6317 in source file 1". This bug seems to have been fixed with both
6318 gcc and native cc (was native assembler bug?).
6319
6320Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6321
6322 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6323 "backtrace through signal handler" to "i*86-*-sysv4*".
6324 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6325 continue" case. Add "known SVR4 bug" to fail message.
6326 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6327 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6328 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6329 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6330 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6331 "up to foo in langs.exp", "show language at foo in
6332 langs.exp", "up to cppsub_ in langs.exp", "show
6333 language at cppsub_ in langs.exp", "up to fsub in
6334 langs.exp", and "show language at fsub in langs.exp".
6335 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6336 "bactrace in corefile.exp".
6337 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6338 "call inferior function with struct - returns float" and
6339 "call inferior function with struct - returns double".
beb998c6 6340
c906108c
SS
6341Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6342
6343 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6344 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6345 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6346 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6347
6348Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6349
6350 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6351 (or overriden) "CHILL" macro rather then bare "gcc".
6352 Also look for ../../gcc/xgcc since that is what we will
6353 actually need, not "Makefile". Remove following assignment
6354 of CHILL to CHILL_FOR_TARGET because that results in
6355 recursive definition.
6356
6357Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6358
6359 * gdb.base/corefile.exp: Change xfail for backtrace in
6360 corefile.exp from linuxaout to all linux.
6361 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6362 cases where we miss the breakpoint at the signal handler
6363 for some reason. Setup xfail for linuxoldld/linuxaout and
6364 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6365 hitting SIGURG breakpoint.
6366 * gdb.base/signals.exp: Setup xfail for "next" acting like
6367 continue to add linuxoldld. Setup xfail for all linux for
6368 "next to handler in signals_tests_1", "backtrace in
6369 signals_tests_1", "continue to func1", "pass SIGUSR1",
6370 and continue to handler".
6371
6372Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6373
6374 * Update all FSF addresses except those in COPYING* files.
6375
6376Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6377
6378 * gdb.base/a2-run.exp: Change messages to be more explicit about
6379 the status of args, and quote binfile in results.
6380
6381Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6382
6383 * gdb.base/callfuncs.exp: Add tests for passing structs to
6384 inferior functions and return various types.
6385 * gdb.base/callfuncs.c: Add functions to receive a struct
6386 and return a member of the struct, in various types.
6387
6388Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6389
6390 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6391
6392Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6393
6394 * config/vxworks29k.exp: New file, sources vxworks.exp.
6395
6396Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6397
6398 * config/gdbremote.exp: New file. Testing framework using
6399 gdbserver.
6400
6401Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6402
6403 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6404 "call function when asleep" and "send end of file".
6405 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6406 for "backtrace in corefile.exp".
6407 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6408 for "backtrace through signal handler".
6409 * gdb.base/corefile.exp: Make sure we actually generate a core file
6410 before trying the core tests. Some systems allow the user to suppress
6411 generation of core files and default to that (linux for example).
6412 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6413 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6414
6415Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6416
6417 * gdb.threads: New directory with some crude multi-threaded
6418 gdb tests (step.exp and step2.exp).
6419 * config/mt-lynx (STEP_EXECUTABLE): Define.
6420 (THREADFLAGS): Define.
6421
6422Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6423
6424 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6425
6426 * gdb.base/signals.exp: Disable whole file for lynx until
6427 further notice.
6428
6429 * gdb.base/signals.exp: xfail test where "next" acts like
6430 "continue" for lynx.
6431
6432 * gdb.base/interrupt.exp: xfail test for calling function while
6433 inferior is asleep for lynx.
6434
6435 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6436 than one cr-lf after each command.
6437
6438Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6439
6440 * configure.in: Reinstate setting of stabsdirs variable, fix
6441 typo in setting up configdirs for native builds.
6442
6443 * gdb.base/return.exp: Fix typo in return double test.
6444 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6445 compiler from optimizing them away.
6446
6447Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6448
6449 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6450 sequences to be echo'd by gdb when using gdb_test.
6451 * gdb.chill/chexp.exp: Likewise.
6452 * gdb.fortran/exprs.exp: Likewise
6453
6454Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6455
6456 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6457 after the inferior gdb has started.
6458
6459 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6460 after each command.
6461 * gdb.base/funcargs.exp: Likewise.
6462 * gdb.base/gdbvars.exp: Likewise.
6463 * gdb.base/interrupt.exp: Likewise.
6464 * gdb.base/list.exp: Likewise.
6465 * gdb.base/watchpoint.exp: Likewise.
6466 * gdb.c++/demangle.exp: Likewise.
6467 * gdb.c++/inherit.exp: Likewise.
6468 * gdb.chill/chexp.exp: Likewise.
6469 * gdb.fortran/exprs.exp: Likewise.
6470
6471 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6472 test if we can't handle IO to/from the inferior.
6473
6474 * gdb.c++/misc.exp: Always check for a program already being
6475 started after sending a "run" command to gdb.
6476
6477 * gdb.base/twice.exp: Start with a fresh gdb.
6478
6479 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6480 only depend on gdb's expression code, not the chill runtime.
6481
6482 * gdb.base/return.c: Put return values into variables so we
6483 can have gdb print them rather than depending on the program
6484 to print them.
6485 * gdb.base/return.exp: Corresponding changes.
6486
6487 * lib/gdb.exp: Provide default value for noinferiorio.
6488 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6489 the inferior.
6490
6491 * gdb.base/break.exp: Always check for a program already being
6492 started after sending a "run" command to gdb.
6493 (text_next_with_recursion): Don't check the output from the
6494 program's printf statement. Instead just make sure the program
6495 exited.
6496
6497 * gdb.base/commands.exp: Protect tests which need arguments with
6498 $noargs conditionals.
6499
6500Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6501
6502 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6503 of structure member arrays to match gdb/valops.c:value_addr change.
6504
6505Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6506
6507 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6508 cases.
6509
6510Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6511
6512 * configure.in (configdirs): Remove gdb.chill from default list
6513 of subdirs and then add it back in only if doing a native build.
6514 The current chill compiler does not yet work in any cross build.
6515 * Revert all signal changes from Jul 6.
6516 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6517 for sh-hms targets, allowing these tests to link, with no other
6518 changes. Testing is suppressed by setting "nosignals" in site.exp.
6519
6520Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6521
6522 * configure.in (signaldirs): Define and add to configdirs for all
6523 targets except some specific ones that are known to not support signals.
6524 Also clean up formatting.
6525 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6526 (signals, sigall): Remove rules to build.
6527 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6528 Moved to new gdb.signals directory.
6529 * gdb.signals: New test directory.
6530 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6531 signals.c signals.exp}: New or moved files.
6532
6533Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6534
6535 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6536
6537Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6538
6539 * gdb.base/return.exp: Xfail `return double' test failure
6540 on at least Solaris 2.3 and handle future/past versions on
6541 a case by case basis as appropriate. Also update message
6542 to include i*86 failures.
6543
6544Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6545
6546 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6547
6548 * lib/gdb.exp: Fix comment which erroneously identified
6549 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6550 gdb_file_cmd not gdb_load).
6551 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6552
6553 * gdb.base/setvar.exp: Make test names consistent between pass and
6554 fail cases. Use gdb_test more.
6555
6556Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6557
6558 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6559
6560Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6561
6562 * gdb.base/help.exp: Fix expected help string for `show commands'.
6563
6564Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6565
6566 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6567
6568 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6569 of a text section.
6570
6571Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6572
6573 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6574 that loop eventually terminates. Fix Connection refused logic so
6575 that testsuite will expire nicely.
6576
6577Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6578
6579 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6580 config/rom68k.exp: New tcl glue for the appropriate monitors.
6581 These all just end up calling monitor.exp.
6582 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6583 refused' by retrying. Cleanup some timeout issues.
6584 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6585 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6586 callers don't have to set/restore global timeout variable.
6587
6588 * The following set of changes centralizes management of the global
6589 timeout variable. This way, it can be set in one target dependent
6590 place instead of dozens of places scattered throughout the test suite.
6591 If you need to lengthen a timeout, then you should either set timeout
6592 in one of the config/{target}.exp files, or multiply it by a factor.
6593 Setting it to an absolute value is always going to lose for some
6594 targets.
6595 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6596 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6597 * gdb.base/funcargs.exp: Don't set timeout.
6598 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6599 * gdb.base/printcmds.exp (test_print_string_constants
6600 test_print_array_constants): Don't set timeout.
6601 * gdb.base/ptype.exp: Don't set timeout.
6602 * gdb.base/recurse.exp: Don't set timeout.
6603 * gdb.base/return.exp: Don't set timeout.
6604 * gdb.base/watchpoint.exp: Don't set timeout.
6605 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6606 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6607
6608Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6609
6610 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6611
6612Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6613
6614 * lib/gdb.exp: Disable chill tests for irix5.
6615
6616Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6617
6618 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6619 each test pass or fail.
6620
6621Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6622
6623 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6624 xlc not gcc.
6625
6626Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6627
6628 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6629
6630Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6631
6632 * config/est.exp: Fix copyright and comments. Remove dead code.
6633 Use targetname, serialport and baud variables instead of fixed
6634 constants.
6635 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6636 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6637
6638Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6639
6640 * gdb.base/watchpoint.exp: Don't run
6641 test_watchpoint_triggered_in_syscall for sunos.
6642
6643Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6644
6645 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6646 they don't seem to exist. Do include stdio.h.
6647
6648Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6649
6650 * gdb.base/a1-selftest.exp: Add alpha xfail.
6651
6652Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6653
6654 * gdb.base/watchpoint.c (main): Prompt before calling read().
6655 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6656 Revise accordingly. Remove cruft about sending "123" several
6657 times, until it gets noticed. Clean up the "print buf[0]" stuff
6658 so that it passes or fails, and waits for prompts in the usual way.
6659
6660Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6661
6662 * gdb.base/recurse.exp: Fix comment.
6663
6664 * TODO: Remove item about printing variables in nodebug.exp. Add
6665 item about enabling tests which are only run on some targets.
6666
6667 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6668 fail, make test names unique, use new gdb_test convention
6669 regarding pattern, use gdb_test more, etc.).
6670
6671 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6672 fail, make test names unique, etc.).
6673
6674Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6675
6676 * gdb.base/nodebug.c: Change return type of top and middle to
6677 short.
6678 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6679 are fixed by the recent mdebugread.c changes. Allow `short ()'
6680 as type for top and middle.
6681
6682Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6683
6684 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6685 nearly as I can tell, the whole thing was an accident in Stu's
6686 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6687 to replace a send/expect pair with gdb_test, but ended up only
6688 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6689 of 30 Mar 1995 took care of it, but left this vestigial comment
6690 which I am now nuking.
6691
6692Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6693
6694 * gdb.base/break.exp: Look for different line number for
6695 breakpoint at main depending on usestubs.
6696
6697Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6698
6699 * gdb.base/list.exp: Adjust some alternate expect patterns to
6700 match recent list0.c change. Add alternate expect pattern for
6701 output from `list default lines around main' for optimizing
6702 compilers.
6703
6704Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6705
6706 * lib/gdb.exp: If nosignals is not set, set it to 0.
6707
6708Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6709
6710 * config/slite-gdb.exp: Responds to load symbol table prompt.
6711 * gdb.base/break.exp: Adjust line number, fix rerun.
6712 * gdb.base/langs0.c: Add #ifdef usestubs.
6713
6714Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6715
6716 * gdb.base/list.exp: Adjust line contents after adding new lines in
6717 list0.c. Also fix a syntax error.
6718
6719 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6720 * gdb.base/break.exp: ditto.
6721 * gdb.base/list.exp: ditto.
6722 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6723 * gdb.base/run.c: ditto.
6724 * gdb.base/list0.c: ditto.
6725 * gdb.base/funcargs.c: ditto.
6726
6727Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6728
6729 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6730 $targetname, $serialport and $baud instead of hardwired variables.
6731 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6732 target doesn't support signals.
6733
6734Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6735
6736 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6737
6738Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6739
6740 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6741 Don't rely on the value of an auto variable before it has been
6742 initialized. Use gdb_test more.
6743
6744Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6745
6746 * lib/gdb.exp (default_gdb_version): A version number must start
6747 with a digit, but other than that contains all characters up to
6748 the first whitespace character.
6749
6750Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6751
6752 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6753
6754Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6755
6756 * gdb.c++/*.exp: Warn if executable does not exist. The original
6757 reason for skipping the warning was that configure.in sometimes
6758 intentionally skipped building the executables but the tcl code
6759 had no way of knowing. That (a) was always bogus with respect to
6760 error handling, (b) is no longer true (right now there is no way
6761 to skip C++ tests).
6762
6763 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6764
6765Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6766
6767 * gdb.base/list.exp: Add expect patterns for output from
6768 SunPRO compiled executables.
6769 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6770 types.
6771
6772Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6773
6774 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6775 number (we are already testing that the correct source line text
6776 gets printed).
6777
6778 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6779 that is what is intended, but something needed to be done to get
6780 sunos4 native working again.
6781
6782 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6783
6784 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6785 apparently went with a (very) old xfail.
6786
6787Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6788
6789 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6790 runto_main is a proc in gdb.exp that will do 'step' for target use
6791 stubs.
6792 * gdb.base/exprs.exp: ditto.
6793 * gdb.base/interrupt.exp: ditto.
6794 * gdb.base/opaque.exp: ditto.
6795 * gdb.base/printcmds.exp: ditto.
6796 * gdb.base/ptype.exp: ditto.
6797 * gdb.base/scope.exp: ditto.
6798 * gdb.base/setvar.exp: ditto.
6799 * gdb.base/signals.exp: ditto.
6800 * gdb.base/twice.exp: ditto.
6801 * gdb.c++/classes.exp: ditto.
6802 * gdb.c++/inherit.exp: ditto.
6803 * gdb.c++/templates.exp: ditto.
6804 * gdb.base/break.exp: no run and hit main for stubs. Change line
6805 numbers for breakpoints and info breakpoint.
6806 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6807 breakpoint().
6808 * gdb.base/callfuncs.c: ditto.
6809 * gdb.base/exprs: ditto.
6810 * gdb.base/interrupt.c: ditto.
6811 * gdb.base/opaque0.c: ditto.
6812 * gdb.base/printcmds.c: ditto.
6813 * gdb.base/ptype.c: ditto.
6814 * gdb.base/scope0.c: ditto.
6815 * gdb.base/setvar.c: ditto.
6816 * gdb.base/signals.c: ditto.
6817 * gdb.base/twice.c: ditto.
6818 * gdb.c++/misc.cc: ditto.
6819 * gdb.c++/templates.cc: ditto.
6820
6821Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6822
6823 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6824
6825 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6826 somewhere between `read' and `main.c'. I'm pretty sure the
6827 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6828 and it isn't particularly useful.
6829
6830 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6831
6832Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6833
6834 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6835
6836Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6837
6838 * config/mt-slite: add LIBS and -nostdlib.
6839 * config/slite-gdb.exp: add this new file to support sparclite target.
6840
6841Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6842
6843 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6844
6845 * gdb.base/a2-run.exp: Change argument to istarget from
6846 "*-*-vxworks" to "*-*-vxworks*".
6847 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6848
6849Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6850
6851 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6852 will not runto main but do a 'step' to step out of breakpoint().
6853 * config/mt-slite: add -Dusestubs.
6854
6855Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6856
6857 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6858 instead of just @.
6859
6860 * gdb.base/signals.exp: Add test for "handle all print".
6861 * TODO: Remove "handle all print". Also remove item about
6862 checking copyright date (I don't like the idea of a spurious FAIL
6863 based on when we run the tests).
6864
6865 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6866 for SunOS4 (reason for failure not investigated). Remove
6867 redundant test for $binfile.
6868
6869 * gdb.base/nodebug.c (array_index): Call malloc.
6870
6871 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6872
6873Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6874
6875 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6876 conventions and slightly simplify the matching regexp.
6877
6878Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6879
6880 * gdb.base/break.exp: Update gdb_test invocation to use new
6881 convention.
6882
6883 * lib/gdb.exp: If noargs is not set, set it to 0.
6884
6885 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6886 tests unique.
6887
6888 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6889
6890Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6891
6892 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6893 one argument of type "<non-float parameter>".
6894
6895Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6896
6897 * config/rom68k.exp: New file to support Motorola IDP board.
6898 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6899 * gdb.base/break.c: Change things around so that this program
6900 doesn't depend upon args. This is necessary to make remote
6901 targets work (in general, they can't take args).
6902 * gdb.base/break.exp: Don't try to send args to program. Don't
6903 expect output. Also, replace lots of code with gdb_test.
6904
6905Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6906
6907 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6908 printing of '\'' (which is what the comment says we are testing,
6909 even though we were not), not '''.
6910 (test_integer_literals_rejected): Test that printing ''' is an error.
6911
6912 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6913 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6914 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6915 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6916 Use gdb_test not test_print_accept.
6917 * lib/gdb.exp: Remove test_print_accept.
6918
6919 * gdb.base/signals.exp (signal_tests_1): Make pass message
6920 consistent with fail message.
6921
6922 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6923 unsigned char; the bug (PR 1821) is fixed.
6924
6925 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6926
6927 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6928 successful tests--makes xfailing them work right.
6929
6930Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6931
6932 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6933 only \r\n, not .*. The test can pass .* as the last thing in
6934 $pattern if that is what it wants. In addition to providing this
6935 flexibility, this change should speed up pattern matching in cases
6936 where the pattern already ended with .* (there were a number of
6937 them). This change also helps catch bad patterns--in the old
6938 scheme the typo "char \*" instead of "char \\*" would pass. Now
6939 it is caught.
6940 * Many .exp files: Update callers.
6941
6942 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6943 clearer and does not spuriously match multiple ('s. Likewise for
6944 ) and *.
6945
6946 * gdb.base/nodebug.exp: Test ability to call a function and pass
6947 it a string (even with no debugging info).
6948
6949 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6950 "p '\'", which is the same as "p ''" once tcl gets done with
6951 quoting, to "p '\\'", which I suspect is what is intended (one
6952 backslash gets sent to GDB).
6953
6954 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6955
6956Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6957
6958 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6959 1817) was fixed literally years ago.
6960
6961Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6962
6963 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6964 test, it causes stepping out of call_after_alloca_subr with
6965 optimizing compilers.
6966 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6967 fails.
6968
6969 * gdb.c++/templates.exp: Source templ-info.exp only if
6970 the templates executable exists.
6971
6972 * gdb.c++/misc.cc (class Contains_static_instance,
6973 class Contains_nested_static_instance),
6974 gdb.c++/classes.exp (test_static_members): Test printing of
6975 a class that contains a static instance of the class.
6976
6977Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6978
6979 * gdb.base/langs2.c (cppsub_): Don't prototype.
6980 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6981 only, I believe).
6982
6983Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6984
6985 * lib/gdb.exp (skip_chill_tests): New procedure.
6986
6987 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
6988
6989Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
6990
6991 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
6992 each expect pattern. Cuts runtime from 12 to about 4 seconds.
6993
6994Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6995
6996 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
6997
6998 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
6999 disassemble 8, not 16, instructions for part 4.
7000
7001 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7002 support the latter anymore.
7003
7004 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7005 -DNO_PROTOTYPES.
7006 * gdb.base/callfuncs.c: Control use of prototypes based on
7007 NO_PROTOTYPES, not __STDC__.
7008 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7009 t_float_values2 tests if prototypes in use.
7010
7011 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7012 t_double_values): When checking differences against DELTA, check
7013 that difference is within the range (-DELTA,DELTA), not just
7014 (-infinity,DELTA).
7015
7016Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7017
7018 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7019 'file' command firts, then 'target', then 'load', this is due to gdb
7020 target set up.
7021 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7022
7023Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7024
7025 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7026 FP load/store variants.
7027 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7028
7029Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7030
7031 * gdb.base/term.exp: Do not give a warning if not native, it is
7032 not an abnormal condition.
7033
7034Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7035
7036 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7037 t_char_array".
7038
7039Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7040
7041 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7042 are getting the version number.
7043
7044 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7045 if not native, it is not an abnormal condition.
7046
7047Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7048
7049 * lib/gdb.exp: Just use "file exists", rather than undocumented
7050 dejagnu procedure "findfile".
7051
7052Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7053
7054 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7055 (LDFLAGS): Set to -Xlinker -Ur.
7056
7057 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7058 Removed, these values are set by lib/gdb.exp.
7059
7060 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7061
7062Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7063
7064 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7065 of replicating gdb startup code.
7066
7067 * config/mt-vxworks (LDFLAGS): Set to -r.
7068 (CFLAGS_FOR_TARGET): Removed.
7069
7070 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7071 (gdb) and gdb for vxworks uses (vxgdb).
7072
7073 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7074 executable is not in the tree and host != target, use sed and
7075 program_transform_name to determine the gdb name used by the
7076 target.
7077
7078 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7079 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7080
7081Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7082
7083 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7084 floats, chars, and shorts where there are ANSI-style function
7085 definitions.
7086
7087 * gdb.base/langs.exp, gdb.base/langs*: New test.
7088 * gdb.base/Makefile.in: Build it.
7089 * TODO: Remove item about checking that C names don't get C++
7090 demangling applied; this test tests it.
7091
7092Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7093
7094 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7095 went with the const70 xfail. The xfail went away a year ago.
7096
7097 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7098
7099 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7100 for hp300.
7101
7102 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7103
7104 * gdb.base/a1-selftest.exp: Don't run on hp300.
7105
7106Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7107
7108 * Makefile.in (site.exp): Set host_alias and target_alias as well
7109 as host_triplet and target_triplet.
7110
7111Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7112
7113 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7114
7115 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7116 places as other ecoff systems).
7117
7118 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7119 ultrix.
7120
7121Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7122
7123 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7124 remove them.
7125 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7126 variable and "variable" in addition to "data variable".
7127 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7128
7129 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7130 2.
7131 * gdb.base/list1.c (long_line): Add additional statement at start
7132 of function.
7133 * gdb.base/list.exp (test_forward_search): Update line number to
7134 reflect new statement.
7135
7136Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7137
7138 * gdb.base/signals.exp: Reinitialize searched source directories
7139 after gdb_start call.
7140
7141Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7142
7143 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7144 * gdb.stabs/Makefile.in: Likewise.
7145
7146 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7147 change. Instead split the tests into smaller pieces.
7148 * gdb.disasm/hppa.s: Corresponding changes.
7149
7150Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7151
7152 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7153 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7154
7155 * gdb.base/funcargs.exp: Modify many tests so that every test
7156 either passes or fails. Make some test names unique.
7157
7158Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7159
7160 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7161 Call stty to set interrupt character.
7162
7163 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7164 for HP assembler versus GNU assembler based on actual behavior of
7165 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7166
7167 * TODO: Suggest a few more stepping tests.
7168
7169Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7170
7171 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7172 restart GDB for h8300 after a continue.
7173 (return): Add pattern to match a29k-udi behavior.
7174 * gdb.base/nodebug.exp: Remove obsolete comment.
7175 * gdb.base/regs.exp: New file, testing of register displays.
7176 * gdb.base/return.exp: Fix typo in reference to $objdir.
7177 * gdb.base/whatis.exp: Always start with a fresh GDB.
7178
7179Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7180
7181 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7182 higher, these tests generate a lot of output.
7183
7184Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7185
7186 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7187 code following the catch silently ignored some errors; without the
7188 catch they should be thrown like any other tcl error. Also, the
7189 catch used "" instead of {} which meant all the callers who wanted
7190 to include one of the characters "[]$ had to quote it an extra time.
7191 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7192 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7193 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7194 Remove extra quoting.
7195
7196Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7197
7198 * gdb.base/commands.exp: Make test names unique; every test either
7199 passes or fails. Update some comments.
7200
7201 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7202
7203Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7204
7205 The following fixes a FAIL caused by the fact that the alpha stabs
7206 configuration didn't use the ".if alpha" code in weird.def.
7207 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7208 bit pointer, so the 32 bit version works even on the alpha.
7209 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7210 Remove the stuff which allowed us to have separate versions for
7211 alpha and everything else.
7212
7213 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7214 regexp which "info func operator\[\](" is supposed to match. Fix
7215 string to send to GDB. Note that GDB still doesn't work right. Add a
7216 new test for "info func .perator\[\](" which GDB does handle correctly.
7217
7218 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7219
7220Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7221
7222 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7223 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7224 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7225 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7226 it makes the tests harder to understand and confuses test-o-matic.
7227 The preferred style is that each test provides a PASS or a FAIL,
7228 and has a unique message (e.g. "continue #54" not just "continue")
7229 which is the same for the pass and the fail.
7230 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7231 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7232 to lib/gdb.exp.
7233 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7234 prt_accept which was basically the same thing. Likewise for
7235 test_print_reject and prt_reject.
7236 * lib/gdb.exp (test_print_reject): Add some more error message
7237 patterns to match from the former printcmds.exp (prt_reject).
7238 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7239 One defect of the passcount stuff is that some of it failed to
7240 report XPASS where appropriate.
7241 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7242 stuff before and after arg in expected pattern.
7243 (test_paddr_operator_functions): Re-do test without print_addr_of;
7244 this is the only test which seems to want extra stuff there.
7245
7246Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7247
7248 * gdb.base/nodebug.exp: Update new tests to reflect improved
7249 wording of gdb output.
7250
7251 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7252 and "ptype" work on variables in files compiled without -g.
7253 Replaces commented out "maint print msymbol" tests.
7254
7255Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7256
7257 * gdb.base/setvar.c (dummy): Call malloc.
7258
7259 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7260 losing with the irix4 sed.
7261
7262 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7263 ALRM" on irix4.
7264
7265Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7266
7267 * TODO: Remove items about corefile.exp testing new exec-file and
7268 backtrace; both are now done. Add items about printing enums.
7269
7270Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7271
7272 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7273 "get signal $thissig" test fails.
7274
7275 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7276
7277Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7278
7279 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7280 compiler warning with dec alpha compiler.
7281
7282 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7283 extra \n from gdb_test call (this explains why the prompt test
7284 that I removed yesterday was there).
7285 (user_defined_command_test): Remove extra \n and prompt test.
7286
7287 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7288 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7289 doesn't exist.
7290 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7291 Also remove alpha workaround, which turns out to be because
7292 SIGABRT == SIGLOST.
7293
7294 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7295
7296 * gdb.base/help.exp: Don't test "help show".
7297
7298Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7299
7300 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7301 "set print address" is on.
7302 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7303 pass prompt to gdb_test; gdb_test already looks for the prompt.
7304
7305 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7306
7307 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7308 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7309 was to make sure that gdb can read a core file. But (a) the "read
7310 the corefile" part didn't make it to a1-selftest.exp, we just
7311 delete the corefile after creating it, and (b) we test reading
7312 corefiles in corefile.exp anyway. Also, this test left around a
7313 xgdb process on Solaris.
7314
7315 * gdb.base/corefile.exp: Also test backtrace.
7316
7317Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7318
7319 * gdb.base/commands.exp: Test a simple user defined command with
7320 arguments and if/while statements; verify the full user command is
7321 printed by "show user".
7322
7323 * gdb.base/commands.exp: Test if/while commands as part of a
7324 breakpoint command list; verify they appear in breakpoint
7325 information.
7326
7327Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7328
7329 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7330 than by dividing by zero.
7331
7332Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7333
7334 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7335 performing an inferior call with watchpoints enabled.
7336 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7337 call.
7338
7339Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7340
7341 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7342 of "file" command.
7343
7344 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7345 Add additional pattern for when "int operator int(void);" appears
7346 in a different order.
7347
7348Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7349
7350 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7351
7352 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7353 and "signal" with ".*".
7354
7355Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7356
7357 * TODO: Add note about "handle all nostop".
7358
7359 * gdb.base/{sigall.c, sigall.exp}: New test.
7360 * gdb.base/Makefile.in: Add it.
7361
7362Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7363
7364 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7365 when invoking GDB, suppresses any windowing interface.
7366
7367Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7368
7369 * config/sim-gdb: New file, simulator testing support.
7370
7371Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7372
7373 * gdb.base/interrupt.exp: Test calling func1 twice.
7374
7375Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7376
7377 * gdb.base/list.exp (test_forward_search): Set timeout higher
7378 when we'll be getting lots of output from gdb.
7379
7380 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7381 "init_malloc" to after the expect statement. Run it if that
7382 regexp is taken, but also for two others which happen if source
7383 cannot be found.
7384
7385Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7386
7387 * gdb.base/printcmds.exp: New test, for printing register before
7388 program is running.
7389
7390Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7391
7392 * gdb.base/list.exp: Correct some alternate expect patterns
7393 to reflect changes in list1.c.
7394
7395Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7396
7397 * TODO: Add item regarding large frames.
7398
7399 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7400
7401 * TODO: Remove item about enabling return.exp; it
7402 is enabled. Suggest a few more "return" tests.
7403
7404Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7405
7406 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7407 anonymous unions.
7408
7409Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7410
7411 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7412 and pr-5646.o, so "make" is the same as "make all", not "make
7413 pr-4975.o".
7414
7415Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7416
7417 * gdb.base/list.exp: Adjust expectations to reflect changes in
7418 list1.c.
7419 (test_forward_search): New test proc.
7420 * gdb.base/list1.c (long_line): New function, has long source line.
7421
7422Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7423
7424 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7425 additional line of code that was added.
7426
7427Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7428
7429 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7430 tests so as not to overflow expect's input buffers.
7431 * gdb.disasm/hppa.exp: Corresponding changes.
7432
7433Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7434
7435 Beginnings of template debugging tests.
7436 * gdb.c++/templ-info.cc: New file to test for template
7437 debugging capability of the compiler.
7438 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7439 templ-info.cc.
7440 * gdb.c++/templates.cc: Add explicit template instantiations
7441 to enable compiling with -fno-implicit-templates. Add destructor
7442 and 'value' method to T5 class for template tests.
7443 * gdb.c++/templates.exp: Add testcases for printing of template
7444 types, setting breakpoints on template methods and calling a
beb998c6 7445 template method.
c906108c
SS
7446
7447Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7448
7449 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7450 branch target since some assemblers (gas-2.5) may emit a
7451 relocation for the branch instead of resolving it in the
7452 assembler.
7453
7454Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7455
7456 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7457 through signal handler.
7458
7459Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7460
7461 * configure.in (*-*-netware): Use config/mt-netware.
7462
7463 * config/mt-netware: New file.
7464 * config/mt-i386-netware: Removed, separate configs for different
7465 netware architectures are no longer needed now that we have
7466 --with-headers.
7467
7468Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7469
7470 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7471 by the recent changes to use ANSI C arithmetic conversions.
7472
7473Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7474
7475 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7476 bug involving using inferior_pid to figure out whether to select a
7477 frame.
7478
7479Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7480
7481 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7482 match the current disassembler output.
7483
7484Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7485
7486 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7487 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7488 types, expect "int" as type of integer values (for now).
7489
7490Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7491
7492 * gdb.base/commands.exp: New tests for if/while commands.
7493
7494Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7495
7496 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7497 by .*, since hex values have different syntax in Chill mode.
7498
7499Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7500
7501 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7502 linefeed from expect pattern for repeated types with indices > 9.
7503
7504Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7505
7506 First part of Fortran test suite.
7507 * gdb.fortran: New directory.
7508 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7509
7510Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7511
7512 * gdb.base/default.exp: Update expect pattern for load command
7513 without arguments.
7514
7515Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7516
7517 * configure.in: Change i386 to i[345]86.
7518 * gdb.base/configure.in: Likewise.
7519 * gdb.c++/configure.in: Likewise.
7520 * gdb.chill/configure.in: Likewise.
7521
7522Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7523
7524 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7525 patterns, since that is not a valid context for comments.
7526
7527Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7528
7529 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7530 repeated types and repeated types with indices > 9.
7531
7532Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7533
7534 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7535 2417; old bug has been fixed.
7536
7537Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7538
7539 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7540 send the newline ourselves instead of assuming gdb_test will do
7541 so when passed an empty input string.
7542
7543 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7544 stabs testcode.
7545
7546Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7547
7548 * lib/gdb.exp (gdb_test): Don't send anything if the first
7549 argument is an empty string. This makes cases where we want to
7550 match output that is already in expect's buffers (for example,
7551 matching a breakpoint after gdb_run_cmd has been called) work
7552 reliably.
7553
7554Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7555
7556 * config/netware.exp: New file.
7557
7558Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7559
7560 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7561 the -B and -L prefixes so we can find the debugging stub.
7562
7563 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7564 there and we are using the gcc from the tree.
7565
7566 * gdb.base/types.c: Removed.
7567
7568 * gdb.base/configure.in: Look for makefile fragments in ../config.
7569 Recognize i386-*-netware.
7570 * gdb.c++/configure.in: Likewise.
7571
7572Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7573
7574 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7575 the correct TCL syntax.
7576
7577Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7578
7579 * gdb.base/opaque.exp: use runto instead of messing around with
7580 breakpoints. Simplify by using gdb_test.
7581
7582 * gdb.base/bitfields.exp: restart between tests on netware targets
7583 because breakpoints aren't relocated after target death. Run
7584 processes to completion.
7585
7586 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7587
7588Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7589
7590 * Makefile.in: Remove extra tabs that confuse some versions
7591 of "make". Use the newly built gdb to test with by default,
7592 rather than the first one in the tester's search path.
7593
7594Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7595
7596 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7597
7598 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7599 condition help.
7600
7601Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7602
7603 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7604
7605 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7606 running.
7607 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7608 * gdb.base/funcargs.exp: Likewise.
7609
7610 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7611 * gdb.base/funcargs.exp: Likewise.
7612
7613 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7614 message is "".
7615
7616Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7617
7618 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7619 return,signals,twice}.exp: Handle non-existant binaries
7620 consistantly.
7621
7622 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7623 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7624 might testing a cross development system.
7625
7626Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7627
7628 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7629 runtest script is relative to ${srcdir}, not ${rootdir}.
7630
7631Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7632
7633 * gdb.base/signals.exp: Allow for optionality of breakpoint
7634 address.
7635
7636Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7637
7638 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7639
7640Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7641
7642 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7643 for size_t definition.
7644 * gdb.c++/templates.cc: Likewise
7645
7646 * config/mt-i386-netware: New file.
7647
7648 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7649 defined.
7650
7651 * gdb.base/Makefile.in: Added support for systems that name core
7652 files by appending "core" to the program name.
7653 * gdb.base/a1-selftest.exp: Likewise.
7654
7655Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7656
7657 * gdb.base/return.exp: Add comment and message for `return double'
7658 test failure on Sparc Solaris.
7659
7660Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7661
7662 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7663
7664Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7665
7666 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7667 from optimizing them away.
7668 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7669 patterns to include default constructors and assignment operators,
7670 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7671 character in the output of the virtual base pointer.
7672
7673Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7674
7675 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7676 expression match in print_addr_of to avoid unintented matches.
7677 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7678 versions up to 2.5.8.
7679
7680Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7681
7682 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7683 included file to run under newer versions of expect.
7684 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7685 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7686 Remove xfail for the virtual table of BDDHookV.
7687
7688Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7689
7690 * lib/gdb.exp (string_to_regexp): Set a default result.
7691 (default_gdb_start): Fix misleading message.
7692
7693Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7694
7695 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7696 Remove all CC, etc definitions.
7697 * config/mt-hpux: New file.
7698 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7699 (CFLAGS, LDFLAGS): Define.
7700 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7701
7702 * Makefile.in (site.exp): Don't insert host_os, etc.
7703 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7704 (distclean): Check existence of subdir.
7705 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7706 * gdb.base/Makefile.in: General cleanup and simplification.
7707 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7708 to build executables. Use default rule to build .o files.
7709 (EXPECT, RUNTEST, CC): Fix relative pathname.
7710 (site.exp): Don't insert host_os, etc.
7711 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7712 and/or SIGUSR1 defined.
7713 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7714 * gdb.c++/Makefile.in: General cleanup and simplification.
7715 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7716 (CFLAGS): Remove.
7717 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7718
7719Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7720
7721 * gdb.base/recurse.exp: Misc changes to get tests running again
7722 after Kung's changes to the watchpoint code.
7723 * gdb.base/watchpoint.exp: Likewise.
7724
7725Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7726
7727 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7728
7729Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7730
7731 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7732 * lib/gdb.exp (default_gdb_start): Define.
7733 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7734 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7735 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7736 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7737 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7738 Don't call gdb_target_udi in between tests.
7739
7740Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7741
7742 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7743 (which was basically just a local version of the same thing). In
7744 addition to avoiding duplication, gdb_test_exact is faster.
7745 * lib/gdb.exp (gdb_test_exact): Fix typo.
7746
7747 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7748 don't give an error.
7749
7750 * gdb.base/term.exp: Call delete_breakpoints before starting.
7751
7752 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7753 (t10): Add comment.
7754
7755Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7756
7757 Reorganization of the GDB Test Suite.
7758
7759 * gdb.base: New directory, contains all the basic tests.
7760 * gdb.c++: New directory, tests specific to C++.
7761 * gdb.chill: New directory, tests specific to Chill.
7762 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7763 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7764 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7765 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7766 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7767 t30-31 to chill).
7768 * */gdbme.*: Rename to match appropriate expect scripts.
7769 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7770 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7771 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7772 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7773 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7774 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7775 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7776 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7777 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7778 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7779 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7780 gdb.c++/virtfunc.cc: New names of C++ files.
7781 * gdb.chill/chillvars.ch: New name of Chill file.
7782 * gdb.base/configure.in, gdb.c++/configure.in,
7783 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7784 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7785 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7786 * configure.in (configdirs): Update to reflect directory changes.
7787 (target_abbrev): No longer define for any configuration.
7788 * Makefile.in: Cosmetic improvements to header comments.
7789
7790Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7791
7792 Various changes to gdb.t31:
7793
7794 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7795 * gdbme.ch: Make all key-words and predefineds be upper-case.
7796 * chillvars.exp: Expect key-words and predefinds in upper-case.
7797
7798 * chillvars.exp: Use gdb_test_exact many places.
7799 Change expected output for arrays (which now includes index labels).
7800
7801 * pr-5020.exp, gdme.ch (module PR_5020):
7802 New test, for PR-5020.
7803
7804Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7805
7806 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7807 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7808
7809Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7810
7811 * Makefile.in: Fix bit-rot in definitions of CHILL,
7812 CHILL_FOR_TARGET and Chill_LIB.
7813 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7814 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7815 CHILL, and CHILL_LIB.
7816
7817Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7818
7819 * Revert the previous changes. Please see Rob's directory
7820 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7821
7822Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7823
7824 * Makefile.in, configure.in, config/mips-gdb.exp,
7825 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7826 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7827 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7828 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7829 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7830 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7831 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7832 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7833 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7834 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7835 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7836 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7837 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7838 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7839 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7840 changes from 94Q1.
7841
7842Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7843
7844 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7845 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7846 Rob's new testing fragments.
7847
7848Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7849
7850 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7851 lib/gdb.exp: Replace error proc calls with perror.
7852
7853Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7854
7855 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7856 version also, match on casted version strings, and match on
7857 gdb startup case where the line numbers might be messed up.
7858
7859Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7860
7861 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7862 (CFLAGS): Delete it from here.
7863
7864Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7865
7866 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7867
7868Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7869
7870 * Makefile.in (RUNTEST): Default to just "runtest".
7871
7872Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7873
7874 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7875 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7876 the code has been restructured.
7877
7878Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7879
7880 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7881 \n, not just one of each.
7882
7883 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7884 /bin/cc gives a warning if you do.
7885
7886Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7887
beb998c6 7888 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
7889 __t10ListS_link1ZUiRCUiPT0
7890
7891Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7892
7893 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7894 on local variables in recursive functions.
7895
7896 * gdb.t07/Makefile.in: Build the new test.
7897
7898Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7899
7900 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7901 directly. Instead compare the return values from actual calls.
7902
7903Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7904
7905 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7906
7907Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7908
7909 * From Peter Schauer with minor modifications.
7910 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7911 stops in mid-line in the caller. Add xfail for returning a float
7912 value on X86 targets.
7913
7914Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7915
7916 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7917 to avoid expect lossage.
7918 (fmem_LRbug_tests): Likewise.
7919 * gdb.disasm/hppa.s: Corresponding changes.
7920
7921 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7922 conditions to work with latest dejagnu/expect.
7923
7924 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7925 expected to fail on the PA.
7926 (backtrace in call with trampolines): Explicitly require main
7927 to be frame #1 (no trampolines should show up in backtrace).
7928
7929 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7930 "continue -expect".
7931 * gdb.t06/break.exp: Likewise.
7932 * gdb.t07/watchpoint.exp: Likewise.
7933 * gdb.t13/bitfields.exp: Likewise.
7934 * gdb.t15/{funcargs,return}.exp: Likewise.
7935 * gdb.stabs/weird.exp: Likewise.
7936 * config/{mips,udi}-gdb.exp: Likewise.
7937
7938 * hppa.sed: Enclose comments within a sed command to avoid
7939 losing with the old OSF1 sed.
7940
7941Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7942
7943 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7944 sequent dynix.
7945 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7946 * gdb.t15/funcargs.exp: Conditionally step again to really
7947 finish from marker_call_with_trampolines. Handle the case where
7948 the first step from within call_with_trampolines already steps
7949 us back to main.
7950 * gdb.t15/gdbme.c: Add comment to closing brace of
7951 call_with_trampolines for funcargs.exp.
7952
7953Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7954
beb998c6 7955 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
7956 Fix typo(s).
7957
7958Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7959
7960 * gdb.t07/gdbme.c: More code for watchpoint testing.
7961
7962 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7963 "Hardware watchpoint" throughout file.
7964 (test_watchpoint_triggered_in_syscall): New test.
7965 (test_complex_watchpoint): New test.
7966
7967Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7968
7969 * gdbme.c (call_with_trampolines): New function to try and step
7970 into. Tests trampoline problems on the PA.
7971
7972 * funcargs.exp (localvars_in_indirect_call): No longer expect
7973 stepping into indirect call to fail on PAs.
7974 (test_stepping_over_trampolines): New test.
7975
7976Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7977
7978 * TODO: Add suggestions for static member function tests, and
7979 completion tests.
7980
7981Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7982
7983 * TODO: Add suggestions for "p/a" tests.
7984
7985 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
7986 (default_gdb_exit): Replace all the hair with sending "quit" to
7987 the process with a simple close.
7988
7989Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7990
7991 * TODO: Add suggestions for shared library tests.
7992
7993Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7994
7995 * TODO: Add suggestions for x/s tests.
7996
7997Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7998
7999 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8000 "enable once", and "enable breakpoints once" with ".*".
8001
8002Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8003
8004 * TODO: Add suggestions about structure passing tests.
8005
8006Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8007
8008 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8009 the primary1 test, use work around if __GNUC__ < 2.
8010 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8011 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8012 Test for bad output rather than waiting for timeout. Issue
8013 second continue only if first continue failed.
8014
8015Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8016
8017 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8018 operator[] test with gdb_test because the old code didn't seem to
8019 be getting the quoting right with the new dejagnu.
8020
8021Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8022
8023 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8024 one from the path.
8025 * Makefile.in: Use a fresh expect if there is one, use runtest
8026 from the src tree if there is one.
beb998c6 8027
c906108c
SS
8028Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8029
8030 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8031 next over recursive call. Revise the tests from that point on
8032 (which had been skipped) to match GDB's actual (correct) output.
8033
8034 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8035 with next over a breakpoint whose condition is false.
8036
8037 * gdb.t00/help.exp: Comment out "help set print" tests just like
8038 (and for same reason as) "help set" test.
8039
8040Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8041
8042 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8043 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8044
8045Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8046
8047 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8048 necessary gdb_target_udi.
8049
8050 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8051
8052 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8053 1838 and 2417; they are fixed.
8054
8055 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8056 gdb.t03/ptype.exp (ptype structure, ptype union):
8057 Remove xfails; the test is looser than when the xfails were added.
8058
8059 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8060 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8061
8062 * gdb.t01/run.exp: Only run shell test if isnative.
8063
8064 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8065 since "run" automatically loads if necessary. Call gdb_target_udi
8066 after the "file" since "file" kills any execution target.
8067
8068 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8069 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8070 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8071 argument for UDI.
8072
8073Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8074
8075 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8076
8077 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8078
8079Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8080
8081 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8082 properly quoting regexps. This makes the second argument to
8083 demangle a fixed string, which matches the callers, instead of a
8084 shell-style pattern which is what the previous implementation
8085 used. Update some of the callers.
8086
8087Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8088
8089 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8090 (comib_nullified_tests): Fix typo.
8091 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8092 strings. No longer expected to fail.
8093
8094 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8095 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8096 strings. No longer expected to fail.
8097
8098 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8099 string. No longer expected to fail.
8100
8101Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8102
8103 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8104 No longer expected to fail.
8105
8106 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8107 string. No longer expected to fail.
8108
8109Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8110
8111 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8112 only in the names (I probably got most of them). I was even
8113 generous with some which differed in underscores in names, and
8114 probably missed a few, and I *still* was able to remove almost a
8115 third of the file with almost no impact on testsuite coverage.
8116
8117Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8118
8119 * gdb.t00/default.exp: Match udi_attach error message as well as
8120 the one from child_attach.
8121
8122 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8123
8124 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8125
8126 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8127 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8128
8129 * Move test with enums and partial symbols back to
8130 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8131 Reverts the change of 26 May 93. Per today's change to
8132 stabs.texinfo, the behavior that weird.exp was expecting was
8133 unreasonable; what is important is that the compiler+gdb get
8134 things right, which happens with a recent gcc. Also fix the test
8135 to deal with native compilers which put out the stab gdb can't
8136 deal with.
8137
8138Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8139
8140 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8141 in the names. The main thing these accomplish is to slow things down.
8142 Many more such duplicates surely remain.
8143
8144 * gdb.t00/help.exp: Comment out "help support" test just like
8145 (and for same reason as) "help set" test.
8146
8147Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8148
8149 * gdb.t06/break.exp: Remove setup_xfails for
8150 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8151 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8152 about known bug in gcc to include up through 2.5.8.
8153 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8154 well as "_vb$".
8155 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8156 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8157 with latest gcc and gdb.
8158 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8159 well as "_vb$".
8160
8161Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8162
8163 * configure.in (hppa*-*-*): Also configure and build stabs-only
8164 tests.
8165
8166Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8167
8168 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8169 * gdb.t10/configure.in (hppa*-*-*): Use it.
8170
8171Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8172
8173 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8174
8175Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8176
8177 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8178 versions prior to 1.13.5.
8179
8180Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8181
8182 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8183 the prompt is at the start of a line.
8184
8185Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8186
8187 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8188 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8189 in the copr tests now.
8190 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8191 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8192 expected to fail.
8193
8194Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8195
8196 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8197 gdb.t31/chillvars.exp, lib/gdb.exp:
8198 Tweak to run under either version of expect.
8199 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8200 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8201 * gdb.t11/list.exp: Remove extraneous whitespace.
8202
8203Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8204
8205 * gdb.t16/printcmds.exp (test_print_strings): Accept
8206 "(unsigned char *) " before the string.
8207
8208 * TODO: Add notes about printing of fancy types and GDB expressions.
8209
8210Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8211
8212 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8213 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8214 if doing mips-idt-ecoff.
c906108c
SS
8215
8216Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8217
8218 * Most .exp files: Tweak to run under either version of expect.
8219
8220Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8221
8222 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8223 xfails; I'm not sure why they are failing, but not because of PR 1806.
8224
8225Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8226
8227 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8228 defined in lib/gdb.exp.
8229
8230Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8231
8232 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8233 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8234 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8235 have to be typeless.
8236
8237Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8238
8239 * TODO: Add suggestion for copyright year test.
8240
8241Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8242
8243 * configure.in (*-*-lynxos*): Add stabs tests.
8244
8245Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8246
8247 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8248 so insert a tab before any assembler directive in column zero.
8249
8250 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8251 stores.
8252 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8253 stores.
8254 (fpu_short_memory_tests): Likewise.
8255
8256Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8257
8258 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8259 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8260 .stabs directives in comments.
8261
8262Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8263
8264 * TODO: New file, describing tests we could write.
8265 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8266
8267Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8268
8269 * gdb.t06/signals.exp: Add kludge to force re-sync.
8270
8271 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8272 to xgdb instead of gdb, get out of gdb.
8273
8274Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8275
8276 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8277 for info.
8278
8279Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8280
8281 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8282 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8283 * gdb.stabs/hppa.sed: New sed script for the PA.
8284
8285Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8286
8287 * gdb.stabs: Re-write weird.def and configuration to use sed
8288 instead of cpp. sed is portable and POSIX; cpp is neither.
8289
8290Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8291
8292 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8293
8294Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8295
8296 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8297
8298Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8299
8300 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8301 "_vb$".
8302 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8303 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8304
8305Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8306
8307 * lib/gdb.exp: Comment out code which depends on non-existent
8308 `transform' procedure.
8309
8310Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8311
8312 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8313 * lib/gdb.exp: Transform tool name.
8314 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8315 1.1's new error handling system.
8316
8317Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8318
8319 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8320
8321Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8322
8323 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8324 They made pattern matching so slow that timeouts happened on
8325 heavily loaded systems. Now any output from "show print" which
8326 gets us back to the GDB prompt is a PASS.
8327
8328Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8329
8330 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8331
8332Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8333
8334 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8335
8336 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8337 It is not from PR 3220.
8338
8339Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8340
8341 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8342 just started failing because they depended on the order the
8343 subcommands are presented, or exact docstring text. This kind of
8344 test is a pain and has minimal benefit.
8345
8346Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8347
8348 * gdb.t09/corefile.exp: At end of test, use "core" command with
8349 no arguments.
8350
8351Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8352
8353 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8354 17}/Makefile.in: Make it possible to run the testsuite with Sun
8355 make and CC = cross gcc by adding explicit build rules for .o
8356 files.
8357
8358Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8359
8360 * gdb.t15/funcargs.exp: Don't put comments on same line as
8361 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8362
c906108c
SS
8363Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8364
8365 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8366
8367Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8368
8369 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8370 * gdb.t20/inherit.exp: remove three dumplicate entries.
8371
8372Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8373
8374 * gdb.t06/break.exp: For "next over recursive call", fail on any
8375 incorrect output, not just on "factorial (value=2)".
8376
8377Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8378
8379 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8380 working now. Add an xfail if accesing a bss variable causes
8381 a memory error if the target is not yet run.
8382
8383Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8384
8385 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8386 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8387 name of __st* demangling (2 strings). Did Kung really get the
8388 more than 95 others right without testing them?
8389
8390Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8391
8392 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8393
8394Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8395
8396 * configure.in (configdirs): Add gdb.disasm
8397 * gdb.disasm: New directory for GDB disassembler tests.
8398 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8399
8400Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8401
8402 * gdb.t00/help.exp: Don't test "help set".
8403
8404 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8405 from within expect statements. None of these happen anymore and
8406 they cause regressions to be silently unnoticed.
8407
8408 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8409 messages) about known failures with gcc cygnus-2.4.5-930417.
8410
8411 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8412 comp-info.exp so it gets built if it doesn't exist.
8413
8414 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8415 it is no longer used.
8416 * gdb.t13/comp-info.c: Removed.
8417
8418Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8419
8420 * gdb.t06/signals.exp: Add xfail for sun3.
8421
8422Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8423
8424 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8425 relevant because ^C doesn't get sent but failure can be reproduced
8426 interactively).
8427
8428Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8429
8430 * gdb.stabs/alpha.mt: New configuration file for alpha.
8431 * gdb.stabs/configure.in: Use it.
8432 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8433 sharing with alpha.mt, redefine long to word via preprocessor.
8434 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8435 for alpha.
8436 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8437 native cc.
8438 * gdb.t00/teststrategy.exp: Change expect string so that we
8439 consume the `(xgdb)' from the command echo and from the gdb prompt.
8440 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8441 gdb currently compares all values as long, so this failure probably
8442 applies to any configuration where LONGEST is bigger than a target int.
8443 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8444 with gcc.
8445 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8446 to handle opaque pointers, gcc is.
8447 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8448 as first argument. Include <sys/types.h> and change all operator
8449 new definitions to use size_t.
8450 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8451 now that we use size_t.
8452
8453Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8454
8455 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8456 a long or float array cast all array members to the same type.
8457 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8458 with 64 bit longs.
8459 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8460 on alpha.
8461 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8462
8463Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8464
8465 * gdb.t24 (demangle.exp): Constructors of templates have names like
8466 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8467 section 14.6 of the ARM.
8468
8469 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8470 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8471 accomplish little and slow down the testsuite.
8472
8473 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8474 Accept spaces various places.
8475
8476Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8477
8478 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8479 with watchpoint enabled.
8480
8481 * Makefile.in: Remove definition of CC and remove the second
8482 definition of CXX (the "CXX = gcc" one remains). These definitions
8483 were causing backquotes to be expanded within backquotes, which
8484 doesn't work.
8485
8486Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8487
8488 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8489
8490Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8491
8492 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8493 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8494 by mips cc and contains no stabs entries.
8495
8496Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8497
8498 * config/vx-gdb.exp: Use fake device to load files rather than
8499 NFS.
8500 * lib/gdb.exp: New proc to do "file" command.
8501 * config/unix-gdb.exp: Use new "file" proc.
8502
8503Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8504
8505 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8506 Rework board rebooting slightly.
8507 (gdb_exit): Don't exit from the remote shell; there isn't one.
8508 * gdb.stabs/weird.exp: If a program is being debugged already,
8509 kill it.
8510 * gdb.t04/setvar.exp: Stop and restart gdb.
8511 * gdb.t05/expr.exp: Likewise.
8512 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8513 restart gdb and reload the program.
8514 * gdb.t08/opaque.exp: Likewise.
8515 * gdb.t12/scope.exp: Likewise.
8516 * gdb.t13/bitfields.exp: Likewise.
8517 * gdb.t15/funcargs.exp: Likewise.
8518 * gdb.t20/classes.exp: Likewise.
8519 * gdb.t03/ptype.exp: Increase timeout.
8520 * gdb.t16/printcmds.exp (test_print_string_constants,
8521 test_print_array_constants): Likewise.
8522 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8523 * gdb.t20/classes.exp (do_tests): Likewise.
8524 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8525
8526Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8527
8528 * gdb.stabs: Renamed *wierd* to *weird*.
8529
8530Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8531
8532 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8533 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8534
8535Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8536
8537 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8538 (do_tests): Remove xfail for whatis on one_var and two_var.
8539
8540Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8541
8542 * Makefile.in: Made cross building work better by adding
8543 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8544
8545Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8546
8547 * gdb.t15/{return.c,return.exp,Makefile.in}:
8548 New test, currently commented out.
8549
8550Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8551
8552 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8553 still running and removes the leftover named socket so GDb can do
8554 clean restarts.
8555
8556Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8557
8558 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8559 console, not GDB.
8560 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8561 cross testing works better with "make check"
8562 * config/unix-gdb: Use default procedures for exit and version.
8563 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8564 with the newest VxWorks.
8565
8566Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8567
8568 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8569 old form.
8570
8571 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8572 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8573
8574 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8575
8576 * config/unix-gdb.exp: Remove this version of gdb_exit
8577 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8578 Rob says he'll look at it when he gets back to testing boards.
8579
8580Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8581
8582 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8583 an expected fail for certain ptype commands.
8584
8585 * gdb.t20/classes.exp: Update expected results of "ptype class
8586 Base1" to account for the constructor that now appears in the type.
8587
8588Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8589
8590 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8591 disappeared from list.
8592 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8593 "alldone" proc with call to cleanup and exit.
8594 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8595 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8596 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8597 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8598 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8599 "alldone" proc with simple returns that suppress remaining
8600 tests. The alldone proc went away many months ago.
8601
8602Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8603
8604 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8605
8606 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8607
8608Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8609
8610 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8611 as vax gdb will display them.
8612
8613Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8614
8615 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8616 optimizers.
8617
8618 * scope.exp: Change "bad value for localval" messages so each one
8619 is unique.
8620
8621 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8622 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8623
8624 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8625
8626Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8627
8628 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8629 doesn't exist (due to optimization).
8630
8631Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8632
8633 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8634 contains \r because the filename is long.
8635
8636 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8637 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8638
8639Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8640
8641 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8642 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8643 Ultrix.
8644 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8645 int tests.
8646 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8647
8648Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8649
8650 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8651
8652 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8653 to match does not match the passing case but still matches the
c906108c
SS
8654 failing case.
8655
8656Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8657
8658 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8659
8660Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8661
8662 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8663 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8664 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8665 Remove various versions of gdb_exit.
8666 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8667 gdb_exit.
8668 * config/unix-gdb.exp: gdb_exit remains here, and should override
8669 the generic version, since it's doing a lot of wierd stuff that
8670 the other versions aren't. FIXME, fold it in, or abandon this
8671 version.
8672
8673Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8674
8675 * gdb.t24/demangle.exp: Add tests for PR 3220.
8676
8677Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8678
8679 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8680
8681Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8682
8683 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8684 "i386-*-*". Works for i486 as well.
8685
8686 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8687 bug, and expand domain of xfail to all SVR4 systems, since the
8688 actual problem is likely to be in generic SVR4 /proc support.
8689
8690Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8691
8692 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8693
8694Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8695
8696 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8697 xfails for other systems. Match a missing 'Continuing.' as an
8698 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8699
8700 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8701 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8702 Only issue warning for missing executables if -all option is used.
8703
8704 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8705 file if -all option is used. It's like an unpredictable XFAIL.
8706
8707Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8708
8709 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8710 for dynamically linked binaries.
8711
8712 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8713
8714Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8715
8716 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8717 to state that this is a known bug in old versions of g++.
8718
8719Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8720
8721 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8722 while waiting for `Continuing'.
8723
8724Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8725
8726 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8727 in text, data, and bss.
8728 * gdb.t10/nodebug.c: Add local and global test variables for
8729 initialized and uninitialized data.
8730
8731Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8732
8733 * config/unix-gdb.exp (gdb_exit): Add "wait".
8734
8735Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8736
8737 * gdb.t06/signals.exp: xfail the continue from the handler for all
8738 targets.
8739
8740 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8741 function with watchpoints enabled, the i386 call dummy starts with
8742 a call.
8743
8744 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8745 386 bsd names its corefiles.
8746
8747Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8748
8749 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8750 compilers don't grok it.
8751 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8752 with small octal ints rather than character constants, which
8753 are signed and might not fit if first promoted to int.
8754
8755Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8756
8757 * gdb.t09/Makefile.in (clean): Remove corefile.
8758
8759Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8760
8761 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8762
8763Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8764 and Jim Kingdon (kingdon@cygnus.com)
8765
8766 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8767 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8768 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8769
8770Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8771
8772 * gdb.t17/interrupt.exp: Add xfail for hppa.
8773
8774Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8775
8776 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8777 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8778 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8779 to determine signed-ness of bitfields and use the result to setup
8780 the xfail.
8781 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8782 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8783 call line is reached if necessary.
8784
8785Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8786
8787 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8788
8789Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8790
8791 * gdb.t06/break.exp: Also test `clear' command.
8792
8793Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8794
8795 * gdb.t00/teststrategy.exp: Remove extra quote.
8796
8797 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8798 watchpoint enabled to be for all non-68k machines.
8799
8800 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8801
8802Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8803
8804 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8805 targets use aout.mt instead of ecoff.mt as gas understands
8806 standard aout format.
8807
8808Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8809
8810 * lib/gdb.exp (runto): Don't insist that function we are running to
8811 was compiled with -g.
8812
8813 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8814
8815 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8816 to get back into the read system call.
8817 Accept leading newline in case where we woke it up.
8818
8819Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8820
8821 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8822 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8823 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8824 enable ecoff configuration.
8825
8826Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8827
8828 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8829
8830Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8831
8832 * gdb.t16/printcmds.exp: Add another printf test.
8833
8834Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8835
8836 * configure.in: If configured -with-stabs on any target, add
8837 stabsdirs to configdirs.
8838
8839Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8840
8841 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8842 fun" so pattern does not match the command itself.
8843
8844Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8845
8846 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8847
8848Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8849
8850 * gdb.t17/interrupt.exp: Test for more things.
8851
8852Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8853
8854 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8855 compiler arranges the code and line numbers.
8856
8857 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8858
8859Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8860
8861 * gdb.t00/help.exp: Increase expect input buffer size.
8862
8863Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8864
8865 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8866
8867 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8868
8869 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8870
8871 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8872 [0-9]*, not just [0-9].
8873
8874Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8875
8876 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8877
8878 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8879
8880Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8881
8882 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8883
8884Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8885
8886 * gdb.t06/signals.c: Add xfails for sun3.
8887
8888 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8889
8890 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8891 test_stepping tests.
8892
8893Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8894
8895 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8896
8897 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8898
8899 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8900 rather than actually putting it through cpp twice.
8901
8902 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8903
8904Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8905
8906 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8907 no longer needed.
8908
8909Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8910
8911 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8912
8913 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8914 C++ features prints as "struct", make it a pass, not an xfail.
8915
8916Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8917
8918 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8919 Don't require VA to print as "class" rather than "struct".
8920
8921Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8922
8923 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8924
8925Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8926
8927 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8928
8929Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8930
8931 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8932 order.
8933
8934Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8935
8936 * gdb.t16/printcmds.exp: Add printf tests.
8937
8938 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8939
8940 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8941
8942Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8943
8944 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8945 pass counts, to counteract any existing or future setup_xfails.
8946
8947Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8948
8949 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8950 {BEGIN,END}_COMMON for common block instead of STAB.
8951 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8952
8953 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8954 intp_var should be N_GSYM not N_LSYM.
8955 wierd-aout.S: Use a label for the value of the N_SO.
8956 wierd.def: Remove all backslashes.
8957 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8958
8959Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8960
8961 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8962 get the expected next to inheritance3.
8963
8964Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8965
8966 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8967 now that gcc-2.4 gets it right.
8968
8969Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8970
8971 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8972
8973 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8974 generating comp-info.exp which works for cross-compilation.
8975
8976Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8977
8978 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8979 "*-*-sysv4.*".
8980
8981Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8982
8983 * gdb.t01/run.exp: Start with a fresh gdb.
8984 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8985 SVR4.x.
8986
8987Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
8988
8989 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
8990 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
8991 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
8992 Makefile.in (distclean, realclean): Remove gdbme.c from list of
8993 things to remove.
8994
8995Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
8996
8997 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
8998 test cases from bug reports.
8999
9000Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9001
9002 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9003 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9004 avoid spurious xfails.
9005 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9006 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9007 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9008
9009Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9010
9011 * gdb.t00/teststrategy.exp: Rework to provide more useful
9012 description of each test, fix problem with systems that define
9013 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9014 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9015 results for "next over recursive call" so timeouts aren't taken
9016 by error.
9017
9018Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9019
9020 * gdb.t12/scope.exp: Test printing of variables before run.
9021
9022 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9023 printed in wrong order due to sorting.
9024
9025Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9026
9027 * gdb.t00/teststrategy.exp: Fix expected results for printing
9028 user entered string constant. Is array of char, prints with no
9029 address.
9030
9031 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9032 commands.
9033 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9034 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9035 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9036 of struct of char arrays.
9037 * gdb.t00/radix.exp: New tests for radix commands.
9038
9039Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9040
9041 * gdb.t16/printcmd.exp: Print a variable before running program
9042 (with xfail for AIX).
9043
9044Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9045
9046 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9047
9048 * gdb.t16/printcmd.exp: Don't print variables before running program.
9049
9050 * gdb.t06/break.exp: Don't require envp argument to main.
9051
9052 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9053
9054 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9055 Add xfails for rs6000.
9056
9057 * gdb.t02/whatis.exp: Change other tests not to re-test something
9058 we already tested.
9059
9060 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9061 each type used has a variable of that type.
9062
9063Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9064
9065 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9066
9067Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9068
9069 * configure.in: change srctrigger to be a file, not a directory
9070
9071Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9072
9073 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9074
9075 * gdb.t11/list.exp: Fixed a couple of typos.
9076
9077Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9078
9079 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9080 is fixed and PR is closed.
9081 * gdb.t16 (gdbme.c): Add simple test string variable.
9082 * gdb.t16 (printcmds.exp): Add tests with simple test string
9083 variable, primarily for boundaries on "set print elements".
9084
9085Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9086
9087 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9088 Make leading 0's optional and don't expect a tab in the middle
9089 of the number.
9090
9091 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9092
9093 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9094 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9095 don't end command passed to gdb_test with newline.
9096
9097 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9098 signed keyword away, don't expect signed bitfields to be signed.
9099
9100 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9101 printing with only as many 1's as are in the field as well as printing
9102 with 32 1's (see comment).
9103
9104Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9105
9106 * gdb.t00/default.exp: Start with a fresh gdb.
9107 * configure.in (configdirs): Remove gdb.t31 until the chill
9108 compiler works again. It no longer is able to find chillrt0
9109 since it isn't in libchill.a anymore.
9110 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9111 wierd.o, make more modular.
9112 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9113 spurious newlines that caused problems.
9114
9115Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9116
9117 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9118 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9119 gdb.stabs/wierd.{exp,def}: Many new tests.
9120
9121 * gdb.t00/default.exp: update info line for new message.
9122
9123 * gdb.t02/{whatis.exp,gdbme.c}:
9124 Test that "char *" doesn't print as "caddr_t".
9125
9126Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9127
9128 * gdb.t00/help.exp: Use .* in place of some help messages which
9129 just changed.
9130 gdb.t00/default.exp: Update "info frame" test for new message.
9131 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9132 Remove some xfails
9133
9134Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9135
9136 * gdb.t03/{gdbme.c,ptype.exp}:
9137 Add tests for typedef'd struct and union without tags.
9138 Also check "whatis" on a variable of a typedef'd enum without a tag.
9139
9140 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9141 PRMS 1823; the bug still exists but isn't reproduced by this test
9142 anymore), and remove rs6000 XFAIL (the bug is fixed).
9143
9144 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9145 duplicated from whatis.exp. For those that are left, accept
9146 "long", "long int", or "int" for long variables (whatis.exp already
9147 has an XFAIL for "int", so no need to fail it here).
9148
9149 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9150 Deal with GCC's names for types now that GDB uses the compiler's names.
9151
9152 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9153 setup_xfail's for sunos4. If we #defined the signed keyword away,
9154 don't expect GDB to know that char it is signed.
9155
9156 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9157
9158Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9159
9160 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9161 should work on any system, regardless of debugging format.
9162 * gdb.t21/demangle.exp: Move to gdb.t24.
9163 * gdb.t24/demangle.exp: Move from gdb.t21.
9164 * gdb.t24/{Makefile.in, configure.in}: New files.
9165
9166Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9167
9168 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9169 * gdb.stabs: New directory.
9170
9171Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9172
9173 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9174 not just "Quit anyway?".
9175
9176Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9177
9178 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9179 that all setup_xfails are immediately followed by clear_xfails.
9180
9181Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9182
9183 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9184 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9185 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9186 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9187 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9188 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9189 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9190 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9191 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9192 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9193 gdb.t31/chillvars.exp, lib/gdb.exp:
9194 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9195 bug-gdb@prep.ai.mit.edu.
9196
9197Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9198
9199 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9200 with 0.0, not integer 0.
9201
9202Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9203
9204 * gdb.t06/break.exp: Update for "Kill the program" message change.
9205
9206Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9207
9208 * Makefile.in (GDBFLAGS): Set to -nx.
9209 * Makefile.in (site.exp): Use GDBFLAGS.
9210
9211Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9212
9213 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9214 Makefiles.
9215 (check): depend on just-check.
9216 (just-check): added so that tests can be run without a noop
9217 build pass.
9218
9219Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9220
9221 Switch to using configure's configdirs.
9222 * Makefile.in (Makefile): add configure.in dependency.
9223 (SUBDIRS): removed redundant assignment.
9224 * configure.in: switch subdirs assignment to configdirs.
9225 * gdb.t*/configure.in: new files.
9226
9227Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9228
9229 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9230 works.
9231
9232Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9233
9234 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9235 in explicit rules. Apparently this is not supported by some makes.
9236
9237Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9238
9239 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9240
9241Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9242
9243 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9244 disappeared.
9245
9246Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9247
9248 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9249
9250Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9251
9252 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9253 watchpoint problem that is now fixed.
9254 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9255 uninitialized convenience variables.
9256 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9257 structures.
9258
9259Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9260
9261 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9262 which causes expect to get out of sync with gdb on long output
9263 from help set.
9264 * gdb.t09/corefile.exp: Make expected pattern for core file
9265 failing signal and frame output format less sun specific.
9266
9267Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9268
9269 * gdb.t31/chillvars.exp: Add and remove initial dummy
9270 breakpoint, so that symbol table is forced in.
9271 (Needed at least on Sunos4, though it seems not SVR4.)
9272 * gdb.t31/chillvars.exp: Update for changed output format.
9273
9274Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9275
9276 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9277
9278Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9279
9280 * Makefile.in: Added --srcdir when invoking runtest, removed the
9281 need for a local config file. (optional now)
9282
9283Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9284
9285 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9286 failure count used to force early termination. Add some more
9287 expected failures for gnu style demangling.
9288
9289Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9290
9291 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9292 pmi variable from gdb.t20/gdbme to get optimized away.
9293 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9294 Check for written corefile upon timeout _and_ eof.
9295
9296Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9297
9298 * config/unix-gdb.exp: Add missing return 0.
9299
9300Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9301
9302 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9303 test termination.
9304
9305Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9306
9307 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9308 disappeared.
9309
9310Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9311
9312 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9313 time as i860 support works.
9314
beb998c6 9315 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9316 "backtrace 100\r" rather than just "backtrace\r", to match last
9317 change.
9318
9319Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9320
9321 * config/udi-gdb.exp (gdb_exit): Remove close command.
9322 (gdb_target_udi): New procedure to set the UDI target.
9323 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9324 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9325 Added waits for prompts after several question responses. Added
9326 some more responses used by a29k-amd-udi-gdb.
9327 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9328 pass different arguments, restart UDI connection after program
9329 completion.
9330 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9331 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9332 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9333 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9334 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9335 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9336 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9337 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9338 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9339 after program completion.
9340 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9341 compiled with a SELECT_VECS setting.
9342 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9343 infinite recursion.
9344
9345 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9346 Added checks for COFF results, and made them expected failures for
9347 all targets. It would be better to make them expected failures
9348 for COFF targets only.
9349
9350Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9351
9352 * Makefile.in: add null dvi target, don't bother to recurse
9353 through test directories for info and install-info; rename
9354 $(datadir) to be dejagnu instead of deja-gnu
9355
9356Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9357
9358 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9359 compiler to coredump.
9360 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9361 code.
9362
9363Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9364
9365 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9366 coredump.
9367 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9368 code.
9369
9370Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9371
9372 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9373 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9374 which in a shell. Deletes xgdb when done.
9375 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9376 Tests the return from the "set height" or "set width" commands.
9377 Added a few return codes where needed.
9378
9379Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9380
9381 * Makefile.in (SUBDIRS): Add gdb.t17.
9382 * configure.in (subdirs): Add gdb.t17.
9383 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9384 files to test gdb's calling of functions in the inferior with
9385 the correct arguments and gdb's ability to retrieve any
9386 result returned.
9387
9388Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9389
9390 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9391 may be called after gdb goes away. Previous versions of expect
9392 needed these to avoid file descriptor leaks, but they cause
9393 errors with the current revision of expect.
9394 * gdb.t00/gdbvars.exp: Use -re on expected output after
9395 setting sevenbit-strings.
9396 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9397 to set sevenbit-strings consistent across tests.
9398 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9399 set sevenbit-strings consistent across tests.
9400
9401Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9402
9403 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9404 expected output to match current "expect" expectations.
9405
9406Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9407
9408 * gdb.t00/default.exp: Change expected output for default "source"
9409 command, to match new gdb behavior which requires a filename to
9410 source.
9411
9412Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9413
9414 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9415 expected fail for i486-*-* that misses the marker2 function.
9416 * gdb.t10/crossload.exp (bfddefault): Allow successful
9417 recognition of a format to pass even if no symbols are found.
9418 Explicitly catch failures where the format is not recognized
9419 or is ambiguous, and add the reason to the fail message.
9420 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9421 the cause is and invalid target and add reason to failure message.
9422 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9423 elf32-i386, elf32-sparc, and elf32-i860.
9424 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9425 Set up expected failure for 'filename'::variable scope resolution,
9426 which is now apparently broken on all targets.
9427 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9428 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9429 gdb.t23/templates.exp: Change failure for missing binfile into
9430 just a warning.
9431 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9432 references.
9433
9434Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9435
9436 * gdb.t00/default.exp: Add expected output for default "source"
9437 command, to match new gdb behavior.
9438 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9439
9440Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9441
9442 * config/*-gdb.exp: returns an error, rather than exiting on
9443 internal errors.
9444
9445Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9446
9447 * gdb.t03/gdbme.c: Add pointer to struct variable.
9448 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9449 referencing struct members.
9450
9451Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9452
9453 * configure.in (mips-idt-ecoff): New target.
9454 * config/mips-gdb.exp: New file for remote board using MIPS remote
9455 debugging protocol.
9456
9457 * Redid configuration scheme. Removed gdb.t*/configure.in.
9458 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9459 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9460 distclean targets. Built executables via .o files. Adjusted
9461 tests to account for source files in $(srcdir) rather than
9462 $(objdir).
9463 * lib/gdb.exp (runto): Don't expect () after the function name,
9464 because it may have arguments.
9465
9466Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9467
9468 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9469 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9470 expected failures for mips-idt-* and mips-sgi-*.
9471 * gdb.t00/default.exp (attach): Kill process if requested.
9472 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9473 that does not read core files.
9474 * gdb.t01/run.exp: Removed checks for exit status code.
9475 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9476 it is linked in.
9477 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9478 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9479 appropriate, rather than doing it by hand.
9480 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9481 execution.
9482 * gdb.t10/crossload.exp: Kill existing program if needed.
9483 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9484 appropriate, rather than doing it by hand. Always increase
9485 timeout for this test, not just for VxWorks.
9486
9487Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9488
9489 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9490 of Chill STRUCT types and STRUCT values.
9491 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9492 than "char".
9493 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9494 struct2): New struct definitions and initializations to test
c906108c
SS
9495 simple Chill STRUCT types.
9496
9497Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9498
9499 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9500 the null byte at the end of strings.
9501 * gdb.t00/default.exp: Make show version insensitive to copyright
9502 date.
9503 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9504 to avoid dependencies on target char signedness.
9505 * gdb.t16/printcmds.exp: Update expected results for explicitly
9506 unsigned char.
9507 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9508 now work.
9509 * gdb.t21/demangle.exp: Add many more patterns for template
9510 demangling, most of them being expected failures.
9511 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9512 string we are matching for, to match on the whole string.
9513 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9514 and fix a whole bunch that had incorrect expected output but were
9515 passing anyway because of the bug in "proc demangle".
9516 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9517 type.
9518 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9519
9520Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9521
9522 * gdb/testsuite: made modifications to testcases, etc., to allow
9523 them to work properly given the reorganization of deja-gnu and the
9524 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9525
9526Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9527
9528 * gdb/testsuite: Initial creation of gdb/testsuite.
9529 Migrated dejagnu testcases and support files for testing nm to
9530 gdb/testsuite from deja-gnu. These files were moved "as is"
9531 with no modifications. This migration is part of a major overhaul
9532 of dejagnu. The modifications to these testcases, etc., which
9533 will allow them to work with the new version of dejagnu will be
9534 made in a future update.
9535\f
9536Local Variables:
9537mode: indented-text
9538left-margin: 8
9539fill-column: 74
9540version-control: never
9541End:
This page took 0.715374 seconds and 4 git commands to generate.