maint.c (maintenance_demangle): Add switch to demangle
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ee73db83
DC
12002-12-23 David Carlton <carlton@math.stanford.edu>
2
3 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
4 and current_directory initialization.
5
d6c1774e
JB
62002-12-22 Jim Blandy <jimb@redhat.com>
7
f0a847b8
JB
8 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
9 rather than as part of the output file name.
10
d6c1774e
JB
11 * gdb.base/attach.exp: There's no need to copy the test program to
12 /tmp; that was only ever necessary on HP/UX, and this test is
13 entirely disabled there anyway.
14
f0708dbb
JB
152002-12-21 Jim Blandy <jimb@redhat.com>
16
4c2acfea
JB
17 * gdb.c++/psmang.exp: Doc fix.
18
f0708dbb
JB
19 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
20 test.
21
9579e000
DC
222002-12-20 David Carlton <carlton@math.stanford.edu>
23
24 * gdb.c++/annota2.exp: KFAIL annotate-quit.
25
d1810171
MC
262002-12-18 Michael Chastain <mec@shout.net>
27
28 * gdb.c++/annota2.exp: Add copyright year 2002.
29
76565097
DC
302002-12-17 David Carlton <carlton@math.stanford.edu>
31
32 * gdb.c++/try_catch.cc: Add marker comments.
33 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
34 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
35 * gdb.c++/m-static.cc: Ditto.
36 * gdb.c++/m-static1.cc: Ditto.
37 * gdb.c++/try_catch.cc: Ditto.
38
da81390b
JJ
392002-12-16 Jeff Johnston <jjohnstn@redhat.com>
40
41 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
42 to see whether we are using the new -environment-directory
43 command which resets via -r or the old version of the command
44 which may prompt the user. Part of fix for gdb/741.
45
b304d130
AC
462002-12-13 Andrew Cagney <ac131313@redhat.com>
47
48 * gdb.fortran/types.exp: Update obsolete comment.
49 * gdb.fortran/exprs.exp: Ditto.
50 * lib/gdb.exp: Delete obsolete code.
51 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
52 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
53 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
54 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
55 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
56 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
57 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
58 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
59 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
60 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
61 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
62 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
63 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
64 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
65 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
66 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
67 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
68 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
69 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
70 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
71 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
72 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
73 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
74 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
75 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
76 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
77 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
78 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
79 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
80 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
81 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
82 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
83 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
84 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
85 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
86 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
87 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
88
a23b6e6a
DC
892002-12-11 David Carlton <carlton@math.stanford.edu>
90
91 * gdb.c++/m-data.exp: Add test for members that shadow global
92 variables: see PR gdb/804.
93 * gdb.c++/m-data.cc: Ditto.
94
6604731b
DJ
952002-12-10 Daniel Jacobowitz <drow@mvista.com>
96
97 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
98
de46ecd7
DC
992002-12-06 David Carlton <carlton@math.stanford.edu>
100
101 * gdb.base/store.c: Don't declare functions static.
102
27e829d0
AC
1032002-12-04 Andrew Cagney <ac131313@redhat.com>
104
105 * gdb.base/store.exp, gdb.base/store.c: New files.
106
92806416
DJ
1072002-12-03 Daniel Jacobowitz <drow@mvista.com>
108
109 * gdb.base/selftest.exp: Update for current gdb.
110
3bcbaac5
DJ
1112002-12-03 Daniel Jacobowitz <drow@mvista.com>
112
113 * gdb.base/maint.exp: Only dump symbols from one source file
114 or objfile.
115
f4f00b1f
DJ
1162002-12-03 Daniel Jacobowitz <drow@mvista.com>
117
118 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
119 function call.
120
f1c8a949
JB
1212002-11-25 Jim Blandy <jimb@redhat.com>
122
123 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
124 function appearing in error message.
125
9e297a97
DJ
1262002-11-21 Daniel Jacobowitz <drow@mvista.com>
127
128 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
129
1f312e79
JJ
1302002-11-08 Jeff Johnston <jjohnstn@redhat.com>
131
132 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
133 for mi1 and current mi is in correct format. New mi startup message
134 should be in mi console format. This is part of fix for PR gdb/604.
135
83c31e7d
FN
1362002-09-18 Fernando Nasser <fnasser@redhat.com>
137
138 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
139 which explicitly prints the zero offset as "+0".
140
322b3f65
DJ
1412002-10-22 Daniel Jacobowitz <drow@mvista.com>
142
143 * gdb.threads/schedlock.c (args): Make unsigned.
144
1452002-10-21 Daniel Jacobowitz <drow@mvista.com>
146
147 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
148 numbers. Allow "foo2|selected stack frame".
149 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
150 * gdb.asm/asmsrc2.s: Likewise.
151 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
152 comments.
153 * gdb.asm/mips.inc: New file.
154
5e2fe5b8
AF
1552002-10-18 Adam Fedor <fedor@gnu.org>
156
157 * gdb.base/default.exp: Update expected output to include 'ObjC'.
158 * gdb.base/help.exp: Likewise.
159
abe1a5d0
KB
1602002-10-17 Kevin Buettner <kevinb@redhat.com>
161
162 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
163 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
164
10abb1d4
JB
1652002-10-02 Jim Blandy <jimb@redhat.com>
166
167 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
168
1f609b42
AC
1692002-10-01 Andrew Cagney <ac131313@redhat.com>
170
171 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
172 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
173 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
174 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
175 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
176 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
177 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
178
0aee02e4
AC
1792002-09-29 Andrew Cagney <ac131313@redhat.com>
180
181 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
182 * mi0-disassemble.exp, mi0-eval.exp: Delete.
183 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
184 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
185 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
186 * mi0-var-block.exp, mi0-var-child.exp: Delete.
187 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
188
6fde09ad
KB
1892002-09-27 Kevin Buettner <kevinb@redhat.com>
190
191 * gdb.base/annota1.exp (info break): Make directory components of
192 path optional since not all compilers emit this debug information.
193
194 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
195 step ends up stepping out of the function instead of stopping on
196 the epilogue.
197
9e8aab75
KS
1982002-09-26 Keith Seitz <keiths@redhat.com>
199
200 * lib/insight-support.exp (gdbtk_start): Figure out where
201 the insight executable is based on where gdb is. Use this
202 executable to start insight instead of gdb.
203
e36180d7
AC
2042002-09-25 Andrew Cagney <cagney@redhat.com>
205
206 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
207
9dd34b2b
AC
2082002-09-24 Andrew Cagney <ac131313@redhat.com>
209
210 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
211 test_isolated_complaints.
212 (test_empty_complaint): New function.
213 (test_empty_complaints): New function. Check no output when no
214 complaints.
215
dea97812
KB
2162002-09-19 Jim Blandy <jimb@redhat.com>
217
218 * gdb.base/charset.exp, gdb.base/charset.c: New files.
219
54951bd7
AC
2202002-09-19 Andrew Cagney <ac131313@redhat.com>
221
222 * gdb.gdb/complaints.exp: New file.
223
dec43320
AC
2242002-09-18 Andrew Cagney <ac131313@redhat.com>
225
226 * gdb.base/maint.exp: Check `help maint internal-warning'.
227
e70d6e3f
DC
2282002-09-18 David Carlton <carlton@math.stanford.edu>
229
230 * gdb.c++/m-static.exp: Remove breakpoints depending on line
231 numbers, and replace them by a single breakpoint after the
232 constructors are all finished.
233 Add test 4.
234 * gdb.c++/m-static.cc: Add test 4.
235 * gdb.c++/m-static.h: New file.
236 * gdb.c++/m-static1.cc: New file.
237
238 * gdb.c++/printmethod.exp: New file.
239 * gdb.c++/printmethod.cc: New file.
240
241 * gdb.c++/pr-574.exp: New file.
242 * gdb.c++/pr-574.cc: New file.
243
afb5c968
CV
2442002-09-18 Corinna Vinschen <vinschen@redhat.com>
245
246 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
247 embedded targets which never actually exit.
248
31e45dee
FN
2492002-09-18 Fernando Nasser <fnasser@redhat.com>
250
251 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
252 "don't step after run" as unresolved or unsupported, instead of xfail.
253
a283c5a1
CV
2542002-09-18 Corinna Vinschen <vinschen@redhat.com>
255
256 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
257 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
258 Add newline to expected string in "step out of main (status wrapper)"
259 case.
260
11350d2a
CV
2612002-09-18 Corinna Vinschen <vinschen@redhat.com>
262
263 * lib/gdb.exp (rerun_to_main): Allow restarting application.
264 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
265
0deec7d6
TT
2662002-09-17 Tom Tromey <tromey@redhat.com>
267
268 * gdb.base/printcmds.exp (test_print_string_constants): Expect
269 \000, not \0, in double-quoted string.
270
b2b4a1b5
CV
2712002-09-14 Corinna Vinschen <vinschen@redhat.com>
272
273 * gdb.base/command.exp: Don't expect a "Program exited normally"
274 string after running the commands execution on breakpoint tests.
275
1c56143a
CV
2762002-09-13 Corinna Vinschen <vinschen@redhat.com>
277
278 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
279
37f8da45
JB
2802002-09-12 Joel Brobecker <brobecker@gnat.com>
281
282 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
283
08b468e0
KS
2842002-09-10 Keith Seitz <keiths@redhat.com>
285
286 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
287 runto proc.
288 (mi_run_to_main): Use mi_runto.
289 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
290
dc360f58
KS
2912002-09-10 Keith Seitz <keiths@redhat.com>
292
293 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
294 regexp for stopping at main. Could have multiple event notifications.
295 Don't assume that main was declared with no parameters.
296 (mi_next): Use mi_step_to.
297 (mi_step): Use mi_next_to.
298
ce3abcfb
CV
2992002-09-09 Corinna Vinschen <vinschen@redhat.com>
300
301 * gdb.base/default.exp: Fix expected string in `info float' test.
302
d1f5b980
BE
3032002-09-09 Ben Elliston <bje@redhat.com>
304
305 * config/mips.exp: Update comments.
306 * config/mips-idt.exp: Likewise.
307 * config/nind.exp: Likewise.
308 * config/slite.exp: Likewise.
309 * config/sparclet.exp: Likewise.
310 * config/udi.exp: Likewise.
311 * config/vx.exp: Likewise.
312 * config/vxworks29k.exp: Likewise.
313
2f71430b
JB
3142002-09-05 Jim Blandy <jimb@redhat.com>
315
316 * gdb.threads/killed.exp: Fix test failure message.
317
7ddebc7e
KS
3182002-09-04 Keith Seitz <keiths@redhat.com>
319
320 * lib/mi-support.exp: Update copyright.
321 (mi_gdb_test): Increase the priority of the expected pattern
322 so that it matches gdb_test.
323
0ae67eb3
KS
3242002-09-03 Keith Seitz <keiths@redhat.com>
325
326 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
327 Use integer comparison instead of string comparison for testing
328 whether binary was built.
329
38fc42c8
JB
3302002-09-03 Jim Blandy <jimb@redhat.com>
331
332 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
333
b6ff0e81
JB
3342002-08-29 Jim Blandy <jimb@redhat.com>
335
336 * gdb.threads/pthreads.exp: Move the portable thread compilation
337 code into a function in lib/gdb.exp, and call that from here.
338 * lib/gdb.exp (gdb_compile_pthreads): New function.
339
07c98896
KS
3402002-08-29 Keith Seitz <keiths@redhat.com>
341
342 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
343 expect_out so that callers can get at it.
344
0312286c
DJ
3452002-08-23 Daniel Jacobowitz <drow@mvista.com>
346
347 * gdb.threads/print-threads.c: New file.
348 * gdb.threads/print-threads.exp: New file.
349 * gdb.threads/schedlock.c: New file.
350 * gdb.threads/schedlock.exp: New file.
351
dd039bc4
EZ
3522002-08-22 Elena Zannoni <ezannoni@redhat.com>
353
354 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
355 not altivec.c.
356
1f36144c
MK
3572002-08-17 Mark Kettenis <kettenis@gnu.org>
358
359 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
360 targets. The problem should be fixed now.
361
16057ec7 3622002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
363
364 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
365 2002-07-24 change that removes final dots from error messages.
366
3c1499ad
TT
3672002-08-13 Tom Tromey <tromey@redhat.com>
368
369 * gdb.base/readline.exp: New file.
370
a20ce2c3
AC
3712002-08-01 Andrew Cagney <ac131313@redhat.com>
372
373 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
374 supress message.
375
db034ac5
AC
3762002-08-01 Andrew Cagney <cagney@redhat.com>
377
378 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
379 CHILL_FOR_TARGET and CHILL_LIB.
380 * configure.in (configdirs): Remove gdb.chill.
381 * configure: Regenerate.
382 * lib/gdb.exp: Obsolete references to chill.
383 * gdb.fortran/types.exp: Ditto.
384 * gdb.fortran/exprs.exp: Ditto.
385
3e000b18
KB
3862002-07-30 Kevin Buettner <kevinb@redhat.com>
387
388 * gdb.base/shlib-call.exp (additional_flags): Conditionally
389 set Irix-specific compile and link flags.
390
28f4966b
KB
3912002-07-29 Kevin Buettner <kevinb@redhat.com>
392
393 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
394 source files. The ``-o'' option doesn't work with the ``-E'' option
395 when using the Irix compiler.
396
46c0d5a6
DJ
3972002-07-19 Daniel Jacobowitz <drow@mvista.com>
398
399 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
400 Improve support for reusing an exec file. Copy exec file
401 to target, and run gdbserver on the target instead of on the host.
402
eecf4bed
JB
4032002-07-18 Jim Blandy <jimb@redhat.com>
404
0f815cdf
JB
405 * gdb.base/ending-run.exp: Don't expect to see the program end in
406 some orderly fashion when we're running on a real stand-alone
407 board.
408
eecf4bed
JB
409 * gdb.base/interrupt.exp: Correct logic for skipping tests on
410 targets that don't support interrupts.
411
52d309e4
JB
4122002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
413
414 * gdb.base/attach.exp: Add patterns to match output from /proc-based
415 systems.
416 Move comments in expect statements to inside the actions, so that they
417 don't get matched against.
418
ff683d9e
MK
4192002-07-10 Mark Kettenis <kettenis@gnu.org>
420
421 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
422 function when asleep" test.
423
b5356753
AC
4242002-07-10 Andrew Cagney <ac131313@redhat.com>
425
426 * gdb.base/page.exp: Rewrite to handle problems with very long
427 `info set' output. Update copyright.
428
6aa4d13a
AC
4292002-06-26 Andrew Cagney <ac131313@redhat.com>
430
431 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
432 gdb.threads-hp.
433 * gdb.hp/configure: Regenerate.
434 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
435 * gdb.hp/gdb.threads-hp/configure: Delete file.
436 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
437
8cf8c2b8
AC
4382002-06-22 Andrew Cagney <ac131313@redhat.com>
439
440 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
441 setlocale, bindtextdomain and textdomain.
442
6827a8f8
JB
4432002-06-11 Jim Blandy <jimb@redhat.com>
444
919d772c
JB
445 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
446 preprocessor macro information is present.
447
6827a8f8
JB
448 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
449 tests.
450
c15b0d21
MS
4512002-06-06 Michael Snyder <msnyder@redhat.com>
452
c5984d70
MS
453 * gdb.base/overlays.exp: Record addresses of overlay
454 functions in TCL variables rather than in GDB variables,
455 to avoid having GDB convert them to pointers (with loss
456 of information).
457
99a8512b
MS
458 * gdb.base/d10v.ld: Merge in several years worth of
459 default linker script changes.
c15b0d21
MS
460 * gdb.base/long_long.exp: Add check for sizeof (long double).
461
be26fe0d
ML
4622002-06-06 Michal Ludvig <mludvig@suse.cz>
463
464 * gdb.asm/asm-source.exp: Add x86-64 target.
465 * gdb.asm/x86_64.inc: New.
466
258093ca 4672002-05-30 Michael Chastain <mec@shout.net>
258093ca 468
4b3153f1 469 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
470 * gdb.c++/m-static.cc: New file.
471 * gdb.c++/m-static.exp: New file.
472
241264c6
MS
4732002-05-28 Michael Snyder <msnyder@redhat.com>
474
475 * gdb.base/call-ar-st.exp: Allow for reduced floating point
476 precision.
477
9bba8c8f 4782002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 479
4b3153f1 480 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
481 * gdb.c++/m-data.cc: New file.
482 * gdb.c++/m-data.exp: New file.
483
4842002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 485
4b3153f1 486 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
487 * gdb.c++/try_catch.cc: New file.
488 * gdb.c++/try_catch.exp: New file.
489
def1b996
MC
4902002-05-27 Michael Chastain <mec@shout.net>
491
492 * gdb.c++/local.exp: Accept more nested types in output.
493
522ba268
MC
4942002-05-26 Michael Chastain <mec@shout.net>
495
496 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
497
277254ba
MS
4982002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
499
500 * lib/gdb.exp (gdb_wrapper_init): Just because
501 gdb_wrapper_file exists, this does not mean that the file
502 should not be rebuilt. That is what gdb_wrapper_initialized
503 is for.
504 (default_gdb_init): Reset gdb_wrapper_initialized.
505
b61a8733
MS
5062002-05-23 Michael Snyder <msnyder@redhat.com>
507
5bdb6d01
MS
508 * gdb.base/all-bin.exp: Revise previous patch by just reducing
509 the precision of the floating point test results.
510 * gdb.base/call-rt-st.exp: Ditto.
511
b61a8733
MS
512 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
513 * gdb.base/call-rt-st.exp: Ditto.
514
56f6e910
MC
5152002-05-19 Michael Chastain <mec@shout.net>
516
517 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
518
ad0b0016
EZ
5192002-05-19 Elena Zannoni <ezannoni@redhat.com>
520
521 * configure.in (configdirs): Add gdb.arch.
522 * configure: Regenerate.
523
f617d2b6
JB
5242002-05-17 Jim Blandy <jimb@redhat.com>
525
526 * gdb.base/completion.exp: Recognize the more detailed error
527 messages produced by the macro expander's lexical analyzer.
528
eac2a696
EZ
5292002-05-14 Elena Zannoni <ezannoni@redhat.com>
530
531 * gdb.arch/altivec-abi.c: New file.
532 * gdb.arch/altivec-abi.exp: New file.
533 * gdb.arch/altivec-regs.c: New file.
534 * gdb.arch/altivec-regs.exp: New file.
535
2fdde8f8
DJ
5362002-05-14 Daniel Jacobowitz <drow@mvista.com>
537
538 * gdb.base/maint.exp (maint print type): Update for new type
539 structure.
eac2a696 540
e31f1a7c
EZ
5412002-05-14 Elena Zannoni <ezannoni@redhat.com>
542
543 * gdb.arch: New directory.
544 * gdb.arch/configure.in: New file.
545 * gdb.arch/configure: New file.
546 * gdb.arch/Makefile.in: New file.
547
db589741
CV
5482002-05-13 Corinna Vinschen <vinschen@redhat.com>
549
550 * gdb.asm/asm-source.exp: Add v850 as supported target.
551 * gdb.asm/v850.inc: New file.
552
8ce2a7dc
DJ
5532002-05-13 Daniel Jacobowitz <drow@mvista.com>
554
555 * gdb.c++/annota2.exp (annotate-quit): Add comment.
556
df763c7f
DJ
5572002-05-12 Daniel Jacobowitz <drow@mvista.com>
558
559 * gdb.base/break.exp: Check 'break "marker2"'.
560
377daeed
MS
5612002-05-10 Michael Snyder <msnyder@redhat.com>
562
563 * gdb.base/long_long.exp: Fix typo.
564
c4b7bc2b
JB
5652002-05-10 Jim Blandy <jimb@redhat.com>
566
ecac9a4e
JB
567 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
568 a bug.
569
c4b7bc2b
JB
570 * gdb.base/printcmds.exp (test_integer_literals_rejected):
571 Recognize more detailed error message produced by the macro
572 expander's lexical analyzer.
573 * lib/gdb.exp (test_print_reject): Same.
574
e71019a1
MK
5752002-05-09 Mark Kettenis <kettenis@gnu.org>
576
577 * gdb.c++/method.exp: Fix typo.
578
fedfc8e6
MS
5792002-05-08 Michael Snyder <msnyder@redhat.com>
580
166a1957
MS
581 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
582 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 583 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
584 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
585 Add iftarget clause for strongarm.
586
f1c47eb2
MS
5872002-05-06 Michael Snyder <msnyder@redhat.com>
588
cb9a9d3e
MS
589 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
590 (gdb_continue_to_end): Accept output from status wrapper.
591 * gdb.base/ending-run.exp: Add case for output from status wrapper.
592 Clean up fail messages to match pass messages.
593
f1c47eb2
MS
594 Enable the "needs_status_wrapper" testsuite feature.
595 * lib/gdb.exp (gdb_wrapper_init): New procedure.
596 (gdb_compile): Conditionally call gdb_wrapper_init.
597 * gdb.base/a2-run.exp: Recognize output from status wrapper.
598 * gdb.c++/method.exp: Recognize output from status wrapper.
599
6079c749
BE
6002002-05-06 Ben Elliston <bje@redhat.com>
601From Graydon Hoare <graydon@redhat.com>
602
603 * config/sid.exp: Include support for "rawsid" protocol.
604
188baff3
JB
6052002-05-03 Jim Blandy <jimb@redhat.com>
606
607 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
608 * gdb.c++/hang3.C: New file.
609
b9c07f0f
AC
6102002-05-04 Andrew Cagney <ac131313@redhat.com>
611
612 * gdb.base/default.exp: Remove obsolete code.
613 * gdb.c++/misc.exp: Ditto. Update copyright.
614 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
615 * gdb.base/whatis.exp: Ditto. Update copyright.
616 * gdb.base/scope.exp: Ditto. Update copyright.
617 * gdb.base/ptype.exp: Ditto. Update copyright.
618 * gdb.base/printcmds.exp: Ditto. Update copyright.
619 * gdb.base/opaque.exp: Ditto. Update copyright.
620 * gdb.base/list.exp: Ditto.
621 * gdb.base/funcargs.exp: Ditto. Update copyright.
622 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
623 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
624 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
625 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
626 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
627 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
628
5c7a0397
MS
6292002-05-02 Michael Snyder <msnyder@redhat.com>
630
d6dcc264 631 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
632 * gdb.base/long_long.exp: Add xscale target.
633 * gdb.base/default.exp: Add xscale target.
634
eb7f1c48
JB
6352002-05-01 Jim Blandy <jimb@redhat.com>
636
637 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
638 gdb.c++/hang.exp: New test.
639
a6befae8
FF
6402002-05-01 Fred Fish <fnf@redhat.com>
641
642 * gdb.base/completion.exp: Handle completions of "./Make" for
643 more than one completion possibility, as is the case when we
644 build and test in the source tree.
645
0a310277
AG
6462002-04-29 Anthony Green <green@redhat.com>
647
648 * gdb.java/jmisc1.exp: New file.
649 * gdb.java/jmisc2.exp: New file.
650
6ff9af88
DJ
6512002-04-24 Daniel Jacobowitz <drow@mvista.com>
652
653 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
654
96b3d632
EZ
6552002-04-23 Elena Zannoni <ezannoni@redhat.com>
656
657 * gdb.base/help.exp: Change 'help status' to allow for target
658 dependent output differences.
659
5019bb54
MC
6602002-04-22 Michael Chastain <mec@shout.net>
661
662 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
663
a805a116
MC
6642002-04-22 Michael Chastain <mec@shout.net>
665
666 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
667
a1706bfd
DM
6682002-04-17 David S. Miller <davem@redhat.com>
669
670 * gdb.asm/sparc64.inc: New file.
671 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
672
a73a20a2
EZ
6732002-04-19 Elena Zannoni <ezannoni@redhat.com>
674
675 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
676 instruction file directly into the build tree. Clean up at end of
677 test.
678
ba678339
DM
6792002-04-18 David S. Miller <davem@redhat.com>
680
681 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
682 handle 64-bit platforms correctly.
683 * gdb.base/maint.exp: Likewise.
684
b03399da
KB
6852002-04-18 Kevin Buettner <kevinb@redhat.com>
686
687 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
688 ``-fpic'' when compiling files comprising a shared library, but
689 it does need additional linker flags in order to find shared
690 libraries at run time.
691
e2004992
KB
6922002-04-18 Kevin Buettner <kevinb@redhat.com>
693
694 * gdb.base/cvexpr.c (use): New function.
695 (main): Invoke use() on all global variables to prevent
696 some linkers from deleting these otherwise unused symbols.
697
d8937120
MC
6982002-04-17 Michael Chastain <mec@shout.net>
699From David S. Miller <davem@redhat.com>
700
701 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
702 handle 64-bit platforms correctly.
703
ffd61a58
MS
7042002-04-12 Michael Snyder <msnyder@redhat.com>
705From Jim Blandy <jimb@redhat.com>
706 * gdb.base/foo.c (foox): Remove section attribute; the linker
707 script can handle this instead.
708 * gdb.base/bar.c (barx): Same.
709 * gdb.base/baz.c (bazx): Same.
710 * gdb.base/grbx.c (grbxx): Same.
711
712 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
713 manager doesn't automatically unmap overlays unnecessarily.
714
6b8426a6
MH
7152002-04-10 Martin M. Hunt <hunt@redhat.com>
716
717 * gdb.base/ending-run.exp: Fix pattern for Mips targets
718 stepping out of main.
719
34af4875
MC
7202002-04-09 Michael Chastain <mec@shout.net>
721
722 * gdb.c++/local.cc (main): Move call to marker1() inside nested
723 scope so that the nested scope tests will make sense.
724 * gdb.c++/local.exp: Write patterns that actually work with gcc
725 (the HP patterns "were never known to work with gcc").
726 Keep the old aCC patterns too.
727
2d1676a0
DJ
7282002-04-09 Daniel Jacobowitz <drow@mvista.com>
729
730 * gdb.base/attach.exp: Correct target board test.
731
3a63e3f9
MC
7322002-04-08 Michael Chastain <mec@shout.net>
733
734 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
735 in a const method. Add some xfail and fail cases for configurations
736 that do not emit the "const ...".
737
f18dabd2
MC
7382002-04-07 Michael Chastain <mec@shout.net>
739
740 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
741 Accept "A * const" and "const A * const" as type of "this".
742 Fix spelling of getFunky throughout. Make messages uniform.
743
0fcddd82
EZ
7442002-04-07 Elena Zannoni <ezannoni@redhat.com>
745
746 Work around for PR gdb/285:
747 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
748
16a8534a
EZ
7492002-04-07 Elena Zannoni <ezannoni@redhat.com>
750
751 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
752 instructions file at run time instead of configure time.
753 Sometimes we run the test in a directory that is not the one we
754 configured in.
755 * gdb.asm/configure.in: Delete creation of symlink.
756 * gdb.asm/configure: Regenerate.
757
24181d81
JB
7582002-04-05 J. Brobecker <brobecker@gnat.com>
759
760 * gdb.gdb/xfullpath.exp: New test, to exercise the new
761 xfullpath () function.
762
7cdb7107
DJ
7632002-04-04 Daniel Jacobowitz <drow@mvista.com>
764
765 * gdb.asm/Makefile.in: Correct dependencies.
766
767 * gdb.asm/powerpc.inc: New file.
768 * gdb.asm/asm-source.exp: Add PowerPC.
769 * gdb.asm/configure.in: Likewise.
770 * gdb.asm/configure: Regenerated.
771
a7d17088
DJ
7722002-04-04 Daniel Jacobowitz <drow@mvista.com>
773
774 * gdb.base/relocate.exp: New file.
775 * gdb.base/relocate.c: New file.
776
cd721503
FF
7772002-04-04 Fred Fish <fnf@redhat.com>
778
779 * gdb.base/step-test.exp: Update comment regarding stopping in
780 memcpy/bcopy calls inserted as part of the compiler runtime.
781
b22ad7a7
MS
7822002-04-04 Michael Snyder <msnyder@redhat.com>
783
784 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
785
5f279fa6
DJ
7862002-04-03 Daniel Jacobowitz <drow@mvista.com>
787
788 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
789 (gdb_expect): Remove $notransfer hack.
790
dd0fd3ce
DJ
7912002-04-02 Daniel Jacobowitz <drow@mvista.com>
792
793 * gdb.c++/classes.exp ("calling method for small class"): Match
794 updated register output.
795
1e50cda1
DJ
7962002-03-30 Daniel Jacobowitz <drow@mvista.com>
797
798 Fix PR gdb/452
799 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
800 when finished. Make gdb_file_cmd send "exec-file" when
801 appropriate.
802
24015922
DJ
8032002-03-30 Daniel Jacobowitz <drow@mvista.com>
804
805 * gdb.base/attach.exp: Remove extra setup_xfail.
806
dd7dfd64
MS
8072002-03-26 Michael Snyder <msnyder@redhat.com>
808
809 * gdb.base/default.exp: Add tests for dump, append, and restore.
810 * gdb.base/help.exp: Add tests for dump, append, and restore.
811 * gdb.base/dump.exp: New file, test dump, append and restore.
812 * gdb.base/dump.c: New file.
813
48b2f8d7
MS
8142002-03-27 Michael Snyder <msnyder@redhat.com>
815
816 * gdb.base/help.exp: Modify expect strings to reflect
817 clean-ups in help messages.
818
05b4d525
FF
8192002-03-26 Fred Fish <fnf@redhat.com>
820
821 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
822 have debugging info for those functions and the compiler uses them
823 internally to copy structs around.
824
d7679631
FF
8252002-03-26 Fred Fish <fnf@redhat.com>
826
827 * gdb.base/list.exp: Revert the change made yesterday and add note
828 about why we don't list the default lines for remote targets.
829
523ac3f9
MS
8302002-03-25 Michael Snyder <msnyder@redhat.com>
831
832 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
833
754b2b8d
FF
8342002-03-25 Fred Fish <fnf@redhat.com>
835
836 * gdb.base/list.exp: This test works on remote targets so remove
837 the short circuit for remote targets. Update copyright.
838
33c3e192
FF
8392002-03-25 Fred Fish <fnf@redhat.com>
840
841 * gdb.base/attach.exp: Fix logic error that was suppressing this
842 test for all non hppa*-*-hpux* targets, instead of the hp target.
843 Move comments closer to the suppression point. Also now need to
844 check that we are running natively.
845
d43e73ee
MS
8462002-03-22 Michael Snyder <msnyder@redhat.com>
847
882c8f02
MS
848 * gdb.base/default.exp: Add test for gcore. Update copyright.
849 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 850
04c12f60
FF
8512002-03-06 Fred Fish <fnf@redhat.com>
852
853 * gdb.base/funcargs.c: Remove extraneous ';' character.
854 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
855
b43df995
MC
8562002-03-04 Michael Chastain <mec@shout.net>
857
858 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
859 accommodate gcc v3 function signature.
860 * gdb.mi/mi0-var-cmd-exp: Ditto.
861
92362027
AC
8622002-02-24 Andrew Cagney <ac131313@redhat.com>
863
864 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
865 ``GNU/Linux'' or ``Linux kernel''
866 * testsuite/gdb.threads/pthreads.c: Ditto.
867
258ad32d
MC
8682002-02-24 Michael Chastain <mec@shout.net>
869
870 * gdb.threads/pthreads.c (thread1): Add a return statement.
871 (thread2): Likewise.
872 (foo): Likewise.
873
04c3b3d4
MC
8742002-02-23 Michael Chastain <mec@shout.net>
875
876 * gdb.threads/linux-dp.c (philosopher): Add a return statement
877 to placate gcc.
878
5a2a0a20
MC
8792002-02-23 Michael Chastain <mec@shout.net>
880
881 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
882 test "ptype bint". The test passes on all my stabs configurations.
883
a640f7fc
JB
8842002-02-21 Jim Blandy <jimb@redhat.com>
885
27924826
JB
886 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
887 filename at a time, and watch for the ones we want to see.
888
a640f7fc
JB
889 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
890 types of pointers to prototyped functions.
891
edcc8c75
AC
8922002-02-20 Andrew Cagney <ac131313@redhat.com>
893
894 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
895 signed, unsigned and straight char.
896 (padding_char, padding_short, padding_int, padding_long,
897 padding_long_long, padding_float, padding_double,
898 padding_long_double): New global variables.
899 (fill, fill_structs): New functions.
900
901 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
902 for correctly sized writes. Update copyright.
903 (get_valueof): New procedure.
904 (get_sizeof): Call get_valueof.
905 (check_valueof): New procedure.
906 (check_padding): New procedure.
907
ac57ea44
MC
9082002-02-20 Michael Chastain <mec@shout.net>
909
910 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
911 to setup_xfail. Document some of the remaining calls.
912
7a10c941
MC
9132002-02-18 Michael Chastain <mec@shout.net>
914
915 * gdb.c++/userdef.exp: Update copyright year.
916
fb8acdcc
DJ
9172002-02-18 Daniel Jacobowitz <drow@mvista.com>
918
919 * gdb.c++/userdef.exp: Test overloaded operators properly.
920 Remove xfails.
921
fda6ae12
MS
9222002-02-14 Michael Snyder <msnyder@redhat.com>
923
924 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
925
676a0442
DJ
9262002-02-14 Daniel Jacobowitz <drow@mvista.com>
927
928 * gdb.base/a2-run.exp: Check for a remote target properly.
929 * gdb.base/annota1.exp: Likewise.
930 * gdb.base/list.exp: Likewise.
931 * gdb.base/reread.exp: Likewise.
932 * gdb.base/scope.exp: Likewise.
933 * gdb.base/shlib-call.exp: Likewise.
934 * gdb.base/term.exp: Likewise.
935 * gdb.c++/annota2.exp: Likewise.
936
78b4f468
RE
9372002-02-13 Richard Earnshaw <rearnsha@arm.com>
938
939 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
940
9a81ba51
MC
9412002-02-10 Michael Chastain <mec@shout.net>
942
943 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
944 (call_after_alloca): Ditto.
945
004af6c7
DJ
9462002-02-10 Daniel Jacobowitz <drow@mvista.com>
947
948 * gdb.base/ending-run.exp: Guard "cont" test with
949 gdb_skip_stdio_test.
950
37225f62
JB
9512002-02-06 Jim Blandy <jimb@redhat.com>
952
953 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
954 from here...
955 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
956 To here. Disable this test on non-HP platforms. Add big comment.
957
fe6fdd96
MS
9582002-02-04 Michael Snyder <msnyder@redhat.com>
959
960 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
961 other than d10v and m32r.
962
036fad3f
RE
9632002-02-02 Richard Earnshaw <rearnsha@arm.com>
964
965 * gdb.base/default.exp: Rewrite test patterns to reduce time
966 taken to match them.
967
7148ab62
DJ
9682002-01-30 Daniel Jacobowitz <drow@mvista.com>
969
970 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
971 Allow a start function above main.
972 * gdb.threads/linux-dp.exp: Fix copyright date.
973
396cc255
DJ
9742002-01-30 Daniel Jacobowitz <drow@mvista.com>
975
976 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
977 (check_philosopher_stack): Check for manager thread before checking
978 for a just-starting thread.
979
f038d31b
DJ
9802002-01-30 Daniel Jacobowitz <drow@mvista.com>
981
982 From Neil Booth <neil@daikokuya.demon.co.uk>:
983 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
984 warnings.
985
b3ff9d9a
FF
9862002-01-21 Fred Fish <fnf@redhat.com>
987
988 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
989 not caller.
990
39ad761d
JB
9912002-01-21 Jim Blandy <jimb@redhat.com>
992
993 * gdb.base/reread.exp: Check that GDB properly re-reads the
994 executable file when it changes while no inferior is running.
995
aaf320fa
FF
9962002-01-21 Fred Fish <fnf@redhat.com>
997
998 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
999 optionally accept the "shlib events" variation.
1000
808a31f5
JB
10012002-01-21 Jim Blandy <jimb@redhat.com>
1002
1003 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1004 call `fflush' after every `printf', so that the output is produced
1005 at predictable points, regardless of whatever buffering does (or
1006 doesn't) take place.
1007 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1008 at different points.
1009
4420d5e2
DJ
10102002-01-20 Daniel Jacobowitz <drow@mvista.com>
1011
1012 * gdb.c++/inherit.exp: Update copyright years.
1013 * gdb.c++/method.exp: Likewise.
1014
3e36a0f4
DJ
10152002-01-20 Daniel Jacobowitz <drow@mvista.com>
1016
1017 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1018 artificial methods/arguments.
1019 * gdb.c++/derivation.exp: Likewise.
1020 * gdb.c++/inherit.exp: Likewise.
1021 * gdb.c++/method.exp: Likewise.
1022 * gdb.c++/virtfunc.exp: Likewise.
1023
b4ceaee6
AC
10242002-01-18 Andrew Cagney <ac131313@redhat.com>
1025
1026 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1027 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1028 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1029 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1030 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1031 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1032
ecace851
JB
10332002-01-17 Jim Blandy <jimb@redhat.com>
1034
1035 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1036 anchoring the pattern matching the entry point symbol's name.
1037
375fc983
AC
10382002-01-17 Andrew Cagney <ac131313@redhat.com>
1039
1040 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1041 continue/quit query. Update copyright.
1042
fe6fdd96
MS
10432002-01-14 Michael Snyder <msnyder@redhat.com>
1044
1045 * gdb.base/gcore.exp: Remove extra debugging output.
1046
e017c81f
DJ
10472002-01-13 Daniel Jacobowitz <drow@mvista.com>
1048
1049 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1050 for slightly dubious v2 mangled string.
1051
37ab3bf8
DJ
10522002-01-13 Daniel Jacobowitz <drow@mvista.com>
1053
1054 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1055
1bc05c3a 10562002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1057
1bc05c3a 1058 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1059
1bc05c3a
JM
1060 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1061 constructors.
1062 * gdb.c++/derivation.exp: Likewise.
1063 * gdb.c++/templates.exp: Likewise.
1064 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1065
1bc05c3a
JM
10662002-01-10 Michael Snyder <msnyder@redhat.com>
1067
1068 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1069
a911c360
MS
10702002-01-08 Michael Snyder <msnyder@redhat.com>
1071
1072 * gdb.base/gcore.exp: New test for generate-core-file command.
1073 * gdb.base/gcore.c: Testcase for above.
1074 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1075
ea2119ec
JM
10762002-01-08 Jason Merrill <jason@redhat.com>
1077
1078 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1079
68203136
FF
10802002-01-07 Fred Fish <fnf@redhat.com>
1081
1082 * gdb.c++/overload.exp: Remove unconditional xfails for:
1083 print foo_instance1.overloadargs(1)
1084 print foo_instance1.overloadargs(1, 2)
1085 print foo_instance1.overloadargs(1, 2, 3)
1086 print foo_instance1.overloadargs(1, 2, 3, 4)
1087 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1088 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1089 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1090 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1091 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1092 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1093 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1094 print foo_instance1.overload1arg()
1095 print foo_instance1.overload1arg((char)arg2)
1096 print foo_instance1.overload1arg((signed char)arg3)
1097 print foo_instance1.overload1arg((unsigned char)arg4)
1098 print foo_instance1.overload1arg((int)arg7)
1099 print foo_instance1.overload1arg((unsigned int)arg8)
1100 print foo_instance1.overload1arg((float)arg11)
1101 print foo_instance1.overload1arg((double)arg12)
1102
21b9b5b1
MS
11032002-01-07 Michael Snyder <msnyder@redhat.com>
1104
1105 * gdb.base/huge.exp: New test. Print a very large target data object.
1106 (skip_huge_test): New test variable. Define if you want to skip this
1107 test. The test reads an 8 megabyte data object from the target, so it
1108 might be very time consuming on remote targets with a slow connection.
1109 * gdb.base/huge.c: New file. Test case for above.
1110
725f922e
FF
11112002-01-07 Fred Fish <fnf@redhat.com>
1112
1113 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1114 g_instance.bfoo, and g_instance.cfoo.
1115
634d57ec
JL
1116Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1117
f286b2c3
JL
1118 * gdb.base/break.c (multi_line_if_conditional): New function.
1119 (multi_ilne_while_conditional): Likewise.
1120 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1121 IF or WHILE condition puts the breakpoint at the start of
1122 the condition.
1123
634d57ec
JL
1124 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1125 hppa*-*-hpux* expected failure.
1126 * gdb.base/structs.exp (do_function_calls): Similarly.
1127
1128 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1129 watchpoints.
1130
9fbfe2dc
AC
11312002-01-06 Andrew Cagney <ac131313@redhat.com>
1132
1133 Fix PR gdb/66.
1134 * gdb.base/structs.exp: Replace skip for a29k with skip for
1135 gdb,cannot_call_functions.
1136 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1137 * gdb.base/callfuncs.exp: Ditto.
1138 * gdb.base/call-rt-st.exp: Ditto.
1139 * gdb.base/call-strs.exp: Ditto.
1140 * gdb.base/callfwmall.exp: Ditto.
1141 * gdb.base/scope.exp: Obsolete xfail a29k.
1142 * gdb.c++/misc.exp: Ditto.
1143 * gdb.c++/cplusfuncs.exp: Ditto.
1144 * gdb.base/ptype.exp: Ditto.
1145 * gdb.base/printcmds.exp: Ditto.
1146 * gdb.base/opaque.exp: Ditto.
1147 * gdb.base/list.exp: Ditto.
1148 * gdb.base/funcargs.exp: Ditto.
1149 * gdb.base/default.exp: Ditto.
1150
8ddad156
MS
11512002-01-04 Michael Snyder <msnyder@redhat.com>
1152
ca4976a6 1153 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1154 * gdb.base/maint.exp: Add tests for maint info sections options.
1155
1b074332
JL
1156Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1157
1158 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1159
7d159115
CV
11602001-12-20 Corinna Vinschen <vinschen@redhat.com>
1161
1162 * gdb.asm/arm.inc: New file.
1163 * gdb.asm/asm-source.exp: Add arm targets.
1164 * gdb.asm/configure.in: Ditto.
1165 * gdb.asm/configure: Recreated from configure.in.
1166
8fb87725
JL
1167Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1168
afabe08c
JL
1169 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1170 with HP's compiler.
1171 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1172 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1173 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1174 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1175
1176 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1177 either HP's compilers or GCC.
1178
db521deb
JL
1179 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1180 a SIGBUS or SIGSEGV.
1181
1182 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1183
1184 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1185 can be compiled with either HP's compiler or GCC.
1186
cfa88ab7
JL
1187 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1188 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1189 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1190
ca344dff
JL
1191 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1192 to match current gdb output. Update due to using auto-solib-limit
1193 for limiting instead of overloading auto-solib-add.
1194 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1195 test program.
1196
3f3c6e55 1197 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1198 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1199 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1200 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1201 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1202 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1203 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1204 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1205 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1206 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1207 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1208 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1209 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1210
8fb87725
JL
1211 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1212 a SIGTRAP to the inferior.
1213
cf599fa7
CV
12142001-12-19 Corinna Vinschen <vinschen@redhat.com>
1215
1216 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1217 Substitute call to target_link by call to gdb_compile.
1218
2cd045cd
JL
1219Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1220
1221 * gdb.base/break.exp: Fix HP specific search string when testing
1222 backtracing in a called function.
1223
1224 * gdb.base/constvars.exp: Only set lang to C++ if we're
1225 compiling the test with HP's compilers.
1226 * gdb.base/volatile.exp: Similarly.
1227
99ebe9ac
JB
12282001-12-19 Jim Blandy <jimb@redhat.com>
1229
1230 * gdb.base/printcmds.exp: Expect the null character to be printed
1231 as '\0', and the '\013' to be printed as '\v'.
1232 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1233 * gdb.base/setvar.exp: Same.
1234
b9891b29
JB
12352001-12-17 Jim Blandy <jimb@redhat.com>
1236
0eba65ab
JB
1237 * gdb.base/completion.exp: Rather than completing very long
1238 filenames, which can make the readline library produce output we
1239 don't recognize, cd to the directory first, and then complete
1240 using nice, short relative paths.
1241
6970b5b1
JB
1242 * gdb.base/completion.exp: On some systems, there is, in fact, a
1243 variable named `b' in scope, since GDB treats all static
1244 variables as being in scope. So use `no_var_named_this'
1245 instead of `b'.
1246
b9891b29
JB
1247 * gdb.base/corefile.exp: Recognize the message saying that GDB
1248 can't find the core file's registers as a failure.
1249
e6ccd35f
JSC
12502001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1251
1252 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1253 test expect string more specific.
1254
105ba819
CV
12552001-12-13 Corinna Vinschen <vinschen@redhat.com>
1256
1257 * gdb.asm/asm-source.exp: Add support for xstormy16.
1258 * gdb.asm/configure.in: Ditto.
1259 * gdb.asm/configure: Rebuild.
1260 * gdb.asm/xstormy16.inc: New file.
1261
e9e79dd9
FF
12622001-12-10 Fred Fish <fnf@redhat.com>
1263
1264 * gdb.base/maint.exp: Update to match changes in type dumping code.
1265
347dc97d
JB
12662001-12-10 Jim Blandy <jimb@redhat.com>
1267
1268 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1269 matching the entry point symbol's name at the beginning of the
1270 line.
1271
5178b9d6
DJ
12722001-12-07 Daniel Jacobowitz <drow@mvista.com>
1273
1274 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1275 gdb.c++/inherit.exp, gdb.c++/method.exp,
1276 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1277 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1278 and class layout support.
1279
af890c52
DJ
12802001-12-07 Daniel Jacobowitz <drow@mvista.com>
1281
1282 * gdb.c++/classes.exp: Add test for static member function.
1283 * gdb.c++/misc.cc: Add class with static member function.
1284
7a345fb3
JB
12852001-12-07 Jim Blandy <jimb@redhat.com>
1286
f2e54a80 1287 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1288 those tests as `unsupported'.
1289 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1290 Rewrite subsequent tests to use it.
1291
1292 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1293 those tests as `unsupported'.
1294 * gdb.base/structs.exp (call_struct_func): New function.
1295 (do_function_calls): Use call_struct_func to call the functions
1296 returning structs.
1297
0bc69509
JB
1298 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1299 whether functions are prototyped or not, so we can't possibly pass
1300 arguments to t_float_values2 properly.
1301
7a345fb3
JB
1302 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1303 value of `timeout' for targets other than the mips*tx39-*.
1304
edb6ede1
MS
13052001-12-06 Michael Snyder <msnyder@redhat.com>
1306
1307 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1308 and detect whether the start symbol has a leading underscore.
1309
2d842f13
JB
13102001-12-04 Jim Blandy <jimb@redhat.com>
1311
1312 * gdb.base/completion.exp: Clarify indentation.
1313
68550daf
JB
13142001-12-03 Jim Blandy <jimb@redhat.com>
1315
1316 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1317 variables on the S/390, not `.word'.
1318
cd5195a8
JB
13192001-11-30 Jim Blandy <jimb@redhat.com>
1320
1321 Add assembly-source tests for s390-ibm-linux.
1322 * gdb.asm/s390.inc: New file.
1323 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1324 the S/390 architecture.
1325 * gdb.asm/configure: Regenerated.
1326
ca9efc90
MS
13272001-11-30 Michael Snyder <msnyder@redhat.com>
1328
1329 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1330 next, info source, info sources, info line, global and static
1331 variables, and static functions.
1332 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1333 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1334 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1335 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1336 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1337 (gdbasm_leave): Restore frame pointer.
1338 (gdbasm_startup): Copy stack set-up from crt0.S.
1339
d0e66976
FN
13402001-11-26 Fernando Nasser <fnasser@redhat.com>
1341
1342 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1343 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1344 to a local (non-static) variable. Copy tstruct.a to a static buffer
1345 and return a pointer to that buffer.
1346 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1347
e2334072
MK
13482001-11-24 Mark Kettenis <kettenis@gnu.org>
1349
1350 * gdb.asm/configure.in: Fix recognition of ix86 target.
1351 * gdb.asm/configure: Regenerate.
1352
756caa3d
MS
13532001-11-21 Michael Snyder <msnyder@redhat.com>
1354
1355 * gdb.asm/sparc.inc: New file.
1356 * gdb.asm/asm-source.exp: Recognize sparc target.
1357 * gdb.asm/configure.in: Recognize sparc target.
1358 * gdb.asm/configure: Regenerate.
1359
9a4d72d5
MS
13602001-11-21 Michael Snyder <msnyder@redhat.com>
1361
1362 * gdb.asm/m32r.inc: New file.
1363 * gdb.asm/asm-source.exp: Recognize m32r target.
1364 * gdb.asm/configure.in: Recognize m32r target.
1365 * gdb.asm/configure: Regenerate.
1366
a773d1cd
MS
13672001-11-20 Michael Snyder <msnyder@redhat.com>
1368
017ac23d
MS
1369 * gdb.asm/i386.inc: New file.
1370 * gdb.asm/asm-source.exp: Recognize ix86 target.
1371 * gdb.asm/configure.in: Recognize ix86 target.
1372 * gdb.asm/configure: Regenerate.
1373
a773d1cd
MS
1374 * gdb.c++/namespace.exp: Fix quotes in output messages.
1375
bb632afb
MS
13762001-11-14 Michael Snyder <msnyder@redhat.com>
1377
25d559ca 1378 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1379 qualifier in a type cast expression, to designate an address
1380 in the instruction space (Harvard architecture).
1381
4749e309
MS
13822001-11-13 Michael Snyder <msnyder@redhat.com>
1383
1384 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1385 Tests for expressions using 'const' and 'volatile'.
1386
25050984
CV
13872001-11-13 Corinna Vinschen <vinschen@redhat.com>
1388
1389 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1390
1902c51f
DJ
13912001-11-12 Daniel Jacobowitz <drow@mvista.com>
1392
1393 * lib/mi-support.exp (mi_run_to_helper): Move comments
1394 outside of gdb_expect.
1395
dcf95b47
DJ
13962001-11-11 Daniel Jacobowitz <drow@mvista.com>
1397
1398 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1399 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1400 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1401 mi0_run_to): New functions.
1402 * gdb.mi/mi-simplerun.exp: Use them.
1403 * gdb.mi/mi0-simplerun.exp: Likewise.
1404 * gdb.mi/mi-var-cmd.exp: Likewise.
1405 * gdb.mi/mi0-var-cmd.exp: Likewise.
1406
45b074e1
AC
14072001-11-10 Andrew Cagney <ac131313@redhat.com>
1408
1409 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1410 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1411
bf50d346
AC
14122001-11-09 Andrew Cagney <ac131313@redhat.com>
1413
1414 * gdb.base/restore.exp: Include $expected value in restored test
1415 message.
1416
9383332c
AC
14172001-11-09 Andrew Cagney <ac131313@redhat.com>
1418
1419 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1420 implemented.
1421
db62520a
MS
14222001-11-08 Michael Snyder <msnyder@redhat.com>
1423
1424 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1425 Add pass/fail message for stop at breakpoint in call dummy function.
1426
b5703437
MS
14272001-11-07 Michael Snyder <msnyder@redhat.com>
1428
760f6330
MS
1429 * gdb.c++/templates.exp (test_template_breakpoints):
1430 If we get an overload menu, but it does not match what
1431 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1432 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1433 making the whitespace optional. Argument for "new" may be
1434 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1435 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1436 making the whitespace optional. Also replace "(void) with
1437 "((void|)), making the keyword "void" optional.
63f50499
MS
1438 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1439 making the whitespace optional. Also replace "(void) with
1440 "((void|)), making the keyword "void" optional.
3bf40917
MS
1441 * gdb.base/callfuncs.c (t_float_values): This function must
1442 _not_ be prototyped, and the following function (t_float_values2)
1443 must be prototyped (if the compiler supports it), so that GDB
1444 can be tested against both cases. Usually one case involves
1445 promotion of float to double, while the other does not.
1446 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1447 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1448 includes a stack frame for "start".
1449
c8ab4e6d
JB
14502001-11-05 Jim Blandy <jimb@redhat.com>
1451
1452 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1453 pointers are 32 bits long, and that offsets of relocs are always
1454 stored in the data (REL-style), and not in the reloc entry itself
1455 (RELA-style).
1456 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1457 stabs.
1458
3f08ced9
MS
14592001-11-01 Michael Snyder <msnyder@redhat.com>
1460
1461 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1462 and regular expression operators by using quoting.
1463
cbfa24cd
MS
14642001-10-31 Michael Snyder <msnyder@redhat.com>
1465
1466 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1467 depending on what the symbol table contains.
1468 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1469 the output of the ptype command. Similarly, accept both "const &"
1470 and "const&".
1471
aaa68313
CV
14722001-10-31 Corinna Vinschen <vinschen@redhat.com>
1473
1474 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1475 symbol `STORAGE' to allow to choose the storage class of
1476 the local datastructures.
1477 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1478 compiler directive.
1479
91740388
MS
14802001-10-30 Michael Snyder <msnyder@redhat.com>
1481
1482 * gdb.base/jump.exp: Allow it to run for all targets.
1483
1b7c05e7
CV
14842001-10-29 Corinna Vinschen <vinschen@redhat.com>
1485
1486 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1487 with new double_array size.
1488 (main): Change storage class of all local variables to static.
1489 Reduce size of double_array to 9.
1490 * gdb.base/call-ar-st.exp: Increase timeout value.
1491 Change expected output for double array to match new size in
1492 call-ar-st.c.
1493
36a22261
CV
14942001-10-29 Corinna Vinschen <vinschen@redhat.com>
1495
1496 * gdb.base/ending-run.exp: Create identical output when passing
1497 `step to end of run' case. Add regular expression branch satisfying
1498 Stormy16 target.
1499
92b8ae91
MK
15002001-10-28 Mark Kettenis <kettenis@gnu.org>
1501
1502 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1503 that we catch the expected failure under Linux/x86.
1504
cb135b83
OF
15052001-10-29 Orjan Friberg <orjanf@axis.com>
1506
1507 * gdb.base/setvar.exp: Escape curly braces.
1508 * gdb.stabs/weird.exp: Ditto.
1509
6884aa54
DJ
15102001-10-27 Daniel Jacobowitz <drow@mvista.com>
1511
1512 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1513 * gdm.mi/mi0-hack-cli.exp: Likewise.
1514
0398c9aa
AC
15152001-10-25 Andrew Cagney <ac131313@redhat.com>
1516
1517 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1518 messages.
1519
d20bf2e8
AC
15202001-10-21 Andrew Cagney <ac131313@redhat.com>
1521
1522 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1523 checking MI enabled.
1524
03dd63aa
CV
15252001-10-09 Corinna Vinschen <vinschen@redhat.com>
1526
1527 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1528
1d9d99f3
FCE
15292001-10-04 Frank Ch. Eigler <fche@redhat.com>
1530
1531 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1532 if gdb child process crashes, just signal an error.
1533
838ae6c4
JB
15342001-10-02 Jim Blandy <jimb@redhat.com>
1535
1536 * lib/gdb.exp (test_xfail_format): Simplify.
1537
1538 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1539 front of the variable name `format'. Simplify `if'.
1540
8f0cbc1c
DJ
15412001-10-01 Daniel Jacobowitz <drow@mvista.com>
1542
1543 * gdb.threads/pthreads.exp: Wait for output and delay
1544 before sending ^C.
1545
1f08dafd
DJ
15462001-10-01 Daniel Jacobowitz <drow@mvista.com>
1547
1548 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1549 some incorrect output instead of timing out.
1550 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1551
674f90ff
CV
15522001-09-28 Corinna Vinschen <vinschen@redhat.com>
1553
1554 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1555 check to allow additional `int'.
1556
9b284272
DJ
15572001-09-27 Daniel Jacobowitz <drow@mvista.com>
1558
1559 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1560 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1561
b55a4771
MS
15622001-09-27 Michael Snyder <msnyder@redhat.com>
1563
1564 * lib/gdb.exp (test_debug_format): New proc.
1565 (setup_xfail_format): Use new proc test_debug_format.
1566 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1567 proc; use new service proc test_debug_format.
1568 Replace all other "gcc_compiled" tests with this test.
1569 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1570 proc; use new service proc test_debug_format.
1571 Replace all other "gcc_compiled" tests with this test.
1572
15732001-09-27 Michael Snyder <msnyder@redhat.com>
1574
1575 * gdb.base/cvexpr.exp: New file.
1576 * gdb.base/cvexpr.c: New file
1577 Test for expressions using const and volatile keywords.
1578
4e6667ac
CV
15792001-09-26 Corinna Vinschen <vinschen@redhat.com>
1580
1581 * gdb.base/constvars.exp: Check for different orders of keywords
1582 and additional "int" strings in output.
1583
4f337972
AC
15842001-09-22 Andrew Cagney <ac131313@redhat.com>
1585
1586 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1587 responses from "help maint".
1588
2015650d
FCE
15892001-09-19 Frank Ch. Eigler <fche@redhat.com>
1590
1591 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1592 to localhost:NNN instead of :NNN, in case Xvfb is listening
1593 only on TCP.
1594
f3bcedc1
CV
15952001-09-19 Corinna Vinschen <vinschen@redhat.com>
1596
1597 * gdb.base/recurse.exp: When checking leaving the watchpoint
1598 scope, recognize when gdb is in function's epilogue and pass.
1599
6b819c92
KS
16002001-09-18 Keith Seitz <keiths@redhat.com>
1601
1602 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1603 support for running tests against sid targets.
1604 (gdbtk_done): Ditto.
1605
a10c9419
CV
16062001-09-18 Corinna Vinschen <vinschen@redhat.com>
1607
1608 * gdb.base/ending-run.c (main): Set stdout buffersize
1609 to the same reasonable value for any target.
1610 * gdb.base/ending-run.exp: Add a regular expression
1611 to make testsuite happy on Sanyo Stormy16 target.
1612
739d0d99
CV
16132001-09-17 Corinna Vinschen <vinschen@redhat.com>
1614
1615 * gdb.base/display.c (do_loops): Add float variable `f'.
1616 Increment f in loop.
1617 * gdb.base/display.exp: Increment timeout by 60 seconds.
1618 Change float display test to use variable `f'.
1619
1b8947f0
JB
16202001-09-17 Jim Blandy <jimb@redhat.com>
1621
1622 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1623 overflowing the limited breakpoint tables on some ROM monitors
1624 (like the ROM68K).
1625
9890ac81
FCE
16262001-09-15 Frank Ch. Eigler <fche@redhat.com>
1627
1628 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1629 the "-ac" (disable access control) flag.
1630
6db765ea
JH
16312001-08-30 Jeff Holcomb <jeffh@redhat.com>
1632
1633 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1634 ints.
1635
4c32cc04
KS
16362001-08-30 Keith Seitz <keiths@redhat.com>
1637
1638 * lib/gdb.exp: Move all insight-related functionality into
1639 separate file.
1640 * lib/insight-support.exp: New file.
1641
8d6e6f81
FCE
16422001-08-29 Frank Ch. Eigler <fche@redhat.com>
1643
1644 * config/sid.exp (sid_start): Never set sid verbosity; disable
1645 expect_background {} that consumed its stdout; tolerate </dev/null.
1646 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1647
6a90e1d0
AC
16482001-08-18 Andrew Cagney <ac131313@redhat.com>
1649
1650 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1651 CLI jump command to start it.
1652 (mi_run_to_main): Fail immediatly when unexpected output.
1653
1759b3c3
AC
16542001-08-18 Andrew Cagney <ac131313@redhat.com>
1655
1656 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1657 beginning of function. Fix PR gdb/191.
1658
61d11d80
FCE
16592001-08-16 Frank Ch. Eigler <fche@redhat.com>
1660
1661 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1662 what to force sid endianness to.
1663
942a4df2
KS
16642001-08-15 Keith Seitz <keiths@redhat.com>
1665
1666 * lib/gdb.exp (gdbtk_start): Don't set environment
1667 variables for TCL_LIBRARY and friends. Insight will
1668 now figure these out for itself.
1669
0521c418
MS
16702001-08-02 Michael Snyder <msnyder@redhat.com>
1671
1672 * gdb.base/completion.exp: Remove the symbol "a64l" from
1673 the expect string; this is target-specific, and not related
1674 to what is being tested.
1675
74a9a58a
DB
16762001-08-02 Dave Brolley <brolley@redhat.com>
1677
1678 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1679
c70819fa
MS
16802001-07-25 Michael Snyder <msnyder@redhat.com>
1681
c2b8fa57
MS
1682 * gdb.base/consecutive.exp: New file. Test stepping over
1683 breakpoints on consecutive instructions.
1684 * gdb.base/consecutive.c: New file.
1685
c70819fa
MS
1686 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1687 curly braces in regular expressions.
1688
2b1a1355
MS
16892001-07-25 Michael Snyder <msnyder@redhat.com>
1690
1691 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1692 legitimate output from stepping out of main.
1693
413eca6f
KS
16942001-07-22 Keith Seitz <keiths@redhat.com>
1695
1696 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1697 the empty string, do not run the tests.
1698
7e5a9322
SC
16992001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1700
1701 * gdb.base/long_long.exp: Detect size of pointer. Take into
1702 account 2-byte pointers when testing for p/a results.
1703
de58f10f
SC
17042001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1705
1706 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1707 and defined to 1K for m68hc11.
1708 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1709 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1710 (sizeof_random_data): New variable to tell the size of the data table;
1711 don't test past this size; always run to main.
1712
d6f5fea1
SC
17132001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1714
1715 * gdb.base/return2.exp: return of long long and double fails for
1716 68HC11; don't execute these tests on that platform.
1717 * gdb.base/return.exp: Return of a double fails for 68hc11.
1718
c477543d
SC
17192001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1720
1721 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1722 tests that print a float.
1723 * call-rt-st.exp: Likewise.
1724
63cf1c79
MK
17252001-07-12 Mark Kettenis <kettenis@gnu.org>
1726
1727 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1728 running this test on Linux.
1729
112f9ab5
MC
17302001-06-24 Michael Chastain <chastain@redhat.com>
1731
1732 * gdb.base/arithmet.exp: Remove some tests to make all test names
1733 unique.
1734
4970cb0f
MS
17352001-07-03 Michael Snyder <msnyder@redhat.com>
1736
1737 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1738 the output of the ptype command.
1739
d85da69f
MS
17402001-07-02 Michael Snyder <msnyder@redhat.com>
1741
4c8a82de
MS
1742 * gdb.base/completion.exp: Don't assume that break.c is the only
1743 source file that may contain functions named "marker".
d85da69f
MS
1744 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1745
8afc772b
AC
17462001-06-28 Andrew Cagney <ac131313@redhat.com>
1747
1748 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1749 of files to delete.
1750
1751 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1752 * gdb.disasm/h8300s.exp: New file.
1753 gdb.disasm/h8300s.s: Likewise.
1754
cff22675
AC
17552001-06-27 Andrew Cagney <ac131313@redhat.com>
1756
1757 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1758 empty breakpoint tables.
1759
68c81b54
AC
17602001-06-25 Andrew Cagney <ac131313@redhat.com>
1761
1762 * lib/mi-support.exp: Update args=... part of stop-reason
1763 patterns. Accept either a list or a tuple.
1764
2dd62704
AC
17652001-06-23 Andrew Cagney <ac131313@redhat.com>
1766
1767 * lib/mi-support.exp: Remove local emacs variable defining
1768 change-log-default-name.
1769
b4127474
MC
17702001-06-22 Michael Chastain <chastain@redhat.com>
1771
1772 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1773 This is operationally compatible with the previous version.
1774
8dbfb380
JB
17752001-06-13 Jim Blandy <jimb@redhat.com>
1776
1777 * lib/gdb.exp (gdb_test): Doc fix.
1778
f2d8c86d
MC
17792001-06-10 Michael Chastain <chastain@redhat.com>
1780
1781 * gdb.base/exprs.exp: Remove a duplicate test.
1782
81564d34
JB
17832001-06-06 Jim Blandy <jimb@redhat.com>
1784
1785 * gdb.base/return2.exp (main): Use values to test float and double
1786 returns that are not NaN's, to avoid being confused by IEEE
1787 comparison rules.
1788
da55addb
MS
17892001-06-04 Michael Snyder <msnyder@redhat.com>
1790
1791 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1792 non-zero if control_c fails. Terminate the test on failure,
1793 rather than wait for 12 more tests to time out.
1794
42c65987
JB
17952001-06-06 Jim Blandy <jimb@redhat.com>
1796
b18bced9
JB
1797 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1798 Don't forget to match the GDB prompt.
1799
42c65987
JB
1800 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1801
5b41e5f0
JB
18022001-06-04 Jim Blandy <jimb@redhat.com>
1803
1804 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1805 command.
1806
015e046f
KB
18072001-05-31 Kevin Buettner <kevinb@redhat.com>
1808
1809 * gdb.base/annota1.exp (info break): Match four or more spaces
1810 after "Address".
1811
fb1ffbbe
MC
18122001-05-31 Michael Chastain <chastain@redhat.com>
1813
1814 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1815 (dm_type_int_star): Likewise.
1816 (dm_type_long_star): Likewise.
1817 (dm_type_void_star): Likewise.
1818
5ea2a32c
KB
18192001-05-29 Kevin Buettner <kevinb@redhat.com>
1820
1821 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1822 to a known value in order to get consistent results regardless
1823 of the setting of INPUTRC or the presence or contents of .inputrc.
1824
ae23c492
MS
18252001-05-24 Michael Snyder <msnyder@redhat.com>
1826
ac55707e
MS
1827 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1828 Don't require that the main thread and the manager thread are the
1829 first in the list.
1830
ae23c492
MS
1831 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1832 debugging. If test fails, issue an "unsupported" not a "fail".
1833
400071f1
JB
18342001-05-24 Jim Blandy <jimb@redhat.com>
1835
1836 Don't assume that short is shorter than int.
1837 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1838 assume that shorts are smaller than ints. On a 16-bit machine,
1839 this isn't true.
1840 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1841 an int, is not equal to ~0 stored in an unsigned char. This tests
1842 the same thing that the previous test meant to, but works on
1843 16-bit machines, too.
1844 ("print unsigned char != (~0)"): Same test, complemented.
1845
0816a3e5
MS
18462001-05-24 Michael Snyder <msnyder@redhat.com>
1847
1848 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1849 test for (full_coverage == 0). This makes the test run faster,
1850 and prevents dejagnu getting out of step.
1851
f6dc23a9
KB
18522001-05-23 Kevin Buettner <kevinb@redhat.com>
1853
1854 * gdb.base/finish.exp (finish_void): Revise pattern for
1855 stopping on the call statement to not permit stopping at
1856 the start of the instructions comprising the call sequence.
1857
7dbd117d
MC
18582001-05-19 Michael Chastain <chastain@redhat.com>
1859
1860 * gdb.base/callfuncs.exp: Make all test names unique.
1861 * gdb.base/commands.exp: Make all test names unique.
1862 * gdb.base/condbreak.exp: Make all test names unique.
1863 * gdb.base/dbx.exp: Make all test names unique.
1864 * gdb.base/default.exp: Make all test names unique.
1865 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1866 and TIMEOUT messages to their corresponding PASS message.
1867 * gdb.base/ending-run.exp: Make all test names unique.
1868 * gdb.base/long_long.exp: Remove duplicate test.
1869
6b0b0a9e
KB
18702001-05-21 Kevin Buettner <kevinb@redhat.com>
1871
1872 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1873 stop on the call statement as well as the statement after the
1874 call.
1875
2caa35cb
MS
18762001-05-21 Michael Snyder <msnyder@redhat.com>
1877
1878 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1879
40713331
EZ
18802001-05-10 Elena Zannoni <ezannoni@redhat.com>
1881
1882 * gdb.base/completion.exp: Revamp test. Make it execute on all
1883 platforms.
1884
c2c1be8d
EZ
18852001-05-10 Elena Zannoni <ezannoni@redhat.com>
1886
2c9cd303
EZ
1887 * config/gdbserver.exp (gdb_load): Handle the case
1888 in which the arguments to gdbserver are given in the
1889 baseboard configuration file.
1890 Also handle the case in which the server needs to do a
1891 load.
1892
9671de48
KS
18932001-05-07 Keith Seitz <keiths@cygnus.com>
1894
1895 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1896 set up the display for testing.
1897 (gdbtk_start): Convert all paths to paths that tcl will like.
1898 Export target information to environment.
1899 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1900 necessary.
1901 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1902 (to_tcl_path): New proc to convert a given pathname into
1903 a path acceptible as an argument to a tcl command.
1904 (_gdbtk_export_target_info): New proc to export target info
1905 into the environment for gdbtk testing.
1906 (gdbtk_done): New proc to signal end-of-test.
1907
5a360f47
JB
19082001-05-06 Jim Blandy <jimb@redhat.com>
1909
1910 * restore.c: Make the code of caller0 correspond to its comment.
1911
66c756c6
MS
19122001-05-03 Michael Snyder <msnyder@redhat.com>
1913
1914 * config/sid.exp (gdb_target_sid): Check for error messages.
1915 On error or timeout, don't make expect exit (which will terminate
1916 all subsequent tests); instead just make gdb exit.
1917 (gdb_load): Check for error messages. On error or timeout,
1918 return a negative value.
1919
a966fde5
JB
19202001-04-24 Jim Blandy <jimb@redhat.com>
1921
851c18e0
JB
1922 * gdb.c++/templates.exp: If we see the prompt for the overload
1923 list, but we haven't recognized any of the longer patterns,
1924 arrange for this test to fail, not hang.
1925
a966fde5
JB
1926 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1927 variations.
1928
db144853
MC
19292001-04-22 Michael Chastain <chastain@redhat.com>
1930
1931 * gdb.c++/local.exp: Use the 'runto' library function.
1932 * gdb.c++/namespace.exp: Likewise.
1933 * gdb.c++/overload.exp: Likewise.
1934
3207ec21
KB
19352001-03-26 Kevin Buettner <kevinb@redhat.com>
1936
1937 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1938 * gdb.base/step-line.exp: New file. Test step/next in presence of
1939 #line directives.
1940 * gdb.base/step-line.c: New file. Test program for the above.
1941 * gdb.base/step-line.inp: New file. We pretend that this file has
1942 been transformed by some other tool into step-line.c.
1943
13b57657
JB
19442001-03-21 Jim Blandy <jimb@redhat.com>
1945
1946 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1947 unmangled operator names.
1948
754cbe1c
JB
19492001-03-20 Jim Blandy <jimb@redhat.com>
1950
1951 * gdb.threads/linux-dp.exp: Recognize an additional message
1952 generated by GDB when it doesn't understand how to debug threads
1953 on the target system.
1954
177495c9
AC
19552001-03-19 Andrew Cagney <ac131313@redhat.com>
1956
1957 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1958
f266096b
MC
19592001-03-12 Michael Chastain <chastain@redhat.com>
1960
1961 * gdb.c++/derivation.exp: Use the 'runto' library function.
1962
cac3c2ff
MC
19632001-03-12 Michael Chastain <chastain@redhat.com>
1964
1965 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1966
b6c11a24
MC
19672001-02-24 Michael Chastain <chastain@redhat.com>
1968
1969 * gdb.c++/ref-types.exp: Change handwritten code to library
1970 function 'runto'.
1971
6bae5bce
OF
19722001-03-16 Orjan Friberg <orjanf@axis.com>
1973
1974 * gdb.base/signals.exp: Set count to 0 explicitly.
1975
0015fd9a
MS
19762001-03-15 Mark Salter <msalter@redhat.com>
1977
1978 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1979 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
1980 (gdb_load): Add support for additional target_info: gdb_download_size
1981 and gdb_load_timeout.
0015fd9a 1982
fc33412a
DT
1983Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1984
1985 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1986 file -- to prevent failing when the compile fails but we have no
1987 intention of running the tests anyway.
1988
1989 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1990 tests if set.
1991
1992 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1993 integers.
1994
1995 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1996 * gdb.c++/namespace.exp: Ditto.
1997
115f06de
OF
19982001-03-07 Orjan Friberg <orjanf@axis.com>
1999
2000 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2001 * gdb.base/pointers.exp: Relax pattern match of decimals.
2002
b6ba6518
KB
20032001-03-06 Kevin Buettner <kevinb@redhat.com>
2004
2005 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2006 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2007 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2008 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2009 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2010 config/sh.exp, config/sid.exp, config/slite.exp,
2011 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2012 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2013 config/vxworks.exp, config/vxworks29k.exp,
2014 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2015 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2016 gdb.base/arithmet.exp, gdb.base/assign.exp,
2017 gdb.base/async.exp, gdb.base/attach.exp,
2018 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2019 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2020 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2021 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2022 gdb.base/commands.exp, gdb.base/completion.exp,
2023 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2024 gdb.base/constvars.exp, gdb.base/corefile.exp,
2025 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2026 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2027 gdb.base/ending-run.exp, gdb.base/environ.exp,
2028 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2029 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2030 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2031 gdb.base/funcargs.exp, gdb.base/help.exp,
2032 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2033 gdb.base/logical.exp, gdb.base/long_long.exp,
2034 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2035 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2036 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2037 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2038 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2039 gdb.base/regs.exp, gdb.base/relational.exp,
2040 gdb.base/remote.exp, gdb.base/reread.exp,
2041 gdb.base/restore.exp, gdb.base/return2.exp,
2042 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2043 gdb.base/selftest.exp, gdb.base/setshow.exp,
2044 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2045 gdb.base/sigall.exp, gdb.base/signals.exp,
2046 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2047 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2048 gdb.base/step-test.exp, gdb.base/structs.c,
2049 gdb.base/structs.exp, gdb.base/structs2.exp,
2050 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2051 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2052 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2053 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2054 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2055 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2056 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2057 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2058 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2059 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2060 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2061 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2062 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2063 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2064 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2065 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2066 gdb.trace/circ.exp, gdb.trace/collection.exp,
2067 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2068 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2069 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2070 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2071 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2072 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2073 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2074 notices.
2075
dc96c6c7 20762001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2077
2078 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2079 first arg is int not float.
2080
dc96c6c7 20812001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2082
2083 * gdb.base/reread.exp: Unsupported for non-native targets;
2084 doesn't work for remote debugging.
2085
9b0c4aeb
FN
20862001-02-19 Fernando Nasser <fnasser@redhat.com>
2087
2088 From Drew Moseley <dmoseley@redhat.com>
2089 * gdb.base/ending-run.exp: Properly handle the BSP state when
2090 stepping past the end of main.
2091
02aa71d5
MC
20922001-02-19 John Moore <jmoore@redhat.com>
2093
2094 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2095 Converted HPUX fix for non-expected items following multiple
2096 step commands into general solution for all platforms.
2097
1fa449a4
MC
20982001-02-18 Michael Chastain <chastain@redhat.com>
2099
2100 * gdb.c++/classes.exp (do_tests): Change runto statements
2101 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2102 statements demangler agnostic.
2103 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2104 (gdb_virtfunc_restart): Likewise.
2105
b2f9ec70
MC
21062001-02-14 Michael Chastain <chastain@redhat.com>
2107
2108 * gdb.c++/inherit.exp (do_tests): Change runto statements
2109 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2110 statements demangler agnostic.
2111
cf74b8ca
AC
2112Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2113
2114 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2115 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2116 before calling common_routine 15 times'' tests.
2117
99f78f56
MC
21182001-02-11 Michael Chastain <chastain@redhat.com>
2119
2120 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2121 Helps the test script figure out which demangler is in use.
2122 (dm_type_foo_ref): Ditto.
2123 (dm_type_int_star): Ditto.
2124 (dm_type_long_star): Ditto.
2125 (dm_type_unsigned_int): Ditto.
2126 (dm_type_void): Ditto.
2127 (dm_type_void_star): Ditto.
99707966 2128 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2129 Probe the gdb demangler and set variables to accommodate
2130 formatting differences.
2131 (info_func_regexp): New function. Same as info_func, but
2132 matches against a regexp.
2133 (info_func): Match against a literal string.
2134 (print_addr_2): New function. Match against a literal string,
2135 which can be different from the input to gdb.
2136 (print_addr): Simply call print_addr_2 with the same argument twice.
2137 (test_lookup_operator_functions): Use demangler formatting variables.
2138 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2139 the tests in the same order as the C++ class declaration.
2140 (test_paddr_operator_functions): Ditto.
2141 (test_paddr_overloaded_functions): Ditto.
2142 (test_paddr_hairy_functions): Use demangler formatting variables.
2143 Add reference to gdb/19 for related tests.
2144 (do_tests): Call probe_demangler.
2145
1de8f023
KB
21462001-01-30 Kevin Buettner <kevinb@redhat.com>
2147
2148 * gdb.c++/templates.cc (printf): Remove unused function definition.
2149
ca3f91ed
MS
21502001-01-26 Felix Lee <flee@redhat.com>
2151
2152 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2153
21542001-01-25 matthew green <mrg@redhat.com>
2155
2156 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2157 up sid.
2158 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2159
21602001-01-25 matthew green <mrg@redhat.com>
2161
2162 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2163 Deprecate $sid_spawn_id.
2164 (sid_exit): Remove code necessary only for `spawn.'
2165
21662001-01-25 matthew green <mrg@redhat.com>
2167
2168 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2169
fb18ec4a
MC
21702001-01-28 Michael Chastain <chastain@redhat.com>
2171
2172 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2173 to call when tests fail. It takes gdb out of the overloaded
2174 function choice menu back to the main prompt, so that the test
2175 program stays synchronized.
2176 (set_bp_overloaded): New proc to collect all the common
2177 code for setting a breakpoint on an overloaded name. Calls
2178 take_gdb_out_of_choice_menu when needed.
2179 (menu_overload1arg): New variable to collect the repeated
2180 instances of the expected menu for an overloaded name. Change
2181 the regular expression to handle changes in g++ type encoding:
2182 "void" can be either "void" or "", and "unsigned int" can be
2183 either "unsigned int" or "unsigned".
2184 (continue_to_bp_overloaded): Change regular expressions to handle
2185 changes in g++ type encoding.
2186 (no proc): Call take_gdb_out_of_choice_menu when needed.
2187 Remove redundant calls to "info break". Accept either "canceled"
2188 or "cancelled". Change regular expressions in "info break"
2189 calls to handle changes in g++ type encoding. Give all tests
2190 unique strings.
2191
9c646a6e
BE
21922001-01-17 Ben Elliston <bje@redhat.com>
2193
2194 * config/sid.exp: New file.
2195
9549d9c1
AC
2196Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2197
2198 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2199
dc96c6c7 22002000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2201
2202 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2203 Add a RE to accept a non-ascii char if one is ever presented.
2204
b4df4f68
FN
22052000-12-20 Fernando Nasser <fnasser@redhat.com>
2206
297dd0fd 2207 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2208
dc96c6c7 22092000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2210
2211 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2212 in regexp. One '\' does not suffice on Linux.
2213
4a7bddb6
MC
22142000-12-09 Michael Chastain <chastain@redhat.com>
2215
2216 * gdb.base/break.exp (test_clear_command): Use a marker function
2217 rather than 'main' for the test function. Also move this
2218 test to an execution point where the marker function names are
2219 guaranteed to be bound to functions. (Executing tests after a
2220 'finish' from main runs into name conflicts with local names
2221 in __libc_start_main).
2222
dc96c6c7 22232000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2224
2225 * gdb.base/finish.exp: New test for gdb's "finish" command.
2226 * gdb.base/return2.exp: New test for gdb's "return" command.
2227 * gdb.base/return2.c: New source file for above.
2228
dc96c6c7 22292000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2230
2231 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2232 * gdb.base/miscexprs.exp: Ditto.
2233 * gdb.base/pointers.exp: Ditto.
2234 * gdb.c++/derivation.exp: Ditto.
2235 * gdb.c++/local.exp: Ditto.
2236 * gdb.c++/namespace.exp: Ditto.
2237 * gdb.c++/overload.exp: Ditto.
2238 * gdb.c++/ref-types.exp: Ditto.
2239
dc96c6c7 22402000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2241
2242 * gdb.base/constvars.exp: Test result of "up" command.
2243 * gdb.base/miscexprs.exp: Ditto.
2244 * gdb.base/pointers.exp: Ditto.
2245 * gdb.base/scope.exp: Ditto.
2246 * gdb.c++/derivation.exp: Ditto.
2247 * gdb.c++/local.exp: Ditto.
2248 * gdb.c++/namespace.exp: Ditto.
2249 * gdb.c++/overload.exp: Ditto.
2250 * gdb.c++/ref-types.exp: Ditto.
2251
44097287
FN
22522000-11-22 Michael Chastain <chastain@redhat.com>
2253
2254 * mips_pro.exp: Accept either "middle -> top -> main" or
2255 "middle -> main" in the backtrace, because gcc can optimize
2256 tail calls to jumps. Remove setup_xfail for the hppa case.
2257 Add a comment with the original warning messages from PR 3016,
2258 which was filed in 1993, to preserve them for posterity.
2259
9d2e1bab
ND
22602000-11-17 Nick Duffek <nsd@redhat.com>
2261
2262 * lib/gdb.exp (gdb_test): Override timeout with board info.
2263
1aca8eb7
ND
22642000-11-17 Nick Duffek <nsd@redhat.com>
2265
2266 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2267 the second kill and detach messages.
2268
93076499
ND
22692000-11-17 Nick Duffek <nsd@redhat.com>
2270
2271 * configure.in: Add AC_EXEEXT.
2272 * configure: Regenerate.
2273 * Makefile.in (just-check): Export EXEEXT.
2274 * lib/gdb.exp ($EXEEXT): Import from environment.
2275 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2276 expect "maint dump-me" on Cygwin.
2277 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2278 $EXEEXT.
2279
30e87cd3
ND
22802000-11-17 Nick Duffek <nsd@redhat.com>
2281
2282 * gdb.base/break.exp: Test backtrace and finish from called
2283 function on all platforms, not just HP-UX.
2284
dc96c6c7 22852000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2286
2287 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2288 code from gdb_target_monitor, so it can be used independantly
2289 for gdbserver. Also comment out an unnecessary PUTS.
2290
dc96c6c7 22912000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2292
2293 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2294 * gdb.base/corefile.exp: Expect the message "Program is being
2295 debugged already" when we send the "corefile" command, since
2296 the preceeding gdb_load may have connected gdb to a remote target.
2297 * gdb.base/display.exp: Disable hardware watchpoints if new
2298 board info variable "no_hardware_watchpoints" is true.
2299 Replace single-letter commands with more readable ones.
2300 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2301 if new board info variable "no_hardware_watchpoints" is true.
2302 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2303 to see if stdio (printf) testing is possible.
2304 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2305 board info variable "no_hardware_watchpoints" is true. Use new
2306 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2307
39124dea
FN
23082000-11-13 Fernando Nasser <fnasser@redhat.com>
2309
2310 From Orjan Friberg <orjanf@axis.com>:
2311 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2312 in array print pattern match.
2313
a9e2e984
FN
23142000-11-09 Fernando Nasser <fnasser@redhat.com>
2315
2316 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2317 spelling "cancelled" to U.S. spelling "canceled" to match changes
2318 made to gdb.
2319 * gdb.c++/ovldbreak.exp: Ditto.
2320
c7db355b
PS
23212000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2322
2323 * gdb.base/callfuncs.c (main): Moved to end of file, call
2324 t_double_values to initialize the FPU before inferior calls are made.
2325 * gdb.base/callfuncs.exp: Test for register preservation after calling
2326 inferior functions. Add tests for continuining, finishing and
2327 returning from a stop in a call dummy.
2328
dc96c6c7 23292000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2330
2331 * gdb.base/commands.exp: Break up long lines, and re-indent.
2332
dc96c6c7 23332000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2334
2335 * config/gdbserver.exp: Rewritten from the ground up, to make it
2336 compatible with the current dejagnu tree, and to make it work with
2337 the new "gdbserver" in libremote.
2338
dc96c6c7 23392000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2340
2341 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2342 * gdb.base/varargs.exp: Skip entire test if no printf support.
2343 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2344 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2345
dc96c6c7 23462000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2347
2348 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2349 no floating point support.
2350 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2351 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2352 * gdb.base/call-rt-st.exp: Ditto.
2353 * gdb.base/call-strs.exp: Ditto.
2354
bac5fc66
JG
23552000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2356
2357 * gdb.base/sizeof.c: include <stdio.h>.
2358
2359 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2360 'finish', otherwise uncaptured gdb_prompt would potentially
2361 throw remaining test points out of sync.
2362
b22a6027
SB
23632000-07-26 Scott Bambrough <scottb@netwinder.org>
2364
2365 * gdb.base/recurse.exp: Run tests for all targets.
2366 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2367 gnu-oldld case on ARM.
2368 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2369 for ARM targets.
2370
d8231941
AG
2371Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2372
2373 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2374 * gdb.java/configure: Rebuild.
2375
8caabe69
AG
2376Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2377
2378 * gdb.java/jv-exp.exp: New file.
2379
9d273ca3
AG
2380Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2381
2382 * configure: Rebuilt.
2383 * configure.in (configdirs): Add gdb.java.
2384 * gdb.java/jmisc.java: New file.
2385 * gdb.java/jmisc.exp: New file.
2386 * gdb.java/Makefile.in: New file.
2387 * gdb.java/configure: Rebuilt.
2388 * gdb.java/configure.in: New file.
2389 * lib/java.exp: New file.
2390
4f823a66
AC
2391Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2392
2393 * gdb.base/exprs.exp: Test casts to a pointer including over and
2394 underflow.
2395
2391e11d
AC
2396Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2397
2398 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2399 and the compilers sizes.
2400
54602222
ND
24012000-07-09 Nick Duffek <nsd@redhat.com>
2402
2403 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2404 (use_methods): New function.
2405 (main): Call use_methods().
2406 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2407 (do_tests): Call test_method_param_class.
2408
2bec0572
ND
24092000-07-09 Nick Duffek <nsd@redhat.com>
2410
2411 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2412 spelling.
2413 (test_enums): New procedure. Move enum tests from end of script
2414 to here. Set breakpoint on function name instead of line number.
2415 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2416 (enums2): New marker function.
2417 (enums1): New function.
2418 (main): Call enums1(). Move enum tests to enums1().
2419
78492fde
AC
2420Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2421
2422 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2423 compile/link program. Update line numbers.
2424 * gdb.asm/d10v.inc: Define ``startup''.
2425 * gdb.asm/asmsrc1.s: Add definition of _start.
2426
49a2cef8
AC
2427Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2428
2429 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2430
3e6c8688
EZ
24312000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2432
2433 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2434 of 'help maint print' command.
2435
9ff5cbe9
AC
2436Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2437
2438 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2439 they use gdb_expect_list.
2440
17c579bd
AC
2441Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2442
2443 * gdb.base/commands.exp: Use ``set remote
2444 memory-read-packet-size'' instead of ``set endian big'' to test
2445 long commands.
2446
e6d71bf3
DB
24472000-06-03 Daniel Berlin <dan@cgsoftware.com>
2448
2449 * gdb.c++/templates.exp (do_tests): Make all of these work under
2450 g++, and stop skipping them.
2451
2452 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2453 work under g++.
2454
e5f9ba7b
MS
2455 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2456 initialization.
2457
dc96c6c7 24582000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2459
2460 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2461 the regular expression: accept an (almost) arbitrary sequence of
2462 "frames-invalid" and "breakpoints-invalid" messages both before
2463 and after the "starting" message.
2464
dc96c6c7 24652000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2466
2467 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2468
dc96c6c7 24692000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2470
2471 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2472 Relax the regular expression a little, make it pass on Solaris 8.
2473
8216cda9
KB
24742000-05-12 Kevin Buettner <kevinb@redhat.com>
2475
2476 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2477 a call, do not require that gdb stop on the line after the call.
2478 Instead, it is permissible for gdb to stop on the line of the
2479 call itself.
2480
1a570b2f
MS
24812000-05-12 Michael Snyder <msnyder@.cygnus.com>
2482
2483 * gdb.base/break.exp (bp on small function, optimized file):
2484 Add a second pass pattern. The behavior differs here between stabs
2485 and dwarf for one-line functions. Stabs preserves two line symbols
2486 (one before the prologue and one after) with the same line number,
2487 but dwarf regards these as duplicates and discards one of them.
2488 Therefore the address after the prologue (where the breakpoint is)
2489 has no exactly matching line symbol, and GDB reports the breakpoint
2490 as if it were in the middle of a line rather than at the beginning.
2491
dc96c6c7 24922000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2493
2494 * gdb.base/interrupt.exp: Make "pass" message say "send"
2495 rather than "send_gdb" (for consistancy).
2496
7d418785
AC
2497Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2498
2499 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2500 * gdb.c++/templates.cc: Properly check for GCC version number.
2501 * lib/compiler.cc: Likewise
2502
dc96c6c7 25032000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2504
2505 * gdb.base/break.exp: When compiled with -O2 optimization,
2506 gdb may not stop at the first line of main, due to code motion.
2507
dc96c6c7 25082000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2509
2510 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2511 This test depends on parsing the printf output from the target.
2512 Since the sparclet stub doesn't do stdio, this will never work.
2513 * gdb.base/call-rt-st.exp: ditto.
2514 * gdb.base/call-strs: ditto.
2515
dc96c6c7 25162000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2517
2518 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2519
2520 * gdb.base/ending-run.exp: After connecting to a remote target,
2521 but before running, the target will appear to be in a random
2522 location. Specify both a file and a line for breakpoints.
2523 Also, the function that calls main may be called 'init'
2524 rather than 'start'.
2525
a5a51225
EZ
25262000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2527
2528 * gdb.base/help.exp: Update output for add-symbol-file command.
2529
7930cc7c
FN
25302000-04-10 Fernando Nasser <fnasser@cygnus.com>
2531
2532 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2533 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2534
23e37ab1
C
25352000-04-07 J.T. Conklin <jtc@redback.com>
2536
e93c542c
C
2537 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2538
23e37ab1
C
2539 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2540
591b8fa3
PDM
2541Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2542
2543 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2544 values that can be represented exactly.
2545 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2546 above change, and to not check against the directory part of the source
2547 file name.
2548 (step into print_long_arg_list): Likewise.
2549 (print print_small_structs from print_long_arg_list): Likewise.
2550 (print print_long_arg_list): Likewise.
2551
7a495180
EZ
25522000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2553
30b53638 2554 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2555
beb998c6
AC
2556Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2557
2558 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2559
1c689132
DB
25602000-03-25 Daniel Berlin <dan@cgsoftware.com>
2561
2562 * gdb.base/commands.exp (deprecated_command_test): Add test for
2563 deprecate with no arguments.
2564
c1790a9d
JL
25652000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2566
2567 * gdb.base/break.exp: Add new test for setting breakpoints on
2568 optimized code so we can test breakpoints work even when function
2569 prologues may be optimized away
2570
003ba290
FN
25712000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2572
2573 From David Whedon <dwhedon@gordian.com>
2574 * gdb.base/commands.exp : Added command deprecator tests.
2575
6837a0a2
DB
25762000-03-22 Daniel Berlin <dan@cgsoftware.com>
2577
2578 * gdb.base/help.exp: Added test for new apropos command.
2579
b9593231
KB
25802000-03-21 Kevin Buettner <kevinb@redhat.com>
2581
2582 * gdb.base/pointers.c (usevar): New function.
2583 (main): Make sure that global variables v_int_pointer2, rptr,
2584 and y are all referenced someplace in the program by calling
2585 usevar() on them. [Some linkers delete symbols which are
2586 never referenced. The space remains, but there's no way to
2587 get a (symbolic) handle on the variable from the debugger.]
2588
751a959b
EZ
25892000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2590
2591 * gdb.base/printcmds.c: Add typedeffed arrays.
2592
2593 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2594 procedure to test arrays that are typedef'd.
2595
73a93a32
JI
25962000-03-13 James Ingham <jingham@leda.cygnus.com>
2597
2598 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 2599 the library directories.
73a93a32 2600
fb40c209
AC
2601Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2602
2603 * configure.in (configdirs): Add sub directory gdb.mi.
2604 * configure: Re-generate.
2605
2606 * gdb.mi: New directory.
beb998c6 2607
ee4dd2c9
AC
26082000-02-25 Scott Bambrough <scottb@netwinder.org>
2609
2610 * gdb.base/long_long.exp: Correct test suite failure when printing
2611 a long long value as a double on ARM platforms.
2612
70f0cc22
JB
26132000-02-16 Jim Blandy <jimb@redhat.com>
2614
2615 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2616 default source file is set properly before running this test.
2617
853819b8
EZ
26182000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2619
2620 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2621 gdbtk/library directory, not in gdbtcl2.
2622
dfcd3bfb
JM
26232000-02-04 Jim Blandy <jimb@redhat.com>
2624
2625 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2626 backslash from regexp pattern.
2627
2628 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2629 procedure. Use it to run all the "continue to bp overloaded"
2630 tests. Note that this changes the names of the tests slightly.
2631 If the breakpoint hit message includes a hex PC value, because
2632 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2633 from the real source code, still consider that a pass.
2634
2635 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2636 XFAIL here if the breakpoint message contains a hex address. Note
2637 similar change on 1999-11-02.
2638
2639 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2640
2641 * gdb.base/ptype.exp: Establish a default source file before
2642 calling get_debug_format.
2643
26442000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2645
2646 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2647
8b93c638
JM
26482000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2649
2650 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2651 of successive stepi commands -- while in the prologue we should see
2652 the function entry bracket.
2653
26542000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2655
2656 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2657 reach __change_mode() when stepping through the end of main().
2658
c5394b80
JM
26592000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2660
2661 * gdb.base/default.exp: Fix expected pattern.
2662 * gdb.base/help.exp: Same.
2663
0d06e24b
JM
26642000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2665
2666 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2667 Don't use xfail's because that affects only the following test.
beb998c6 2668
0d06e24b
JM
2669 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2670 solaris or linux.
2671
2672 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2673
dc96c6c7 26742000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2675
beb998c6 2676 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2677 "A syntax error" rather than "A parse error". Accept both.
2678
26792000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2680
2681 * gdb.base/default.exp: Remove OS dependent string from "target
2682 remote" test.
2683 * gdb.base/help.exp: Same for "help target remote" test.
2684
c3f6f71d
JM
26852000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2686
2687 From Jim Kingdon <kingdon@redhat.com>:
2688
2689 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2690 prompt (cleanup rather than necessity, but still might keep output
2691 from spilling to next test).
2692
26932000-01-02 Fred Fish <fnf@cygnus.com>
2694
2695 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2696 AIX, which defines them in <sys/types.h>.
2697
ed9a39eb 26981999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2699
ed9a39eb
JM
2700 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2701 float" test.
2702
27031999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2704
ed9a39eb 2705 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2706
2707 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2708 outermost frame disallowed".
2709
27101999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2711
2712 * gdb.base/setvar.exp: New tests for setting the value of a struct
2713 with a constant list.
2714
27151999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2716
2717 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2718 require the user to type a cast before setting the value of a struct.
2719
de57eccd
JM
27201999-12-06 Jim Blandy <jimb@cygnus.com>
2721
2722 * gdb.base/default.exp: Expect the new 'info float' command on
2723 all i386 platforms.
2724
2725 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2726 LinuxThreads libraries that don't support debugging.
2727
c2d11a7d
JM
2728Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2729
2730 * gdb.base/remote.c: Fill the buffer with truely random data.
2731 Change the buffer type to ``unsigned char'' to simplify size
2732 arithmetic.
2733
2734 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2735 stub only handles 400-1 byte packets. Verify that the download
2736 worked.
2737
27381999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2739
2740 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2741 tests, using UNRESOLVED for the untested cases. Also, does not wait
2742 for a timeout if the prompt was received before a recognizable pattern.
2743
27441999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2745
2746 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2747
27481999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2749
2750 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2751 watchpoints.
2752
27531999-11-24 Jason Merrill <jason@casey.cygnus.com>
2754
2755 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2756
2757 * gdb.c++/local.exp: Be more flexible in recognizing local class
2758 name mangling. Don't allow horribly truncated method names.
2759 * gdb.c++/derivation.exp: Expect protected inheritance.
2760 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2761 * gdb.c++/virtfunc.exp: Likewise.
2762 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2763 when printing a nested enum.
2764
27651999-11-22 Jim Blandy <jimb@cygnus.com>
2766
2767 * gdb.base/step-test.exp: Properly await GDB's response to setting
2768 a breakpoint on the call to large_struct_by_value.
2769
2770 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2771 just because we have debug info for the `start' function.
2772
27731999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2774
2775 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2776 "Unknown signal" messages, which indicate (on LinuxThreads) that
2777 GDB doesn't know how to debug threads on this system. This is
2778 better than hanging while philosopher 0 dumps chatter into gdb.log.
2779
27801999-11-18 Tom Tromey <tromey@cygnus.com>
2781
2782 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2783
27841999-11-18 Fred Fish <fnf@cygnus.com>
2785
2786 * gdb.base/coremaker2.c: Add sample program for generating
2787 cores that is more self contained than coremaker.c. Eventually
2788 I'll add more code to this and tie it into the testsuite.
2789
4ce44c66
JM
27901999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2791
2792 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2793
27941999-11-10 Jimmy Guo <guo@cup.hp.com>
2795
2796 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2797 from $srcdir/lib/.
2798 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2799 and gdb.c++/.
2800
2801 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2802
beb998c6 2803 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
2804 'continue with watch' test point.
2805
28061999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2807
2808 Merged from p2linux-990323-branch:
beb998c6 2809
4ce44c66
JM
2810 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2811
11cf8741
JM
2812Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2813
2814 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2815 {limit,fixed}''. Test ``set download-write-size''.
2816
2817Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2818
2819 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2820 gdb_expect_list.
2821
2822Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2823
2824 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2825
28261999-11-03 Mark Salter <msalter@cygnus.com>
2827
2828 * gdb.base/break.exp: Fix "stub continue" pattern.
2829
28301999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2831
2832 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2833
28341999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2835
2836 * gdb.base/display.exp ("finish"): Add timeout clause.
2837
2838 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2839 plain prompt clause, so this doesn't have to time out in order to
2840 fail.
2841
2842 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2843 breakpoint hit messages include an address.
2844
2845 * gdb.base/display.exp: Don't forget to escape parens in regular
2846 expressions. Unix regexp notatation sucks.
2847
28481999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2849
2850 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2851 order for 'signalled' message.
2852
5c44784c
JM
28531999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2854
2855 From Jimmy Guo <guo@cup.hp.com>:
2856 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2857 * gdb.base/annota1.c: Add code for tests to work with.
2858
28591999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2860
2861 * gdb.base/remote.exp: New test for remote downloading settings.
2862 * gdb.base/remote.c: New file with large .data.
2863
917317f4
JM
28641999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2865
2866 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2867 for LinuxThreads support, merged from the Code Fusion branch.
2868
2869Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2870
2871 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2872 containing exp_continue into a while within an expect. Don't
2873 attempt a start more than three times. Check return value from
2874 gdb_load.
beb998c6 2875
2df3850c
JM
2876Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2877
2878 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2879 a pass case.
2880
2acceee2
JM
28811999-10-01 Kevin Buettner <kevinb@cygnus.com>
2882
2883 * gdb.base/break.c (main): Added a statement that we can step
2884 off of.
2885 * gdb.base/break.exp: Added tests for setting a breakpoint
2886 at an offset and stepping onto a breakpoint.
2887
28881999-10-01 Fred Fish <fnf@cygnus.com>
2889
beb998c6 2890 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
2891 gdb output.
2892
c2c6d25f
JM
28931999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2894
2895 * gdb.base/break.exp: Code locations are in hex, don't forget!
2896 (For HP-UX.)
2897
28981999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2899
2900 * condbreak.exp: Use break.c as test program.
2901 * condbreak.c: Remove, redundant with break.c.
2902
29031999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2904
2905 * config/monitor.exp (gdb_target_monitor): Disable X- and
2906 Z-packets if the target needs it.
2907
29081999-09-13 James Ingham <jingham@leda.cygnus.com>
2909
2910 * gdb.c++/overload.exp: Added tests for listing overloaded
2911 functions with function pointers in the arg, explicitly calling
2912 out the version you want.
2913
cff3e48b
JM
29141999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2915
2916 * long_long.exp: Add variations of test cases that work for
2917 targets with 16-bit ints and 32-bit doubles.
2918
d4f3574e
SS
29191999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2920
2921 * break.c (main): Compare a possibly-uninitialized argc with an
2922 unlikely value that fits in 16 bits.
2923
29241999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2925
2926 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2927 0xfeeb, don't want negative numbers if ints are 16 bits.
2928
2929 * lib/gdb.exp (skip_cplus_tests): New proc.
2930 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2931 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2932 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2933 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2934 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2935 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2936 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2937 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2938
2939 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2940
2941Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2942
2943 * gdb.base/corefile.exp (up): Allow a parameter to appear
2944 in the frame that we're going up to.
2945
2946 From Jim Blandy <jimb@cygnus.com>:
2947
2948 * gdb.base/default.exp (info float): Expect some output now.
2949
2950 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2951 returning floating-point values to fail on the x86.
2952 * gdb.base/callfwmall.exp (do_function_calls): Same.
2953
2954 * gdb.base/list.exp (test_listsize): Correct expectations for
2955 listing line 1 with listsize 2. Also, listing a single line
2956 works now, as does listing three lines. [Kevin's note: There
2957 were a number of other cases fixed too where the expectations
2958 differed...]
2959
29601999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2961
2962 * gdb.base/selftest.exp: Add case for when version prints as
2963 constant string instead of char pointer.
2964
104c1213
JM
29651999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2966
2967 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2968 stepping out of main.
2969
2970 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2971 G++ used.
2972
2973 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2974 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2975
2976 * gdb.c++/ovldbreak.exp: Update match string in test that
2977 includes a warning of multiple breakpoints.
2978
29791999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2980
2981 * gdb.base/display.exp: Improve precision of step-after-finish
2982 added yesterday.
2983
2984 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2985 test.
2986
2987 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2988 configs when using G++, not just hppa*.
2989
29901999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2991
2992 * gdb.base/async.c: New file.
2993 * gdb.base/async.exp: New file.
2994
2995Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2996
2997 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2998 PA64.
2999
53a5351d
JM
3000Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3001
104c1213
JM
3002 * gdb.base/display.exp: "finish" can leave us mid-line on many
3003 targets, deal with it. Add a small constant to main, instead of
3004 1000 since main+1000 may not be a valid address in the target.
3005
53a5351d
JM
3006 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3007 on hpux11.
3008
3009 * gdb.base/attach.exp: Handle another hpux11 error message variant
3010 when attaching to a process that does not exist.
3011
30121999-08-19 J.T. Conklin <jtc@redback.com>
3013
3014 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3015 characters in 'continue to 1241' test.
3016
30171999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3018
3019 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3020 stop in print_long_arg_list, define and use a whitespace
3021 variable in print_small_structs test, add an XFAIL for Solaris.
3022 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3023 interested enough to fix.
3024
7be570e7
JM
30251999-08-13 Keith Seitz <keiths@cygnus.com>
3026
3027 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3028 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3029 proc knows about targets other than the natives.
3030 (test_assign): Use "gdb_run_cmd" to "run" the target.
3031 Check that we've actually hit the breakpoint at main.
3032 When we attempt to assign a value to a local variable, check
3033 that the variable is in the current scope, i.e., don't use
3034 a test with an empty result.
3035
3036Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3037
3038 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3039 command.
3040
30411999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3042
3043 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3044 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3045 gdb.compat, gdb.threads-hp.
3046 gdb.hp/configure, gdb.hp/configure.in: New files.
3047 gdb.hp/Makefile.in: Recurse into new subdirs.
3048 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3049 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3050 in object files.
3051 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3052
96baa820
JM
30531999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3054
3055 * gdb.base/display.exp: Help expect by putting a newline in the
3056 funky printf, remove a bogus p/a test.
3057
30581999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3059
3060 * gdb.base/display.exp: Make sure that when we say 'run', we are
3061 connected to the target. This is necessary when running not
3062 natively.
3063
30641999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3065
3066 * gdb.base/step-test.exp: Removed some extraneous messages.
3067
3068 * gdb.base/long_long.exp: Don't run memory examination tests
3069 on little-endian targets (they will need a different set of
3070 results to match).
3071
30721999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3073
3074 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3075 until somebody decides to fix GDB.
3076
3077 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3078 constant as "ULL".
3079 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3080 matches for a couple x/2 commands.
3081
a0b3c4fd
JM
30821999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3083
3084 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3085 by merging in ref-types2 tests.
3086 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3087
3088 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3089 * gdb.c++/Makefile.in: Add standard actions.
3090 (EXECUTABLES): Rename from PROGS, update list.
3091 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3092 from gdb.hp.
3093 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3094 foo and bar locals.
3095 * gdb.c++/anon-union.exp: Fix tests to match.
3096 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3097 expect matches to handle output variations.
3098 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3099 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3100 output, add HP alternatives for new and delete prints.
3101 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3102 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3103 * gdb.c++/demangle.exp: Use $style when reporting failure.
3104 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3105 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3106 match alternatives.
3107 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3108 compilers.
3109 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3110 * gdb.c++/method.exp: Add match alternatives.
3111 * gdb.c++/misc.cc: Add bool types.
3112 * gdb.c++/misc.exp: Add tests for bool types.
3113 * gdb.c++/overload.exp: Add xfails.
3114 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3115 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3116 add some more template parameter tests (only for HP currently).
3117 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3118 * gdb.c++/virtfunc.cc: Add return type and value for main.
3119 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3120 match alternatives.
beb998c6 3121
a0b3c4fd
JM
31221999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3123
3124 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3125
31261999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3127
3128 * gdb.base/signals.exp: Don't expect getting a backtrace from
3129 within a signal handler to fail on Linux.
3130
31311999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3132
3133 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3134 * lib/gdb.exp: Remove some gratuitious semicolons.
3135 (delete_breakpoints): Increase timeout.
3136 (gdb_expect): Add -notransfer option.
3137 (gdb_test): Use -notransfer option.
3138 (get_compiler_info): Add f77 case.
3139 (get_compiler): New proc, split out from gdb_preprocess, add f77
3140 case.
3141 (gdb_preprocess): Call get_compiler.
3142
3143 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3144 * gdb.base/attach.exp, gdb.base/display.exp,
3145 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3146 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3147 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3148 third arg to gdb_test.
3149 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3150 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3151 HP-UX xfails, add others.
3152 * gdb.base/completion.exp: Reflect name change of self-test.
3153 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3154 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3155 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3156 HP failure number.
3157 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3158 useless HP-UX 10.30 references.
3159 * gdb.base/maint.exp: Loosen matches.
3160 * gdb.base/pointers.c (main): Declare more_code.
3161 * gdb.base/pointers.exp: Match on output of a `next'.
3162 * gdb.base/structs.c: Add prototypes.
3163 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3164 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3165
31661999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3167
3168 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3169 command.
3170
31711999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3172
3173 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3174 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3175
3176 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3177 debug info. Deal with lack of signal hanlder info in stack.
3178
3179 From Jim Kingdon <kingdon@redhat.com>:
3180 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3181
5a2468f5
JM
31821999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3183
3184 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3185 gdb.base/foll-vfork.exp: Don't run for crosses.
3186
adf40b2e
JM
3187Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3188
3189 * gdb.base/configure.in: Check for gdbvars.exp instead of
3190 a1-selftest.exp.
3191 * gdb.base/configure: Re-generate.
3192
31931999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3194
3195 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3196 in trying to run first and name is too long.
3197
3198 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3199 pointers2.c and pointers2.exp, respectively.
3200 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3201 doschk happier.
3202
43e526b9
JM
32031999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3204
3205 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3206 callfuncs2.c and callfuncs2.exp.
3207
3208 * gdb.base/list.exp: Remove mistaken xfails.
3209 * gdb.base/list0.h: Add optional prototypes.
3210
9846de1b
JM
3211Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3212
3213 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3214 calling malloc.
3215 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3216 * ptype.exp: Move test for get_debug_format to before its first
3217 use.
3218
32191999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3220
3221 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3222 * gdb.base/annota2.cc, annota2.exp: Move from here.
3223 * gdb.c++/annota2.cc, annota2.exp: To here.
3224 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3225
43ff13b4
JM
3226Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3227
3228 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3229 a consistent format.
3230
085dd6e6
JM
32311999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3232
3233 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3234 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3235 HP compilers, also set the globals $true and $false.
3236
3237 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3238 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3239 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3240 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3241 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3242 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3243 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3244 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3245 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3246 whatis.c} Add C++ compatible function definitions and return
3247 types, add includes for library functions.
3248 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3249 * gdb.base/step-test.c (myglob): Rename from glob.
3250 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3251 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3252 files, move here from gdb.hp.
3253 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3254 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3255 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3256 Adjust line numbers in regexps.
3257
3258 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3259 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3260 instead of 0/1.
3261
3262 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3263 foll-vfork.exp: New files, move here from gdb.hp.
3264 * gdb.base/page.exp: New file, test of pagination command.
3265
3266 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3267 recursion test.
3268 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3269
3270 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3271 gdb.base/solib.exp: Fix compiler invocation process.
3272
3273 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3274 HP-UX 11, turn off overload resolution explicitly.
3275 * gdb.base/commands.exp: Set argument list explicitly, add
3276 watchpoint test.
3277 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3278 them work.
3279 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3280 expressions properly.
3281 * gdb.base/corefile.exp: Loosen the match slightly.
3282 * gdb.base/default.exp: Allow "Error accessing memory" message
3283 also.
3284 * gdb.base/display.exp: Skip over x/0 j if PA64.
3285 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3286 * gdb.base/interrupt.exp: Ditto.
3287 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3288 in use.
3289 * gdb.base/list.exp: Add xfails for HP-UX.
3290 * gdb.base/long_long.exp: Refine some of the numeric matches.
3291 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3292 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3293 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3294 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3295 * gdb.base/ptype.exp: Succeed on more varieties of output.
3296 * gdb.base/scope.exp: Add xfails for HP-UX.
3297 * gdb.base/sect-cmd.exp: Add more cases.
3298 * gdb.base/setvar.exp: Add xfails for HP-UX.
3299 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3300 * gdb.base/signals.exp: Match on void symbolically.
3301 * gdb.base/step-test.exp: Add case for PA64.
3302 * gdb.base/term.exp: Add exit and restart.
3303 * gdb.base/twice.exp: Clean up after self.
3304 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3305 * gdb.base/whatis.exp: Allow more ways to pass tests.
3306
3307 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3308 no longer useful.
3309
3310Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3311
3312 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3313 list of patterns.
3314 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3315 print_double_array(double_array)", "continuing to breakpoint
3316 1018", "print print_double_array(array_d)" and "continuing to
3317 1034" tests.
beb998c6 3318
085dd6e6
JM
33191999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3320
3321 * Makefile.in: Add empty html and install-html targets.
3322
33231999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3324
3325 * config/mt-*: Remove, these haven't been used since 1996.
3326
33271999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3328
3329 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3330 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3331 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3332
9e0b60a8
JM
33331999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3334
3335 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3336 simpler match case for the ptype of the big class.
3337
33381999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3339
3340 * gdb.exp: Fix test for gdb_prompt existence.
3341
33421999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3343
3344 * gdb.exp (gdb_test): Add fail after calls to perror.
3345
33461999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3347
3348 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3349
33501999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3351
3352 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3353
0f71a2f6
JM
3354Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3355
3356 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3357 malloc() is linked in.
3358
33591999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3360
3361 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3362 step at end.
3363
3364 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3365
33661999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3367
3368 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3369
cce74817
JM
3370Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3371
3372 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3373 * gdb.base/mips_pro.exp: Likewise.
3374
33751999-06-02 Keith Seitz <keiths@cygnus.com>
3376
3377 * gdb.c++/templates.cc: Change all "new" operators to throw
3378 an exception.
3379 * gdb.c++/cplusfuncs.cc: Likewise.
3380
3381 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3382
3383Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3384
3385 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3386 * gdb.base/ending-run.exp: When stepping out of main, accept a
3387 step into an arbitrary assembler file.
3388
392a587b
JM
33891999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3390
beb998c6 3391 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3392 "breakpoint-invalid" to be printed.
beb998c6 3393 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3394 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3395 * gdb.base/annota2.cc: Initialize a.x to 0.
3396
9e086581
JM
33971999-05-17 Keith Seitz <keiths@cygnus.com>
3398
3399 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3400 when "skip_float_tests" set.
3401 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3402 "print print_ten_doubles", and "step into print_long_arg_list".
3403 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3404 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3405 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3406 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3407 "skip_float_tests" is set.
3408 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3409 when "skip_float_tests" set.
beb998c6 3410
cd0fc7c3
SS
34111999-05-06 Keith Seitz <keiths@cygnus.com>
3412
3413 * gdb.base/annota2.cc: Include stdio.h.
3414
3415Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3416
3417 * gdb.base/crossload.exp: Remove, this has been disabled ever
3418 since BFD stopped including all targets, and cross-GDB gets
3419 plenty of testing anyway.
3420 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3421 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3422 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3423 * gdb.base/README: Remove, was doc for this.
3424 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3425 needed.
3426
b83266a0
SS
34271999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3428
3429 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3430 output.
3431
3432 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3433 * gdb.base/annota2.exp: New file. More annotation tests.
3434 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3435 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3436
34371999-04-23 Angela Marie Thomas <angela@cygnus.com>
3438
3439 * config/cfdbug.exp: New file.
3440
7a292a7a
SS
34411999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3442
3443 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3444 Marcus Daniel's and Dale Hawkins's demangler crashes.
3445
3446 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3447 test_lucid_style_demangling, test_arm_style_demangling,
3448 test_hp_style_demangling): Try Tom Tromey's core-dumping
3449 identifier under each demangling style.
3450
34511999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3452
3453 * gdb.c++/demangle.exp: Include the current demangling style
3454 in all test names.
3455 (current_demangling_style): New global variable.
3456 (set_demangling_style, test_demangling_core, test_demangling,
3457 test_demangling_exact): New functions.
3458 (test_gnu_style_demangling, test_lucid_style_demangling,
3459 test_arm_style_demangling, test_hp_style_demangling): Use those,
3460 instead of calling gdb_test and gdb_test_exact directly.
3461 (catch_demangling_errors): New function, which reports errors
3462 signalled by the demangling test functions in an orderly way.
3463 (do_tests): Use catch_demangling_errors.
3464
34651999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3466
3467 * gdb.base/signals.exp (test_handle_all_print): Use () for
3468 grouping in expressions, not {}.
3469
3470 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3471 initialized yet.
3472
34731999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3474
3475 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3476 are listed.
3477
34781999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3479
3480 * gdb.stabs/weird.exp: Test for CC being defined before
3481 looking at its value.
3482
34831999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3484
3485 * gdb.base/call-ar-st.exp: Remove stray '#'.
3486 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3487 "short int" and "long int".
3488 * gdb.c++/overload.cc: Cast the string added in the previous
3489 change, to mollify finicky HP compiler.
3490 * gdb.hp/reg-test.exp (testfile): Fix file name.
3491 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3492
7a292a7a
SS
3493 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3494 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3495 alternate form of enum ptype.
3496
c906108c
SS
34971999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3498
7a292a7a
SS
3499 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3500 * gdb.hp/*.exp: Change all to run compiler probe only after
3501 passing skip_hp_tests, so as not to waste time on guaranteed
3502 failure.
3503
c906108c
SS
3504 * gdb.c++/overload.cc: Pass string instead of char addr, always
3505 init ccpfoo.
3506 * gdb.c++/templates.cc: Fix syntax error.
3507
7a292a7a
SS
3508Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3509
3510 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3511 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3512 command.
3513
35141999-03-18 James Ingham <jingham@cygnus.com>
3515
3516 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3517
3518 * gdb.c++/method.exp: It was testing an uninitialized int on the
3519 stack and assuming it was positive.
3520
3521 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3522
3523 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3524 keep it from killing the rest of the tests.
7a292a7a
SS
3525 Use gdb_continue_to_end.
3526
3527 * gdb.base/sigall.exp: use gdb_continue_to_end.
3528
3529 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3530
3531 * gdb.base/display.exp: use runto_main, not run.
3532
beb998c6
AC
3533 * gdb.base/default.exp: Check for the current error message in the
3534 r abbreviation test.
7a292a7a
SS
3535 Add strongarm to the targets that know info float.
3536
beb998c6 3537 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3538 run which doesn't work with monitors.
3539
3540 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3541
3542 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3543
3544 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3545 program. Traps the case (in Cygmon) when the program never really
3546 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3547 more places, so I used my name. Sorry Mark...
3548
3549 * config/monitor.exp (gdb_target_monitor): added another
3550 target_info parameter: remotebinarydownload. This will set the
3551 remotebinarydownload flag if this is causing some boards trouble.
3552
35531999-03-18 Mark Salter <msalter@cygnus.com>
3554
3555 * lib/gdb.exp (continue_to_exit): New function.
3556
3557 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3558 * gdb.base/ending-run.exp: Ditto.
3559 * gdb.base/step-test.exp: Ditto.
3560
35611999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3562
3563 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3564 (suggested by Art Haas <ahaas@neosoft.com>).
3565
35661999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3567
3568 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3569
3570Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3571
3572 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3573 descriptions of types (short unsigned int vs unsigned short, etc).
3574
35751999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3576
3577 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3578 a call to strlen; sometimes we do have sources.
3579
35801999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3581
3582 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3583 character, so GDB won't print garbage after its end.
beb998c6 3584
c906108c
SS
3585 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3586 breakpoint there instead. Sometimes GCC emits memcpy to handle
3587 the large structures being passed by value, so we step into that
3588 instead of sum_array_print, which obscures what we're really testing.
3589 * gdb.base/step-test.exp: However, we do want a test that notices
3590 the bizarre steps into memcpy, so do that here. Add check for
3591 stepping into function calls that pass large structures by value.
3592 ("Is that a noun clause, or are you just happy to see me?")
3593 Remove all references to specific line numbers.
3594 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3595 New type and function.
3596 (main): Call large_struct_by_value, passing it a large struct by value.
3597 * lib/gdb.exp (gdb_get_line_number): New function.
3598
3599 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3600 more portable.
3601
7a292a7a
SS
36021999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3603
c906108c
SS
3604 * lib/gdb.exp: Doc fixes.
3605
7a292a7a
SS
36061999-03-05 Nick Clifton <nickc@cygnus.com>
3607
beb998c6 3608 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3609
36101999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3611
c906108c
SS
3612 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3613 commands. They're not germane to this test, and they don't work
3614 that way on remote targets.
3615
3fc11d3e
JM
36161999-03-01 James Ingham <jingham@cygnus.com>
3617
3618 * Changelog entries merged over from gdb development branch.
3619
3fc11d3e
JM
3620 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3621
3622 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3623 for outputting results of test run.
3624
2d4a1622 3625 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
3626
3627 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 3628
7a292a7a
SS
36291999-02-25 Felix Lee <flee@cygnus.com>
3630
3631 * lib/gdb.exp (debug_format): initialize
3632
c906108c
SS
36331999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3634
3635 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3636 * gdb.base/call-rt-st.c: Ditto.
3637
c906108c
SS
36381999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3639
3640 * gdb.threads/pthreads.exp (horiz): New variable.
3641 (test_startup): Fix regexps that capture thread numbers.
3642
36431999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3644
3645 * gdb.base/smoke.exp: Disambiguate two test case names (both
3646 called ``print'').
3647
3648Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3649
3650 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3651 compilation.
3652
36531999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3654
3655 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3656 actual output formatting.
3657 * gdb.base/smoke.exp: GDB removes leading 0's.
3658 * gdb.base/volatile.exp: Don't check type of remuneration;
3659 that variable is no longer defined in constvars.c.
3660 * gdb.base/step-test.c (main): Exit with explicit exit code.
3661 * gdb.base/step-test.exp: Remove two nexti checks--they are
3662 not portable.
3663
36641999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3665
3666 * gdb.base/help.exp ("help delete display"): Fix test to match
3667 gdb's output.
3668
3669 * gdb.base/long_long.c (known_types): Initialize values to zero.
3670 * gdb.base/long_long.exp: Step one more line
3671 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3672 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3673 unique test case names.
3674
3675Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3676
beb998c6 3677 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3678
3679 * gdb.c++/method.exp: Add missing close brace.
3680
36811999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3682
3683 * gdb.base/maint.exp: Use 'set height 0' to disable page
3684 prompting, not 'set height 400'.
3685
3686 Fix a bunch of timeouts.
3687 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3688 four separate tests, so expect doesn't take forever to match a ton
3689 of text against a regexp with lots of .* forms.
3690 ("maint print psymbols", "maint print symbols"): Make some of
3691 these greps more selective, so that expect doesn't try to wade
3692 through huge piles of output and time out.
3693
3694 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3695
3696 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3697 tests: one which doesn't expect shlib events to be reported, and
3698 another which does, but is XFAIL for all platforms other than
3699 HP/UX.
3700
3701 * gdb.base/break.exp: Teach the test suite that the `catch
3702 fork', `catch vfork', and `catch exec' commands produce error
3703 messages on platforms that don't provide these features.
3704
3705Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3706
3707 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3708 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3709 (shortening names from solib_threshold.exp etc), won't run on
3710 anything but HP-UX for the foreseeable future.
3711 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3712 reflect move.
3713
3714Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3715
3716 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3717 gdb.trace/Makefile.in (clean): Remove all test executables.
3718
3719Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3720
3721 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3722 successfully re-sets breakpoints in shared libraries.
3723 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3724
3725Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3726
beb998c6
AC
3727 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3728 and compiled w/o GCC.
c906108c
SS
3729
3730 * gdb.hp/watch-cmd.exp: ditto.
3731
3732 * gdb.hp/watch-hp.exp: ditto.
3733
3734 * gdb.hp/xdb1.exp: ditto.
3735
3736 * gdb.hp/xdb2.exp: ditto.
3737
3738 * gdb.hp/dbx.exp: ditto.
3739
3740Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3741
3742 * constvars.c: Remove C++-isms.
3743 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3744 with GCC.
3745
3746Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3747
3748 The following changes are part of the HP merge.
3749
3750 * gdb.base/break.exp: new tests to verify that catchpoints for
3751 fork, vfork, and exec don't trigger inappropriately.
3752
3753 * gdb.base/opaque.exp: compile one file at a time, then link.
3754
3755 * gdb.base/signals.exp: be more restrictive about which hppa
3756 systems receive a setup_xfail. new tests.
3757
3758 * gdb.base/solib_threshold.build: new file.
3759 * gdb.base/solib_threshold.exp: new file.
3760 * gdb.base/solib_threshold.link_opts: new file.
3761 * gdb.base/solib_threshold.mk: new file.
3762 * gdb.base/gen_solib_threshold.c: new file.
3763
3764 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3765 tests. New tests for enums inside classes.
3766
3767 * gdb.c++/compiler.cc: indicate support of template debugging.
3768
3769 * gdb.c++/demangle.exp: run hp style demangling tests.
3770
3771 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3772 tests.
3773
3774 * gdb.c++/misc.cc: changes to support new tests.
3775
3776 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3777 to support new tests.
3778
3779 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3780 gcc, then skip these tests.
3781
3782Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3783
3784 The following files are part of the HP merge; some had longer
3785 names at HP, but have been renamed to be no more than 14
3786 characters in length.
3787
3788 * gdb.hp/ambiguous.cc: new file.
3789 * gdb.hp/ambiguous.exp: new file.
3790 * gdb.hp/attach.exp: new file.
3791 * gdb.hp/attach2.exp: new file.
3792 * gdb.hp/classes-hp.exp: new file.
3793 * gdb.hp/ctti.exp: new file.
3794 * gdb.hp/ctti-add.cc: new file.
3795 * gdb.hp/ctti-add1.cc: new file.
3796 * gdb.hp/ctti-add2.cc: new file.
3797 * gdb.hp/ctti-add3.cc: new file.
3798 * gdb.hp/dbx.exp: new file.
3799 * gdb.hp/exception.cc: new file.
3800 * gdb.hp/exception.exp: new file.
3801 * gdb.hp/foll-exec.c: new file.
3802 * gdb.hp/foll-exec.exp: new file.
3803 * gdb.hp/foll-fork.c: new file.
3804 * gdb.hp/foll-fork.exp: new file.
3805 * gdb.hp/foll-vfork.c: new file.
3806 * gdb.hp/foll-vfork.exp: new file.
3807 * gdb.hp/inherit-hp.exp: new file.
3808 * gdb.hp/more-steps.exp: new file.
3809 * gdb.hp/namespace.cc: new file.
3810 * gdb.hp/namespace.exp: new file.
3811 * gdb.hp/optimize.exp: new file.
3812 * gdb.hp/pxdb.c: new file.
3813 * gdb.hp/pxdb.exp: new file.
3814 * gdb.hp/quicksort.exp: new file.
3815 * gdb.hp/reg-test.exp: new file.
3816 * gdb.hp/reg-test.s: new file.
3817 * gdb.hp/sized-enum.c: new file.
3818 * gdb.hp/sized-enum.exp: new file.
3819 * gdb.hp/start-stop.exp: new file.
3820 * gdb.hp/templ-hp.cc: new file.
3821 * gdb.hp/templ-hp.exp: new file.
3822 * gdb.hp/thr-lib.c: new file.
3823 * gdb.hp/thr-lib.exp: new file.
3824 * gdb.hp/thr-lib.h: new file.
3825 * gdb.hp/thr-liblib.c: new file.
3826 * gdb.hp/virtfun-hp.c: new file.
3827 * gdb.hp/virtfun-hp.exp: new file.
3828 * gdb.hp/watch-cmd.exp: new file.
3829 * gdb.hp/watch-hp.exp: new file.
3830 * gdb.hp/xdb1.exp: new file.
3831 * gdb.hp/xdb2.exp: new file.
3832 * gdb.hp/xdb3.exp: new file.
3833
3834Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3835
3836 The following files are part of the HP merge; some had longer
3837 names at HP, but have been renamed to be no more than 14
3838 characters in length.
3839
3840 * gdb.base/ss.h: new file.
3841 * gdb.base/call-ar-st.c: new file.
3842 * gdb.base/call-ar-st.exp: new file.
3843 * gdb.base/call-rt-st.c: new file.
3844 * gdb.base/call-rt-st-exp: new file.
3845 * gdb.base/call-strs.exp: new file.
3846 * gdb.base/ena-dis-br.exp: new file.
3847 * gdb.base/environ.exp: new file.
3848 * gdb.base/long_long.exp: new file.
3849 * gdb.base/sect-cmd.exp: new file.
3850 * gdb.base/shlib-cl2.exp: new file.
3851 * gdb.base/smoke.exp: new file.
3852 * gdb.base/so-impl-ld.c: new file.
3853 * gdb.base/so-impl-ld.exp: new file.
3854 * gdb.base/so-indr-cl.c: new file.
3855 * gdb.base/so-indr-cl.exp: new file.
3856 * gdb.base/varargs.exp: new file.
3857 * gdb.base/volatile.exp: new file.
3858 * gdb.base/whatis-exp.exp: new file.
7a292a7a 3859 * gdb.base/display.exp: new file.
c906108c
SS
3860 * gdb.c++/derivation.exp: new file.
3861 * gdb.c++/local.exp: new file.
3862 * gdb.c++/member-ptr.exp: new file.
3863 * gdb.c++/overload.exp: new file.
3864 * gdb.c++/ovldbreak.exp: new file.
3865 * gdb.c++/ref-types.exp: new file.
3866 * gdb.c++/ref-types2.exp: new file.
3867 * gdb.c++/userdef.exp: new file.
beb998c6 3868
c906108c
SS
3869Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3870
3871 * gdb.base/default.exp: Reflect wording change in remote.c.
3872
dc96c6c7 3873Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3874
3875 * gdb.base/help.exp: Update to reflect current text.
3876
3877Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3878
3879 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3880 they're stack variables and contain garbage.
3881 * gdb.c++/anon-union.exp: new file.
3882
3883 The following changes were made by David Taylor
3884 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3885 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3886 in changes by HP.
3887
3888 * gdb.base/bitops.exp: new file.
3889 * gdb.base/default.exp: change expected messages for catch and
3890 info catch tests to reflect HP merge changes.
3891 * gdb.base/enable-disable-break.exp
3892 * gdb.base/ending-run.c: new file.
3893 * gdb.base/long_long.c: new file.
3894 * gdb.base/maint.exp: new file.
3895 * gdb.base/pointers2.exp: new file.
3896 * gdb.base/shlib-call2.exp: new file.
3897 * gdb.base/solib.exp: new file.
3898 * gdb.base/step-test.c: new file.
3899 * gdb.c++/anon-union.cc: new file.
3900 * gdb.c++/local.cc: new file.
3901 * gdb.c++/member-pointer.cc: new file.
3902 * gdb.c++/method.cc: new file.
3903 * gdb.c++/ref-types.cc: new file.
3904 * gdb.c++/ref-types2.cc: new file.
3905 * gdb.c++/userdef.cc: new file.
beb998c6 3906
c906108c
SS
3907 * gdb.base/scope.exp: compile one file at a time, then link.
3908 * gdb.base/langs.exp: ditto.
3909 * gdb.base/list.exp: ditto.
beb998c6 3910
c906108c
SS
3911Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3912
3913 The following changes were made by David Taylor
3914 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3915 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3916 in changes by HP.
beb998c6 3917
c906108c
SS
3918 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3919 skip tests. When compiling pass c++ flag to gdb_compile.
3920 * gdb.c++/
beb998c6 3921
c906108c
SS
3922 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3923 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3924 (skip_hp_tests): new function.
3925 (gdb_preprocess): new function.
3926
3927 * configure.in (hpdir): decide whether to configure gdb.hp.
3928 * configure: regenerated.
3929
3930 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3931 to delete on clean.
3932 (EXECUTABLES): update to reflect new additions.
3933 * gdb.base/commands.exp: update message expected.
3934 * gdb.base/default.exp: add copyright notice.
3935 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3936 * gdb.base/help.exp: update messages to reflect current text.
3937 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3938 targets for recurse tests.
3939 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3940 skip this file.
3941
3942 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3943 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3944 compilation.
3945 * gdb.c++/misc.exp: ditto.
3946 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3947 run the tests. tell gdb_compile that it's a c++ compilation.
3948
3949 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 3950
c906108c
SS
3951 * gdb.base/all-bin.exp: new file.
3952 * gdb.base/arithmet.exp: new file.
3953 * gdb.base/assign.exp: new file.
3954 * gdb.base/completion.exp: new file.
3955 * gdb.base/cond-expr.exp: new file.
3956 * gdb.base/condbreak.exp: new file.
3957 * gdb.base/define.exp: new file.
3958 * gdb.base/dollar.exp: new file.
3959 * gdb.base/environment.exp: new file.
3960 * gdb.base/eval-skip.exp: new file.
3961 * gdb.base/jump.exp: new file.
3962 * gdb.base/logical.exp: new file.
3963 * gdb.base/pointers.exp: new file.
3964 * gdb.base/relational.exp: new file.
3965 * gdb.base/section_command.exp: new file.
3966 * gdb.base/whatis-expr.exp: new file.
3967
3968 * gdb.base/all-types.c: new file.
3969 * gdb.base/call-array-struct.c: new file.
3970 * gdb.base/call-return-struct.c: new file.
3971 * gdb.base/call-strings.c: new file.
3972 * gdb.base/callfuncs2.c: new file.
3973 * gdb.base/condbreak.c: new file.
3974 * gdb.base/constvars.c: new file.
3975 * gdb.base/display.c: new file.
3976 * gdb.base/int-type.c: new file.
3977 * gdb.base/jump.c: new file.
3978 * gdb.base/miscexprs.c: new file.
3979 * gdb.base/pointers.c: new file.
3980 * gdb.base/pointers2.c: new file.
3981 * gdb.base/shmain.c: new file.
3982 * gdb.base/shr1.c: new file.
3983 * gdb.base/shr2.c: new file.
3984 * gdb.base/solib.c: new file.
3985 * gdb.base/solib1.c: new file.
3986 * gdb.base/solib2.c: new file.
3987 * gdb.base/varargs.c: new file.
3988 * gdb.c++/derivation.cc: new file.
3989 * gdb.c++/overload.cc: new file.
3990 * gdb.c++/ovldbreak.cc: new file.
3991 * gdb.hp/attach.c: new file.
3992 * gdb.hp/attach2.c: new file.
3993 * gdb.hp/average.c: new file.
3994 * gdb.hp/compiler.c: new file.
3995 * gdb.hp/compiler.cc: new file.
3996 * gdb.hp/execd-program.c: new file.
3997 * gdb.hp/follow-exec.c: new file.
3998 * gdb.hp/follow-fork.c: new file.
3999 * gdb.hp/follow-vfork-and-exec.c: new file.
4000 * gdb.hp/misc-hp.cc: new file.
4001 * gdb.hp/more-steps.c: new file.
4002 * gdb.hp/optimize.c: new file.
4003 * gdb.hp/quicksort.c: new file.
4004 * gdb.hp/run-hp.c: new file.
4005 * gdb.hp/start-stop.c: new file.
4006 * gdb.hp/sum.c: new file.
4007 * gdb.hp/templates-hp.cc: new file.
4008 * gdb.hp/thread-local-in-lib.c: new file.
4009 * gdb.hp/thread-local-in-lib.h: new file.
4010 * gdb.hp/thread-local-in-lib.lib.c: new file.
4011 * gdb.hp/vforked-program.c: new file.
4012 * gdb.hp/virtfunc-hp.cc: new file.
4013 * gdb.hp/watchpoint-hp.c: new file.
4014 * gdb.hp/xdb.c: new file.
4015 * gdb.hp/xdb0.c: new file.
4016 * gdb.hp/xdb0.h: new file.
4017 * gdb.hp/xdb1.c: new file.
4018
4019Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4020
4021 The following change was made by Edith Epstein
4022 <eepstein@cygnus.com> as part of a project to merge in changes
4023 originally made by HP; HP did not create ChangeLog entries.
4024
4025 * gdb.c++/demangle.exp: changed the expected output for some
4026 ARM-style mangling -- removed second reference to datatype.
4027 For example, maint demangle __dt__11T1__pt__2_cFv
4028 T1<char>::~T1<char>(void)
4029 becomes,
4030 maint demangle __dt__11T1__pt__2_cFv
4031 T1<char>::~T1(void)
4032
4033 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4034
c906108c
SS
4035Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4036
4037 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4038 * gdb.trace/backtrace.exp: Likewise.
4039 * gdb.trace/circ.exp: Likewise.
4040 * gdb.trace/collection.exp: Likewise.
4041 * gdb.trace/deltrace.exp: Likewise.
4042 * gdb.trace/infotrace.exp: Likewise.
4043 * gdb.trace/limits.exp: Likewise.
4044 * gdb.trace/packetlen.exp: Likewise.
4045 * gdb.trace/passc-dyn.exp: Likewise.
4046 * gdb.trace/passcount.exp: Likewise.
4047 * gdb.trace/report.exp: Likewise.
4048 * gdb.trace/save-trace.exp: Likewise.
4049 * gdb.trace/tfind.exp: Likewise.
4050 * gdb.trace/tracecmd.exp: Likewise.
4051 * gdb.trace/while-dyn.exp: Likewise.
4052 * gdb.trace/while-stepping.exp: Likewise.
4053
40541998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4055
4056 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4057
4058Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4059
4060 From Brendan Kehoe:
4061 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4062 int return types.
4063
4064Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4065
4066 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4067 remote dos host testing right.
4068
4069Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4070
4071 * gdb.base/corefile.exp: remove some xfails.
4072
4073Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4074
4075 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4076 have different timestamps.
4077
4078Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4079
4080 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4081 gdb.base/default.exp: Replace "exec" with "executable".
4082
4083Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4084
4085 * gdb.base/default.exp: Change else if to elseif from previous
4086 delta.
4087
4088Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4089
4090 * gdb.base/default.exp: Add brace missing from previous delta.
4091
4092Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4093
4094 * gdb.base/default.exp: Support test for info float for all
4095 varieties of arm toolchain.
4096
dc96c6c7 4097Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4098
4099 * gdb.trace/*.exp: remove "remote_download" command.
4100
dc96c6c7 4101Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4102
4103 * gdb.trace/*.exp: remove -gdwarf from compile.
4104
4105Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4106
4107 * gdb.trace/configure.in(AC_INIT): typo
4108 * gdb.trace/configure: regenerated
4109
dc96c6c7 4110Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4111
4112 * config/m68k-emc.exp: New file.
4113 * lib/<emc-support.exp trace-support.exp}: New files.
4114 * configure.in: add new test directory gdb.trace.
4115 * gdb.trace/{configure configure.in Makefile.in}: New files.
4116 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4117 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4118 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4119 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4120 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4121 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4122 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4123
dc96c6c7 4124Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4125
4126 * gdb.c++/classes.exp: Change all regular expressions to match
4127 arbitrary combinations of newline/carriage-return, so that they
4128 will work equally well on Unix and Windows.
4129 * gdb.c++/inherit.exp: ditto.
4130 * gdb.c++/virtfunc.exp: ditto.
4131
41321998-08-11 Dawn Perchik <dawn@cygnus.com>
4133
4134 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4135
c2d11a7d
JM
4136Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4137
4138 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4139 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4140 to use a0-a3/d0-d3 as needed.
4141
4142Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4143
4144 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4145 * gdb.disasm/am33.exp: Corresponding changes.
4146
c906108c
SS
41471998-07-11 Felix Lee <flee@cygnus.com>
4148
4149 * gdb.base/callfuncs.exp: add cmp10 test.
4150 * gdb.base/callfuncs.c (cmp10): new function.
4151
4152Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4153
beb998c6 4154 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4155 into two parts to get around a synchronization problem in expect.
4156
3fc11d3e
JM
4157Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4158
4159 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4160
4161 * configure.in: Add options for gdbtk testsuite.
4162
4163 * configure: Regenerate.
4164
4165 * gdb.gdbtk: New directory to hold gdbtk tests.
4166
c906108c
SS
4167Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4168
4169 * gdb.fortran/types.exp: Escape brackets in expect patterns
4170 for test_float_literal_types_accepted tests.
4171 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4172 before run test.
4173
c2d11a7d
JM
4174Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4175
4176 * am33.exp: Just compile, do not link the testcase.
4177 * am33.s: Add ".am33" pseudoop to force am33 mode.
4178
c906108c
SS
41791998-06-25 Felix Lee <flee@cygnus.com>
4180
4181 * gdb.base/setshow.exp: make sure $pc is sane.
4182
4183 * gdb.stabs/weird.exp: split expect patterns properly.
4184
c2d11a7d
JM
4185Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4186
4187 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4188 * gdb.disasm/am33.exp: Run it.
4189
dc96c6c7 4190Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4191
4192 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4193 match processing (and eliminate spurious timeouts when running).
4194
dc96c6c7 4195Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4196
4197 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4198 exception test, but conditionalize it on target [mach | gnu].
4199
dc96c6c7 4200Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4201
4202 * gdb.base/overlays.exp: fixup compile line for linker script.
4203
4204Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4205
4206 * gdb.fortran/types.exp: don't guess at float size.
4207
4208Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4209
4210 * gdb.base/exprs.exp: delete test that depends on int size.
4211
4212Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4213
4214 * config/sim.exp: Removed checks for target triplets.
4215 (gdb_target_sim): Use gdb,target_sim_options.
4216
4217Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4218
4219 * gdb.base/reread.exp: New file.
4220 * gdb.base/reread1.c: New file.
4221 * gdb.base/reread2.c: New file.
4222
4223Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4224
4225 * config/sim.exp: Use 'target sim -sparclite' when running
4226 SPARClite programs.
4227
4228Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4229
4230 * gdb.base/structs2.exp: New file.
4231 * gdb.base/structs2.c: New file.
4232
4233Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4234
4235 * gdb.asm/common.inc: New file.
4236 * gdb.asm/d10v.inc: New file.
4237 * asm-source.exp: Pass -I's to gas to find .inc files.
4238 Update line numbers in expected output.
4239 * asmsrc1.s: Rewrite.
4240 * asmsrc2.s: Rewrite.
4241 * configure.in: Create arch.inc symlink.
4242 * configure: Regenerate.
4243 * Makefile.in (distclean): Delete arch.inc.
4244
4245Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4246
4247 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4248 (t_enum_value2): ditto
4249 (t_enum_value3): ditto
4250 (main): ditto
4251Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4252
4253 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4254 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4255 change.
4256 Use gdb_test instead of send_gdb/gdb_expect sequences.
4257
4258Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4259
4260 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4261 not void.
4262
4263Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4264
4265 * gdb.base/branches.c: Code with lots of loops and
4266 subroutines. Used to test gdbs ability to single step through PC
4267 changes, especially to test mips-tdep.c:mips_next_pc
4268
4269Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4270
4271 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4272 more rigorous EGCS C++ error checking.
4273
4274Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4275
4276 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4277 tests.
c906108c 4278 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4279 function when asleep.
c906108c 4280 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4281 for i*86 Linux and SVR4 signal handling problems.
4282 Remove linux xfail for `next to handler in signals_tests_1', fixed
4283 by recent infrun.c change.
c906108c 4284 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4285 stack backtraces.
c906108c
SS
4286 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4287 target.[ch] change.
4288
4289Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4290
4291 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4292 for a newline from gdb before continuing.
4293 (default_gdb_exit): Just look for y or n.
4294 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4295 it does, fail the rests of the tests in the file.
4296
4297Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4298
4299 * config/cygmon.exp: New file.
4300
4301Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4302
4303 * gdb.base/list.exp: Fix problem with "list default lines around
4304 main" test on remote targets.
4305
4306 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4307 run test on remote targets.
4308
4309Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4310
4311 * gdb.asm: New directory.
4312 * configure.in: Configure it.
4313 * configure: Regenerate.
4314 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4315 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4316
4317Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4318
4319 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4320
dc96c6c7 4321Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4322
c906108c
SS
4323 * gdb.base/overlays (several files): Merge the two overlay
4324 managers into one. Change variables (foox, barx, bazx, grbxx)
4325 back into ints but force them to load in their proper sections.
4326
4327Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4328
4329 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4330 on-chip insn memory and IMAP1 to upper 128k.
4331 (D10VCopy): Handle memory regions crossing 16k boundaries.
4332 (D10VCopy): Transfer data in 32 bit chunks.
4333
4334Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4335
4336 * gdb.base/overlays.c (main): Exit normally when result is
4337 correct.
4338
4339 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4340 map. Include space for printf in .text segment.
4341
4342 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4343 updated d10v memory VMA/LMA map.
4344 (D10VCopy): Call D10VTranslate.
beb998c6 4345
c906108c
SS
4346Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4347
4348 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4349
4350 * gdb.base/bar.c (barx, bar): Change variable to small array so
4351 that it won't be put into the .sdata - small data -
4352 section. Update reference.
4353 * gdb.base/baz.c (bazx, baz): Ditto.
4354 * gdb.base/foo.c (foox, foo): Ditto.
4355 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4356
4357 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4358 to be arrays.
beb998c6 4359
dc96c6c7 4360Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4361
c906108c
SS
4362 * gdb.base/overlays.exp: fix up and get working again.
4363 Add tests for backtraces from an overlay function.
beb998c6 4364
c906108c
SS
4365Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4366
4367 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4368 "calling function with watchpoint enabled".
4369
4370Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4371
4372 * gdb.base/break.exp (test_next_with_recursion): Remove
4373 gdb_suppress_tests for d10v-*-*.
4374 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4375 pending review of whether it is useful or not.
4376
4377Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4378
4379 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4380
4381Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4382
4383 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4384 * config/dve.exp: New file to support Densan boards.
4385
4386Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4387
4388 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4389 reads and BSD.
4390
4391Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4392
4393 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4394 response.
4395
4396 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4397
4398Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4399
4400 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4401 test.
4402
4403 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4404 target_sizeof_long and target_bigendian_p.
4405 (structs_by_value, structs_by_reference): Check values according
4406 to targets word size and endianess.
beb998c6 4407
c906108c
SS
4408Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4409
4410 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4411 output.
4412
4413Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4414
4415 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4416 Update test of set args help to match source change.
4417
4418Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4419
4420 * gdb.base/default.exp: Expect help system output to be in
4421 alphabetical order.
4422 * gdb.base/help.exp: Ditto.
4423
4424Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4425
4426 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4427 "i*86-pc-linux-gnu*".
4428 * gdb.base/interrupt.exp: Ditto.
4429 * gdb.base/corefile.exp: Ditto.
4430
4431 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4432 define vxworks when building the testcase.
4433
4434 * gdb.base/ptype.exp: Fix testnames to be unique.
4435 * gdb.base/radix.exp: Ditto.
4436 * gdb.base/term.exp: Ditto.
4437 * gdb.base/whatis.exp: Ditto.
4438 * gdb.c++/classes.exp: Ditto.
4439
4440Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4441
4442 * gdb.base/callfuncs.exp: Fix indentation.
4443
4444 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4445 suppress_flag has been set.
4446 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4447 target feature.
4448
4449Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4450
4451 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4452 the testcase.
4453
4454 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4455 set_debug_traps() and breakpoint().
4456 * gdb.c++/misc.cc (main): Ditto.
4457 * gdb.c++/templates.cc (main): Ditto.
4458 * gdb.c++/virtfunc.cc (main): Ditto.
4459
4460Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4461
4462 * lib/gdb.exp(gdb_step_for_stub): New function.
4463 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4464 exists, reload the executable and do a "continue" instead of
4465 doing a jump.
4466 (runto_main): Use gdb_step_for_stub.
beb998c6 4467
c906108c
SS
4468 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4469 tests to have unique names.
4470 * gdb.base/callfuncs.exp: Ditto.
4471 * gdb.base/commands.exp: Ditto.
4472 * gdb.base/default.exp: Ditto.
4473 * gdb.base/help.exp: Ditto.
4474 * gdb.base/list.exp: Ditto.
4475 * gdb.base/opaque.exp: Ditto.
4476 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4477 similar tests.
beb998c6 4478
c906108c
SS
4479 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4480 * gdb.c++/cplusfuncs.cc: Ditto.
4481 * gdb.c++/virtfunc.cc: Ditto.
4482
4483 * config/monitor.exp: Keep track of the last file we saw, rather
4484 than trying to get the info from gdb.
4485
4486 * gdb.fortran/types.exp: Move comment to previous line.
4487
4488Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4489
4490 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4491 target mode.
4492
4493Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4494
4495 From Bob Manson:
4496 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4497 string from GDB when it connects.
4498
4499 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4500
4501Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4502
4503 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4504 if we can't get a debug format from GDB (we may be testing an
4505 older GDB). Use a 10 second timeout when checking for the format.
4506
4507 * gdb.stabs/weird.exp: Fix quoting.
4508
4509 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4510
4511Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4512
4513 * config/arm-ice.exp: New file.
4514
4515Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4516
4517 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4518 until it has been modified to work with the new testsuite.
4519
99707966 4520 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4521 testcase won't compile, cause all of the testcases in the file to
4522 fail instead.
4523
4524 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4525 (gdb_clear_suppressed): New procedure.
4526 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4527 it contains a positive value.
4528
4529Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4530
4531 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4532
4533 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4534
4535Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4536
4537 * lib/gdb.exp (setup_xfail_format): New function.
4538 (get_debug_format): New function to get debug format.
4539 (debug_format): New global variable to hold last value set
4540 by get_debug_format.
4541 * gdb.base/list.exp: Call get_debug_format and expect some
4542 tests to fail for DWARF 1 and COFF formats.
4543 * gdb.c++/ptype.exp: Ditto.
4544 * gdb.c++/classes.exp: Ditto.
4545 * gdb.c++/cplusfuncs.exp: Ditto.
4546 * gdb.c++/inherit.exp: Ditto.
4547 * gdb.c++/templates.exp: Ditto.
4548 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4549
c906108c
SS
4550Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4551
4552 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4553 host doesn't have a currently-open connection.
4554
4555 * config/sparclet.exp: Cleanups and fixes to make it generic for
4556 any gdb stub target. Handle cases where gdb doesn't respond when
4557 interrupted in a sane fashion.
4558
4559 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4560 same thing in a totally different way.
4561
4562 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4563 setting "timeout".
4564 (gdb_start): We set the global gdb_prompt variable in
4565 default_gdb_init now.
4566
4567Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4568
4569 * gdb.base/printcmds.exp: Fix "check for floating addition"
4570 regexp to accept results within approx +/- .01 of exact value.
4571 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4572
4573Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4574
4575 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4576 properly.
4577 (gdb_expect): Add optional timeout parameter, and add timeout
4578 value to various calls.
4579 (gdb_suppress_tests): Only give one warning message per group.
4580
4581Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4582
4583 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4584 global variables. Handle getting a value for $timeout more
4585 gracefully.
4586
4587Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4588
4589 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4590 initialize.
4591 (default_gdb_init): New procedure; allow gdb_init to be overridden
4592 by a target configuration file.
4593 (gdb_expect): Pass the timeout to remote_expect.
4594
4595 * config/monitor.exp(gdb_load): Fix typo in regexp.
4596
4597Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4598
4599 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4600
4601Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4602
4603 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4604 here. Call gdb_target_exec before rebooting the target, to make
4605 sure the connection to the target is closed.
4606 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4607 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4608 Also detect "Timeout reading from remote" error.
4609
4610 * config/gdbserver.exp: Pass the executable being loaded to
4611 gdb_target_monitor. Don't call gdb_file_cmd here; let
4612 gdb_target_monitor do it.
4613
4614 * gdb.disasm/hppa.exp: Don't use exec_output.
4615
4616Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4617
4618 * gdb.base/list.exp: If we're debugging a non-native target,
4619 try to set the pc register to point to the start of the
4620 program before doing the first list command.
4621
4622 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4623 test_calls after restarting.
4624
4625 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4626 reloading.
4627
4628 * gdb.base/watchpoint.exp: Fix typo.
4629
4630 * gdb.base/setshow.exp: Check for use_gdb_stub.
4631
4632 * gdb.base/break.exp: Fix continue until exit test for the gdb
4633 stub case.
4634 * gdb.base/langs.exp: Ditto.
4635
4636 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4637 gdb_load_offset. If we weren't given a file to load, figure out
4638 what the current file is and use it.
4639
4640 * config/i386-bozo.exp: New file.
4641
4642Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4643
4644 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4645 feature.
4646
4647 * config/proelf.exp: New entry.
4648
4649Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4650
4651 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4652 of regexps.
4653
4654 * gdb.base/watchpoint.exp: Don't run the test_stepping
4655 tests if gdb can't call functions on the target.
4656
4657 * gdb.base/setshow.exp: Don't run the set prompt tests if
4658 the board has gdb_prompt set.
4659
4660Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4661
4662 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4663 * gdb.base/commands.exp: Likewise.
4664 * gdb.base/setshow.exp: Likewise.
4665
4666Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4667
4668 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4669 feature.
4670
4671 * config/i960.exp: New file.
4672
4673Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4674
4675 * gdb.base/funcargs.exp: Check for gdb,short_int target
4676 feature instead of looking for explicit target triplets.
4677
dc96c6c7 4678Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4679
beb998c6 4680 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4681 "p 123DEADBEEF", to check parse_number.
4682 * top.c: change "to enable to enable" to "to enable" in a couple
4683 of help strings.
4684
4685Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4686
4687 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4688 on the mn10300.
beb998c6 4689
c906108c
SS
4690Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4691
4692 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4693 where the test executable is run with explicit args.
4694 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4695
4696Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4697
4698 * gdb.base/run.c: Use FAKEARGV to build test executable that
4699 does not require a command line arg, since most simulators
4700 don't currently support passing such an arg into the simulated
4701 program.
4702 * gdb.base/commands.exp: Change tests to insert the proper
4703 value as the arg to the first recursive factorial call. Change
4704 compilation line to define FAKEARGV at compile time.
4705
4706Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4707
4708 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4709 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4710 function with watchpoint enabled" test.
4711
4712Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4713
4714 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4715 Don't call gdb_test when the command doesn't return to a gdb prompt.
4716
4717 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4718 "Tests restarted" messages.
4719
4720Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4721
4722 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4723
dc96c6c7 4724Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4725
4726 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4727 for INFO SYMBOL; add help tests for OVERLAY commands.
4728 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4729 add tests for OVERLAY commands
4730 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4731 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4732 * gdb.base/sigall.c: add usestubs code frag
4733 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4734
c906108c
SS
4735Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4736
4737 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4738 failures.
4739 (gdb_stop_suppressing_tests): Note that tests have restarted.
4740
4741Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4742
4743 * config/h8300.exp: New file.
4744
4745Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4746
4747 * gdb.base/setshow.exp: Check for the existence of a
4748 feature, not its value.
4749
4750Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4751
4752 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4753
4754 * gdb.base/scope.exp: It's now init0(), not init().
4755
4756 * gdb.base/scope0.c: For now, change init() to be init0().
4757
4758 * config/monitor.exp: Use gdb_serial in preference to serial
4759 or netport.
4760
4761 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4762 and it's not already set.
4763
4764Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4765
4766 * gdb.base/setshow.exp: Only test the run command if the target
4767 isn't using a stub and if it supports argument passing.
4768
4769Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4770
4771 * config/udi.exp(gdb_start): Make sure UDICONF is set
4772 properly before starting gdb.
4773
4774Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4775
4776 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4777 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4778 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4779
4780Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4781
4782 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4783 specialized code to reboot the board, use remote_reboot instead.
4784
4785 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4786
4787 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4788
4789 * config/monitor.exp: Make sure we disconnect from the target.
4790 Also, try a reboot/reload cycle instead of failing if the
4791 load fails.
4792
4793Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4794
4795 * gdb.base/default.exp: Don't set match_max.
4796 * gdb.base/help.exp: Ditto.
4797 * gdb.base/list.exp: Ditto.
4798 * gdb.base/signals.exp: Ditto.
4799
4800 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4801 set, use remote_ld to download the testcase instead of
4802 the GDB loader.
4803
4804Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4805
4806 * config/vr5000.exp: New file.
4807
4808 * config/monitor.exp(gdb_target_monitor): Add pattern for
4809 "Ending remote" to detect errors in connecting.
4810
4811 * gdb.base/setshow.exp: Add .* within auto language test.
4812
4813 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4814 target feature.
4815
4816 * config/monitor.exp(gdb_load): Check for a failure when loading,
4817 and reboot the board if necessary.
4818
4819 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4820 a set of tests. Remove print.* from the patterns being checked.
4821
4822Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4823
4824 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4825 refer to gdb_spawn_id.
4826
4827 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4828 longer used.
4829 * config/sparclet.exp: Ditto.
4830 * config/sparclet-old.exp: Ditto.
4831 * config/slite.exp: Ditto.
4832 * config/sim.exp: Ditto.
4833 * gdb.base/funcargs.exp: Ditto.
4834
4835 * lib/gdb.exp:Remove references to gdb_spawn_id.
4836 (gdb_expect): Move to remote.exp.
4837
4838Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4839
4840 * config/monitor.exp: Detect the "Couldn't establish connection"
4841 message from GDB.
4842
4843Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4844
4845 * gdb.base/bitfields.exp: Use runto instead of explicit
4846 gdb_run_cmd/gdb_expect sequences.
4847
4848 * gdb.base/break.exp(text_next_with_recursion): Add match for
4849 gdb_expect call.
4850
4851 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4852 We also need to handle the "A program is being debugged already"
4853 prompt from gdb. Use gdb_test to set the baud rate.
4854
4855 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4856 to 20000. Really. I mean it.
4857
4858Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4859
4860 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4861 fails. If suppress_flag is set, skip perror message about not
4862 being able to send to GDB.
4863 (send_gdb): If suppress_flag is set, don't try to send commands to
4864 GDB.
4865 (gdb_expect): If suppress_flag is set, always fail immediately.
4866 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4867 (gdb_init): Call gdb_stop_suppressing_tests.
4868 (default_gdb_exit): Ditto.
4869 (default_gdb_start): Ditto.
4870
4871 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4872 gdb_stop_suppressing_tests as appropriate.
4873 * gdb.base/break.exp: Ditto.
4874 * gdb.base/callfuncs.exp: Ditto.
4875 * gdb.base/commands.exp: Ditto.
4876 * gdb.base/exprs.exp: Ditto.
4877 * gdb.base/funcargs.exp: Ditto.
4878 * gdb.base/list.exp: Ditto.
4879 * gdb.base/recurse.exp: Ditto.
4880 * gdb.base/scope.exp: Ditto.
4881 * gdb.base/structs.exp: Ditto.
4882 * gdb.c++/inherit.exp: Ditto.
4883
4884Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4885
4886 * config/vr4300.exp: New file.
4887
99707966
MC
4888 * gdb.*/*.exp: Call gdb_expect instead of expect.
4889
4890 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
4891
4892Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4893
4894 * lib/gdb.exp(gdb_init): New function.
4895
4896 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4897 for each individual variable set.
4898
4899 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4900 name.
4901
4902 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4903
4904 * gdb.base/scope.exp: Use gdb_test.
4905
4906 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4907 aborting; the testsuite driver will do that for us (see
4908 gdb_finish). Also, use gdb_test in a few more places.
4909
4910Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4911
4912 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4913
4914Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4915
4916 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4917 and "add_tests" are not at the same address.
4918
4919Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4920
4921 * gdb.base/ptype.exp: Use gdb_test.
4922
4923Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4924
4925 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4926 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4927 left in. No longer expect them to fail.
4928
4929 * gdb.stabs/*.mt; Deleted, no longer used.
4930 * gdb.stabs/configure.in: Remove references to target makefile
4931 frags.
4932 * gdb.stabs/configure: Rebuilt.
4933
4934 * gdb.disasm/*.mt: Deleted, no longer used.
4935 * gdb.disasm/configure.in: Remove references to target makefile
4936 frags. Use "sh3.s" as the unique filename for this directory.
4937 * gdb.disasm/configure: Rebuilt.
4938
4939 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4940 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4941 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4942
4943Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4944
4945 * config/udi.exp: Use mondfe,name instead of remote_host.
4946
4947Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4948
4949 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4950 a function with a watchpoint enabled on the mn10200.
4951
4952 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4953 before trying to create it!
4954
4955Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4956
4957 * config/vx.exp: Use hostname instead of netport.
4958
4959 * config/vxworks.exp: New file.
4960
4961 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4962
4963 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4964 gdb before assuming everything worked. Send a ^C if a timeout
4965 occurs.
4966
4967 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4968 $gdb_spawn_id directly.
4969 (gdb_run_cmd): Try _start as well as start. Use the target feature
4970 gdb,start_symbol as the symbol to start from when jumping.
4971
4972Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4973
4974 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4975 redundant) test.
4976
4977 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4978 it doesn't lose for 16bit integer systems.
4979
4980Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4981
4982 * gdb.fortran/types.exp: If the target doesn't support "double"
4983 data types, then expect "real" types to only be 4 bytes.
4984
4985 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4986 call tests if the target doesn't support inferior function calls.
4987
4988 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4989 in printf tests.
4990
4991Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4992
4993 * gdb.base/help.exp: Disable "help set", "help show", and
4994 "help support". Simplify regexp for "help stack".
4995
4996 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4997 to 60 seconds. Temporarily set match_max to 15000 around the
4998 "info copying" test.
4999
5000 * gdb.base/nodebug.exp: Don't try to do an inferior function
5001 call if the target doesn't support them.
5002 * gdb.base/printcmds.exp: Likewise.
5003 * gdb.base/setvar.exp: Likewise.
5004 * gdb.base/structs.exp: Likewise.
5005 * gdb.c++/templates.exp: Likewise.
5006 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5007
5008 * gdb.base/recurse.exp: Enable for the mn10200.
5009
5010 * configure.in: Do configure gdb.stabs directory for *-*-elf
5011 targets.
5012 * configure: Rebuilt.
5013
5014 * gdb.base/break.exp: Check for gdb,noresults before testing
5015 exit status and/or results from the target.
5016 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5017 * lib/gdb.exp: Remove old (now bogus) initialization of
5018 noinferior, noargs, noresults and nosignals.
5019
5020Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5021
5022 * config/sh.exp: New file.
5023
5024 * config/slite.exp: Try to connect multiple times to the board
5025 before rebooting. Only send a "monitor run" if need_monitor_run
5026 is set.
5027
5028 * gdb.base/break.exp: Don't do the "stub continue" test if
5029 the target has gdb_stub set.
5030
5031 * gdb.base/callfuncs.exp: Increase the timeout.
5032
5033 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5034 if the target has gdb,noinferiorio set.
5035
5036 * gdb.base/list.exp: Increase match_max to 10000 characters.
5037
5038 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5039
5040 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5041 target.
5042
5043 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5044
5045Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5046
5047 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5048 trying to delete the copy of gdb. Catch the file delete so we
5049 don't die if the delete fails; also, the file should be copied to
5050 the host, not to the build.
5051
5052Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5053
5054 * lib/gdb.exp(gdb_test): Surround the result pattern with
5055 parenthesis in case it contains multiple regexps separated
5056 with |.
5057
5058 * gdb.base/watchpoint.exp: Use gdb_test.
5059 * gdb.base/default.exp: Ditto.
5060
5061Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5062
99707966 5063 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5064
c906108c
SS
5065 * gdb.base/scope.exp: Use gdb_test.
5066 * gdb.c++/classes.exp: Ditto.
5067 * gdb.c++/inherit.exp: Ditto.
5068
5069Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5070
5071 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5072 remote_exec instead.
5073 * gdb.base/corefile.exp: Don't be ridiculous.
5074 * gdb.base/*.c: Add missing stub invocations.
5075
5076Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5077
5078 * config/slite.exp: Miscellaneous fixes.
5079
5080 * lib/gdb.exp: Fix runto.
5081
5082 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5083 the target.
5084
5085 * gdb.base/watchpoint.exp: Fix regexp.
5086
5087 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5088 close and wait commands, as the descriptor may now be
5089 invalid. Always call "remote_close host".
5090
5091Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5092
5093 Major rewrite for testsuite revision.
beb998c6 5094
c906108c
SS
5095 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5096 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5097 instead of relying on spawn_id to always contain a valid
5098 spawn id.
5099 (get_compiler_info): New procedure to build the ${binfile}.ci
5100 file, instead of replicating this in N different places.
5101 (gdb_compile): New procedure.
beb998c6 5102
c906108c
SS
5103 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5104 appropriate arguments) instead of compile. Use gdb_test in a lot
5105 more places. Use send_gdb instead of send. Always run gdb_start
5106 at the start of a testcase, as this is no longer done magically.
5107
5108 config/*-gdb.exp: Rename without the -gdb suffix.
5109
5110 config/mips.exp: Use remote_close instead of exit_remote_shell.
5111 config/monitor.exp: Use target_info instead of looking at
5112 baud, timeout, etc.
5113 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5114
5115Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5116
5117 * gdb.c++/templates.exp (test_ptype_of_templates),
5118 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5119 Update expect patterns for destructors and assignment operators
5120 to match corresponding c-typeprint.c changes.
5121 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5122 to destructor breakpoint test, GDB should be able to set the
5123 destructor breakpoint without specifying arguments.
5124
5125Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5126
5127 * gdb.threads/pthreads.exp: Change result for failure to compile due
5128 to lack of pthreads runtime support from an error to simply an
5129 unsupported test, per dejagnu standards.
5130
5131Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5132
5133 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5134 where GDB exits to reduce pattern match time.
5135 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5136
5137 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5138
dc96c6c7 5139Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5140
5141 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5142 * gdb.base/default.exp: ditto.
5143 * gdb.base/nodebug.exp: ditto.
5144 * gdb.base/printcmds.exp: ditto.
5145 * gdb.base/ptype.exp: ditto.
5146 * gdb.base/setvar.exp: ditto.
5147 * gdb.base/structs.exp: ditto.
5148 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5149
5150Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5151
5152 * configure, */configure: Rebuild with autoconf 2.12.
5153
5154Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5155
5156 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5157 use new i*86-pc-linux*-gnu quads.
5158 * gdb.base/corefile.exp: Ditto.
5159 * gdb.base/signals.exp: Ditto.
5160 * gdb.base/sigall.exp: Ditto.
5161 * gdb.base/interrupt.exp: Ditto.
5162
5163 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5164 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5165 RedHat 4.0.
beb998c6 5166
c906108c
SS
5167 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5168 linux. This allows the test case to at least compile on latest
5169 linux, but still not run due to missing the threads runtime library.
5170
5171Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5172
5173 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5174 directory to search gdb directory. Accept and step over conditional
5175 stack alignment code. Consume $prompt in failure cases.
5176 Reset timeout to $oldtimeout instead of some arbitrary value.
5177 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5178 timeout problems with infinite stack backtraces.
5179 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5180 Accept function parameters for linkfunc member.
5181
5182Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5183
5184 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5185 (CXXFLAGS): Remove, unreferenced.
5186 (B_OPTIONS): Add for -B options and add code to initialize with
5187 previous -B options and also add -B option to pick up cross compiled
5188 runtime.
5189 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5190 doing cross compiles.
5191 (target_alias): Declare global.
5192 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5193 to verify that gcc exists in build tree, and if so set CC to that
5194 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5195
c906108c
SS
5196Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5197
5198 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5199 ptype test for anonymous union. Fixup testcase to match
5200 current gcc debug output.
5201
5202Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5203
5204 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5205 force argument to an unsigned long type.
5206
5207Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5208
5209 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5210 tests and anonymous union print/ptype tests.
5211 * gdb.base/list.exp (test_forward-search): Increase timeout by
5212 5 minutes for the "search extremely long line" case.
5213 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5214 completely optional and that the pass/fail messages use the command as
5215 the message if that third arg is a null string.
5216 (gdb_test_exact): Arrange that a null string pattern means match a
5217 null string output rather than any output, which might include random
5218 errors.
5219 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5220 backtrace test.
5221 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5222 always failing and failure is now exposed by gdb.exp changes.
5223
5224Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5225
5226 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5227 weren't being noted.
5228
5229Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5230
5231 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5232 * gdb.stabs/weird.exp: Remove v_comb xfails.
5233
dc96c6c7 5234Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5235
5236 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5237 list.exp scope.exp watchpoint.exp]
5238 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5239
dc96c6c7 5240Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5241
5242 * config/monitor.exp: Increase download timeout to 1000 seconds.
5243
dc96c6c7 5244Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5245
5246 * config/m32r.exp: Increase timeout to 120 seconds.
5247
5248Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5249
5250 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5251 and accept older ordering as obsolescent gcc or gdb.
5252 * gdb.c++/templates.exp: Ditto.
5253 * gdb.c++/virtfunc.exp: Ditto.
5254
5255Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5256
5257 * gdb.base/coremaker.c: Add code to mmap some data so we
5258 can check that it ends up in the core file.
5259 * gdb.base/corefile.exp: Add test to read mmapped data
5260 from core file.
5261
dc96c6c7 5262Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5263
5264 * config/m32r.exp: New file.
5265
5266Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5267
5268 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5269 that cflags can contains -gstabs, and work correctly for other tests.
5270
dc96c6c7 5271Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5272
5273 * gdb.base/setshow.exp: New file, tests show and set.
5274 * gdb.base/setshow.c: New file, tests show and set.
5275 * gdb.base/help.exp: Add test for help set|show annotate.
5276 * gdb.base/default.exp: Add test for set|show annotate.
5277
5278Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5279
5280 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5281 errors unique.
5282 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5283 explicitly.
5284
5285Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5286
5287 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5288 and width commands. This is done elsewhere.
5289 * (gdb_start): Don't call gdb_start_sim here. That's already
5290 done in gdb_load. This fixes lots of failures in default.exp.
5291
5292Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5293
5294 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5295 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5296 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5297 in the same we we treat other failures (since it may be an expected
5298 condition), rather than as an error.
5299 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5300 old test format.
5301
5302Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5303
5304 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5305 (distclean maintainer-clean realclean): No need to remove files
5306 twice. Nuke the duplicates.
5307 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5308 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5309 Remove config.h along with other config files.
5310
5311Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5312
5313 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5314 "p func1 ()" and note that rests of tests are skipped.
5315 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5316 setup_xfails for "print func2::coremaker_local".
5317 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5318 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5319 affected by the previous run test.
5320 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5321 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5322 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5323 "pass int powerset tuple" and "pass modeless int powerset tuple".
5324 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5325 "real write 4" and "real write 8".
5326 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5327 setup_xfails for "print vs1 after tuple assign 2",
5328 "print \$i after tuple assign 2", and
5329 "print vs2 after tuple assign 2".
5330 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5331 meaningful error message and return -1 so the caller can
5332 suppress further tests and avoid a cascade of errors.
beb998c6 5333
c906108c
SS
5334Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5335
5336 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5337 format for printing version.
5338 * gdb.base/default.exp: Ditto.
5339 * gdb.base/interrupt.exp: Fix problem with cascade of
5340 errors if child process dies while calling a function.
beb998c6 5341
c906108c
SS
5342Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5343
5344 * Makefile.in (VPATH): Add
5345 * Makefile.in (Makefile, config.status): Fix rules so things get
5346 remade when necessary.
5347
5348Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5349
5350 * Makefile.in (just-check): Add path to sibling expect dir
5351 to environment variable specified by RPATH_ENVVAR.
5352
5353Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5354
5355 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5356 (just-check): Add shared library paths for libstdc++, tk,
5357 tcl, bfd, and opcodes to the environment variable specified
5358 in RPATH_ENVVAR.
5359 * configure.in: Add support to recognize --enable-shared flag
5360 and generate correct value for RPATH_ENVVAR.
5361 * configure: Regenerated with autoconf.
5362
5363Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5364
5365 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5366 include all osf versions.
5367 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5368 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5369 when target is linux. When failing to build pthreads test
5370 executable, give more meaningful message.
5371 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5372 arg for pthread_create.
beb998c6 5373
c906108c
SS
5374Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5375
5376 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5377 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5378 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5379 and -lpthreads (everybody else).
5380 (test_startup): Fail gracefully if threads are not supported.
5381 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5382 "p/c array_index("abcdef",2)" when not gcc compiled.
5383 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5384 "print func2::coremaker_local" when not gcc compiled.
5385 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5386 "ptype on opaque struct tagname (statically)",
5387 "ptype on opaque struct tagname (dynamically) 1", and
5388 "ptype on opaque struct tagname (dynamically) 2"
5389 for not compiled with gcc.
5390 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5391 backtrace when compiled with gcc.
beb998c6 5392 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5393 than always return success.
5394
5395Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5396
5397 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5398
5399Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5400
5401 * gdb.base/structs.exp: Undo last change.
5402
5403Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5404
5405 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5406 encapsulate all the steps/nexts done during self test, starting
5407 at main, and makes them less sensitive to optimization issues.
5408 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5409 signal handler" test.
5410 * gdb.threads/pthreads.exp: Only run this for native configs.
5411 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5412 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5413 tests.
5414 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5415 for "runto test_calls(void)" test.
beb998c6 5416
c906108c
SS
5417Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5418
5419 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5420 and don't expect address info in breakpoint confirmations.
5421
5422Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5423
5424 * gdb.base/list.exp (test_forward_search): Increase timeout
5425 temporarily by 60 seconds for searching extremely long line,
5426 and then reset to old value when done. Increase expect input
5427 buffer to 10000.
5428
5429Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5430
5431 * gdb.base/list.exp (test_forward_search): Fix to handle very
5432 long source line without overflowing expect's input buffer.
5433
5434Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5435
5436 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5437 "buffer_full".
5438
5439 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5440 "buffer_full".
5441
5442 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5443 "buffer_full".
5444
5445 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5446 "buffer_full".
5447
5448Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5449
5450 * configure.in (configdirs): Add gdb.threads.
5451 * configure: Regenerated with autoconf.
5452 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5453 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5454 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5455
c906108c
SS
5456Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5457
5458 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5459
5460Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5461
5462 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5463 each signal's status in the output of "handle all print".
5464 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5465 the \r\n sequence that immediately precedes the gdb prompt.
5466 * gdb.base/a1-selftest.exp: Save original timeout and restore
5467 after test.
5468
5469Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5470
5471 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5472 symbol.
5473
5474Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5475
5476 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5477
5478Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5479
5480 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5481 timeout by 60 seconds.
5482
5483Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5484
5485 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5486 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5487 error return.
5488
5489Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5490
5491 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5492 gdb initialization, also report how long dejagnu waited. Restore
5493 old timeout before doing error return. Temporarily increase timeout
5494 by 3 minutes to allow for slow startups over heavy NFS use.
5495
5496Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5497
5498 * lib/gdb.exp: Report timeout value for verbosity level 2.
5499 * config/gdbserver.exp: Ditto.
5500 * config/hppro.exp: Ditto.
5501 * config/mips-gdb.exp: Ditto.
5502 * config/monitor.exp: Ditto.
5503 * config/netware.exp: Ditto.
5504 * config/sim-gdb.exp: Ditto.
5505 * config/slite-gdb.exp: Ditto.
5506 * config/udi-gdb.exp: Ditto.
5507 * config/unix-gdb.exp: Ditto.
5508 * config/vx-gdb.exp: Ditto.
5509 * gdb.base/a1-selftest.exp: Ditto.
5510 * gdb.base/a2-run.exp: Ditto.
5511 * gdb.base/break.exp: Ditto.
5512 * gdb.base/corefile.exp: Ditto.
5513 * gdb.base/list.exp: Ditto.
5514 * gdb.base/recurse.exp: Ditto.
5515 * gdb.base/scope.exp: Ditto.
5516 * gdb.base/signals.exp: Ditto.
5517
5518Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5519
5520 * gdb.threads/Makefile.in (docdir): Removed.
5521
5522Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5523
5524 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5525 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5526 @srcdir@.
beb998c6 5527 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5528 autoconf 2.5 or higher.
5529 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5530
5531Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5532
5533 * configure: Regenerated.
5534 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5535 avoid name clashes with SunOS headers.
5536
5537Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5538
5539 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5540
5541Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5542
5543 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5544 prototype information ends up in the compiler info file.
5545
5546Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5547
5548 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5549 attempting to regenerate it. Eliminate use of a temporary file
5550 and just generate the info file directly. Source it immediately,
5551 for consistency of use.
5552 * gdb.base/corefile.exp: Ditto
5553 * gdb.base/exprs.exp: Ditto.
5554 * gdb.base/funcargs.exp: Ditto.
5555 * gdb.base/langs.exp: Ditto.
5556 * gdb.base/list.exp: Ditto.
5557 * gdb.base/mips_pro.exp: Ditto.
5558 * gdb.base/nodebug.exp: Ditto.
5559 * gdb.base/opaque.exp: Ditto.
5560 * gdb.base/ptype.exp: Ditto.
5561 * gdb.base/scope.exp: Ditto.
5562 * gdb.base/setvar.exp: Ditto.
5563 * gdb.base/signals.exp: Ditto.
5564 * gdb.base/whatis.exp: Ditto.
5565 * gdb.c++/templates.exp: Ditto.
5566 * gdb.c++/virtfunc.exp: Ditto.
5567 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5568 whether or not to add -lstdc++ to the compile command line args.
5569
5570Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5571
5572 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5573 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5574 Increase timeout, a lot of single stepping might be needed if the
5575 target has no hardware watchpoints.
5576
5577Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5578
5579 * gdb.base/break.exp: Ignore compiler warnings when compiling
5580 break.c.
5581 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5582 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5583 from remote-sim.
5584 * gdb.base/exprs.exp: Add h8300 xfails.
5585 * gdb.base/funcargs.exp: Likewise.
5586 * gdb.base/nodebug.exp: Likewise.
5587 * gdb.base/printcmds.exp: Likewise.
5588 * gdb.base/ptype.exp: Likewise.
5589 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5590 h8300 xfails.
beb998c6 5591 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
5592 on the h8300.
5593 * gdb.base/funcargs.c: Explicitly make last constant argument to
5594 call_after_alloca_subr an unsigned long type.
5595 * gdb.base/return.c: Include stdio.h.
5596
5597Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5598
5599 * config/abug.exp: New file for the older Motorola Bug monitor
5600 that runs on the mvme13x series VME boards.
5601 * config/monitor.exp: Use the new config array for target settings
5602 if they exist.
5603
5604Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5605
5606 * sim-gdb.exp: Make the SH simulator allocate less space when
5607 it is targeted.
5608
5609Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5610
5611 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5612 test.
5613
5614Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5615
5616 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5617 "rs6000-*-*" for "list function in include file" when gcc compiled.
5618 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5619 for "p ctable1[120]".
5620 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5621 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5622 Remove setup_xfail for "rs6000-*-*" for
5623 "print 'scope0.c'::filelocal before run".
5624 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5625 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5626 since some compilers don't allow both options to be given
5627 on the same command line. Create object file and move it.
beb998c6 5628
c906108c
SS
5629Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5630
5631 * gdb.base/corefile.exp: Always regenerate the core file, since
5632 we always regenerate the coremaker program. Detect special case
5633 where registers cannot be read from core file.
beb998c6 5634
c906108c
SS
5635Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5636
5637 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5638 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5639 * gdb.c++/templates.exp: Only match on basename of file since
5640 some formats like xcoff don't encode directory information.
5641 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5642 and rs6000 AIX xcoff targets.
5643 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5644 * configure: Regenerate.
5645 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5646 here, rather than in distclean.
beb998c6 5647
c906108c
SS
5648Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5649
5650 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5651 defined, and use it to compile the test case with -O2. The
5652 native compilation still uses no optimization.
5653 * gdb.base/mips_pro.c: Remove inline assembly code since
5654 it is compiled PIC by default, which results in assembler
5655 warnings that make the testsuite think the compilation
5656 was unsuccessful.
5657
5658Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5659
5660 * gdb.c++/misc.exp: Add note to message for
5661 "print s.a for foo struct" that this is a known gcc 2.7.2
5662 and earlier bug.
5663
5664Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5665
5666 * gdb.base/break.exp: Fix pattern for matching "Delete all
5667 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5668 setup_xfail for deleting all breakpoints test. Fix various
5669 timeout messages to include "(timeout)".
5670 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5671 for "p t_float_values2(3.14159,float_val2)".
5672 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5673 for "continue to call2g" when gcc compiled.
5674 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5675 "up to foo in langs.exp", "show language at foo in langs.exp",
5676 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5677 and "show language at fsub in langs.exp".
5678 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5679 "list line 1 in include file", "list message for lines past EOF",
5680 "list function in include file", "list list0.h:foo", and
5681 "list filename:function; nonexistant function".
5682 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5683 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5684 and "ptype t_char_array" to be for native cc only.
beb998c6 5685
c906108c
SS
5686Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5687
beb998c6 5688 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5689 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5690 "print func2::coremaker_local", and "backtrace in corefile.exp".
5691
5692Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5693
5694 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5695 "bt in signals.exp". This problem only appears when running
5696 the testsuite, and then only intermittently.
5697
5698Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5699
5700 * gdb.base/return.exp (return_tests): Differentiate between
5701 two tests of continuing.
5702
5703Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5704
5705 * */Makefile.in (maintainer-clean): Remove config.log.
5706 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5707 * gdb.c++/Makefile.in (PROGS): Add inherit.
5708 (clean): Remove *.ci.
5709
5710Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5711
5712 * gdb.c++/misc.cc: Add test code from Mike Stump.
5713 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5714
5715Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5716
5717 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5718 to "alpha-*-osf2*" and add comment.
5719 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5720 setup_xfail for "step over execarg initialization" and
5721 "step over corearg initialization".
5722 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5723 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5724 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5725 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5726 "print func2::coremaker_local", and "backtrace in corefile.exp".
5727 * gdb.base/signals.exp: Build and source signals.ci.
5728 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5729 to be for gcc only.
5730 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5731
c906108c
SS
5732Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5733
5734 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5735 Feb 3 procfs.c change.
5736
5737Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5738
5739 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5740
5741Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5742
5743 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5744 from dejagnu's apparent default of 10 seconds, which gives random
5745 results when running the tests over NFS on moderately loaded systems.
5746 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5747
5748Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5749
5750 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5751 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5752 result reports.
5753
5754Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5755
5756 * configure.in (CY_AC_PATH_TCLH): Remove.
5757 * configure: Regenerate.
5758
5759Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5760
5761 * gdb.c++/Makefile.in (clean): Add missing '{'.
5762
5763Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5764
5765 * lib/gdb.exp: Provide a default value for noinferior.
5766
5767 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5768 Load libgloss.exp.
5769
5770Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5771
5772 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5773 the executable, not the .o to run the tests from.
5774
5775Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5776
5777 * gdb.base/break.exp: Don't test for program exit or exit status
5778 if $noresults if nonzero.
5779 * gdb.base/langs.exp: Likewise.
5780 * gdb.base/watchpoint.exp: Likewise.
5781
5782 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5783 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5784 trying to compile the testcase.
5785
5786Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5787
5788 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5789 * gdb.base/signals.exp (continue to handler): Likewise.
5790
5791Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5792
5793 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5794
5795 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5796
5797Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5798
5799 * gdb.base/corefile.exp: Recognize "not found" as failure
5800 when trying to determine if a core file was generated.
5801 If no core file was generate the first time, try again without
5802 the ulimit -c to work around braindamaged shells.
5803
5804Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5805
5806 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5807 [] tests with "test" and enclose string in quotes.
5808 * gdb.stabs/configure: Rebuild
beb998c6 5809
c906108c
SS
5810Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5811
5812 Changes in sync with expect:
5813 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5814 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5815 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5816 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5817 argument to AC_REQUIRE.
5818 * configure: Regenerated.
5819
5820Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5821
5822 * gdb.base/corefile.exp: When generating a core, discard any
5823 error messages about ulimit not found and the "core dumped"
5824 message from the shell that runs the coredumper.
5825
5826Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5827
5828 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5829
5830 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5831 which sed script to run. Expect failure for v_comb test
5832 on PA targets too.
beb998c6 5833
c906108c
SS
5834Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5835
5836 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5837 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5838
5839Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5840
5841 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5842 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5843 "sparc-sun-solaris*" xfails for "p v_comb".
5844 * lib/gdb.exp (default_gdb_start): Fix typo.
5845 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5846 messages to not include the full program name that caused
5847 the core dump since some systems (such as solaris) apparently
5848 truncate this path to about 80 characters.
5849 When generating a core file first try increasing the core file
5850 size limit to unlimited since some systems may default it to
5851 zero, and it is harmless to try it. Move the test for failing
5852 to generate a core file to where it will actually get executed.
5853 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5854 new gdb result from g++ debug info improvements and make old
5855 pattern obsolescent. Also account for size_t differences
5856 (may be int or long).
5857 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5858 initialization before function call is placed in the delay slot
5859 and thus appears to be skipped over by commands such as "next".
5860
5861Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5862
5863 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5864
5865Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5866
5867 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5868 input source file; fix code to compile test to deal with this
5869 convention.
5870 * gdb.c++/*.exp: Likewise.
5871
5872Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5873
5874 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5875 "bt in signals.exp".
5876
5877Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5878
5879 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5880 "step over execarg initialization" and
5881 "step over corearg initialization".
5882
5883Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5884
5885 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5886 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5887
5888Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5889
5890 From Rob Savoye (rob@poseidon.cygnus.com)
5891 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5892 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5893 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5894 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5895 configure.in}: Major reworking for autoconfig.
5896 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5897 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5898 New files.
5899 * config/unix-gdb.exp: Make GDB global.
5900 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5901 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5902 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5903 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5904 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5905 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5906 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5907 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5908 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5909 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5910 pr-8136.exp, result.exp, string.exp, tuples.exp},
5911 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5912 to returns as necessary, arrange for test to compile own testcase
5913 executable.
5914 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 5915
c906108c
SS
5916Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5917
5918 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5919 clear_xfail at end of test which might not call either pass or fail.
5920 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5921 "backtrace through signal handler".
5922
5923Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5924
5925 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5926 continuing from a job control stop signal.
5927 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5928
5929Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5930
5931 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5932 * gdb.base/corefile.exp: Likewise.
5933 * gdb.base/funcargs.exp: Likewise.
5934
5935Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5936
5937 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5938 * config/monitor.exp: Add support for setting baud rate.
5939
5940Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5941
5942 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5943 i*86-*-linux* xfails for "backtrace through signal handler".
5944 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5945 "print func2::coremaker_local".
5946 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5947 alpha-dec-osf2* xfail for
5948 "delete all breakpoints when none".
5949
5950Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5951
5952 * gdb.base/break.exp: Change test that deletes all breakpoints
5953 when no user breakpoints are installed. A post 4.15 change
5954 causes gdb to no longer prompt in this case.
5955
5956Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5957
5958 * gdb.base/return.exp (return_tests): Change xfail for test
5959 "correct value returned double test" to stop xfailing at
5960 Solaris 2.5. Apparently the bug has been fixed.
5961
5962Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5963
5964 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5965 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5966
5967Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5968
5969 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5970 * gdb.disasm/hppa.s: Corresponding changes.
5971
5972Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5973
5974 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5975 makefile fragment.
5976 * config/mt-hpux: Deleted.
5977
5978Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5979
beb998c6 5980 * Many files: When warning about suppressed tests due to a
c906108c
SS
5981 nonexistant test binary, avoid incrementing the warning count.
5982
5983Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5984
5985 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 5986
c906108c
SS
5987Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5988
5989 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5990 "sparc-*-solaris2*".
5991
5992Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5993
5994 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5995 Add global and local variables and initialize them.
5996 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5997 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5998 extracts the file name and terminating signal from the core file.
5999 * TODO: Remove note about tests for correct mapping of corefile.
6000 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6001 from optimizing it away.
6002 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6003 handles common blocks.
6004
6005Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6006
6007 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6008 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6009
6010Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6011
6012 * Makefile.in (maintainer-clean): New target, synonym for
6013 realclean.
6014 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6015 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6016 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6017 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6018 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6019 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6020
6021Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6022
6023 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6024 xfails when not gcc compiled for "print foo::funclocal".
6025 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6026 "print foo::funclocal at foo",
6027 "print 'scope1.c'::foo::funclocal at foo",
6028 "print foo::funclocal_bss at foo",
6029 "print 'scope1.c'::foo::funclocal_bss at foo",
6030 "print foo::funclocal_ro at foo",
6031 "print 'scope1.c'::foo::funclocal_ro at foo",
6032 "print bar::funclocal at foo" and
6033 "print 'scope1.c'::bar::funclocal at foo".
6034 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6035 gcc compiled for "print foo::funclocal at bar".
6036 Expand all messages to ensure that they identify that
6037 the test is at bar().
6038 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6039 gcc compiled for:
6040 "ptype on opaque struct pointer (statically)",
6041 "ptype on opaque struct tagname (statically)",
6042 "ptype on opaque struct pointer (dynamically) 1",
6043 "ptype on opaque struct tagname (dynamically) 1",
6044 "ptype on opaque struct pointer (dynamically) 2" and
6045 "ptype on opaque struct tagname (dynamically) 2
6046 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6047 gcc compiled for:
6048 "p datalocal"
6049 "whatis datalocal",
6050 "ptype datalocal",
6051 "p bsslocal",
6052 "whatis bsslocal", and
6053 "ptype bsslocal".
6054 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6055 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6056 when not gcc compiled.
6057 * gdb.base/funcargs.exp (float_and_integral_args): Add
6058 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6059 compiled.
6060 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6061 "backtrace from call6a" when not gcc compiled.
6062 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6063 "backtrace from call7a" when not gcc compiled.
6064 * gdb.base/callfuncs.exp (do_function_calls):
6065 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6066 "p t_char_array_values(char_array_val2,char_array_val1)",
6067 "p t_char_array_values(char_array_val1,char_array_val2)",
6068 "p t_char_array_values("carray 1","carray 2")",
6069 "p t_char_array_values("carray 1",char_array_val2)",
6070 "p t_char_array_values(char_array_val1,"carray 2")",
6071 "p sum_args(1,{2})",
6072 "p sum_args(2,{2,3})",
6073 "p sum_args(3,{2,3,4})",
6074 "p sum_args(4,{2,3,4,5})"
6075 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6076 "backtrace in corefile.exp" when not gcc compiled.
6077
6078Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6079
6080 * gdb.base/signals.exp: Rewrite `handle all print' test as
6081 a procedure. Accept blanks or TABs as whitespace, increase
6082 timeout and expect input buffer size for the large output
6083 from the command. Remove "i*86-*-bsdi2.0" xfail.
6084
6085Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6086
6087 * gdb.base/setvar.exp: Add new testcases for truncation when
6088 assigning invalid values to bitfields.
6089
6090Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6091
beb998c6 6092 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6093 mips-sgi-irix* xfail for
6094 "call inferior func with struct - returns char *"
6095 and fix test so that an optional (unsigned char *) cast is
6096 accepted in the result.
6097
6098Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6099
6100 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6101 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6102 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6103 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6104 that accidentally got checked in.
6105
6106Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6107
beb998c6 6108 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6109 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6110 compiled test.
6111 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6112 Add mips-sgi-irix5* xfail for not gcc compiled.
6113 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6114 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6115 "p top", "whatis top", "p middle", and "whatis middle".
6116 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6117 "whatis signed char" for not gcc compiled.
6118 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6119 "set variable signed char=-1 (-1)" and
6120 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6121 * gdb.base/funcargs.exp (float_and_integral_args):
6122 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6123 Add mips-sgi-irix* xfail when not gcc compiled for
6124 "continue to call2b".
6125 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6126 "continue to call2g".
6127 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6128 "backtrace from call6a"
6129 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6130 "backtrace from call7k".
6131 Add mips-sgi-irix5* xfail when not gcc compiled for
6132 "backtrace from call7a".
6133 (localvars_after_alloca): Fix gdb_test cmds for
6134 "print * after runto ...".
6135 Remove rs6000-*-* xfails for
6136 "print i after runto localvars_after_alloca" and
6137 "print l after runto localvars_after_alloca"
6138 for all compilers.
6139 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6140 when not compiled with gcc, for:
6141 "print signed char == (minus)",
6142 "print signed char != (minus)",
6143 "print signed char < (minus)",
6144 "print signed char > (minus)".
6145 * gdb.base/callfuncs.exp (do_function_calls):
6146 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6147 "call inferior func with struct - returns char *".
beb998c6 6148 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6149 "correct value returned double test" to include Solaris 2.4.
6150 * gdb.base/funcargs.exp (float_and_integral_args):
6151 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6152
c906108c
SS
6153Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6154
6155 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6156 enumeration bitfields if compiling with GNU C.
6157 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6158 to empty' prompt.
6159
6160Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6161
6162 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6163 test for PRO targets.
6164
6165 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6166 breakpoints in the inferior at any given time by making
6167 two groups of breakpoints for call2*, call6* and call7*
6168 tests.
6169
6170Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6171
6172 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6173 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6174 from optimizing it away.
6175 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6176 "call inferior func with struct".
6177
6178Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6179
6180 * configure.in: Only configure gdb.chill for particular targets.
6181
6182Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6183
6184 * gdb.base/Makefile.in: Add action to .c.o transformation
6185 rule that generates a .ci file for each .o file and remove
6186 explicit .c.o rules except for callfuncs.o.
6187 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6188 generates a .ci file for each .o file and remove explicit
6189 .cc.o rules.
6190 (clean): Remove *.tmp *.ci files.
6191 (EXECUTABLES): Remove templ-info.exp.
6192 * gdb.base/compiler.c: New file.
6193 * gdb.c++/compiler.cc: New file
6194 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6195 Change rs6000-*-* xfail for
6196 "print 'scope0.c'::filelocal_ro" and
6197 "print 'scope1.c'::filelocal" and
6198 "print 'scope1.c'::filelocal_bss" and
6199 "print 'scope1.c'::filelocal_ro" and
6200 "print 'scope1.c'::foo::funclocal" and
6201 "print 'scope1.c'::foo::funclocal_ro" and
6202 "print 'scope1.c'::bar::funclocal" and
6203 "print 'scope0.c'::filelocal_ro" and
6204 "print 'scope1.c'::filelocal at foo" and
6205 "print 'scope1.c'::filelocal_bss at foo" and
6206 "print 'scope1.c'::filelocal_ro at foo" and
6207 "print 'scope1.c'::foo::funclocal at foo" and
6208 "print 'scope1.c'::foo::funclocal_bss at foo" and
6209 "print 'scope1.c'::foo::funclocal_ro at foo" and
6210 "print 'scope1.c'::bar::funclocal at foo" and
6211 "print 'scope0.c'::filelocal_ro" and
6212 "print 'scope1.c'::filelocal" and
6213 "print 'scope1.c'::filelocal_bss" and
6214 "print 'scope1.c'::filelocal_ro" and
6215 "print 'scope1.c'::foo::funclocal" and
6216 "print 'scope1.c'::foo::funclocal_bss" and
6217 "print 'scope1.c'::foo::funclocal_ro" and
6218 "print 'scope1.c'::bar::funclocal" and
6219 "print 'scope1.c'::bar::funclocal_bss"
6220 to only be xfail'd when not compiled with gcc.
beb998c6 6221 Add rs6000-*-* xfail for
c906108c
SS
6222 "print 'scope0.c'::filelocal_bss before run"
6223 when compiled with gcc.
6224 (test_at_main): Add rs6000-*-* xfail for
6225 "print filelocal_ro in test_at_main"
6226 when compiled with gcc.
6227 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6228 Add rs6000-*-aix* xfail for
c906108c
SS
6229 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6230 "ptype t_char_array", not compiled with gcc.
6231 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6232 xfail for "list foo (in include file)" when gcc compiled.
6233 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6234 (integral_args): Add rs6000-*-* xfail for
6235 "run to call0a" if not compiled with gcc.
6236 (unsigned_integral_args): Add rs6000-*-* xfail for
6237 "run to call1a" if not compiled with gcc.
6238 (float_and_integral_args): Add rs6000-*-* xfail for
6239 "run to call2a" if not compiled with gcc and for
6240 "continue to call2b" for any compiler.
6241 Add rs6000-*-* xfail to
6242 "print f1 after run to call2a" for gcc compiled.
6243 (discard_and_shuffle): Add rs6000-*-* xfail for
6244 "run to call6a".
6245 (shuffle_round_robin): Add rs6000-*-* xfail for
6246 "backtrace from call7a" if not compiled with gcc.
6247 Add rs6000-*-* xfail for
6248 "backtrace from call7b" if compiled with gcc.
6249 (call_after_alloca): Add rs6000-*-* xfail for
6250 "print c in call_after_alloca" and
6251 "print s in call_after_alloca" and
6252 "backtrace from call_after_alloca_subr"
6253 if not compiled with gcc.
6254 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6255 "print c in localvars_in_indirect_call" and
6256 "print c in localvars_in_indirect_call" and
6257 "backtrace in indirectly called function" and
6258 "stepping into indirectly called function"
6259 if not compiled with gcc.
6260 (localvars_after_alloca): Add rs6000-*-* xfail for
6261 "print c after runto localvars_after_alloca" and
6262 "print s after runto localvars_after_alloca" and
6263 "print i after runto localvars_after_alloca" and
6264 "print l after runto localvars_after_alloca"
6265 for all compilers.
6266 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6267 than whatis-info.exp.
6268 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6269 than opaque-info.exp.
6270 Setup rs6000-*-* xfail for
beb998c6 6271 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6272 "ptype on opaque struct pointer (dynamically)" when
6273 not compiled with gcc.
6274 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6275 rather than callf-info.exp.
6276 (do_function_calls): Add clear_xfail for rs6000-*-* for
6277 "p t_float_values2(3.14159,float_val2)". Seems to work
6278 fine there, both with xlc and gcc. Need to find out what
6279 it is doing right and fix other platforms.
6280 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6281 "call inferior func with struct - returns int",
6282 "call inferior func with struct - returns long",
6283 "call inferior func with struct - returns float",
6284 "call inferior func with struct - returns double",
6285 "call inferior func with struct - returns char *",
6286 but only if not gcc compiled (presumes xlc compiled).
6287 Change rs6000-*-* xfails for
6288 "call inferior func with struct - returns char" and
6289 " call inferior func with struct - returns short" to only
6290 xfail if not using gcc.
6291 (clean mostlyclean): Remove *.ci and *.tmp files.
6292 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6293 than templ-info.exp.
6294 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6295 Add rs6000-*-* xfail for "up to foo in langs.exp"
6296 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6297 when not gcc compiled.
beb998c6 6298
c906108c
SS
6299Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6300
6301 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6302 * gdb.base/corefile.exp: Likewise.
6303 * gdb.base/list.exp: Likewise.
6304 * gdb.base/scope.exp: Likewise.
6305 * gdb.base/siganls.exp: Likewise.
6306
6307 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6308 compiler output.
6309 * gdb.base/whatis.exp: Likewise.
6310
6311Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6312
6313 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6314 failure (opcode table has been fixed to match reality).
6315
6316Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6317
6318 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6319 "call inferior func with struct - returns char",
6320 "call inferior func with struct - returns short"
6321
6322 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6323 "print 'scope0.c'::filelocal at main",
6324 "print 'scope0.c'::filelocal_bss in test_at_main",
6325 "print 'scope0.c'::filelocal at foo",
6326 "print 'scope0.c'::filelocal_bss in test_at_foo",
6327 "print 'scope0.c'::filelocal at bar",
6328 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6329
c906108c
SS
6330 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6331 in source file 1". This bug seems to have been fixed with both
6332 gcc and native cc (was native assembler bug?).
6333
6334Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6335
6336 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6337 "backtrace through signal handler" to "i*86-*-sysv4*".
6338 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6339 continue" case. Add "known SVR4 bug" to fail message.
6340 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6341 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6342 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6343 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6344 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6345 "up to foo in langs.exp", "show language at foo in
6346 langs.exp", "up to cppsub_ in langs.exp", "show
6347 language at cppsub_ in langs.exp", "up to fsub in
6348 langs.exp", and "show language at fsub in langs.exp".
6349 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6350 "bactrace in corefile.exp".
6351 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6352 "call inferior function with struct - returns float" and
6353 "call inferior function with struct - returns double".
beb998c6 6354
c906108c
SS
6355Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6356
6357 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6358 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6359 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6360 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6361
6362Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6363
6364 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6365 (or overriden) "CHILL" macro rather then bare "gcc".
6366 Also look for ../../gcc/xgcc since that is what we will
6367 actually need, not "Makefile". Remove following assignment
6368 of CHILL to CHILL_FOR_TARGET because that results in
6369 recursive definition.
6370
6371Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6372
6373 * gdb.base/corefile.exp: Change xfail for backtrace in
6374 corefile.exp from linuxaout to all linux.
6375 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6376 cases where we miss the breakpoint at the signal handler
6377 for some reason. Setup xfail for linuxoldld/linuxaout and
6378 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6379 hitting SIGURG breakpoint.
6380 * gdb.base/signals.exp: Setup xfail for "next" acting like
6381 continue to add linuxoldld. Setup xfail for all linux for
6382 "next to handler in signals_tests_1", "backtrace in
6383 signals_tests_1", "continue to func1", "pass SIGUSR1",
6384 and continue to handler".
6385
6386Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6387
6388 * Update all FSF addresses except those in COPYING* files.
6389
6390Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6391
6392 * gdb.base/a2-run.exp: Change messages to be more explicit about
6393 the status of args, and quote binfile in results.
6394
6395Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6396
6397 * gdb.base/callfuncs.exp: Add tests for passing structs to
6398 inferior functions and return various types.
6399 * gdb.base/callfuncs.c: Add functions to receive a struct
6400 and return a member of the struct, in various types.
6401
6402Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6403
6404 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6405
6406Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6407
6408 * config/vxworks29k.exp: New file, sources vxworks.exp.
6409
6410Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6411
6412 * config/gdbremote.exp: New file. Testing framework using
6413 gdbserver.
6414
6415Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6416
6417 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6418 "call function when asleep" and "send end of file".
6419 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6420 for "backtrace in corefile.exp".
6421 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6422 for "backtrace through signal handler".
6423 * gdb.base/corefile.exp: Make sure we actually generate a core file
6424 before trying the core tests. Some systems allow the user to suppress
6425 generation of core files and default to that (linux for example).
6426 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6427 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6428
6429Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6430
6431 * gdb.threads: New directory with some crude multi-threaded
6432 gdb tests (step.exp and step2.exp).
6433 * config/mt-lynx (STEP_EXECUTABLE): Define.
6434 (THREADFLAGS): Define.
6435
6436Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6437
6438 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6439
6440 * gdb.base/signals.exp: Disable whole file for lynx until
6441 further notice.
6442
6443 * gdb.base/signals.exp: xfail test where "next" acts like
6444 "continue" for lynx.
6445
6446 * gdb.base/interrupt.exp: xfail test for calling function while
6447 inferior is asleep for lynx.
6448
6449 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6450 than one cr-lf after each command.
6451
6452Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6453
6454 * configure.in: Reinstate setting of stabsdirs variable, fix
6455 typo in setting up configdirs for native builds.
6456
6457 * gdb.base/return.exp: Fix typo in return double test.
6458 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6459 compiler from optimizing them away.
6460
6461Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6462
6463 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6464 sequences to be echo'd by gdb when using gdb_test.
6465 * gdb.chill/chexp.exp: Likewise.
6466 * gdb.fortran/exprs.exp: Likewise
6467
6468Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6469
6470 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6471 after the inferior gdb has started.
6472
6473 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6474 after each command.
6475 * gdb.base/funcargs.exp: Likewise.
6476 * gdb.base/gdbvars.exp: Likewise.
6477 * gdb.base/interrupt.exp: Likewise.
6478 * gdb.base/list.exp: Likewise.
6479 * gdb.base/watchpoint.exp: Likewise.
6480 * gdb.c++/demangle.exp: Likewise.
6481 * gdb.c++/inherit.exp: Likewise.
6482 * gdb.chill/chexp.exp: Likewise.
6483 * gdb.fortran/exprs.exp: Likewise.
6484
6485 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6486 test if we can't handle IO to/from the inferior.
6487
6488 * gdb.c++/misc.exp: Always check for a program already being
6489 started after sending a "run" command to gdb.
6490
6491 * gdb.base/twice.exp: Start with a fresh gdb.
6492
6493 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6494 only depend on gdb's expression code, not the chill runtime.
6495
6496 * gdb.base/return.c: Put return values into variables so we
6497 can have gdb print them rather than depending on the program
6498 to print them.
6499 * gdb.base/return.exp: Corresponding changes.
6500
6501 * lib/gdb.exp: Provide default value for noinferiorio.
6502 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6503 the inferior.
6504
6505 * gdb.base/break.exp: Always check for a program already being
6506 started after sending a "run" command to gdb.
6507 (text_next_with_recursion): Don't check the output from the
6508 program's printf statement. Instead just make sure the program
6509 exited.
6510
6511 * gdb.base/commands.exp: Protect tests which need arguments with
6512 $noargs conditionals.
6513
6514Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6515
6516 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6517 of structure member arrays to match gdb/valops.c:value_addr change.
6518
6519Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6520
6521 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6522 cases.
6523
6524Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6525
6526 * configure.in (configdirs): Remove gdb.chill from default list
6527 of subdirs and then add it back in only if doing a native build.
6528 The current chill compiler does not yet work in any cross build.
6529 * Revert all signal changes from Jul 6.
6530 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6531 for sh-hms targets, allowing these tests to link, with no other
6532 changes. Testing is suppressed by setting "nosignals" in site.exp.
6533
6534Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6535
6536 * configure.in (signaldirs): Define and add to configdirs for all
6537 targets except some specific ones that are known to not support signals.
6538 Also clean up formatting.
6539 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6540 (signals, sigall): Remove rules to build.
6541 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6542 Moved to new gdb.signals directory.
6543 * gdb.signals: New test directory.
6544 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6545 signals.c signals.exp}: New or moved files.
6546
6547Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6548
6549 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6550
6551Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6552
6553 * gdb.base/return.exp: Xfail `return double' test failure
6554 on at least Solaris 2.3 and handle future/past versions on
6555 a case by case basis as appropriate. Also update message
6556 to include i*86 failures.
6557
6558Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6559
6560 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6561
6562 * lib/gdb.exp: Fix comment which erroneously identified
6563 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6564 gdb_file_cmd not gdb_load).
6565 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6566
6567 * gdb.base/setvar.exp: Make test names consistent between pass and
6568 fail cases. Use gdb_test more.
6569
6570Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6571
6572 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6573
6574Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6575
6576 * gdb.base/help.exp: Fix expected help string for `show commands'.
6577
6578Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6579
6580 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6581
6582 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6583 of a text section.
6584
6585Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6586
6587 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6588 that loop eventually terminates. Fix Connection refused logic so
6589 that testsuite will expire nicely.
6590
6591Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6592
6593 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6594 config/rom68k.exp: New tcl glue for the appropriate monitors.
6595 These all just end up calling monitor.exp.
6596 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6597 refused' by retrying. Cleanup some timeout issues.
6598 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6599 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6600 callers don't have to set/restore global timeout variable.
6601
6602 * The following set of changes centralizes management of the global
6603 timeout variable. This way, it can be set in one target dependent
6604 place instead of dozens of places scattered throughout the test suite.
6605 If you need to lengthen a timeout, then you should either set timeout
6606 in one of the config/{target}.exp files, or multiply it by a factor.
6607 Setting it to an absolute value is always going to lose for some
6608 targets.
6609 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6610 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6611 * gdb.base/funcargs.exp: Don't set timeout.
6612 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6613 * gdb.base/printcmds.exp (test_print_string_constants
6614 test_print_array_constants): Don't set timeout.
6615 * gdb.base/ptype.exp: Don't set timeout.
6616 * gdb.base/recurse.exp: Don't set timeout.
6617 * gdb.base/return.exp: Don't set timeout.
6618 * gdb.base/watchpoint.exp: Don't set timeout.
6619 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6620 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6621
6622Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6623
6624 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6625
6626Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6627
6628 * lib/gdb.exp: Disable chill tests for irix5.
6629
6630Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6631
6632 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6633 each test pass or fail.
6634
6635Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6636
6637 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6638 xlc not gcc.
6639
6640Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6641
6642 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6643
6644Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6645
6646 * config/est.exp: Fix copyright and comments. Remove dead code.
6647 Use targetname, serialport and baud variables instead of fixed
6648 constants.
6649 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6650 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6651
6652Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6653
6654 * gdb.base/watchpoint.exp: Don't run
6655 test_watchpoint_triggered_in_syscall for sunos.
6656
6657Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6658
6659 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6660 they don't seem to exist. Do include stdio.h.
6661
6662Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6663
6664 * gdb.base/a1-selftest.exp: Add alpha xfail.
6665
6666Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6667
6668 * gdb.base/watchpoint.c (main): Prompt before calling read().
6669 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6670 Revise accordingly. Remove cruft about sending "123" several
6671 times, until it gets noticed. Clean up the "print buf[0]" stuff
6672 so that it passes or fails, and waits for prompts in the usual way.
6673
6674Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6675
6676 * gdb.base/recurse.exp: Fix comment.
6677
6678 * TODO: Remove item about printing variables in nodebug.exp. Add
6679 item about enabling tests which are only run on some targets.
6680
6681 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6682 fail, make test names unique, use new gdb_test convention
6683 regarding pattern, use gdb_test more, etc.).
6684
6685 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6686 fail, make test names unique, etc.).
6687
6688Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6689
6690 * gdb.base/nodebug.c: Change return type of top and middle to
6691 short.
6692 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6693 are fixed by the recent mdebugread.c changes. Allow `short ()'
6694 as type for top and middle.
6695
6696Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6697
6698 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6699 nearly as I can tell, the whole thing was an accident in Stu's
6700 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6701 to replace a send/expect pair with gdb_test, but ended up only
6702 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6703 of 30 Mar 1995 took care of it, but left this vestigial comment
6704 which I am now nuking.
6705
6706Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6707
6708 * gdb.base/break.exp: Look for different line number for
6709 breakpoint at main depending on usestubs.
6710
6711Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6712
6713 * gdb.base/list.exp: Adjust some alternate expect patterns to
6714 match recent list0.c change. Add alternate expect pattern for
6715 output from `list default lines around main' for optimizing
6716 compilers.
6717
6718Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6719
6720 * lib/gdb.exp: If nosignals is not set, set it to 0.
6721
6722Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6723
6724 * config/slite-gdb.exp: Responds to load symbol table prompt.
6725 * gdb.base/break.exp: Adjust line number, fix rerun.
6726 * gdb.base/langs0.c: Add #ifdef usestubs.
6727
6728Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6729
6730 * gdb.base/list.exp: Adjust line contents after adding new lines in
6731 list0.c. Also fix a syntax error.
6732
6733 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6734 * gdb.base/break.exp: ditto.
6735 * gdb.base/list.exp: ditto.
6736 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6737 * gdb.base/run.c: ditto.
6738 * gdb.base/list0.c: ditto.
6739 * gdb.base/funcargs.c: ditto.
6740
6741Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6742
6743 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6744 $targetname, $serialport and $baud instead of hardwired variables.
6745 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6746 target doesn't support signals.
6747
6748Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6749
6750 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6751
6752Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6753
6754 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6755 Don't rely on the value of an auto variable before it has been
6756 initialized. Use gdb_test more.
6757
6758Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6759
6760 * lib/gdb.exp (default_gdb_version): A version number must start
6761 with a digit, but other than that contains all characters up to
6762 the first whitespace character.
6763
6764Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6765
6766 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6767
6768Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6769
6770 * gdb.c++/*.exp: Warn if executable does not exist. The original
6771 reason for skipping the warning was that configure.in sometimes
6772 intentionally skipped building the executables but the tcl code
6773 had no way of knowing. That (a) was always bogus with respect to
6774 error handling, (b) is no longer true (right now there is no way
6775 to skip C++ tests).
6776
6777 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6778
6779Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6780
6781 * gdb.base/list.exp: Add expect patterns for output from
6782 SunPRO compiled executables.
6783 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6784 types.
6785
6786Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6787
6788 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6789 number (we are already testing that the correct source line text
6790 gets printed).
6791
6792 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6793 that is what is intended, but something needed to be done to get
6794 sunos4 native working again.
6795
6796 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6797
6798 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6799 apparently went with a (very) old xfail.
6800
6801Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6802
6803 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6804 runto_main is a proc in gdb.exp that will do 'step' for target use
6805 stubs.
6806 * gdb.base/exprs.exp: ditto.
6807 * gdb.base/interrupt.exp: ditto.
6808 * gdb.base/opaque.exp: ditto.
6809 * gdb.base/printcmds.exp: ditto.
6810 * gdb.base/ptype.exp: ditto.
6811 * gdb.base/scope.exp: ditto.
6812 * gdb.base/setvar.exp: ditto.
6813 * gdb.base/signals.exp: ditto.
6814 * gdb.base/twice.exp: ditto.
6815 * gdb.c++/classes.exp: ditto.
6816 * gdb.c++/inherit.exp: ditto.
6817 * gdb.c++/templates.exp: ditto.
6818 * gdb.base/break.exp: no run and hit main for stubs. Change line
6819 numbers for breakpoints and info breakpoint.
6820 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6821 breakpoint().
6822 * gdb.base/callfuncs.c: ditto.
6823 * gdb.base/exprs: ditto.
6824 * gdb.base/interrupt.c: ditto.
6825 * gdb.base/opaque0.c: ditto.
6826 * gdb.base/printcmds.c: ditto.
6827 * gdb.base/ptype.c: ditto.
6828 * gdb.base/scope0.c: ditto.
6829 * gdb.base/setvar.c: ditto.
6830 * gdb.base/signals.c: ditto.
6831 * gdb.base/twice.c: ditto.
6832 * gdb.c++/misc.cc: ditto.
6833 * gdb.c++/templates.cc: ditto.
6834
6835Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6836
6837 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6838
6839 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6840 somewhere between `read' and `main.c'. I'm pretty sure the
6841 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6842 and it isn't particularly useful.
6843
6844 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6845
6846Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6847
6848 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6849
6850Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6851
6852 * config/mt-slite: add LIBS and -nostdlib.
6853 * config/slite-gdb.exp: add this new file to support sparclite target.
6854
6855Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6856
6857 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6858
6859 * gdb.base/a2-run.exp: Change argument to istarget from
6860 "*-*-vxworks" to "*-*-vxworks*".
6861 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6862
6863Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6864
6865 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6866 will not runto main but do a 'step' to step out of breakpoint().
6867 * config/mt-slite: add -Dusestubs.
6868
6869Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6870
6871 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6872 instead of just @.
6873
6874 * gdb.base/signals.exp: Add test for "handle all print".
6875 * TODO: Remove "handle all print". Also remove item about
6876 checking copyright date (I don't like the idea of a spurious FAIL
6877 based on when we run the tests).
6878
6879 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6880 for SunOS4 (reason for failure not investigated). Remove
6881 redundant test for $binfile.
6882
6883 * gdb.base/nodebug.c (array_index): Call malloc.
6884
6885 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6886
6887Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6888
6889 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6890 conventions and slightly simplify the matching regexp.
6891
6892Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6893
6894 * gdb.base/break.exp: Update gdb_test invocation to use new
6895 convention.
6896
6897 * lib/gdb.exp: If noargs is not set, set it to 0.
6898
6899 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6900 tests unique.
6901
6902 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6903
6904Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6905
6906 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6907 one argument of type "<non-float parameter>".
6908
6909Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6910
6911 * config/rom68k.exp: New file to support Motorola IDP board.
6912 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6913 * gdb.base/break.c: Change things around so that this program
6914 doesn't depend upon args. This is necessary to make remote
6915 targets work (in general, they can't take args).
6916 * gdb.base/break.exp: Don't try to send args to program. Don't
6917 expect output. Also, replace lots of code with gdb_test.
6918
6919Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6920
6921 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6922 printing of '\'' (which is what the comment says we are testing,
6923 even though we were not), not '''.
6924 (test_integer_literals_rejected): Test that printing ''' is an error.
6925
6926 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6927 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6928 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6929 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6930 Use gdb_test not test_print_accept.
6931 * lib/gdb.exp: Remove test_print_accept.
6932
6933 * gdb.base/signals.exp (signal_tests_1): Make pass message
6934 consistent with fail message.
6935
6936 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6937 unsigned char; the bug (PR 1821) is fixed.
6938
6939 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6940
6941 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6942 successful tests--makes xfailing them work right.
6943
6944Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6945
6946 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6947 only \r\n, not .*. The test can pass .* as the last thing in
6948 $pattern if that is what it wants. In addition to providing this
6949 flexibility, this change should speed up pattern matching in cases
6950 where the pattern already ended with .* (there were a number of
6951 them). This change also helps catch bad patterns--in the old
6952 scheme the typo "char \*" instead of "char \\*" would pass. Now
6953 it is caught.
6954 * Many .exp files: Update callers.
6955
6956 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6957 clearer and does not spuriously match multiple ('s. Likewise for
6958 ) and *.
6959
6960 * gdb.base/nodebug.exp: Test ability to call a function and pass
6961 it a string (even with no debugging info).
6962
6963 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6964 "p '\'", which is the same as "p ''" once tcl gets done with
6965 quoting, to "p '\\'", which I suspect is what is intended (one
6966 backslash gets sent to GDB).
6967
6968 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6969
6970Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6971
6972 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6973 1817) was fixed literally years ago.
6974
6975Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6976
6977 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6978 test, it causes stepping out of call_after_alloca_subr with
6979 optimizing compilers.
6980 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6981 fails.
6982
6983 * gdb.c++/templates.exp: Source templ-info.exp only if
6984 the templates executable exists.
6985
6986 * gdb.c++/misc.cc (class Contains_static_instance,
6987 class Contains_nested_static_instance),
6988 gdb.c++/classes.exp (test_static_members): Test printing of
6989 a class that contains a static instance of the class.
6990
6991Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6992
6993 * gdb.base/langs2.c (cppsub_): Don't prototype.
6994 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6995 only, I believe).
6996
6997Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6998
6999 * lib/gdb.exp (skip_chill_tests): New procedure.
7000
7001 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7002
7003Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7004
7005 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7006 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7007
7008Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7009
7010 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7011
7012 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7013 disassemble 8, not 16, instructions for part 4.
7014
7015 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7016 support the latter anymore.
7017
7018 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7019 -DNO_PROTOTYPES.
7020 * gdb.base/callfuncs.c: Control use of prototypes based on
7021 NO_PROTOTYPES, not __STDC__.
7022 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7023 t_float_values2 tests if prototypes in use.
7024
7025 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7026 t_double_values): When checking differences against DELTA, check
7027 that difference is within the range (-DELTA,DELTA), not just
7028 (-infinity,DELTA).
7029
7030Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7031
7032 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7033 'file' command firts, then 'target', then 'load', this is due to gdb
7034 target set up.
7035 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7036
7037Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7038
7039 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7040 FP load/store variants.
7041 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7042
7043Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7044
7045 * gdb.base/term.exp: Do not give a warning if not native, it is
7046 not an abnormal condition.
7047
7048Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7049
7050 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7051 t_char_array".
7052
7053Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7054
7055 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7056 are getting the version number.
7057
7058 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7059 if not native, it is not an abnormal condition.
7060
7061Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7062
7063 * lib/gdb.exp: Just use "file exists", rather than undocumented
7064 dejagnu procedure "findfile".
7065
7066Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7067
7068 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7069 (LDFLAGS): Set to -Xlinker -Ur.
7070
7071 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7072 Removed, these values are set by lib/gdb.exp.
7073
7074 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7075
7076Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7077
7078 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7079 of replicating gdb startup code.
7080
7081 * config/mt-vxworks (LDFLAGS): Set to -r.
7082 (CFLAGS_FOR_TARGET): Removed.
7083
7084 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7085 (gdb) and gdb for vxworks uses (vxgdb).
7086
7087 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7088 executable is not in the tree and host != target, use sed and
7089 program_transform_name to determine the gdb name used by the
7090 target.
7091
7092 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7093 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7094
7095Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7096
7097 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7098 floats, chars, and shorts where there are ANSI-style function
7099 definitions.
7100
7101 * gdb.base/langs.exp, gdb.base/langs*: New test.
7102 * gdb.base/Makefile.in: Build it.
7103 * TODO: Remove item about checking that C names don't get C++
7104 demangling applied; this test tests it.
7105
7106Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7107
7108 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7109 went with the const70 xfail. The xfail went away a year ago.
7110
7111 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7112
7113 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7114 for hp300.
7115
7116 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7117
7118 * gdb.base/a1-selftest.exp: Don't run on hp300.
7119
7120Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7121
7122 * Makefile.in (site.exp): Set host_alias and target_alias as well
7123 as host_triplet and target_triplet.
7124
7125Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7126
7127 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7128
7129 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7130 places as other ecoff systems).
7131
7132 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7133 ultrix.
7134
7135Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7136
7137 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7138 remove them.
7139 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7140 variable and "variable" in addition to "data variable".
7141 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7142
7143 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7144 2.
7145 * gdb.base/list1.c (long_line): Add additional statement at start
7146 of function.
7147 * gdb.base/list.exp (test_forward_search): Update line number to
7148 reflect new statement.
7149
7150Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7151
7152 * gdb.base/signals.exp: Reinitialize searched source directories
7153 after gdb_start call.
7154
7155Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7156
7157 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7158 * gdb.stabs/Makefile.in: Likewise.
7159
7160 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7161 change. Instead split the tests into smaller pieces.
7162 * gdb.disasm/hppa.s: Corresponding changes.
7163
7164Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7165
7166 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7167 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7168
7169 * gdb.base/funcargs.exp: Modify many tests so that every test
7170 either passes or fails. Make some test names unique.
7171
7172Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7173
7174 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7175 Call stty to set interrupt character.
7176
7177 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7178 for HP assembler versus GNU assembler based on actual behavior of
7179 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7180
7181 * TODO: Suggest a few more stepping tests.
7182
7183Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7184
7185 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7186 restart GDB for h8300 after a continue.
7187 (return): Add pattern to match a29k-udi behavior.
7188 * gdb.base/nodebug.exp: Remove obsolete comment.
7189 * gdb.base/regs.exp: New file, testing of register displays.
7190 * gdb.base/return.exp: Fix typo in reference to $objdir.
7191 * gdb.base/whatis.exp: Always start with a fresh GDB.
7192
7193Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7194
7195 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7196 higher, these tests generate a lot of output.
7197
7198Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7199
7200 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7201 code following the catch silently ignored some errors; without the
7202 catch they should be thrown like any other tcl error. Also, the
7203 catch used "" instead of {} which meant all the callers who wanted
7204 to include one of the characters "[]$ had to quote it an extra time.
7205 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7206 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7207 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7208 Remove extra quoting.
7209
7210Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7211
7212 * gdb.base/commands.exp: Make test names unique; every test either
7213 passes or fails. Update some comments.
7214
7215 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7216
7217Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7218
7219 The following fixes a FAIL caused by the fact that the alpha stabs
7220 configuration didn't use the ".if alpha" code in weird.def.
7221 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7222 bit pointer, so the 32 bit version works even on the alpha.
7223 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7224 Remove the stuff which allowed us to have separate versions for
7225 alpha and everything else.
7226
7227 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7228 regexp which "info func operator\[\](" is supposed to match. Fix
7229 string to send to GDB. Note that GDB still doesn't work right. Add a
7230 new test for "info func .perator\[\](" which GDB does handle correctly.
7231
7232 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7233
7234Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7235
7236 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7237 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7238 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7239 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7240 it makes the tests harder to understand and confuses test-o-matic.
7241 The preferred style is that each test provides a PASS or a FAIL,
7242 and has a unique message (e.g. "continue #54" not just "continue")
7243 which is the same for the pass and the fail.
7244 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7245 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7246 to lib/gdb.exp.
7247 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7248 prt_accept which was basically the same thing. Likewise for
7249 test_print_reject and prt_reject.
7250 * lib/gdb.exp (test_print_reject): Add some more error message
7251 patterns to match from the former printcmds.exp (prt_reject).
7252 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7253 One defect of the passcount stuff is that some of it failed to
7254 report XPASS where appropriate.
7255 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7256 stuff before and after arg in expected pattern.
7257 (test_paddr_operator_functions): Re-do test without print_addr_of;
7258 this is the only test which seems to want extra stuff there.
7259
7260Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7261
7262 * gdb.base/nodebug.exp: Update new tests to reflect improved
7263 wording of gdb output.
7264
7265 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7266 and "ptype" work on variables in files compiled without -g.
7267 Replaces commented out "maint print msymbol" tests.
7268
7269Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7270
7271 * gdb.base/setvar.c (dummy): Call malloc.
7272
7273 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7274 losing with the irix4 sed.
7275
7276 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7277 ALRM" on irix4.
7278
7279Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7280
7281 * TODO: Remove items about corefile.exp testing new exec-file and
7282 backtrace; both are now done. Add items about printing enums.
7283
7284Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7285
7286 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7287 "get signal $thissig" test fails.
7288
7289 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7290
7291Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7292
7293 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7294 compiler warning with dec alpha compiler.
7295
7296 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7297 extra \n from gdb_test call (this explains why the prompt test
7298 that I removed yesterday was there).
7299 (user_defined_command_test): Remove extra \n and prompt test.
7300
7301 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7302 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7303 doesn't exist.
7304 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7305 Also remove alpha workaround, which turns out to be because
7306 SIGABRT == SIGLOST.
7307
7308 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7309
7310 * gdb.base/help.exp: Don't test "help show".
7311
7312Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7313
7314 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7315 "set print address" is on.
7316 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7317 pass prompt to gdb_test; gdb_test already looks for the prompt.
7318
7319 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7320
7321 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7322 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7323 was to make sure that gdb can read a core file. But (a) the "read
7324 the corefile" part didn't make it to a1-selftest.exp, we just
7325 delete the corefile after creating it, and (b) we test reading
7326 corefiles in corefile.exp anyway. Also, this test left around a
7327 xgdb process on Solaris.
7328
7329 * gdb.base/corefile.exp: Also test backtrace.
7330
7331Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7332
7333 * gdb.base/commands.exp: Test a simple user defined command with
7334 arguments and if/while statements; verify the full user command is
7335 printed by "show user".
7336
7337 * gdb.base/commands.exp: Test if/while commands as part of a
7338 breakpoint command list; verify they appear in breakpoint
7339 information.
7340
7341Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7342
7343 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7344 than by dividing by zero.
7345
7346Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7347
7348 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7349 performing an inferior call with watchpoints enabled.
7350 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7351 call.
7352
7353Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7354
7355 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7356 of "file" command.
7357
7358 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7359 Add additional pattern for when "int operator int(void);" appears
7360 in a different order.
7361
7362Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7363
7364 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7365
7366 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7367 and "signal" with ".*".
7368
7369Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7370
7371 * TODO: Add note about "handle all nostop".
7372
7373 * gdb.base/{sigall.c, sigall.exp}: New test.
7374 * gdb.base/Makefile.in: Add it.
7375
7376Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7377
7378 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7379 when invoking GDB, suppresses any windowing interface.
7380
7381Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7382
7383 * config/sim-gdb: New file, simulator testing support.
7384
7385Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7386
7387 * gdb.base/interrupt.exp: Test calling func1 twice.
7388
7389Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7390
7391 * gdb.base/list.exp (test_forward_search): Set timeout higher
7392 when we'll be getting lots of output from gdb.
7393
7394 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7395 "init_malloc" to after the expect statement. Run it if that
7396 regexp is taken, but also for two others which happen if source
7397 cannot be found.
7398
7399Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7400
7401 * gdb.base/printcmds.exp: New test, for printing register before
7402 program is running.
7403
7404Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7405
7406 * gdb.base/list.exp: Correct some alternate expect patterns
7407 to reflect changes in list1.c.
7408
7409Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7410
7411 * TODO: Add item regarding large frames.
7412
7413 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7414
7415 * TODO: Remove item about enabling return.exp; it
7416 is enabled. Suggest a few more "return" tests.
7417
7418Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7419
7420 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7421 anonymous unions.
7422
7423Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7424
7425 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7426 and pr-5646.o, so "make" is the same as "make all", not "make
7427 pr-4975.o".
7428
7429Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7430
7431 * gdb.base/list.exp: Adjust expectations to reflect changes in
7432 list1.c.
7433 (test_forward_search): New test proc.
7434 * gdb.base/list1.c (long_line): New function, has long source line.
7435
7436Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7437
7438 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7439 additional line of code that was added.
7440
7441Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7442
7443 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7444 tests so as not to overflow expect's input buffers.
7445 * gdb.disasm/hppa.exp: Corresponding changes.
7446
7447Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7448
7449 Beginnings of template debugging tests.
7450 * gdb.c++/templ-info.cc: New file to test for template
7451 debugging capability of the compiler.
7452 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7453 templ-info.cc.
7454 * gdb.c++/templates.cc: Add explicit template instantiations
7455 to enable compiling with -fno-implicit-templates. Add destructor
7456 and 'value' method to T5 class for template tests.
7457 * gdb.c++/templates.exp: Add testcases for printing of template
7458 types, setting breakpoints on template methods and calling a
beb998c6 7459 template method.
c906108c
SS
7460
7461Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7462
7463 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7464 branch target since some assemblers (gas-2.5) may emit a
7465 relocation for the branch instead of resolving it in the
7466 assembler.
7467
7468Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7469
7470 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7471 through signal handler.
7472
7473Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7474
7475 * configure.in (*-*-netware): Use config/mt-netware.
7476
7477 * config/mt-netware: New file.
7478 * config/mt-i386-netware: Removed, separate configs for different
7479 netware architectures are no longer needed now that we have
7480 --with-headers.
7481
7482Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7483
7484 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7485 by the recent changes to use ANSI C arithmetic conversions.
7486
7487Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7488
7489 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7490 bug involving using inferior_pid to figure out whether to select a
7491 frame.
7492
7493Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7494
7495 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7496 match the current disassembler output.
7497
7498Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7499
7500 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7501 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7502 types, expect "int" as type of integer values (for now).
7503
7504Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7505
7506 * gdb.base/commands.exp: New tests for if/while commands.
7507
7508Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7509
7510 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7511 by .*, since hex values have different syntax in Chill mode.
7512
7513Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7514
7515 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7516 linefeed from expect pattern for repeated types with indices > 9.
7517
7518Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7519
7520 First part of Fortran test suite.
7521 * gdb.fortran: New directory.
7522 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7523
7524Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7525
7526 * gdb.base/default.exp: Update expect pattern for load command
7527 without arguments.
7528
7529Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7530
7531 * configure.in: Change i386 to i[345]86.
7532 * gdb.base/configure.in: Likewise.
7533 * gdb.c++/configure.in: Likewise.
7534 * gdb.chill/configure.in: Likewise.
7535
7536Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7537
7538 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7539 patterns, since that is not a valid context for comments.
7540
7541Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7542
7543 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7544 repeated types and repeated types with indices > 9.
7545
7546Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7547
7548 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7549 2417; old bug has been fixed.
7550
7551Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7552
7553 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7554 send the newline ourselves instead of assuming gdb_test will do
7555 so when passed an empty input string.
7556
7557 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7558 stabs testcode.
7559
7560Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7561
7562 * lib/gdb.exp (gdb_test): Don't send anything if the first
7563 argument is an empty string. This makes cases where we want to
7564 match output that is already in expect's buffers (for example,
7565 matching a breakpoint after gdb_run_cmd has been called) work
7566 reliably.
7567
7568Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7569
7570 * config/netware.exp: New file.
7571
7572Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7573
7574 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7575 the -B and -L prefixes so we can find the debugging stub.
7576
7577 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7578 there and we are using the gcc from the tree.
7579
7580 * gdb.base/types.c: Removed.
7581
7582 * gdb.base/configure.in: Look for makefile fragments in ../config.
7583 Recognize i386-*-netware.
7584 * gdb.c++/configure.in: Likewise.
7585
7586Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7587
7588 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7589 the correct TCL syntax.
7590
7591Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7592
7593 * gdb.base/opaque.exp: use runto instead of messing around with
7594 breakpoints. Simplify by using gdb_test.
7595
7596 * gdb.base/bitfields.exp: restart between tests on netware targets
7597 because breakpoints aren't relocated after target death. Run
7598 processes to completion.
7599
7600 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7601
7602Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7603
7604 * Makefile.in: Remove extra tabs that confuse some versions
7605 of "make". Use the newly built gdb to test with by default,
7606 rather than the first one in the tester's search path.
7607
7608Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7609
7610 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7611
7612 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7613 condition help.
7614
7615Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7616
7617 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7618
7619 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7620 running.
7621 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7622 * gdb.base/funcargs.exp: Likewise.
7623
7624 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7625 * gdb.base/funcargs.exp: Likewise.
7626
7627 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7628 message is "".
7629
7630Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7631
7632 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7633 return,signals,twice}.exp: Handle non-existant binaries
7634 consistantly.
7635
7636 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7637 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7638 might testing a cross development system.
7639
7640Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7641
7642 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7643 runtest script is relative to ${srcdir}, not ${rootdir}.
7644
7645Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7646
7647 * gdb.base/signals.exp: Allow for optionality of breakpoint
7648 address.
7649
7650Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7651
7652 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7653
7654Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7655
7656 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7657 for size_t definition.
7658 * gdb.c++/templates.cc: Likewise
7659
7660 * config/mt-i386-netware: New file.
7661
7662 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7663 defined.
7664
7665 * gdb.base/Makefile.in: Added support for systems that name core
7666 files by appending "core" to the program name.
7667 * gdb.base/a1-selftest.exp: Likewise.
7668
7669Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7670
7671 * gdb.base/return.exp: Add comment and message for `return double'
7672 test failure on Sparc Solaris.
7673
7674Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7675
7676 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7677
7678Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7679
7680 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7681 from optimizing them away.
7682 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7683 patterns to include default constructors and assignment operators,
7684 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7685 character in the output of the virtual base pointer.
7686
7687Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7688
7689 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7690 expression match in print_addr_of to avoid unintented matches.
7691 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7692 versions up to 2.5.8.
7693
7694Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7695
7696 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7697 included file to run under newer versions of expect.
7698 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7699 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7700 Remove xfail for the virtual table of BDDHookV.
7701
7702Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7703
7704 * lib/gdb.exp (string_to_regexp): Set a default result.
7705 (default_gdb_start): Fix misleading message.
7706
7707Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7708
7709 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7710 Remove all CC, etc definitions.
7711 * config/mt-hpux: New file.
7712 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7713 (CFLAGS, LDFLAGS): Define.
7714 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7715
7716 * Makefile.in (site.exp): Don't insert host_os, etc.
7717 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7718 (distclean): Check existence of subdir.
7719 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7720 * gdb.base/Makefile.in: General cleanup and simplification.
7721 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7722 to build executables. Use default rule to build .o files.
7723 (EXPECT, RUNTEST, CC): Fix relative pathname.
7724 (site.exp): Don't insert host_os, etc.
7725 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7726 and/or SIGUSR1 defined.
7727 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7728 * gdb.c++/Makefile.in: General cleanup and simplification.
7729 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7730 (CFLAGS): Remove.
7731 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7732
7733Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7734
7735 * gdb.base/recurse.exp: Misc changes to get tests running again
7736 after Kung's changes to the watchpoint code.
7737 * gdb.base/watchpoint.exp: Likewise.
7738
7739Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7740
7741 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7742
7743Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7744
7745 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7746 * lib/gdb.exp (default_gdb_start): Define.
7747 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7748 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7749 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7750 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7751 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7752 Don't call gdb_target_udi in between tests.
7753
7754Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7755
7756 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7757 (which was basically just a local version of the same thing). In
7758 addition to avoiding duplication, gdb_test_exact is faster.
7759 * lib/gdb.exp (gdb_test_exact): Fix typo.
7760
7761 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7762 don't give an error.
7763
7764 * gdb.base/term.exp: Call delete_breakpoints before starting.
7765
7766 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7767 (t10): Add comment.
7768
7769Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7770
7771 Reorganization of the GDB Test Suite.
7772
7773 * gdb.base: New directory, contains all the basic tests.
7774 * gdb.c++: New directory, tests specific to C++.
7775 * gdb.chill: New directory, tests specific to Chill.
7776 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7777 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7778 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7779 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7780 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7781 t30-31 to chill).
7782 * */gdbme.*: Rename to match appropriate expect scripts.
7783 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7784 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7785 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7786 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7787 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7788 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7789 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7790 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7791 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7792 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7793 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7794 gdb.c++/virtfunc.cc: New names of C++ files.
7795 * gdb.chill/chillvars.ch: New name of Chill file.
7796 * gdb.base/configure.in, gdb.c++/configure.in,
7797 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7798 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7799 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7800 * configure.in (configdirs): Update to reflect directory changes.
7801 (target_abbrev): No longer define for any configuration.
7802 * Makefile.in: Cosmetic improvements to header comments.
7803
7804Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7805
7806 Various changes to gdb.t31:
7807
7808 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7809 * gdbme.ch: Make all key-words and predefineds be upper-case.
7810 * chillvars.exp: Expect key-words and predefinds in upper-case.
7811
7812 * chillvars.exp: Use gdb_test_exact many places.
7813 Change expected output for arrays (which now includes index labels).
7814
7815 * pr-5020.exp, gdme.ch (module PR_5020):
7816 New test, for PR-5020.
7817
7818Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7819
7820 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7821 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7822
7823Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7824
7825 * Makefile.in: Fix bit-rot in definitions of CHILL,
7826 CHILL_FOR_TARGET and Chill_LIB.
7827 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7828 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7829 CHILL, and CHILL_LIB.
7830
7831Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7832
7833 * Revert the previous changes. Please see Rob's directory
7834 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7835
7836Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7837
7838 * Makefile.in, configure.in, config/mips-gdb.exp,
7839 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7840 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7841 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7842 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7843 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7844 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7845 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7846 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7847 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7848 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7849 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7850 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7851 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7852 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7853 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7854 changes from 94Q1.
7855
7856Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7857
7858 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7859 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7860 Rob's new testing fragments.
7861
7862Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7863
7864 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7865 lib/gdb.exp: Replace error proc calls with perror.
7866
7867Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7868
7869 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7870 version also, match on casted version strings, and match on
7871 gdb startup case where the line numbers might be messed up.
7872
7873Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7874
7875 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7876 (CFLAGS): Delete it from here.
7877
7878Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7879
7880 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7881
7882Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7883
7884 * Makefile.in (RUNTEST): Default to just "runtest".
7885
7886Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7887
7888 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7889 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7890 the code has been restructured.
7891
7892Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7893
7894 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7895 \n, not just one of each.
7896
7897 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7898 /bin/cc gives a warning if you do.
7899
7900Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7901
beb998c6 7902 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
7903 __t10ListS_link1ZUiRCUiPT0
7904
7905Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7906
7907 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7908 on local variables in recursive functions.
7909
7910 * gdb.t07/Makefile.in: Build the new test.
7911
7912Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7913
7914 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7915 directly. Instead compare the return values from actual calls.
7916
7917Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7918
7919 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7920
7921Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7922
7923 * From Peter Schauer with minor modifications.
7924 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7925 stops in mid-line in the caller. Add xfail for returning a float
7926 value on X86 targets.
7927
7928Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7929
7930 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7931 to avoid expect lossage.
7932 (fmem_LRbug_tests): Likewise.
7933 * gdb.disasm/hppa.s: Corresponding changes.
7934
7935 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7936 conditions to work with latest dejagnu/expect.
7937
7938 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7939 expected to fail on the PA.
7940 (backtrace in call with trampolines): Explicitly require main
7941 to be frame #1 (no trampolines should show up in backtrace).
7942
7943 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7944 "continue -expect".
7945 * gdb.t06/break.exp: Likewise.
7946 * gdb.t07/watchpoint.exp: Likewise.
7947 * gdb.t13/bitfields.exp: Likewise.
7948 * gdb.t15/{funcargs,return}.exp: Likewise.
7949 * gdb.stabs/weird.exp: Likewise.
7950 * config/{mips,udi}-gdb.exp: Likewise.
7951
7952 * hppa.sed: Enclose comments within a sed command to avoid
7953 losing with the old OSF1 sed.
7954
7955Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7956
7957 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7958 sequent dynix.
7959 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7960 * gdb.t15/funcargs.exp: Conditionally step again to really
7961 finish from marker_call_with_trampolines. Handle the case where
7962 the first step from within call_with_trampolines already steps
7963 us back to main.
7964 * gdb.t15/gdbme.c: Add comment to closing brace of
7965 call_with_trampolines for funcargs.exp.
7966
7967Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7968
beb998c6 7969 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
7970 Fix typo(s).
7971
7972Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7973
7974 * gdb.t07/gdbme.c: More code for watchpoint testing.
7975
7976 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7977 "Hardware watchpoint" throughout file.
7978 (test_watchpoint_triggered_in_syscall): New test.
7979 (test_complex_watchpoint): New test.
7980
7981Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7982
7983 * gdbme.c (call_with_trampolines): New function to try and step
7984 into. Tests trampoline problems on the PA.
7985
7986 * funcargs.exp (localvars_in_indirect_call): No longer expect
7987 stepping into indirect call to fail on PAs.
7988 (test_stepping_over_trampolines): New test.
7989
7990Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7991
7992 * TODO: Add suggestions for static member function tests, and
7993 completion tests.
7994
7995Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7996
7997 * TODO: Add suggestions for "p/a" tests.
7998
7999 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8000 (default_gdb_exit): Replace all the hair with sending "quit" to
8001 the process with a simple close.
8002
8003Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8004
8005 * TODO: Add suggestions for shared library tests.
8006
8007Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8008
8009 * TODO: Add suggestions for x/s tests.
8010
8011Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8012
8013 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8014 "enable once", and "enable breakpoints once" with ".*".
8015
8016Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8017
8018 * TODO: Add suggestions about structure passing tests.
8019
8020Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8021
8022 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8023 the primary1 test, use work around if __GNUC__ < 2.
8024 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8025 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8026 Test for bad output rather than waiting for timeout. Issue
8027 second continue only if first continue failed.
8028
8029Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8030
8031 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8032 operator[] test with gdb_test because the old code didn't seem to
8033 be getting the quoting right with the new dejagnu.
8034
8035Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8036
8037 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8038 one from the path.
8039 * Makefile.in: Use a fresh expect if there is one, use runtest
8040 from the src tree if there is one.
beb998c6 8041
c906108c
SS
8042Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8043
8044 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8045 next over recursive call. Revise the tests from that point on
8046 (which had been skipped) to match GDB's actual (correct) output.
8047
8048 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8049 with next over a breakpoint whose condition is false.
8050
8051 * gdb.t00/help.exp: Comment out "help set print" tests just like
8052 (and for same reason as) "help set" test.
8053
8054Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8055
8056 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8057 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8058
8059Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8060
8061 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8062 necessary gdb_target_udi.
8063
8064 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8065
8066 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8067 1838 and 2417; they are fixed.
8068
8069 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8070 gdb.t03/ptype.exp (ptype structure, ptype union):
8071 Remove xfails; the test is looser than when the xfails were added.
8072
8073 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8074 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8075
8076 * gdb.t01/run.exp: Only run shell test if isnative.
8077
8078 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8079 since "run" automatically loads if necessary. Call gdb_target_udi
8080 after the "file" since "file" kills any execution target.
8081
8082 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8083 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8084 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8085 argument for UDI.
8086
8087Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8088
8089 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8090
8091 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8092
8093Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8094
8095 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8096 properly quoting regexps. This makes the second argument to
8097 demangle a fixed string, which matches the callers, instead of a
8098 shell-style pattern which is what the previous implementation
8099 used. Update some of the callers.
8100
8101Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8102
8103 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8104 (comib_nullified_tests): Fix typo.
8105 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8106 strings. No longer expected to fail.
8107
8108 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8109 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8110 strings. No longer expected to fail.
8111
8112 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8113 string. No longer expected to fail.
8114
8115Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8116
8117 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8118 No longer expected to fail.
8119
8120 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8121 string. No longer expected to fail.
8122
8123Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8124
8125 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8126 only in the names (I probably got most of them). I was even
8127 generous with some which differed in underscores in names, and
8128 probably missed a few, and I *still* was able to remove almost a
8129 third of the file with almost no impact on testsuite coverage.
8130
8131Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8132
8133 * gdb.t00/default.exp: Match udi_attach error message as well as
8134 the one from child_attach.
8135
8136 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8137
8138 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8139
8140 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8141 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8142
8143 * Move test with enums and partial symbols back to
8144 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8145 Reverts the change of 26 May 93. Per today's change to
8146 stabs.texinfo, the behavior that weird.exp was expecting was
8147 unreasonable; what is important is that the compiler+gdb get
8148 things right, which happens with a recent gcc. Also fix the test
8149 to deal with native compilers which put out the stab gdb can't
8150 deal with.
8151
8152Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8153
8154 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8155 in the names. The main thing these accomplish is to slow things down.
8156 Many more such duplicates surely remain.
8157
8158 * gdb.t00/help.exp: Comment out "help support" test just like
8159 (and for same reason as) "help set" test.
8160
8161Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8162
8163 * gdb.t06/break.exp: Remove setup_xfails for
8164 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8165 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8166 about known bug in gcc to include up through 2.5.8.
8167 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8168 well as "_vb$".
8169 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8170 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8171 with latest gcc and gdb.
8172 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8173 well as "_vb$".
8174
8175Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8176
8177 * configure.in (hppa*-*-*): Also configure and build stabs-only
8178 tests.
8179
8180Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8181
8182 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8183 * gdb.t10/configure.in (hppa*-*-*): Use it.
8184
8185Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8186
8187 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8188
8189Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8190
8191 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8192 versions prior to 1.13.5.
8193
8194Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8195
8196 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8197 the prompt is at the start of a line.
8198
8199Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8200
8201 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8202 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8203 in the copr tests now.
8204 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8205 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8206 expected to fail.
8207
8208Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8209
8210 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8211 gdb.t31/chillvars.exp, lib/gdb.exp:
8212 Tweak to run under either version of expect.
8213 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8214 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8215 * gdb.t11/list.exp: Remove extraneous whitespace.
8216
8217Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8218
8219 * gdb.t16/printcmds.exp (test_print_strings): Accept
8220 "(unsigned char *) " before the string.
8221
8222 * TODO: Add notes about printing of fancy types and GDB expressions.
8223
8224Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8225
8226 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8227 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8228 if doing mips-idt-ecoff.
c906108c
SS
8229
8230Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8231
8232 * Most .exp files: Tweak to run under either version of expect.
8233
8234Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8235
8236 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8237 xfails; I'm not sure why they are failing, but not because of PR 1806.
8238
8239Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8240
8241 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8242 defined in lib/gdb.exp.
8243
8244Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8245
8246 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8247 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8248 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8249 have to be typeless.
8250
8251Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8252
8253 * TODO: Add suggestion for copyright year test.
8254
8255Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8256
8257 * configure.in (*-*-lynxos*): Add stabs tests.
8258
8259Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8260
8261 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8262 so insert a tab before any assembler directive in column zero.
8263
8264 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8265 stores.
8266 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8267 stores.
8268 (fpu_short_memory_tests): Likewise.
8269
8270Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8271
8272 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8273 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8274 .stabs directives in comments.
8275
8276Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8277
8278 * TODO: New file, describing tests we could write.
8279 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8280
8281Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8282
8283 * gdb.t06/signals.exp: Add kludge to force re-sync.
8284
8285 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8286 to xgdb instead of gdb, get out of gdb.
8287
8288Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8289
8290 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8291 for info.
8292
8293Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8294
8295 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8296 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8297 * gdb.stabs/hppa.sed: New sed script for the PA.
8298
8299Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8300
8301 * gdb.stabs: Re-write weird.def and configuration to use sed
8302 instead of cpp. sed is portable and POSIX; cpp is neither.
8303
8304Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8305
8306 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8307
8308Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8309
8310 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8311
8312Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8313
8314 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8315 "_vb$".
8316 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8317 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8318
8319Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8320
8321 * lib/gdb.exp: Comment out code which depends on non-existent
8322 `transform' procedure.
8323
8324Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8325
8326 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8327 * lib/gdb.exp: Transform tool name.
8328 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8329 1.1's new error handling system.
8330
8331Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8332
8333 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8334
8335Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8336
8337 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8338 They made pattern matching so slow that timeouts happened on
8339 heavily loaded systems. Now any output from "show print" which
8340 gets us back to the GDB prompt is a PASS.
8341
8342Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8343
8344 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8345
8346Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8347
8348 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8349
8350 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8351 It is not from PR 3220.
8352
8353Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8354
8355 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8356 just started failing because they depended on the order the
8357 subcommands are presented, or exact docstring text. This kind of
8358 test is a pain and has minimal benefit.
8359
8360Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8361
8362 * gdb.t09/corefile.exp: At end of test, use "core" command with
8363 no arguments.
8364
8365Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8366
8367 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8368 17}/Makefile.in: Make it possible to run the testsuite with Sun
8369 make and CC = cross gcc by adding explicit build rules for .o
8370 files.
8371
8372Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8373
8374 * gdb.t15/funcargs.exp: Don't put comments on same line as
8375 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8376
c906108c
SS
8377Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8378
8379 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8380
8381Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8382
8383 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8384 * gdb.t20/inherit.exp: remove three dumplicate entries.
8385
8386Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8387
8388 * gdb.t06/break.exp: For "next over recursive call", fail on any
8389 incorrect output, not just on "factorial (value=2)".
8390
8391Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8392
8393 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8394 working now. Add an xfail if accesing a bss variable causes
8395 a memory error if the target is not yet run.
8396
8397Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8398
8399 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8400 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8401 name of __st* demangling (2 strings). Did Kung really get the
8402 more than 95 others right without testing them?
8403
8404Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8405
8406 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8407
8408Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8409
8410 * configure.in (configdirs): Add gdb.disasm
8411 * gdb.disasm: New directory for GDB disassembler tests.
8412 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8413
8414Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8415
8416 * gdb.t00/help.exp: Don't test "help set".
8417
8418 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8419 from within expect statements. None of these happen anymore and
8420 they cause regressions to be silently unnoticed.
8421
8422 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8423 messages) about known failures with gcc cygnus-2.4.5-930417.
8424
8425 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8426 comp-info.exp so it gets built if it doesn't exist.
8427
8428 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8429 it is no longer used.
8430 * gdb.t13/comp-info.c: Removed.
8431
8432Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8433
8434 * gdb.t06/signals.exp: Add xfail for sun3.
8435
8436Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8437
8438 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8439 relevant because ^C doesn't get sent but failure can be reproduced
8440 interactively).
8441
8442Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8443
8444 * gdb.stabs/alpha.mt: New configuration file for alpha.
8445 * gdb.stabs/configure.in: Use it.
8446 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8447 sharing with alpha.mt, redefine long to word via preprocessor.
8448 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8449 for alpha.
8450 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8451 native cc.
8452 * gdb.t00/teststrategy.exp: Change expect string so that we
8453 consume the `(xgdb)' from the command echo and from the gdb prompt.
8454 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8455 gdb currently compares all values as long, so this failure probably
8456 applies to any configuration where LONGEST is bigger than a target int.
8457 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8458 with gcc.
8459 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8460 to handle opaque pointers, gcc is.
8461 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8462 as first argument. Include <sys/types.h> and change all operator
8463 new definitions to use size_t.
8464 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8465 now that we use size_t.
8466
8467Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8468
8469 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8470 a long or float array cast all array members to the same type.
8471 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8472 with 64 bit longs.
8473 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8474 on alpha.
8475 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8476
8477Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8478
8479 * gdb.t24 (demangle.exp): Constructors of templates have names like
8480 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8481 section 14.6 of the ARM.
8482
8483 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8484 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8485 accomplish little and slow down the testsuite.
8486
8487 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8488 Accept spaces various places.
8489
8490Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8491
8492 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8493 with watchpoint enabled.
8494
8495 * Makefile.in: Remove definition of CC and remove the second
8496 definition of CXX (the "CXX = gcc" one remains). These definitions
8497 were causing backquotes to be expanded within backquotes, which
8498 doesn't work.
8499
8500Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8501
8502 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8503
8504Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8505
8506 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8507 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8508 by mips cc and contains no stabs entries.
8509
8510Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8511
8512 * config/vx-gdb.exp: Use fake device to load files rather than
8513 NFS.
8514 * lib/gdb.exp: New proc to do "file" command.
8515 * config/unix-gdb.exp: Use new "file" proc.
8516
8517Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8518
8519 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8520 Rework board rebooting slightly.
8521 (gdb_exit): Don't exit from the remote shell; there isn't one.
8522 * gdb.stabs/weird.exp: If a program is being debugged already,
8523 kill it.
8524 * gdb.t04/setvar.exp: Stop and restart gdb.
8525 * gdb.t05/expr.exp: Likewise.
8526 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8527 restart gdb and reload the program.
8528 * gdb.t08/opaque.exp: Likewise.
8529 * gdb.t12/scope.exp: Likewise.
8530 * gdb.t13/bitfields.exp: Likewise.
8531 * gdb.t15/funcargs.exp: Likewise.
8532 * gdb.t20/classes.exp: Likewise.
8533 * gdb.t03/ptype.exp: Increase timeout.
8534 * gdb.t16/printcmds.exp (test_print_string_constants,
8535 test_print_array_constants): Likewise.
8536 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8537 * gdb.t20/classes.exp (do_tests): Likewise.
8538 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8539
8540Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8541
8542 * gdb.stabs: Renamed *wierd* to *weird*.
8543
8544Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8545
8546 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8547 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8548
8549Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8550
8551 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8552 (do_tests): Remove xfail for whatis on one_var and two_var.
8553
8554Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8555
8556 * Makefile.in: Made cross building work better by adding
8557 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8558
8559Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8560
8561 * gdb.t15/{return.c,return.exp,Makefile.in}:
8562 New test, currently commented out.
8563
8564Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8565
8566 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8567 still running and removes the leftover named socket so GDb can do
8568 clean restarts.
8569
8570Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8571
8572 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8573 console, not GDB.
8574 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8575 cross testing works better with "make check"
8576 * config/unix-gdb: Use default procedures for exit and version.
8577 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8578 with the newest VxWorks.
8579
8580Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8581
8582 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8583 old form.
8584
8585 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8586 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8587
8588 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8589
8590 * config/unix-gdb.exp: Remove this version of gdb_exit
8591 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8592 Rob says he'll look at it when he gets back to testing boards.
8593
8594Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8595
8596 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8597 an expected fail for certain ptype commands.
8598
8599 * gdb.t20/classes.exp: Update expected results of "ptype class
8600 Base1" to account for the constructor that now appears in the type.
8601
8602Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8603
8604 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8605 disappeared from list.
8606 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8607 "alldone" proc with call to cleanup and exit.
8608 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8609 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8610 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8611 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8612 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8613 "alldone" proc with simple returns that suppress remaining
8614 tests. The alldone proc went away many months ago.
8615
8616Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8617
8618 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8619
8620 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8621
8622Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8623
8624 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8625 as vax gdb will display them.
8626
8627Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8628
8629 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8630 optimizers.
8631
8632 * scope.exp: Change "bad value for localval" messages so each one
8633 is unique.
8634
8635 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8636 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8637
8638 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8639
8640Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8641
8642 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8643 doesn't exist (due to optimization).
8644
8645Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8646
8647 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8648 contains \r because the filename is long.
8649
8650 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8651 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8652
8653Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8654
8655 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8656 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8657 Ultrix.
8658 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8659 int tests.
8660 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8661
8662Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8663
8664 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8665
8666 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8667 to match does not match the passing case but still matches the
c906108c
SS
8668 failing case.
8669
8670Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8671
8672 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8673
8674Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8675
8676 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8677 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8678 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8679 Remove various versions of gdb_exit.
8680 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8681 gdb_exit.
8682 * config/unix-gdb.exp: gdb_exit remains here, and should override
8683 the generic version, since it's doing a lot of wierd stuff that
8684 the other versions aren't. FIXME, fold it in, or abandon this
8685 version.
8686
8687Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8688
8689 * gdb.t24/demangle.exp: Add tests for PR 3220.
8690
8691Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8692
8693 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8694
8695Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8696
8697 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8698 "i386-*-*". Works for i486 as well.
8699
8700 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8701 bug, and expand domain of xfail to all SVR4 systems, since the
8702 actual problem is likely to be in generic SVR4 /proc support.
8703
8704Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8705
8706 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8707
8708Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8709
8710 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8711 xfails for other systems. Match a missing 'Continuing.' as an
8712 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8713
8714 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8715 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8716 Only issue warning for missing executables if -all option is used.
8717
8718 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8719 file if -all option is used. It's like an unpredictable XFAIL.
8720
8721Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8722
8723 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8724 for dynamically linked binaries.
8725
8726 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8727
8728Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8729
8730 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8731 to state that this is a known bug in old versions of g++.
8732
8733Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8734
8735 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8736 while waiting for `Continuing'.
8737
8738Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8739
8740 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8741 in text, data, and bss.
8742 * gdb.t10/nodebug.c: Add local and global test variables for
8743 initialized and uninitialized data.
8744
8745Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8746
8747 * config/unix-gdb.exp (gdb_exit): Add "wait".
8748
8749Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8750
8751 * gdb.t06/signals.exp: xfail the continue from the handler for all
8752 targets.
8753
8754 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8755 function with watchpoints enabled, the i386 call dummy starts with
8756 a call.
8757
8758 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8759 386 bsd names its corefiles.
8760
8761Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8762
8763 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8764 compilers don't grok it.
8765 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8766 with small octal ints rather than character constants, which
8767 are signed and might not fit if first promoted to int.
8768
8769Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8770
8771 * gdb.t09/Makefile.in (clean): Remove corefile.
8772
8773Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8774
8775 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8776
8777Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8778 and Jim Kingdon (kingdon@cygnus.com)
8779
8780 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8781 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8782 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8783
8784Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8785
8786 * gdb.t17/interrupt.exp: Add xfail for hppa.
8787
8788Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8789
8790 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8791 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8792 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8793 to determine signed-ness of bitfields and use the result to setup
8794 the xfail.
8795 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8796 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8797 call line is reached if necessary.
8798
8799Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8800
8801 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8802
8803Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8804
8805 * gdb.t06/break.exp: Also test `clear' command.
8806
8807Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8808
8809 * gdb.t00/teststrategy.exp: Remove extra quote.
8810
8811 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8812 watchpoint enabled to be for all non-68k machines.
8813
8814 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8815
8816Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8817
8818 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8819 targets use aout.mt instead of ecoff.mt as gas understands
8820 standard aout format.
8821
8822Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8823
8824 * lib/gdb.exp (runto): Don't insist that function we are running to
8825 was compiled with -g.
8826
8827 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8828
8829 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8830 to get back into the read system call.
8831 Accept leading newline in case where we woke it up.
8832
8833Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8834
8835 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8836 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8837 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8838 enable ecoff configuration.
8839
8840Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8841
8842 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8843
8844Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8845
8846 * gdb.t16/printcmds.exp: Add another printf test.
8847
8848Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8849
8850 * configure.in: If configured -with-stabs on any target, add
8851 stabsdirs to configdirs.
8852
8853Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8854
8855 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8856 fun" so pattern does not match the command itself.
8857
8858Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8859
8860 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8861
8862Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8863
8864 * gdb.t17/interrupt.exp: Test for more things.
8865
8866Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8867
8868 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8869 compiler arranges the code and line numbers.
8870
8871 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8872
8873Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8874
8875 * gdb.t00/help.exp: Increase expect input buffer size.
8876
8877Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8878
8879 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8880
8881 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8882
8883 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8884
8885 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8886 [0-9]*, not just [0-9].
8887
8888Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8889
8890 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8891
8892 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8893
8894Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8895
8896 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8897
8898Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8899
8900 * gdb.t06/signals.c: Add xfails for sun3.
8901
8902 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8903
8904 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8905 test_stepping tests.
8906
8907Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8908
8909 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8910
8911 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8912
8913 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8914 rather than actually putting it through cpp twice.
8915
8916 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8917
8918Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8919
8920 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8921 no longer needed.
8922
8923Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8924
8925 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8926
8927 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8928 C++ features prints as "struct", make it a pass, not an xfail.
8929
8930Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8931
8932 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8933 Don't require VA to print as "class" rather than "struct".
8934
8935Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8936
8937 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8938
8939Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8940
8941 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8942
8943Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8944
8945 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8946 order.
8947
8948Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8949
8950 * gdb.t16/printcmds.exp: Add printf tests.
8951
8952 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8953
8954 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8955
8956Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8957
8958 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8959 pass counts, to counteract any existing or future setup_xfails.
8960
8961Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8962
8963 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8964 {BEGIN,END}_COMMON for common block instead of STAB.
8965 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8966
8967 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8968 intp_var should be N_GSYM not N_LSYM.
8969 wierd-aout.S: Use a label for the value of the N_SO.
8970 wierd.def: Remove all backslashes.
8971 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8972
8973Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8974
8975 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8976 get the expected next to inheritance3.
8977
8978Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8979
8980 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8981 now that gcc-2.4 gets it right.
8982
8983Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8984
8985 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8986
8987 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8988 generating comp-info.exp which works for cross-compilation.
8989
8990Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8991
8992 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8993 "*-*-sysv4.*".
8994
8995Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8996
8997 * gdb.t01/run.exp: Start with a fresh gdb.
8998 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8999 SVR4.x.
9000
9001Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9002
9003 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9004 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9005 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9006 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9007 things to remove.
9008
9009Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9010
9011 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9012 test cases from bug reports.
9013
9014Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9015
9016 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9017 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9018 avoid spurious xfails.
9019 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9020 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9021 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9022
9023Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9024
9025 * gdb.t00/teststrategy.exp: Rework to provide more useful
9026 description of each test, fix problem with systems that define
9027 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9028 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9029 results for "next over recursive call" so timeouts aren't taken
9030 by error.
9031
9032Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9033
9034 * gdb.t12/scope.exp: Test printing of variables before run.
9035
9036 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9037 printed in wrong order due to sorting.
9038
9039Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9040
9041 * gdb.t00/teststrategy.exp: Fix expected results for printing
9042 user entered string constant. Is array of char, prints with no
9043 address.
9044
9045 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9046 commands.
9047 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9048 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9049 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9050 of struct of char arrays.
9051 * gdb.t00/radix.exp: New tests for radix commands.
9052
9053Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9054
9055 * gdb.t16/printcmd.exp: Print a variable before running program
9056 (with xfail for AIX).
9057
9058Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9059
9060 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9061
9062 * gdb.t16/printcmd.exp: Don't print variables before running program.
9063
9064 * gdb.t06/break.exp: Don't require envp argument to main.
9065
9066 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9067
9068 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9069 Add xfails for rs6000.
9070
9071 * gdb.t02/whatis.exp: Change other tests not to re-test something
9072 we already tested.
9073
9074 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9075 each type used has a variable of that type.
9076
9077Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9078
9079 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9080
9081Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9082
9083 * configure.in: change srctrigger to be a file, not a directory
9084
9085Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9086
9087 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9088
9089 * gdb.t11/list.exp: Fixed a couple of typos.
9090
9091Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9092
9093 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9094 is fixed and PR is closed.
9095 * gdb.t16 (gdbme.c): Add simple test string variable.
9096 * gdb.t16 (printcmds.exp): Add tests with simple test string
9097 variable, primarily for boundaries on "set print elements".
9098
9099Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9100
9101 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9102 Make leading 0's optional and don't expect a tab in the middle
9103 of the number.
9104
9105 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9106
9107 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9108 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9109 don't end command passed to gdb_test with newline.
9110
9111 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9112 signed keyword away, don't expect signed bitfields to be signed.
9113
9114 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9115 printing with only as many 1's as are in the field as well as printing
9116 with 32 1's (see comment).
9117
9118Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9119
9120 * gdb.t00/default.exp: Start with a fresh gdb.
9121 * configure.in (configdirs): Remove gdb.t31 until the chill
9122 compiler works again. It no longer is able to find chillrt0
9123 since it isn't in libchill.a anymore.
9124 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9125 wierd.o, make more modular.
9126 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9127 spurious newlines that caused problems.
9128
9129Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9130
9131 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9132 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9133 gdb.stabs/wierd.{exp,def}: Many new tests.
9134
9135 * gdb.t00/default.exp: update info line for new message.
9136
9137 * gdb.t02/{whatis.exp,gdbme.c}:
9138 Test that "char *" doesn't print as "caddr_t".
9139
9140Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9141
9142 * gdb.t00/help.exp: Use .* in place of some help messages which
9143 just changed.
9144 gdb.t00/default.exp: Update "info frame" test for new message.
9145 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9146 Remove some xfails
9147
9148Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9149
9150 * gdb.t03/{gdbme.c,ptype.exp}:
9151 Add tests for typedef'd struct and union without tags.
9152 Also check "whatis" on a variable of a typedef'd enum without a tag.
9153
9154 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9155 PRMS 1823; the bug still exists but isn't reproduced by this test
9156 anymore), and remove rs6000 XFAIL (the bug is fixed).
9157
9158 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9159 duplicated from whatis.exp. For those that are left, accept
9160 "long", "long int", or "int" for long variables (whatis.exp already
9161 has an XFAIL for "int", so no need to fail it here).
9162
9163 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9164 Deal with GCC's names for types now that GDB uses the compiler's names.
9165
9166 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9167 setup_xfail's for sunos4. If we #defined the signed keyword away,
9168 don't expect GDB to know that char it is signed.
9169
9170 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9171
9172Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9173
9174 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9175 should work on any system, regardless of debugging format.
9176 * gdb.t21/demangle.exp: Move to gdb.t24.
9177 * gdb.t24/demangle.exp: Move from gdb.t21.
9178 * gdb.t24/{Makefile.in, configure.in}: New files.
9179
9180Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9181
9182 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9183 * gdb.stabs: New directory.
9184
9185Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9186
9187 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9188 not just "Quit anyway?".
9189
9190Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9191
9192 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9193 that all setup_xfails are immediately followed by clear_xfails.
9194
9195Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9196
9197 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9198 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9199 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9200 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9201 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9202 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9203 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9204 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9205 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9206 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9207 gdb.t31/chillvars.exp, lib/gdb.exp:
9208 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9209 bug-gdb@prep.ai.mit.edu.
9210
9211Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9212
9213 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9214 with 0.0, not integer 0.
9215
9216Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9217
9218 * gdb.t06/break.exp: Update for "Kill the program" message change.
9219
9220Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9221
9222 * Makefile.in (GDBFLAGS): Set to -nx.
9223 * Makefile.in (site.exp): Use GDBFLAGS.
9224
9225Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9226
9227 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9228 Makefiles.
9229 (check): depend on just-check.
9230 (just-check): added so that tests can be run without a noop
9231 build pass.
9232
9233Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9234
9235 Switch to using configure's configdirs.
9236 * Makefile.in (Makefile): add configure.in dependency.
9237 (SUBDIRS): removed redundant assignment.
9238 * configure.in: switch subdirs assignment to configdirs.
9239 * gdb.t*/configure.in: new files.
9240
9241Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9242
9243 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9244 works.
9245
9246Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9247
9248 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9249 in explicit rules. Apparently this is not supported by some makes.
9250
9251Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9252
9253 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9254
9255Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9256
9257 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9258 disappeared.
9259
9260Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9261
9262 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9263
9264Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9265
9266 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9267 watchpoint problem that is now fixed.
9268 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9269 uninitialized convenience variables.
9270 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9271 structures.
9272
9273Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9274
9275 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9276 which causes expect to get out of sync with gdb on long output
9277 from help set.
9278 * gdb.t09/corefile.exp: Make expected pattern for core file
9279 failing signal and frame output format less sun specific.
9280
9281Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9282
9283 * gdb.t31/chillvars.exp: Add and remove initial dummy
9284 breakpoint, so that symbol table is forced in.
9285 (Needed at least on Sunos4, though it seems not SVR4.)
9286 * gdb.t31/chillvars.exp: Update for changed output format.
9287
9288Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9289
9290 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9291
9292Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9293
9294 * Makefile.in: Added --srcdir when invoking runtest, removed the
9295 need for a local config file. (optional now)
9296
9297Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9298
9299 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9300 failure count used to force early termination. Add some more
9301 expected failures for gnu style demangling.
9302
9303Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9304
9305 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9306 pmi variable from gdb.t20/gdbme to get optimized away.
9307 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9308 Check for written corefile upon timeout _and_ eof.
9309
9310Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9311
9312 * config/unix-gdb.exp: Add missing return 0.
9313
9314Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9315
9316 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9317 test termination.
9318
9319Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9320
9321 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9322 disappeared.
9323
9324Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9325
9326 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9327 time as i860 support works.
9328
beb998c6 9329 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9330 "backtrace 100\r" rather than just "backtrace\r", to match last
9331 change.
9332
9333Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9334
9335 * config/udi-gdb.exp (gdb_exit): Remove close command.
9336 (gdb_target_udi): New procedure to set the UDI target.
9337 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9338 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9339 Added waits for prompts after several question responses. Added
9340 some more responses used by a29k-amd-udi-gdb.
9341 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9342 pass different arguments, restart UDI connection after program
9343 completion.
9344 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9345 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9346 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9347 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9348 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9349 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9350 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9351 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9352 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9353 after program completion.
9354 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9355 compiled with a SELECT_VECS setting.
9356 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9357 infinite recursion.
9358
9359 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9360 Added checks for COFF results, and made them expected failures for
9361 all targets. It would be better to make them expected failures
9362 for COFF targets only.
9363
9364Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9365
9366 * Makefile.in: add null dvi target, don't bother to recurse
9367 through test directories for info and install-info; rename
9368 $(datadir) to be dejagnu instead of deja-gnu
9369
9370Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9371
9372 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9373 compiler to coredump.
9374 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9375 code.
9376
9377Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9378
9379 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9380 coredump.
9381 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9382 code.
9383
9384Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9385
9386 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9387 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9388 which in a shell. Deletes xgdb when done.
9389 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9390 Tests the return from the "set height" or "set width" commands.
9391 Added a few return codes where needed.
9392
9393Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9394
9395 * Makefile.in (SUBDIRS): Add gdb.t17.
9396 * configure.in (subdirs): Add gdb.t17.
9397 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9398 files to test gdb's calling of functions in the inferior with
9399 the correct arguments and gdb's ability to retrieve any
9400 result returned.
9401
9402Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9403
9404 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9405 may be called after gdb goes away. Previous versions of expect
9406 needed these to avoid file descriptor leaks, but they cause
9407 errors with the current revision of expect.
9408 * gdb.t00/gdbvars.exp: Use -re on expected output after
9409 setting sevenbit-strings.
9410 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9411 to set sevenbit-strings consistent across tests.
9412 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9413 set sevenbit-strings consistent across tests.
9414
9415Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9416
9417 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9418 expected output to match current "expect" expectations.
9419
9420Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9421
9422 * gdb.t00/default.exp: Change expected output for default "source"
9423 command, to match new gdb behavior which requires a filename to
9424 source.
9425
9426Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9427
9428 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9429 expected fail for i486-*-* that misses the marker2 function.
9430 * gdb.t10/crossload.exp (bfddefault): Allow successful
9431 recognition of a format to pass even if no symbols are found.
9432 Explicitly catch failures where the format is not recognized
9433 or is ambiguous, and add the reason to the fail message.
9434 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9435 the cause is and invalid target and add reason to failure message.
9436 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9437 elf32-i386, elf32-sparc, and elf32-i860.
9438 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9439 Set up expected failure for 'filename'::variable scope resolution,
9440 which is now apparently broken on all targets.
9441 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9442 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9443 gdb.t23/templates.exp: Change failure for missing binfile into
9444 just a warning.
9445 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9446 references.
9447
9448Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9449
9450 * gdb.t00/default.exp: Add expected output for default "source"
9451 command, to match new gdb behavior.
9452 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9453
9454Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9455
9456 * config/*-gdb.exp: returns an error, rather than exiting on
9457 internal errors.
9458
9459Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9460
9461 * gdb.t03/gdbme.c: Add pointer to struct variable.
9462 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9463 referencing struct members.
9464
9465Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9466
9467 * configure.in (mips-idt-ecoff): New target.
9468 * config/mips-gdb.exp: New file for remote board using MIPS remote
9469 debugging protocol.
9470
9471 * Redid configuration scheme. Removed gdb.t*/configure.in.
9472 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9473 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9474 distclean targets. Built executables via .o files. Adjusted
9475 tests to account for source files in $(srcdir) rather than
9476 $(objdir).
9477 * lib/gdb.exp (runto): Don't expect () after the function name,
9478 because it may have arguments.
9479
9480Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9481
9482 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9483 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9484 expected failures for mips-idt-* and mips-sgi-*.
9485 * gdb.t00/default.exp (attach): Kill process if requested.
9486 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9487 that does not read core files.
9488 * gdb.t01/run.exp: Removed checks for exit status code.
9489 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9490 it is linked in.
9491 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9492 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9493 appropriate, rather than doing it by hand.
9494 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9495 execution.
9496 * gdb.t10/crossload.exp: Kill existing program if needed.
9497 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9498 appropriate, rather than doing it by hand. Always increase
9499 timeout for this test, not just for VxWorks.
9500
9501Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9502
9503 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9504 of Chill STRUCT types and STRUCT values.
9505 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9506 than "char".
9507 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9508 struct2): New struct definitions and initializations to test
c906108c
SS
9509 simple Chill STRUCT types.
9510
9511Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9512
9513 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9514 the null byte at the end of strings.
9515 * gdb.t00/default.exp: Make show version insensitive to copyright
9516 date.
9517 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9518 to avoid dependencies on target char signedness.
9519 * gdb.t16/printcmds.exp: Update expected results for explicitly
9520 unsigned char.
9521 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9522 now work.
9523 * gdb.t21/demangle.exp: Add many more patterns for template
9524 demangling, most of them being expected failures.
9525 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9526 string we are matching for, to match on the whole string.
9527 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9528 and fix a whole bunch that had incorrect expected output but were
9529 passing anyway because of the bug in "proc demangle".
9530 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9531 type.
9532 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9533
9534Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9535
9536 * gdb/testsuite: made modifications to testcases, etc., to allow
9537 them to work properly given the reorganization of deja-gnu and the
9538 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9539
9540Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9541
9542 * gdb/testsuite: Initial creation of gdb/testsuite.
9543 Migrated dejagnu testcases and support files for testing nm to
9544 gdb/testsuite from deja-gnu. These files were moved "as is"
9545 with no modifications. This migration is part of a major overhaul
9546 of dejagnu. The modifications to these testcases, etc., which
9547 will allow them to work with the new version of dejagnu will be
9548 made in a future update.
9549\f
9550Local Variables:
9551mode: indented-text
9552left-margin: 8
9553fill-column: 74
9554version-control: never
9555End:
This page took 1.065103 seconds and 4 git commands to generate.