*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
92806416
DJ
12002-12-03 Daniel Jacobowitz <drow@mvista.com>
2
3 * gdb.base/selftest.exp: Update for current gdb.
4
3bcbaac5
DJ
52002-12-03 Daniel Jacobowitz <drow@mvista.com>
6
7 * gdb.base/maint.exp: Only dump symbols from one source file
8 or objfile.
9
f4f00b1f
DJ
102002-12-03 Daniel Jacobowitz <drow@mvista.com>
11
12 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
13 function call.
14
f1c8a949
JB
152002-11-25 Jim Blandy <jimb@redhat.com>
16
17 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
18 function appearing in error message.
19
9e297a97
DJ
202002-11-21 Daniel Jacobowitz <drow@mvista.com>
21
22 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23
1f312e79
JJ
242002-11-08 Jeff Johnston <jjohnstn@redhat.com>
25
26 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
27 for mi1 and current mi is in correct format. New mi startup message
28 should be in mi console format. This is part of fix for PR gdb/604.
29
83c31e7d
FN
302002-09-18 Fernando Nasser <fnasser@redhat.com>
31
32 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
33 which explicitly prints the zero offset as "+0".
34
322b3f65
DJ
352002-10-22 Daniel Jacobowitz <drow@mvista.com>
36
37 * gdb.threads/schedlock.c (args): Make unsigned.
38
392002-10-21 Daniel Jacobowitz <drow@mvista.com>
40
41 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
42 numbers. Allow "foo2|selected stack frame".
43 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
44 * gdb.asm/asmsrc2.s: Likewise.
45 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
46 comments.
47 * gdb.asm/mips.inc: New file.
48
5e2fe5b8
AF
492002-10-18 Adam Fedor <fedor@gnu.org>
50
51 * gdb.base/default.exp: Update expected output to include 'ObjC'.
52 * gdb.base/help.exp: Likewise.
53
abe1a5d0
KB
542002-10-17 Kevin Buettner <kevinb@redhat.com>
55
56 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
57 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
58
10abb1d4
JB
592002-10-02 Jim Blandy <jimb@redhat.com>
60
61 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
62
1f609b42
AC
632002-10-01 Andrew Cagney <ac131313@redhat.com>
64
65 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
66 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
67 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
68 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
69 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
70 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
71 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
72
0aee02e4
AC
732002-09-29 Andrew Cagney <ac131313@redhat.com>
74
75 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
76 * mi0-disassemble.exp, mi0-eval.exp: Delete.
77 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
78 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
79 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
80 * mi0-var-block.exp, mi0-var-child.exp: Delete.
81 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
82
6fde09ad
KB
832002-09-27 Kevin Buettner <kevinb@redhat.com>
84
85 * gdb.base/annota1.exp (info break): Make directory components of
86 path optional since not all compilers emit this debug information.
87
88 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
89 step ends up stepping out of the function instead of stopping on
90 the epilogue.
91
9e8aab75
KS
922002-09-26 Keith Seitz <keiths@redhat.com>
93
94 * lib/insight-support.exp (gdbtk_start): Figure out where
95 the insight executable is based on where gdb is. Use this
96 executable to start insight instead of gdb.
97
e36180d7
AC
982002-09-25 Andrew Cagney <cagney@redhat.com>
99
100 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
101
9dd34b2b
AC
1022002-09-24 Andrew Cagney <ac131313@redhat.com>
103
104 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
105 test_isolated_complaints.
106 (test_empty_complaint): New function.
107 (test_empty_complaints): New function. Check no output when no
108 complaints.
109
dea97812
KB
1102002-09-19 Jim Blandy <jimb@redhat.com>
111
112 * gdb.base/charset.exp, gdb.base/charset.c: New files.
113
54951bd7
AC
1142002-09-19 Andrew Cagney <ac131313@redhat.com>
115
116 * gdb.gdb/complaints.exp: New file.
117
dec43320
AC
1182002-09-18 Andrew Cagney <ac131313@redhat.com>
119
120 * gdb.base/maint.exp: Check `help maint internal-warning'.
121
e70d6e3f
DC
1222002-09-18 David Carlton <carlton@math.stanford.edu>
123
124 * gdb.c++/m-static.exp: Remove breakpoints depending on line
125 numbers, and replace them by a single breakpoint after the
126 constructors are all finished.
127 Add test 4.
128 * gdb.c++/m-static.cc: Add test 4.
129 * gdb.c++/m-static.h: New file.
130 * gdb.c++/m-static1.cc: New file.
131
132 * gdb.c++/printmethod.exp: New file.
133 * gdb.c++/printmethod.cc: New file.
134
135 * gdb.c++/pr-574.exp: New file.
136 * gdb.c++/pr-574.cc: New file.
137
afb5c968
CV
1382002-09-18 Corinna Vinschen <vinschen@redhat.com>
139
140 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
141 embedded targets which never actually exit.
142
31e45dee
FN
1432002-09-18 Fernando Nasser <fnasser@redhat.com>
144
145 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
146 "don't step after run" as unresolved or unsupported, instead of xfail.
147
a283c5a1
CV
1482002-09-18 Corinna Vinschen <vinschen@redhat.com>
149
150 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
151 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
152 Add newline to expected string in "step out of main (status wrapper)"
153 case.
154
11350d2a
CV
1552002-09-18 Corinna Vinschen <vinschen@redhat.com>
156
157 * lib/gdb.exp (rerun_to_main): Allow restarting application.
158 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
159
0deec7d6
TT
1602002-09-17 Tom Tromey <tromey@redhat.com>
161
162 * gdb.base/printcmds.exp (test_print_string_constants): Expect
163 \000, not \0, in double-quoted string.
164
b2b4a1b5
CV
1652002-09-14 Corinna Vinschen <vinschen@redhat.com>
166
167 * gdb.base/command.exp: Don't expect a "Program exited normally"
168 string after running the commands execution on breakpoint tests.
169
1c56143a
CV
1702002-09-13 Corinna Vinschen <vinschen@redhat.com>
171
172 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
173
37f8da45
JB
1742002-09-12 Joel Brobecker <brobecker@gnat.com>
175
176 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
177
08b468e0
KS
1782002-09-10 Keith Seitz <keiths@redhat.com>
179
180 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
181 runto proc.
182 (mi_run_to_main): Use mi_runto.
183 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
184
dc360f58
KS
1852002-09-10 Keith Seitz <keiths@redhat.com>
186
187 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
188 regexp for stopping at main. Could have multiple event notifications.
189 Don't assume that main was declared with no parameters.
190 (mi_next): Use mi_step_to.
191 (mi_step): Use mi_next_to.
192
ce3abcfb
CV
1932002-09-09 Corinna Vinschen <vinschen@redhat.com>
194
195 * gdb.base/default.exp: Fix expected string in `info float' test.
196
d1f5b980
BE
1972002-09-09 Ben Elliston <bje@redhat.com>
198
199 * config/mips.exp: Update comments.
200 * config/mips-idt.exp: Likewise.
201 * config/nind.exp: Likewise.
202 * config/slite.exp: Likewise.
203 * config/sparclet.exp: Likewise.
204 * config/udi.exp: Likewise.
205 * config/vx.exp: Likewise.
206 * config/vxworks29k.exp: Likewise.
207
2f71430b
JB
2082002-09-05 Jim Blandy <jimb@redhat.com>
209
210 * gdb.threads/killed.exp: Fix test failure message.
211
7ddebc7e
KS
2122002-09-04 Keith Seitz <keiths@redhat.com>
213
214 * lib/mi-support.exp: Update copyright.
215 (mi_gdb_test): Increase the priority of the expected pattern
216 so that it matches gdb_test.
217
0ae67eb3
KS
2182002-09-03 Keith Seitz <keiths@redhat.com>
219
220 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
221 Use integer comparison instead of string comparison for testing
222 whether binary was built.
223
38fc42c8
JB
2242002-09-03 Jim Blandy <jimb@redhat.com>
225
226 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
227
b6ff0e81
JB
2282002-08-29 Jim Blandy <jimb@redhat.com>
229
230 * gdb.threads/pthreads.exp: Move the portable thread compilation
231 code into a function in lib/gdb.exp, and call that from here.
232 * lib/gdb.exp (gdb_compile_pthreads): New function.
233
07c98896
KS
2342002-08-29 Keith Seitz <keiths@redhat.com>
235
236 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
237 expect_out so that callers can get at it.
238
0312286c
DJ
2392002-08-23 Daniel Jacobowitz <drow@mvista.com>
240
241 * gdb.threads/print-threads.c: New file.
242 * gdb.threads/print-threads.exp: New file.
243 * gdb.threads/schedlock.c: New file.
244 * gdb.threads/schedlock.exp: New file.
245
dd039bc4
EZ
2462002-08-22 Elena Zannoni <ezannoni@redhat.com>
247
248 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
249 not altivec.c.
250
1f36144c
MK
2512002-08-17 Mark Kettenis <kettenis@gnu.org>
252
253 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
254 targets. The problem should be fixed now.
255
16057ec7 2562002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
257
258 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
259 2002-07-24 change that removes final dots from error messages.
260
3c1499ad
TT
2612002-08-13 Tom Tromey <tromey@redhat.com>
262
263 * gdb.base/readline.exp: New file.
264
a20ce2c3
AC
2652002-08-01 Andrew Cagney <ac131313@redhat.com>
266
267 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
268 supress message.
269
db034ac5
AC
2702002-08-01 Andrew Cagney <cagney@redhat.com>
271
272 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
273 CHILL_FOR_TARGET and CHILL_LIB.
274 * configure.in (configdirs): Remove gdb.chill.
275 * configure: Regenerate.
276 * lib/gdb.exp: Obsolete references to chill.
277 * gdb.fortran/types.exp: Ditto.
278 * gdb.fortran/exprs.exp: Ditto.
279
3e000b18
KB
2802002-07-30 Kevin Buettner <kevinb@redhat.com>
281
282 * gdb.base/shlib-call.exp (additional_flags): Conditionally
283 set Irix-specific compile and link flags.
284
28f4966b
KB
2852002-07-29 Kevin Buettner <kevinb@redhat.com>
286
287 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
288 source files. The ``-o'' option doesn't work with the ``-E'' option
289 when using the Irix compiler.
290
46c0d5a6
DJ
2912002-07-19 Daniel Jacobowitz <drow@mvista.com>
292
293 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
294 Improve support for reusing an exec file. Copy exec file
295 to target, and run gdbserver on the target instead of on the host.
296
eecf4bed
JB
2972002-07-18 Jim Blandy <jimb@redhat.com>
298
0f815cdf
JB
299 * gdb.base/ending-run.exp: Don't expect to see the program end in
300 some orderly fashion when we're running on a real stand-alone
301 board.
302
eecf4bed
JB
303 * gdb.base/interrupt.exp: Correct logic for skipping tests on
304 targets that don't support interrupts.
305
52d309e4
JB
3062002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
307
308 * gdb.base/attach.exp: Add patterns to match output from /proc-based
309 systems.
310 Move comments in expect statements to inside the actions, so that they
311 don't get matched against.
312
ff683d9e
MK
3132002-07-10 Mark Kettenis <kettenis@gnu.org>
314
315 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
316 function when asleep" test.
317
b5356753
AC
3182002-07-10 Andrew Cagney <ac131313@redhat.com>
319
320 * gdb.base/page.exp: Rewrite to handle problems with very long
321 `info set' output. Update copyright.
322
6aa4d13a
AC
3232002-06-26 Andrew Cagney <ac131313@redhat.com>
324
325 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
326 gdb.threads-hp.
327 * gdb.hp/configure: Regenerate.
328 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
329 * gdb.hp/gdb.threads-hp/configure: Delete file.
330 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
331
8cf8c2b8
AC
3322002-06-22 Andrew Cagney <ac131313@redhat.com>
333
334 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
335 setlocale, bindtextdomain and textdomain.
336
6827a8f8
JB
3372002-06-11 Jim Blandy <jimb@redhat.com>
338
919d772c
JB
339 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
340 preprocessor macro information is present.
341
6827a8f8
JB
342 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
343 tests.
344
c15b0d21
MS
3452002-06-06 Michael Snyder <msnyder@redhat.com>
346
c5984d70
MS
347 * gdb.base/overlays.exp: Record addresses of overlay
348 functions in TCL variables rather than in GDB variables,
349 to avoid having GDB convert them to pointers (with loss
350 of information).
351
99a8512b
MS
352 * gdb.base/d10v.ld: Merge in several years worth of
353 default linker script changes.
c15b0d21
MS
354 * gdb.base/long_long.exp: Add check for sizeof (long double).
355
be26fe0d
ML
3562002-06-06 Michal Ludvig <mludvig@suse.cz>
357
358 * gdb.asm/asm-source.exp: Add x86-64 target.
359 * gdb.asm/x86_64.inc: New.
360
258093ca 3612002-05-30 Michael Chastain <mec@shout.net>
258093ca 362
4b3153f1 363 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
364 * gdb.c++/m-static.cc: New file.
365 * gdb.c++/m-static.exp: New file.
366
241264c6
MS
3672002-05-28 Michael Snyder <msnyder@redhat.com>
368
369 * gdb.base/call-ar-st.exp: Allow for reduced floating point
370 precision.
371
9bba8c8f 3722002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 373
4b3153f1 374 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
375 * gdb.c++/m-data.cc: New file.
376 * gdb.c++/m-data.exp: New file.
377
3782002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 379
4b3153f1 380 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
381 * gdb.c++/try_catch.cc: New file.
382 * gdb.c++/try_catch.exp: New file.
383
def1b996
MC
3842002-05-27 Michael Chastain <mec@shout.net>
385
386 * gdb.c++/local.exp: Accept more nested types in output.
387
522ba268
MC
3882002-05-26 Michael Chastain <mec@shout.net>
389
390 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
391
277254ba
MS
3922002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
393
394 * lib/gdb.exp (gdb_wrapper_init): Just because
395 gdb_wrapper_file exists, this does not mean that the file
396 should not be rebuilt. That is what gdb_wrapper_initialized
397 is for.
398 (default_gdb_init): Reset gdb_wrapper_initialized.
399
b61a8733
MS
4002002-05-23 Michael Snyder <msnyder@redhat.com>
401
5bdb6d01
MS
402 * gdb.base/all-bin.exp: Revise previous patch by just reducing
403 the precision of the floating point test results.
404 * gdb.base/call-rt-st.exp: Ditto.
405
b61a8733
MS
406 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
407 * gdb.base/call-rt-st.exp: Ditto.
408
56f6e910
MC
4092002-05-19 Michael Chastain <mec@shout.net>
410
411 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
412
ad0b0016
EZ
4132002-05-19 Elena Zannoni <ezannoni@redhat.com>
414
415 * configure.in (configdirs): Add gdb.arch.
416 * configure: Regenerate.
417
f617d2b6
JB
4182002-05-17 Jim Blandy <jimb@redhat.com>
419
420 * gdb.base/completion.exp: Recognize the more detailed error
421 messages produced by the macro expander's lexical analyzer.
422
eac2a696
EZ
4232002-05-14 Elena Zannoni <ezannoni@redhat.com>
424
425 * gdb.arch/altivec-abi.c: New file.
426 * gdb.arch/altivec-abi.exp: New file.
427 * gdb.arch/altivec-regs.c: New file.
428 * gdb.arch/altivec-regs.exp: New file.
429
2fdde8f8
DJ
4302002-05-14 Daniel Jacobowitz <drow@mvista.com>
431
432 * gdb.base/maint.exp (maint print type): Update for new type
433 structure.
eac2a696 434
e31f1a7c
EZ
4352002-05-14 Elena Zannoni <ezannoni@redhat.com>
436
437 * gdb.arch: New directory.
438 * gdb.arch/configure.in: New file.
439 * gdb.arch/configure: New file.
440 * gdb.arch/Makefile.in: New file.
441
db589741
CV
4422002-05-13 Corinna Vinschen <vinschen@redhat.com>
443
444 * gdb.asm/asm-source.exp: Add v850 as supported target.
445 * gdb.asm/v850.inc: New file.
446
8ce2a7dc
DJ
4472002-05-13 Daniel Jacobowitz <drow@mvista.com>
448
449 * gdb.c++/annota2.exp (annotate-quit): Add comment.
450
df763c7f
DJ
4512002-05-12 Daniel Jacobowitz <drow@mvista.com>
452
453 * gdb.base/break.exp: Check 'break "marker2"'.
454
377daeed
MS
4552002-05-10 Michael Snyder <msnyder@redhat.com>
456
457 * gdb.base/long_long.exp: Fix typo.
458
c4b7bc2b
JB
4592002-05-10 Jim Blandy <jimb@redhat.com>
460
ecac9a4e
JB
461 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
462 a bug.
463
c4b7bc2b
JB
464 * gdb.base/printcmds.exp (test_integer_literals_rejected):
465 Recognize more detailed error message produced by the macro
466 expander's lexical analyzer.
467 * lib/gdb.exp (test_print_reject): Same.
468
e71019a1
MK
4692002-05-09 Mark Kettenis <kettenis@gnu.org>
470
471 * gdb.c++/method.exp: Fix typo.
472
fedfc8e6
MS
4732002-05-08 Michael Snyder <msnyder@redhat.com>
474
166a1957
MS
475 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
476 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 477 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
478 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
479 Add iftarget clause for strongarm.
480
f1c47eb2
MS
4812002-05-06 Michael Snyder <msnyder@redhat.com>
482
cb9a9d3e
MS
483 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
484 (gdb_continue_to_end): Accept output from status wrapper.
485 * gdb.base/ending-run.exp: Add case for output from status wrapper.
486 Clean up fail messages to match pass messages.
487
f1c47eb2
MS
488 Enable the "needs_status_wrapper" testsuite feature.
489 * lib/gdb.exp (gdb_wrapper_init): New procedure.
490 (gdb_compile): Conditionally call gdb_wrapper_init.
491 * gdb.base/a2-run.exp: Recognize output from status wrapper.
492 * gdb.c++/method.exp: Recognize output from status wrapper.
493
6079c749
BE
4942002-05-06 Ben Elliston <bje@redhat.com>
495From Graydon Hoare <graydon@redhat.com>
496
497 * config/sid.exp: Include support for "rawsid" protocol.
498
188baff3
JB
4992002-05-03 Jim Blandy <jimb@redhat.com>
500
501 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
502 * gdb.c++/hang3.C: New file.
503
b9c07f0f
AC
5042002-05-04 Andrew Cagney <ac131313@redhat.com>
505
506 * gdb.base/default.exp: Remove obsolete code.
507 * gdb.c++/misc.exp: Ditto. Update copyright.
508 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
509 * gdb.base/whatis.exp: Ditto. Update copyright.
510 * gdb.base/scope.exp: Ditto. Update copyright.
511 * gdb.base/ptype.exp: Ditto. Update copyright.
512 * gdb.base/printcmds.exp: Ditto. Update copyright.
513 * gdb.base/opaque.exp: Ditto. Update copyright.
514 * gdb.base/list.exp: Ditto.
515 * gdb.base/funcargs.exp: Ditto. Update copyright.
516 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
517 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
518 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
519 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
520 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
521 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
522
5c7a0397
MS
5232002-05-02 Michael Snyder <msnyder@redhat.com>
524
d6dcc264 525 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
526 * gdb.base/long_long.exp: Add xscale target.
527 * gdb.base/default.exp: Add xscale target.
528
eb7f1c48
JB
5292002-05-01 Jim Blandy <jimb@redhat.com>
530
531 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
532 gdb.c++/hang.exp: New test.
533
a6befae8
FF
5342002-05-01 Fred Fish <fnf@redhat.com>
535
536 * gdb.base/completion.exp: Handle completions of "./Make" for
537 more than one completion possibility, as is the case when we
538 build and test in the source tree.
539
0a310277
AG
5402002-04-29 Anthony Green <green@redhat.com>
541
542 * gdb.java/jmisc1.exp: New file.
543 * gdb.java/jmisc2.exp: New file.
544
6ff9af88
DJ
5452002-04-24 Daniel Jacobowitz <drow@mvista.com>
546
547 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
548
96b3d632
EZ
5492002-04-23 Elena Zannoni <ezannoni@redhat.com>
550
551 * gdb.base/help.exp: Change 'help status' to allow for target
552 dependent output differences.
553
5019bb54
MC
5542002-04-22 Michael Chastain <mec@shout.net>
555
556 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
557
a805a116
MC
5582002-04-22 Michael Chastain <mec@shout.net>
559
560 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
561
a1706bfd
DM
5622002-04-17 David S. Miller <davem@redhat.com>
563
564 * gdb.asm/sparc64.inc: New file.
565 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
566
a73a20a2
EZ
5672002-04-19 Elena Zannoni <ezannoni@redhat.com>
568
569 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
570 instruction file directly into the build tree. Clean up at end of
571 test.
572
ba678339
DM
5732002-04-18 David S. Miller <davem@redhat.com>
574
575 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
576 handle 64-bit platforms correctly.
577 * gdb.base/maint.exp: Likewise.
578
b03399da
KB
5792002-04-18 Kevin Buettner <kevinb@redhat.com>
580
581 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
582 ``-fpic'' when compiling files comprising a shared library, but
583 it does need additional linker flags in order to find shared
584 libraries at run time.
585
e2004992
KB
5862002-04-18 Kevin Buettner <kevinb@redhat.com>
587
588 * gdb.base/cvexpr.c (use): New function.
589 (main): Invoke use() on all global variables to prevent
590 some linkers from deleting these otherwise unused symbols.
591
d8937120
MC
5922002-04-17 Michael Chastain <mec@shout.net>
593From David S. Miller <davem@redhat.com>
594
595 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
596 handle 64-bit platforms correctly.
597
ffd61a58
MS
5982002-04-12 Michael Snyder <msnyder@redhat.com>
599From Jim Blandy <jimb@redhat.com>
600 * gdb.base/foo.c (foox): Remove section attribute; the linker
601 script can handle this instead.
602 * gdb.base/bar.c (barx): Same.
603 * gdb.base/baz.c (bazx): Same.
604 * gdb.base/grbx.c (grbxx): Same.
605
606 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
607 manager doesn't automatically unmap overlays unnecessarily.
608
6b8426a6
MH
6092002-04-10 Martin M. Hunt <hunt@redhat.com>
610
611 * gdb.base/ending-run.exp: Fix pattern for Mips targets
612 stepping out of main.
613
34af4875
MC
6142002-04-09 Michael Chastain <mec@shout.net>
615
616 * gdb.c++/local.cc (main): Move call to marker1() inside nested
617 scope so that the nested scope tests will make sense.
618 * gdb.c++/local.exp: Write patterns that actually work with gcc
619 (the HP patterns "were never known to work with gcc").
620 Keep the old aCC patterns too.
621
2d1676a0
DJ
6222002-04-09 Daniel Jacobowitz <drow@mvista.com>
623
624 * gdb.base/attach.exp: Correct target board test.
625
3a63e3f9
MC
6262002-04-08 Michael Chastain <mec@shout.net>
627
628 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
629 in a const method. Add some xfail and fail cases for configurations
630 that do not emit the "const ...".
631
f18dabd2
MC
6322002-04-07 Michael Chastain <mec@shout.net>
633
634 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
635 Accept "A * const" and "const A * const" as type of "this".
636 Fix spelling of getFunky throughout. Make messages uniform.
637
0fcddd82
EZ
6382002-04-07 Elena Zannoni <ezannoni@redhat.com>
639
640 Work around for PR gdb/285:
641 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
642
16a8534a
EZ
6432002-04-07 Elena Zannoni <ezannoni@redhat.com>
644
645 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
646 instructions file at run time instead of configure time.
647 Sometimes we run the test in a directory that is not the one we
648 configured in.
649 * gdb.asm/configure.in: Delete creation of symlink.
650 * gdb.asm/configure: Regenerate.
651
24181d81
JB
6522002-04-05 J. Brobecker <brobecker@gnat.com>
653
654 * gdb.gdb/xfullpath.exp: New test, to exercise the new
655 xfullpath () function.
656
7cdb7107
DJ
6572002-04-04 Daniel Jacobowitz <drow@mvista.com>
658
659 * gdb.asm/Makefile.in: Correct dependencies.
660
661 * gdb.asm/powerpc.inc: New file.
662 * gdb.asm/asm-source.exp: Add PowerPC.
663 * gdb.asm/configure.in: Likewise.
664 * gdb.asm/configure: Regenerated.
665
a7d17088
DJ
6662002-04-04 Daniel Jacobowitz <drow@mvista.com>
667
668 * gdb.base/relocate.exp: New file.
669 * gdb.base/relocate.c: New file.
670
cd721503
FF
6712002-04-04 Fred Fish <fnf@redhat.com>
672
673 * gdb.base/step-test.exp: Update comment regarding stopping in
674 memcpy/bcopy calls inserted as part of the compiler runtime.
675
b22ad7a7
MS
6762002-04-04 Michael Snyder <msnyder@redhat.com>
677
678 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
679
5f279fa6
DJ
6802002-04-03 Daniel Jacobowitz <drow@mvista.com>
681
682 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
683 (gdb_expect): Remove $notransfer hack.
684
dd0fd3ce
DJ
6852002-04-02 Daniel Jacobowitz <drow@mvista.com>
686
687 * gdb.c++/classes.exp ("calling method for small class"): Match
688 updated register output.
689
1e50cda1
DJ
6902002-03-30 Daniel Jacobowitz <drow@mvista.com>
691
692 Fix PR gdb/452
693 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
694 when finished. Make gdb_file_cmd send "exec-file" when
695 appropriate.
696
24015922
DJ
6972002-03-30 Daniel Jacobowitz <drow@mvista.com>
698
699 * gdb.base/attach.exp: Remove extra setup_xfail.
700
dd7dfd64
MS
7012002-03-26 Michael Snyder <msnyder@redhat.com>
702
703 * gdb.base/default.exp: Add tests for dump, append, and restore.
704 * gdb.base/help.exp: Add tests for dump, append, and restore.
705 * gdb.base/dump.exp: New file, test dump, append and restore.
706 * gdb.base/dump.c: New file.
707
48b2f8d7
MS
7082002-03-27 Michael Snyder <msnyder@redhat.com>
709
710 * gdb.base/help.exp: Modify expect strings to reflect
711 clean-ups in help messages.
712
05b4d525
FF
7132002-03-26 Fred Fish <fnf@redhat.com>
714
715 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
716 have debugging info for those functions and the compiler uses them
717 internally to copy structs around.
718
d7679631
FF
7192002-03-26 Fred Fish <fnf@redhat.com>
720
721 * gdb.base/list.exp: Revert the change made yesterday and add note
722 about why we don't list the default lines for remote targets.
723
523ac3f9
MS
7242002-03-25 Michael Snyder <msnyder@redhat.com>
725
726 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
727
754b2b8d
FF
7282002-03-25 Fred Fish <fnf@redhat.com>
729
730 * gdb.base/list.exp: This test works on remote targets so remove
731 the short circuit for remote targets. Update copyright.
732
33c3e192
FF
7332002-03-25 Fred Fish <fnf@redhat.com>
734
735 * gdb.base/attach.exp: Fix logic error that was suppressing this
736 test for all non hppa*-*-hpux* targets, instead of the hp target.
737 Move comments closer to the suppression point. Also now need to
738 check that we are running natively.
739
d43e73ee
MS
7402002-03-22 Michael Snyder <msnyder@redhat.com>
741
882c8f02
MS
742 * gdb.base/default.exp: Add test for gcore. Update copyright.
743 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 744
04c12f60
FF
7452002-03-06 Fred Fish <fnf@redhat.com>
746
747 * gdb.base/funcargs.c: Remove extraneous ';' character.
748 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
749
b43df995
MC
7502002-03-04 Michael Chastain <mec@shout.net>
751
752 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
753 accommodate gcc v3 function signature.
754 * gdb.mi/mi0-var-cmd-exp: Ditto.
755
92362027
AC
7562002-02-24 Andrew Cagney <ac131313@redhat.com>
757
758 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
759 ``GNU/Linux'' or ``Linux kernel''
760 * testsuite/gdb.threads/pthreads.c: Ditto.
761
258ad32d
MC
7622002-02-24 Michael Chastain <mec@shout.net>
763
764 * gdb.threads/pthreads.c (thread1): Add a return statement.
765 (thread2): Likewise.
766 (foo): Likewise.
767
04c3b3d4
MC
7682002-02-23 Michael Chastain <mec@shout.net>
769
770 * gdb.threads/linux-dp.c (philosopher): Add a return statement
771 to placate gcc.
772
5a2a0a20
MC
7732002-02-23 Michael Chastain <mec@shout.net>
774
775 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
776 test "ptype bint". The test passes on all my stabs configurations.
777
a640f7fc
JB
7782002-02-21 Jim Blandy <jimb@redhat.com>
779
27924826
JB
780 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
781 filename at a time, and watch for the ones we want to see.
782
a640f7fc
JB
783 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
784 types of pointers to prototyped functions.
785
edcc8c75
AC
7862002-02-20 Andrew Cagney <ac131313@redhat.com>
787
788 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
789 signed, unsigned and straight char.
790 (padding_char, padding_short, padding_int, padding_long,
791 padding_long_long, padding_float, padding_double,
792 padding_long_double): New global variables.
793 (fill, fill_structs): New functions.
794
795 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
796 for correctly sized writes. Update copyright.
797 (get_valueof): New procedure.
798 (get_sizeof): Call get_valueof.
799 (check_valueof): New procedure.
800 (check_padding): New procedure.
801
ac57ea44
MC
8022002-02-20 Michael Chastain <mec@shout.net>
803
804 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
805 to setup_xfail. Document some of the remaining calls.
806
7a10c941
MC
8072002-02-18 Michael Chastain <mec@shout.net>
808
809 * gdb.c++/userdef.exp: Update copyright year.
810
fb8acdcc
DJ
8112002-02-18 Daniel Jacobowitz <drow@mvista.com>
812
813 * gdb.c++/userdef.exp: Test overloaded operators properly.
814 Remove xfails.
815
fda6ae12
MS
8162002-02-14 Michael Snyder <msnyder@redhat.com>
817
818 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
819
676a0442
DJ
8202002-02-14 Daniel Jacobowitz <drow@mvista.com>
821
822 * gdb.base/a2-run.exp: Check for a remote target properly.
823 * gdb.base/annota1.exp: Likewise.
824 * gdb.base/list.exp: Likewise.
825 * gdb.base/reread.exp: Likewise.
826 * gdb.base/scope.exp: Likewise.
827 * gdb.base/shlib-call.exp: Likewise.
828 * gdb.base/term.exp: Likewise.
829 * gdb.c++/annota2.exp: Likewise.
830
78b4f468
RE
8312002-02-13 Richard Earnshaw <rearnsha@arm.com>
832
833 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
834
9a81ba51
MC
8352002-02-10 Michael Chastain <mec@shout.net>
836
837 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
838 (call_after_alloca): Ditto.
839
004af6c7
DJ
8402002-02-10 Daniel Jacobowitz <drow@mvista.com>
841
842 * gdb.base/ending-run.exp: Guard "cont" test with
843 gdb_skip_stdio_test.
844
37225f62
JB
8452002-02-06 Jim Blandy <jimb@redhat.com>
846
847 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
848 from here...
849 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
850 To here. Disable this test on non-HP platforms. Add big comment.
851
fe6fdd96
MS
8522002-02-04 Michael Snyder <msnyder@redhat.com>
853
854 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
855 other than d10v and m32r.
856
036fad3f
RE
8572002-02-02 Richard Earnshaw <rearnsha@arm.com>
858
859 * gdb.base/default.exp: Rewrite test patterns to reduce time
860 taken to match them.
861
7148ab62
DJ
8622002-01-30 Daniel Jacobowitz <drow@mvista.com>
863
864 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
865 Allow a start function above main.
866 * gdb.threads/linux-dp.exp: Fix copyright date.
867
396cc255
DJ
8682002-01-30 Daniel Jacobowitz <drow@mvista.com>
869
870 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
871 (check_philosopher_stack): Check for manager thread before checking
872 for a just-starting thread.
873
f038d31b
DJ
8742002-01-30 Daniel Jacobowitz <drow@mvista.com>
875
876 From Neil Booth <neil@daikokuya.demon.co.uk>:
877 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
878 warnings.
879
b3ff9d9a
FF
8802002-01-21 Fred Fish <fnf@redhat.com>
881
882 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
883 not caller.
884
39ad761d
JB
8852002-01-21 Jim Blandy <jimb@redhat.com>
886
887 * gdb.base/reread.exp: Check that GDB properly re-reads the
888 executable file when it changes while no inferior is running.
889
aaf320fa
FF
8902002-01-21 Fred Fish <fnf@redhat.com>
891
892 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
893 optionally accept the "shlib events" variation.
894
808a31f5
JB
8952002-01-21 Jim Blandy <jimb@redhat.com>
896
897 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
898 call `fflush' after every `printf', so that the output is produced
899 at predictable points, regardless of whatever buffering does (or
900 doesn't) take place.
901 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
902 at different points.
903
4420d5e2
DJ
9042002-01-20 Daniel Jacobowitz <drow@mvista.com>
905
906 * gdb.c++/inherit.exp: Update copyright years.
907 * gdb.c++/method.exp: Likewise.
908
3e36a0f4
DJ
9092002-01-20 Daniel Jacobowitz <drow@mvista.com>
910
911 * gdb.c++/classes.exp: Update for improved v3 support and skipping
912 artificial methods/arguments.
913 * gdb.c++/derivation.exp: Likewise.
914 * gdb.c++/inherit.exp: Likewise.
915 * gdb.c++/method.exp: Likewise.
916 * gdb.c++/virtfunc.exp: Likewise.
917
b4ceaee6
AC
9182002-01-18 Andrew Cagney <ac131313@redhat.com>
919
920 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
921 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
922 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
923 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
924 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
925 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
926
ecace851
JB
9272002-01-17 Jim Blandy <jimb@redhat.com>
928
929 * gdb.asm/asm-source.exp (info symbol): Take another shot at
930 anchoring the pattern matching the entry point symbol's name.
931
375fc983
AC
9322002-01-17 Andrew Cagney <ac131313@redhat.com>
933
934 * gdb.base/maint.exp: Update ``maint internal-error'' to match
935 continue/quit query. Update copyright.
936
fe6fdd96
MS
9372002-01-14 Michael Snyder <msnyder@redhat.com>
938
939 * gdb.base/gcore.exp: Remove extra debugging output.
940
e017c81f
DJ
9412002-01-13 Daniel Jacobowitz <drow@mvista.com>
942
943 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
944 for slightly dubious v2 mangled string.
945
37ab3bf8
DJ
9462002-01-13 Daniel Jacobowitz <drow@mvista.com>
947
948 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
949
1bc05c3a 9502002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 951
1bc05c3a 952 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 953
1bc05c3a
JM
954 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
955 constructors.
956 * gdb.c++/derivation.exp: Likewise.
957 * gdb.c++/templates.exp: Likewise.
958 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 959
1bc05c3a
JM
9602002-01-10 Michael Snyder <msnyder@redhat.com>
961
962 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 963
a911c360
MS
9642002-01-08 Michael Snyder <msnyder@redhat.com>
965
966 * gdb.base/gcore.exp: New test for generate-core-file command.
967 * gdb.base/gcore.c: Testcase for above.
968 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
969
ea2119ec
JM
9702002-01-08 Jason Merrill <jason@redhat.com>
971
972 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
973
68203136
FF
9742002-01-07 Fred Fish <fnf@redhat.com>
975
976 * gdb.c++/overload.exp: Remove unconditional xfails for:
977 print foo_instance1.overloadargs(1)
978 print foo_instance1.overloadargs(1, 2)
979 print foo_instance1.overloadargs(1, 2, 3)
980 print foo_instance1.overloadargs(1, 2, 3, 4)
981 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
982 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
983 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
984 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
985 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
986 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
987 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
988 print foo_instance1.overload1arg()
989 print foo_instance1.overload1arg((char)arg2)
990 print foo_instance1.overload1arg((signed char)arg3)
991 print foo_instance1.overload1arg((unsigned char)arg4)
992 print foo_instance1.overload1arg((int)arg7)
993 print foo_instance1.overload1arg((unsigned int)arg8)
994 print foo_instance1.overload1arg((float)arg11)
995 print foo_instance1.overload1arg((double)arg12)
996
21b9b5b1
MS
9972002-01-07 Michael Snyder <msnyder@redhat.com>
998
999 * gdb.base/huge.exp: New test. Print a very large target data object.
1000 (skip_huge_test): New test variable. Define if you want to skip this
1001 test. The test reads an 8 megabyte data object from the target, so it
1002 might be very time consuming on remote targets with a slow connection.
1003 * gdb.base/huge.c: New file. Test case for above.
1004
725f922e
FF
10052002-01-07 Fred Fish <fnf@redhat.com>
1006
1007 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1008 g_instance.bfoo, and g_instance.cfoo.
1009
634d57ec
JL
1010Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1011
f286b2c3
JL
1012 * gdb.base/break.c (multi_line_if_conditional): New function.
1013 (multi_ilne_while_conditional): Likewise.
1014 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1015 IF or WHILE condition puts the breakpoint at the start of
1016 the condition.
1017
634d57ec
JL
1018 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1019 hppa*-*-hpux* expected failure.
1020 * gdb.base/structs.exp (do_function_calls): Similarly.
1021
1022 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1023 watchpoints.
1024
9fbfe2dc
AC
10252002-01-06 Andrew Cagney <ac131313@redhat.com>
1026
1027 Fix PR gdb/66.
1028 * gdb.base/structs.exp: Replace skip for a29k with skip for
1029 gdb,cannot_call_functions.
1030 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1031 * gdb.base/callfuncs.exp: Ditto.
1032 * gdb.base/call-rt-st.exp: Ditto.
1033 * gdb.base/call-strs.exp: Ditto.
1034 * gdb.base/callfwmall.exp: Ditto.
1035 * gdb.base/scope.exp: Obsolete xfail a29k.
1036 * gdb.c++/misc.exp: Ditto.
1037 * gdb.c++/cplusfuncs.exp: Ditto.
1038 * gdb.base/ptype.exp: Ditto.
1039 * gdb.base/printcmds.exp: Ditto.
1040 * gdb.base/opaque.exp: Ditto.
1041 * gdb.base/list.exp: Ditto.
1042 * gdb.base/funcargs.exp: Ditto.
1043 * gdb.base/default.exp: Ditto.
1044
8ddad156
MS
10452002-01-04 Michael Snyder <msnyder@redhat.com>
1046
ca4976a6 1047 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1048 * gdb.base/maint.exp: Add tests for maint info sections options.
1049
1b074332
JL
1050Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1051
1052 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1053
7d159115
CV
10542001-12-20 Corinna Vinschen <vinschen@redhat.com>
1055
1056 * gdb.asm/arm.inc: New file.
1057 * gdb.asm/asm-source.exp: Add arm targets.
1058 * gdb.asm/configure.in: Ditto.
1059 * gdb.asm/configure: Recreated from configure.in.
1060
8fb87725
JL
1061Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1062
afabe08c
JL
1063 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1064 with HP's compiler.
1065 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1066 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1067 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1068 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1069
1070 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1071 either HP's compilers or GCC.
1072
db521deb
JL
1073 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1074 a SIGBUS or SIGSEGV.
1075
1076 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1077
1078 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1079 can be compiled with either HP's compiler or GCC.
1080
cfa88ab7
JL
1081 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1082 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1083 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1084
ca344dff
JL
1085 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1086 to match current gdb output. Update due to using auto-solib-limit
1087 for limiting instead of overloading auto-solib-add.
1088 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1089 test program.
1090
3f3c6e55 1091 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1092 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1093 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1094 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1095 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1096 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1097 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1098 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1099 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1100 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1101 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1102 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1103 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1104
8fb87725
JL
1105 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1106 a SIGTRAP to the inferior.
1107
cf599fa7
CV
11082001-12-19 Corinna Vinschen <vinschen@redhat.com>
1109
1110 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1111 Substitute call to target_link by call to gdb_compile.
1112
2cd045cd
JL
1113Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1114
1115 * gdb.base/break.exp: Fix HP specific search string when testing
1116 backtracing in a called function.
1117
1118 * gdb.base/constvars.exp: Only set lang to C++ if we're
1119 compiling the test with HP's compilers.
1120 * gdb.base/volatile.exp: Similarly.
1121
99ebe9ac
JB
11222001-12-19 Jim Blandy <jimb@redhat.com>
1123
1124 * gdb.base/printcmds.exp: Expect the null character to be printed
1125 as '\0', and the '\013' to be printed as '\v'.
1126 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1127 * gdb.base/setvar.exp: Same.
1128
b9891b29
JB
11292001-12-17 Jim Blandy <jimb@redhat.com>
1130
0eba65ab
JB
1131 * gdb.base/completion.exp: Rather than completing very long
1132 filenames, which can make the readline library produce output we
1133 don't recognize, cd to the directory first, and then complete
1134 using nice, short relative paths.
1135
6970b5b1
JB
1136 * gdb.base/completion.exp: On some systems, there is, in fact, a
1137 variable named `b' in scope, since GDB treats all static
1138 variables as being in scope. So use `no_var_named_this'
1139 instead of `b'.
1140
b9891b29
JB
1141 * gdb.base/corefile.exp: Recognize the message saying that GDB
1142 can't find the core file's registers as a failure.
1143
e6ccd35f
JSC
11442001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1145
1146 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1147 test expect string more specific.
1148
105ba819
CV
11492001-12-13 Corinna Vinschen <vinschen@redhat.com>
1150
1151 * gdb.asm/asm-source.exp: Add support for xstormy16.
1152 * gdb.asm/configure.in: Ditto.
1153 * gdb.asm/configure: Rebuild.
1154 * gdb.asm/xstormy16.inc: New file.
1155
e9e79dd9
FF
11562001-12-10 Fred Fish <fnf@redhat.com>
1157
1158 * gdb.base/maint.exp: Update to match changes in type dumping code.
1159
347dc97d
JB
11602001-12-10 Jim Blandy <jimb@redhat.com>
1161
1162 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1163 matching the entry point symbol's name at the beginning of the
1164 line.
1165
5178b9d6
DJ
11662001-12-07 Daniel Jacobowitz <drow@mvista.com>
1167
1168 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1169 gdb.c++/inherit.exp, gdb.c++/method.exp,
1170 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1171 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1172 and class layout support.
1173
af890c52
DJ
11742001-12-07 Daniel Jacobowitz <drow@mvista.com>
1175
1176 * gdb.c++/classes.exp: Add test for static member function.
1177 * gdb.c++/misc.cc: Add class with static member function.
1178
7a345fb3
JB
11792001-12-07 Jim Blandy <jimb@redhat.com>
1180
f2e54a80 1181 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1182 those tests as `unsupported'.
1183 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1184 Rewrite subsequent tests to use it.
1185
1186 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1187 those tests as `unsupported'.
1188 * gdb.base/structs.exp (call_struct_func): New function.
1189 (do_function_calls): Use call_struct_func to call the functions
1190 returning structs.
1191
0bc69509
JB
1192 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1193 whether functions are prototyped or not, so we can't possibly pass
1194 arguments to t_float_values2 properly.
1195
7a345fb3
JB
1196 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1197 value of `timeout' for targets other than the mips*tx39-*.
1198
edb6ede1
MS
11992001-12-06 Michael Snyder <msnyder@redhat.com>
1200
1201 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1202 and detect whether the start symbol has a leading underscore.
1203
2d842f13
JB
12042001-12-04 Jim Blandy <jimb@redhat.com>
1205
1206 * gdb.base/completion.exp: Clarify indentation.
1207
68550daf
JB
12082001-12-03 Jim Blandy <jimb@redhat.com>
1209
1210 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1211 variables on the S/390, not `.word'.
1212
cd5195a8
JB
12132001-11-30 Jim Blandy <jimb@redhat.com>
1214
1215 Add assembly-source tests for s390-ibm-linux.
1216 * gdb.asm/s390.inc: New file.
1217 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1218 the S/390 architecture.
1219 * gdb.asm/configure: Regenerated.
1220
ca9efc90
MS
12212001-11-30 Michael Snyder <msnyder@redhat.com>
1222
1223 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1224 next, info source, info sources, info line, global and static
1225 variables, and static functions.
1226 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1227 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1228 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1229 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1230 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1231 (gdbasm_leave): Restore frame pointer.
1232 (gdbasm_startup): Copy stack set-up from crt0.S.
1233
d0e66976
FN
12342001-11-26 Fernando Nasser <fnasser@redhat.com>
1235
1236 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1237 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1238 to a local (non-static) variable. Copy tstruct.a to a static buffer
1239 and return a pointer to that buffer.
1240 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1241
e2334072
MK
12422001-11-24 Mark Kettenis <kettenis@gnu.org>
1243
1244 * gdb.asm/configure.in: Fix recognition of ix86 target.
1245 * gdb.asm/configure: Regenerate.
1246
756caa3d
MS
12472001-11-21 Michael Snyder <msnyder@redhat.com>
1248
1249 * gdb.asm/sparc.inc: New file.
1250 * gdb.asm/asm-source.exp: Recognize sparc target.
1251 * gdb.asm/configure.in: Recognize sparc target.
1252 * gdb.asm/configure: Regenerate.
1253
9a4d72d5
MS
12542001-11-21 Michael Snyder <msnyder@redhat.com>
1255
1256 * gdb.asm/m32r.inc: New file.
1257 * gdb.asm/asm-source.exp: Recognize m32r target.
1258 * gdb.asm/configure.in: Recognize m32r target.
1259 * gdb.asm/configure: Regenerate.
1260
a773d1cd
MS
12612001-11-20 Michael Snyder <msnyder@redhat.com>
1262
017ac23d
MS
1263 * gdb.asm/i386.inc: New file.
1264 * gdb.asm/asm-source.exp: Recognize ix86 target.
1265 * gdb.asm/configure.in: Recognize ix86 target.
1266 * gdb.asm/configure: Regenerate.
1267
a773d1cd
MS
1268 * gdb.c++/namespace.exp: Fix quotes in output messages.
1269
bb632afb
MS
12702001-11-14 Michael Snyder <msnyder@redhat.com>
1271
25d559ca 1272 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1273 qualifier in a type cast expression, to designate an address
1274 in the instruction space (Harvard architecture).
1275
4749e309
MS
12762001-11-13 Michael Snyder <msnyder@redhat.com>
1277
1278 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1279 Tests for expressions using 'const' and 'volatile'.
1280
25050984
CV
12812001-11-13 Corinna Vinschen <vinschen@redhat.com>
1282
1283 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1284
1902c51f
DJ
12852001-11-12 Daniel Jacobowitz <drow@mvista.com>
1286
1287 * lib/mi-support.exp (mi_run_to_helper): Move comments
1288 outside of gdb_expect.
1289
dcf95b47
DJ
12902001-11-11 Daniel Jacobowitz <drow@mvista.com>
1291
1292 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1293 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1294 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1295 mi0_run_to): New functions.
1296 * gdb.mi/mi-simplerun.exp: Use them.
1297 * gdb.mi/mi0-simplerun.exp: Likewise.
1298 * gdb.mi/mi-var-cmd.exp: Likewise.
1299 * gdb.mi/mi0-var-cmd.exp: Likewise.
1300
45b074e1
AC
13012001-11-10 Andrew Cagney <ac131313@redhat.com>
1302
1303 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1304 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1305
bf50d346
AC
13062001-11-09 Andrew Cagney <ac131313@redhat.com>
1307
1308 * gdb.base/restore.exp: Include $expected value in restored test
1309 message.
1310
9383332c
AC
13112001-11-09 Andrew Cagney <ac131313@redhat.com>
1312
1313 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1314 implemented.
1315
db62520a
MS
13162001-11-08 Michael Snyder <msnyder@redhat.com>
1317
1318 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1319 Add pass/fail message for stop at breakpoint in call dummy function.
1320
b5703437
MS
13212001-11-07 Michael Snyder <msnyder@redhat.com>
1322
760f6330
MS
1323 * gdb.c++/templates.exp (test_template_breakpoints):
1324 If we get an overload menu, but it does not match what
1325 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1326 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1327 making the whitespace optional. Argument for "new" may be
1328 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1329 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1330 making the whitespace optional. Also replace "(void) with
1331 "((void|)), making the keyword "void" optional.
63f50499
MS
1332 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1333 making the whitespace optional. Also replace "(void) with
1334 "((void|)), making the keyword "void" optional.
3bf40917
MS
1335 * gdb.base/callfuncs.c (t_float_values): This function must
1336 _not_ be prototyped, and the following function (t_float_values2)
1337 must be prototyped (if the compiler supports it), so that GDB
1338 can be tested against both cases. Usually one case involves
1339 promotion of float to double, while the other does not.
1340 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1341 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1342 includes a stack frame for "start".
1343
c8ab4e6d
JB
13442001-11-05 Jim Blandy <jimb@redhat.com>
1345
1346 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1347 pointers are 32 bits long, and that offsets of relocs are always
1348 stored in the data (REL-style), and not in the reloc entry itself
1349 (RELA-style).
1350 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1351 stabs.
1352
3f08ced9
MS
13532001-11-01 Michael Snyder <msnyder@redhat.com>
1354
1355 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1356 and regular expression operators by using quoting.
1357
cbfa24cd
MS
13582001-10-31 Michael Snyder <msnyder@redhat.com>
1359
1360 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1361 depending on what the symbol table contains.
1362 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1363 the output of the ptype command. Similarly, accept both "const &"
1364 and "const&".
1365
aaa68313
CV
13662001-10-31 Corinna Vinschen <vinschen@redhat.com>
1367
1368 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1369 symbol `STORAGE' to allow to choose the storage class of
1370 the local datastructures.
1371 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1372 compiler directive.
1373
91740388
MS
13742001-10-30 Michael Snyder <msnyder@redhat.com>
1375
1376 * gdb.base/jump.exp: Allow it to run for all targets.
1377
1b7c05e7
CV
13782001-10-29 Corinna Vinschen <vinschen@redhat.com>
1379
1380 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1381 with new double_array size.
1382 (main): Change storage class of all local variables to static.
1383 Reduce size of double_array to 9.
1384 * gdb.base/call-ar-st.exp: Increase timeout value.
1385 Change expected output for double array to match new size in
1386 call-ar-st.c.
1387
36a22261
CV
13882001-10-29 Corinna Vinschen <vinschen@redhat.com>
1389
1390 * gdb.base/ending-run.exp: Create identical output when passing
1391 `step to end of run' case. Add regular expression branch satisfying
1392 Stormy16 target.
1393
92b8ae91
MK
13942001-10-28 Mark Kettenis <kettenis@gnu.org>
1395
1396 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1397 that we catch the expected failure under Linux/x86.
1398
cb135b83
OF
13992001-10-29 Orjan Friberg <orjanf@axis.com>
1400
1401 * gdb.base/setvar.exp: Escape curly braces.
1402 * gdb.stabs/weird.exp: Ditto.
1403
6884aa54
DJ
14042001-10-27 Daniel Jacobowitz <drow@mvista.com>
1405
1406 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1407 * gdm.mi/mi0-hack-cli.exp: Likewise.
1408
0398c9aa
AC
14092001-10-25 Andrew Cagney <ac131313@redhat.com>
1410
1411 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1412 messages.
1413
d20bf2e8
AC
14142001-10-21 Andrew Cagney <ac131313@redhat.com>
1415
1416 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1417 checking MI enabled.
1418
03dd63aa
CV
14192001-10-09 Corinna Vinschen <vinschen@redhat.com>
1420
1421 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1422
1d9d99f3
FCE
14232001-10-04 Frank Ch. Eigler <fche@redhat.com>
1424
1425 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1426 if gdb child process crashes, just signal an error.
1427
838ae6c4
JB
14282001-10-02 Jim Blandy <jimb@redhat.com>
1429
1430 * lib/gdb.exp (test_xfail_format): Simplify.
1431
1432 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1433 front of the variable name `format'. Simplify `if'.
1434
8f0cbc1c
DJ
14352001-10-01 Daniel Jacobowitz <drow@mvista.com>
1436
1437 * gdb.threads/pthreads.exp: Wait for output and delay
1438 before sending ^C.
1439
1f08dafd
DJ
14402001-10-01 Daniel Jacobowitz <drow@mvista.com>
1441
1442 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1443 some incorrect output instead of timing out.
1444 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1445
674f90ff
CV
14462001-09-28 Corinna Vinschen <vinschen@redhat.com>
1447
1448 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1449 check to allow additional `int'.
1450
9b284272
DJ
14512001-09-27 Daniel Jacobowitz <drow@mvista.com>
1452
1453 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1454 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1455
b55a4771
MS
14562001-09-27 Michael Snyder <msnyder@redhat.com>
1457
1458 * lib/gdb.exp (test_debug_format): New proc.
1459 (setup_xfail_format): Use new proc test_debug_format.
1460 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1461 proc; use new service proc test_debug_format.
1462 Replace all other "gcc_compiled" tests with this test.
1463 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1464 proc; use new service proc test_debug_format.
1465 Replace all other "gcc_compiled" tests with this test.
1466
14672001-09-27 Michael Snyder <msnyder@redhat.com>
1468
1469 * gdb.base/cvexpr.exp: New file.
1470 * gdb.base/cvexpr.c: New file
1471 Test for expressions using const and volatile keywords.
1472
4e6667ac
CV
14732001-09-26 Corinna Vinschen <vinschen@redhat.com>
1474
1475 * gdb.base/constvars.exp: Check for different orders of keywords
1476 and additional "int" strings in output.
1477
4f337972
AC
14782001-09-22 Andrew Cagney <ac131313@redhat.com>
1479
1480 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1481 responses from "help maint".
1482
2015650d
FCE
14832001-09-19 Frank Ch. Eigler <fche@redhat.com>
1484
1485 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1486 to localhost:NNN instead of :NNN, in case Xvfb is listening
1487 only on TCP.
1488
f3bcedc1
CV
14892001-09-19 Corinna Vinschen <vinschen@redhat.com>
1490
1491 * gdb.base/recurse.exp: When checking leaving the watchpoint
1492 scope, recognize when gdb is in function's epilogue and pass.
1493
6b819c92
KS
14942001-09-18 Keith Seitz <keiths@redhat.com>
1495
1496 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1497 support for running tests against sid targets.
1498 (gdbtk_done): Ditto.
1499
a10c9419
CV
15002001-09-18 Corinna Vinschen <vinschen@redhat.com>
1501
1502 * gdb.base/ending-run.c (main): Set stdout buffersize
1503 to the same reasonable value for any target.
1504 * gdb.base/ending-run.exp: Add a regular expression
1505 to make testsuite happy on Sanyo Stormy16 target.
1506
739d0d99
CV
15072001-09-17 Corinna Vinschen <vinschen@redhat.com>
1508
1509 * gdb.base/display.c (do_loops): Add float variable `f'.
1510 Increment f in loop.
1511 * gdb.base/display.exp: Increment timeout by 60 seconds.
1512 Change float display test to use variable `f'.
1513
1b8947f0
JB
15142001-09-17 Jim Blandy <jimb@redhat.com>
1515
1516 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1517 overflowing the limited breakpoint tables on some ROM monitors
1518 (like the ROM68K).
1519
9890ac81
FCE
15202001-09-15 Frank Ch. Eigler <fche@redhat.com>
1521
1522 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1523 the "-ac" (disable access control) flag.
1524
6db765ea
JH
15252001-08-30 Jeff Holcomb <jeffh@redhat.com>
1526
1527 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1528 ints.
1529
4c32cc04
KS
15302001-08-30 Keith Seitz <keiths@redhat.com>
1531
1532 * lib/gdb.exp: Move all insight-related functionality into
1533 separate file.
1534 * lib/insight-support.exp: New file.
1535
8d6e6f81
FCE
15362001-08-29 Frank Ch. Eigler <fche@redhat.com>
1537
1538 * config/sid.exp (sid_start): Never set sid verbosity; disable
1539 expect_background {} that consumed its stdout; tolerate </dev/null.
1540 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1541
6a90e1d0
AC
15422001-08-18 Andrew Cagney <ac131313@redhat.com>
1543
1544 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1545 CLI jump command to start it.
1546 (mi_run_to_main): Fail immediatly when unexpected output.
1547
1759b3c3
AC
15482001-08-18 Andrew Cagney <ac131313@redhat.com>
1549
1550 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1551 beginning of function. Fix PR gdb/191.
1552
61d11d80
FCE
15532001-08-16 Frank Ch. Eigler <fche@redhat.com>
1554
1555 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1556 what to force sid endianness to.
1557
942a4df2
KS
15582001-08-15 Keith Seitz <keiths@redhat.com>
1559
1560 * lib/gdb.exp (gdbtk_start): Don't set environment
1561 variables for TCL_LIBRARY and friends. Insight will
1562 now figure these out for itself.
1563
0521c418
MS
15642001-08-02 Michael Snyder <msnyder@redhat.com>
1565
1566 * gdb.base/completion.exp: Remove the symbol "a64l" from
1567 the expect string; this is target-specific, and not related
1568 to what is being tested.
1569
74a9a58a
DB
15702001-08-02 Dave Brolley <brolley@redhat.com>
1571
1572 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1573
c70819fa
MS
15742001-07-25 Michael Snyder <msnyder@redhat.com>
1575
c2b8fa57
MS
1576 * gdb.base/consecutive.exp: New file. Test stepping over
1577 breakpoints on consecutive instructions.
1578 * gdb.base/consecutive.c: New file.
1579
c70819fa
MS
1580 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1581 curly braces in regular expressions.
1582
2b1a1355
MS
15832001-07-25 Michael Snyder <msnyder@redhat.com>
1584
1585 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1586 legitimate output from stepping out of main.
1587
413eca6f
KS
15882001-07-22 Keith Seitz <keiths@redhat.com>
1589
1590 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1591 the empty string, do not run the tests.
1592
7e5a9322
SC
15932001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1594
1595 * gdb.base/long_long.exp: Detect size of pointer. Take into
1596 account 2-byte pointers when testing for p/a results.
1597
de58f10f
SC
15982001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1599
1600 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1601 and defined to 1K for m68hc11.
1602 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1603 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1604 (sizeof_random_data): New variable to tell the size of the data table;
1605 don't test past this size; always run to main.
1606
d6f5fea1
SC
16072001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1608
1609 * gdb.base/return2.exp: return of long long and double fails for
1610 68HC11; don't execute these tests on that platform.
1611 * gdb.base/return.exp: Return of a double fails for 68hc11.
1612
c477543d
SC
16132001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1614
1615 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1616 tests that print a float.
1617 * call-rt-st.exp: Likewise.
1618
63cf1c79
MK
16192001-07-12 Mark Kettenis <kettenis@gnu.org>
1620
1621 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1622 running this test on Linux.
1623
112f9ab5
MC
16242001-06-24 Michael Chastain <chastain@redhat.com>
1625
1626 * gdb.base/arithmet.exp: Remove some tests to make all test names
1627 unique.
1628
4970cb0f
MS
16292001-07-03 Michael Snyder <msnyder@redhat.com>
1630
1631 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1632 the output of the ptype command.
1633
d85da69f
MS
16342001-07-02 Michael Snyder <msnyder@redhat.com>
1635
4c8a82de
MS
1636 * gdb.base/completion.exp: Don't assume that break.c is the only
1637 source file that may contain functions named "marker".
d85da69f
MS
1638 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1639
8afc772b
AC
16402001-06-28 Andrew Cagney <ac131313@redhat.com>
1641
1642 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1643 of files to delete.
1644
1645 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1646 * gdb.disasm/h8300s.exp: New file.
1647 gdb.disasm/h8300s.s: Likewise.
1648
cff22675
AC
16492001-06-27 Andrew Cagney <ac131313@redhat.com>
1650
1651 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1652 empty breakpoint tables.
1653
68c81b54
AC
16542001-06-25 Andrew Cagney <ac131313@redhat.com>
1655
1656 * lib/mi-support.exp: Update args=... part of stop-reason
1657 patterns. Accept either a list or a tuple.
1658
2dd62704
AC
16592001-06-23 Andrew Cagney <ac131313@redhat.com>
1660
1661 * lib/mi-support.exp: Remove local emacs variable defining
1662 change-log-default-name.
1663
b4127474
MC
16642001-06-22 Michael Chastain <chastain@redhat.com>
1665
1666 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1667 This is operationally compatible with the previous version.
1668
8dbfb380
JB
16692001-06-13 Jim Blandy <jimb@redhat.com>
1670
1671 * lib/gdb.exp (gdb_test): Doc fix.
1672
f2d8c86d
MC
16732001-06-10 Michael Chastain <chastain@redhat.com>
1674
1675 * gdb.base/exprs.exp: Remove a duplicate test.
1676
81564d34
JB
16772001-06-06 Jim Blandy <jimb@redhat.com>
1678
1679 * gdb.base/return2.exp (main): Use values to test float and double
1680 returns that are not NaN's, to avoid being confused by IEEE
1681 comparison rules.
1682
da55addb
MS
16832001-06-04 Michael Snyder <msnyder@redhat.com>
1684
1685 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
1686 non-zero if control_c fails. Terminate the test on failure,
1687 rather than wait for 12 more tests to time out.
1688
42c65987
JB
16892001-06-06 Jim Blandy <jimb@redhat.com>
1690
b18bced9
JB
1691 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
1692 Don't forget to match the GDB prompt.
1693
42c65987
JB
1694 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
1695
5b41e5f0
JB
16962001-06-04 Jim Blandy <jimb@redhat.com>
1697
1698 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
1699 command.
1700
015e046f
KB
17012001-05-31 Kevin Buettner <kevinb@redhat.com>
1702
1703 * gdb.base/annota1.exp (info break): Match four or more spaces
1704 after "Address".
1705
fb1ffbbe
MC
17062001-05-31 Michael Chastain <chastain@redhat.com>
1707
1708 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
1709 (dm_type_int_star): Likewise.
1710 (dm_type_long_star): Likewise.
1711 (dm_type_void_star): Likewise.
1712
5ea2a32c
KB
17132001-05-29 Kevin Buettner <kevinb@redhat.com>
1714
1715 * gdb.base/completion.exp (INPUTRC): Set this environment variable
1716 to a known value in order to get consistent results regardless
1717 of the setting of INPUTRC or the presence or contents of .inputrc.
1718
ae23c492
MS
17192001-05-24 Michael Snyder <msnyder@redhat.com>
1720
ac55707e
MS
1721 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
1722 Don't require that the main thread and the manager thread are the
1723 first in the list.
1724
ae23c492
MS
1725 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
1726 debugging. If test fails, issue an "unsupported" not a "fail".
1727
400071f1
JB
17282001-05-24 Jim Blandy <jimb@redhat.com>
1729
1730 Don't assume that short is shorter than int.
1731 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
1732 assume that shorts are smaller than ints. On a 16-bit machine,
1733 this isn't true.
1734 ("print unsigned char == (~0)"): Add test that verifies that ~0,
1735 an int, is not equal to ~0 stored in an unsigned char. This tests
1736 the same thing that the previous test meant to, but works on
1737 16-bit machines, too.
1738 ("print unsigned char != (~0)"): Same test, complemented.
1739
0816a3e5
MS
17402001-05-24 Michael Snyder <msnyder@redhat.com>
1741
1742 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
1743 test for (full_coverage == 0). This makes the test run faster,
1744 and prevents dejagnu getting out of step.
1745
f6dc23a9
KB
17462001-05-23 Kevin Buettner <kevinb@redhat.com>
1747
1748 * gdb.base/finish.exp (finish_void): Revise pattern for
1749 stopping on the call statement to not permit stopping at
1750 the start of the instructions comprising the call sequence.
1751
7dbd117d
MC
17522001-05-19 Michael Chastain <chastain@redhat.com>
1753
1754 * gdb.base/callfuncs.exp: Make all test names unique.
1755 * gdb.base/commands.exp: Make all test names unique.
1756 * gdb.base/condbreak.exp: Make all test names unique.
1757 * gdb.base/dbx.exp: Make all test names unique.
1758 * gdb.base/default.exp: Make all test names unique.
1759 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
1760 and TIMEOUT messages to their corresponding PASS message.
1761 * gdb.base/ending-run.exp: Make all test names unique.
1762 * gdb.base/long_long.exp: Remove duplicate test.
1763
6b0b0a9e
KB
17642001-05-21 Kevin Buettner <kevinb@redhat.com>
1765
1766 * gdb.base/finish.exp (finish_void): Allow "finish" command to
1767 stop on the call statement as well as the statement after the
1768 call.
1769
2caa35cb
MS
17702001-05-21 Michael Snyder <msnyder@redhat.com>
1771
1772 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
1773
40713331
EZ
17742001-05-10 Elena Zannoni <ezannoni@redhat.com>
1775
1776 * gdb.base/completion.exp: Revamp test. Make it execute on all
1777 platforms.
1778
c2c1be8d
EZ
17792001-05-10 Elena Zannoni <ezannoni@redhat.com>
1780
2c9cd303
EZ
1781 * config/gdbserver.exp (gdb_load): Handle the case
1782 in which the arguments to gdbserver are given in the
1783 baseboard configuration file.
1784 Also handle the case in which the server needs to do a
1785 load.
1786
9671de48
KS
17872001-05-07 Keith Seitz <keiths@cygnus.com>
1788
1789 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
1790 set up the display for testing.
1791 (gdbtk_start): Convert all paths to paths that tcl will like.
1792 Export target information to environment.
1793 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
1794 necessary.
1795 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
1796 (to_tcl_path): New proc to convert a given pathname into
1797 a path acceptible as an argument to a tcl command.
1798 (_gdbtk_export_target_info): New proc to export target info
1799 into the environment for gdbtk testing.
1800 (gdbtk_done): New proc to signal end-of-test.
1801
5a360f47
JB
18022001-05-06 Jim Blandy <jimb@redhat.com>
1803
1804 * restore.c: Make the code of caller0 correspond to its comment.
1805
66c756c6
MS
18062001-05-03 Michael Snyder <msnyder@redhat.com>
1807
1808 * config/sid.exp (gdb_target_sid): Check for error messages.
1809 On error or timeout, don't make expect exit (which will terminate
1810 all subsequent tests); instead just make gdb exit.
1811 (gdb_load): Check for error messages. On error or timeout,
1812 return a negative value.
1813
a966fde5
JB
18142001-04-24 Jim Blandy <jimb@redhat.com>
1815
851c18e0
JB
1816 * gdb.c++/templates.exp: If we see the prompt for the overload
1817 list, but we haven't recognized any of the longer patterns,
1818 arrange for this test to fail, not hang.
1819
a966fde5
JB
1820 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
1821 variations.
1822
db144853
MC
18232001-04-22 Michael Chastain <chastain@redhat.com>
1824
1825 * gdb.c++/local.exp: Use the 'runto' library function.
1826 * gdb.c++/namespace.exp: Likewise.
1827 * gdb.c++/overload.exp: Likewise.
1828
3207ec21
KB
18292001-03-26 Kevin Buettner <kevinb@redhat.com>
1830
1831 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
1832 * gdb.base/step-line.exp: New file. Test step/next in presence of
1833 #line directives.
1834 * gdb.base/step-line.c: New file. Test program for the above.
1835 * gdb.base/step-line.inp: New file. We pretend that this file has
1836 been transformed by some other tool into step-line.c.
1837
13b57657
JB
18382001-03-21 Jim Blandy <jimb@redhat.com>
1839
1840 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
1841 unmangled operator names.
1842
754cbe1c
JB
18432001-03-20 Jim Blandy <jimb@redhat.com>
1844
1845 * gdb.threads/linux-dp.exp: Recognize an additional message
1846 generated by GDB when it doesn't understand how to debug threads
1847 on the target system.
1848
177495c9
AC
18492001-03-19 Andrew Cagney <ac131313@redhat.com>
1850
1851 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
1852
f266096b
MC
18532001-03-12 Michael Chastain <chastain@redhat.com>
1854
1855 * gdb.c++/derivation.exp: Use the 'runto' library function.
1856
cac3c2ff
MC
18572001-03-12 Michael Chastain <chastain@redhat.com>
1858
1859 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
1860
b6c11a24
MC
18612001-02-24 Michael Chastain <chastain@redhat.com>
1862
1863 * gdb.c++/ref-types.exp: Change handwritten code to library
1864 function 'runto'.
1865
6bae5bce
OF
18662001-03-16 Orjan Friberg <orjanf@axis.com>
1867
1868 * gdb.base/signals.exp: Set count to 0 explicitly.
1869
0015fd9a
MS
18702001-03-15 Mark Salter <msalter@redhat.com>
1871
1872 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
1873 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
1874 (gdb_load): Add support for additional target_info: gdb_download_size
1875 and gdb_load_timeout.
0015fd9a 1876
fc33412a
DT
1877Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
1878
1879 * gdb.base/annota1.exp: Move test of isnative to earlier in the
1880 file -- to prevent failing when the compile fails but we have no
1881 intention of running the tests anyway.
1882
1883 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
1884 tests if set.
1885
1886 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
1887 integers.
1888
1889 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
1890 * gdb.c++/namespace.exp: Ditto.
1891
115f06de
OF
18922001-03-07 Orjan Friberg <orjanf@axis.com>
1893
1894 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
1895 * gdb.base/pointers.exp: Relax pattern match of decimals.
1896
b6ba6518
KB
18972001-03-06 Kevin Buettner <kevinb@redhat.com>
1898
1899 * Makefile.in, config/abug.exp, config/cfdbug.exp,
1900 config/cpu32bug.exp, config/dve.exp, config/est.exp,
1901 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
1902 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
1903 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
1904 config/sh.exp, config/sid.exp, config/slite.exp,
1905 config/sparclet.exp, config/udi.exp, config/unknown.exp,
1906 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
1907 config/vxworks.exp, config/vxworks29k.exp,
1908 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
1909 gdb.base/all-bin.exp, gdb.base/annota1.exp,
1910 gdb.base/arithmet.exp, gdb.base/assign.exp,
1911 gdb.base/async.exp, gdb.base/attach.exp,
1912 gdb.base/bitfields.exp, gdb.base/bitops.exp,
1913 gdb.base/break.exp, gdb.base/call-ar-st.exp,
1914 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
1915 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
1916 gdb.base/commands.exp, gdb.base/completion.exp,
1917 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
1918 gdb.base/constvars.exp, gdb.base/corefile.exp,
1919 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1920 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
1921 gdb.base/ending-run.exp, gdb.base/environ.exp,
1922 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
1923 gdb.base/finish.exp, gdb.base/foll-exec.exp,
1924 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
1925 gdb.base/funcargs.exp, gdb.base/help.exp,
1926 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
1927 gdb.base/logical.exp, gdb.base/long_long.exp,
1928 gdb.base/maint.exp, gdb.base/mips_pro.exp,
1929 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
1930 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
1931 gdb.base/pointers.exp, gdb.base/printcmds.exp,
1932 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
1933 gdb.base/regs.exp, gdb.base/relational.exp,
1934 gdb.base/remote.exp, gdb.base/reread.exp,
1935 gdb.base/restore.exp, gdb.base/return2.exp,
1936 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
1937 gdb.base/selftest.exp, gdb.base/setshow.exp,
1938 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1939 gdb.base/sigall.exp, gdb.base/signals.exp,
1940 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
1941 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
1942 gdb.base/step-test.exp, gdb.base/structs.c,
1943 gdb.base/structs.exp, gdb.base/structs2.exp,
1944 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
1945 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
1946 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
1947 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1948 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
1949 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
1950 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
1951 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
1952 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
1953 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
1954 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
1955 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
1956 gdb.fortran/types.exp, gdb.java/jmisc.exp,
1957 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
1958 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
1959 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1960 gdb.trace/circ.exp, gdb.trace/collection.exp,
1961 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1962 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1963 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
1964 gdb.trace/report.exp, gdb.trace/save-trace.exp,
1965 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1966 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
1967 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
1968 notices.
1969
dc96c6c7 19702001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
1971
1972 * gdb.base/varargs.c (find_max_double): Fix printf format string:
1973 first arg is int not float.
1974
dc96c6c7 19752001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
1976
1977 * gdb.base/reread.exp: Unsupported for non-native targets;
1978 doesn't work for remote debugging.
1979
9b0c4aeb
FN
19802001-02-19 Fernando Nasser <fnasser@redhat.com>
1981
1982 From Drew Moseley <dmoseley@redhat.com>
1983 * gdb.base/ending-run.exp: Properly handle the BSP state when
1984 stepping past the end of main.
1985
02aa71d5
MC
19862001-02-19 John Moore <jmoore@redhat.com>
1987
1988 * gdb.base/commands.exp (infrun_breakpoint_command_test):
1989 Converted HPUX fix for non-expected items following multiple
1990 step commands into general solution for all platforms.
1991
1fa449a4
MC
19922001-02-18 Michael Chastain <chastain@redhat.com>
1993
1994 * gdb.c++/classes.exp (do_tests): Change runto statements
1995 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1996 statements demangler agnostic.
1997 * gdb.c++/virtfunc.exp (do_tests): Likewise.
1998 (gdb_virtfunc_restart): Likewise.
1999
b2f9ec70
MC
20002001-02-14 Michael Chastain <chastain@redhat.com>
2001
2002 * gdb.c++/inherit.exp (do_tests): Change runto statements
2003 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2004 statements demangler agnostic.
2005
cf74b8ca
AC
2006Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2007
2008 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2009 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2010 before calling common_routine 15 times'' tests.
2011
99f78f56
MC
20122001-02-11 Michael Chastain <chastain@redhat.com>
2013
2014 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2015 Helps the test script figure out which demangler is in use.
2016 (dm_type_foo_ref): Ditto.
2017 (dm_type_int_star): Ditto.
2018 (dm_type_long_star): Ditto.
2019 (dm_type_unsigned_int): Ditto.
2020 (dm_type_void): Ditto.
2021 (dm_type_void_star): Ditto.
99707966 2022 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2023 Probe the gdb demangler and set variables to accommodate
2024 formatting differences.
2025 (info_func_regexp): New function. Same as info_func, but
2026 matches against a regexp.
2027 (info_func): Match against a literal string.
2028 (print_addr_2): New function. Match against a literal string,
2029 which can be different from the input to gdb.
2030 (print_addr): Simply call print_addr_2 with the same argument twice.
2031 (test_lookup_operator_functions): Use demangler formatting variables.
2032 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2033 the tests in the same order as the C++ class declaration.
2034 (test_paddr_operator_functions): Ditto.
2035 (test_paddr_overloaded_functions): Ditto.
2036 (test_paddr_hairy_functions): Use demangler formatting variables.
2037 Add reference to gdb/19 for related tests.
2038 (do_tests): Call probe_demangler.
2039
1de8f023
KB
20402001-01-30 Kevin Buettner <kevinb@redhat.com>
2041
2042 * gdb.c++/templates.cc (printf): Remove unused function definition.
2043
ca3f91ed
MS
20442001-01-26 Felix Lee <flee@redhat.com>
2045
2046 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2047
20482001-01-25 matthew green <mrg@redhat.com>
2049
2050 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2051 up sid.
2052 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2053
20542001-01-25 matthew green <mrg@redhat.com>
2055
2056 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2057 Deprecate $sid_spawn_id.
2058 (sid_exit): Remove code necessary only for `spawn.'
2059
20602001-01-25 matthew green <mrg@redhat.com>
2061
2062 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2063
fb18ec4a
MC
20642001-01-28 Michael Chastain <chastain@redhat.com>
2065
2066 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2067 to call when tests fail. It takes gdb out of the overloaded
2068 function choice menu back to the main prompt, so that the test
2069 program stays synchronized.
2070 (set_bp_overloaded): New proc to collect all the common
2071 code for setting a breakpoint on an overloaded name. Calls
2072 take_gdb_out_of_choice_menu when needed.
2073 (menu_overload1arg): New variable to collect the repeated
2074 instances of the expected menu for an overloaded name. Change
2075 the regular expression to handle changes in g++ type encoding:
2076 "void" can be either "void" or "", and "unsigned int" can be
2077 either "unsigned int" or "unsigned".
2078 (continue_to_bp_overloaded): Change regular expressions to handle
2079 changes in g++ type encoding.
2080 (no proc): Call take_gdb_out_of_choice_menu when needed.
2081 Remove redundant calls to "info break". Accept either "canceled"
2082 or "cancelled". Change regular expressions in "info break"
2083 calls to handle changes in g++ type encoding. Give all tests
2084 unique strings.
2085
9c646a6e
BE
20862001-01-17 Ben Elliston <bje@redhat.com>
2087
2088 * config/sid.exp: New file.
2089
9549d9c1
AC
2090Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2091
2092 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2093
dc96c6c7 20942000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2095
2096 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2097 Add a RE to accept a non-ascii char if one is ever presented.
2098
b4df4f68
FN
20992000-12-20 Fernando Nasser <fnasser@redhat.com>
2100
297dd0fd 2101 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2102
dc96c6c7 21032000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2104
2105 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2106 in regexp. One '\' does not suffice on Linux.
2107
4a7bddb6
MC
21082000-12-09 Michael Chastain <chastain@redhat.com>
2109
2110 * gdb.base/break.exp (test_clear_command): Use a marker function
2111 rather than 'main' for the test function. Also move this
2112 test to an execution point where the marker function names are
2113 guaranteed to be bound to functions. (Executing tests after a
2114 'finish' from main runs into name conflicts with local names
2115 in __libc_start_main).
2116
dc96c6c7 21172000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2118
2119 * gdb.base/finish.exp: New test for gdb's "finish" command.
2120 * gdb.base/return2.exp: New test for gdb's "return" command.
2121 * gdb.base/return2.c: New source file for above.
2122
dc96c6c7 21232000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2124
2125 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2126 * gdb.base/miscexprs.exp: Ditto.
2127 * gdb.base/pointers.exp: Ditto.
2128 * gdb.c++/derivation.exp: Ditto.
2129 * gdb.c++/local.exp: Ditto.
2130 * gdb.c++/namespace.exp: Ditto.
2131 * gdb.c++/overload.exp: Ditto.
2132 * gdb.c++/ref-types.exp: Ditto.
2133
dc96c6c7 21342000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2135
2136 * gdb.base/constvars.exp: Test result of "up" command.
2137 * gdb.base/miscexprs.exp: Ditto.
2138 * gdb.base/pointers.exp: Ditto.
2139 * gdb.base/scope.exp: Ditto.
2140 * gdb.c++/derivation.exp: Ditto.
2141 * gdb.c++/local.exp: Ditto.
2142 * gdb.c++/namespace.exp: Ditto.
2143 * gdb.c++/overload.exp: Ditto.
2144 * gdb.c++/ref-types.exp: Ditto.
2145
44097287
FN
21462000-11-22 Michael Chastain <chastain@redhat.com>
2147
2148 * mips_pro.exp: Accept either "middle -> top -> main" or
2149 "middle -> main" in the backtrace, because gcc can optimize
2150 tail calls to jumps. Remove setup_xfail for the hppa case.
2151 Add a comment with the original warning messages from PR 3016,
2152 which was filed in 1993, to preserve them for posterity.
2153
9d2e1bab
ND
21542000-11-17 Nick Duffek <nsd@redhat.com>
2155
2156 * lib/gdb.exp (gdb_test): Override timeout with board info.
2157
1aca8eb7
ND
21582000-11-17 Nick Duffek <nsd@redhat.com>
2159
2160 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2161 the second kill and detach messages.
2162
93076499
ND
21632000-11-17 Nick Duffek <nsd@redhat.com>
2164
2165 * configure.in: Add AC_EXEEXT.
2166 * configure: Regenerate.
2167 * Makefile.in (just-check): Export EXEEXT.
2168 * lib/gdb.exp ($EXEEXT): Import from environment.
2169 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2170 expect "maint dump-me" on Cygwin.
2171 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2172 $EXEEXT.
2173
30e87cd3
ND
21742000-11-17 Nick Duffek <nsd@redhat.com>
2175
2176 * gdb.base/break.exp: Test backtrace and finish from called
2177 function on all platforms, not just HP-UX.
2178
dc96c6c7 21792000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2180
2181 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2182 code from gdb_target_monitor, so it can be used independantly
2183 for gdbserver. Also comment out an unnecessary PUTS.
2184
dc96c6c7 21852000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2186
2187 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2188 * gdb.base/corefile.exp: Expect the message "Program is being
2189 debugged already" when we send the "corefile" command, since
2190 the preceeding gdb_load may have connected gdb to a remote target.
2191 * gdb.base/display.exp: Disable hardware watchpoints if new
2192 board info variable "no_hardware_watchpoints" is true.
2193 Replace single-letter commands with more readable ones.
2194 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2195 if new board info variable "no_hardware_watchpoints" is true.
2196 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2197 to see if stdio (printf) testing is possible.
2198 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2199 board info variable "no_hardware_watchpoints" is true. Use new
2200 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2201
39124dea
FN
22022000-11-13 Fernando Nasser <fnasser@redhat.com>
2203
2204 From Orjan Friberg <orjanf@axis.com>:
2205 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2206 in array print pattern match.
2207
a9e2e984
FN
22082000-11-09 Fernando Nasser <fnasser@redhat.com>
2209
2210 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2211 spelling "cancelled" to U.S. spelling "canceled" to match changes
2212 made to gdb.
2213 * gdb.c++/ovldbreak.exp: Ditto.
2214
c7db355b
PS
22152000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2216
2217 * gdb.base/callfuncs.c (main): Moved to end of file, call
2218 t_double_values to initialize the FPU before inferior calls are made.
2219 * gdb.base/callfuncs.exp: Test for register preservation after calling
2220 inferior functions. Add tests for continuining, finishing and
2221 returning from a stop in a call dummy.
2222
dc96c6c7 22232000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2224
2225 * gdb.base/commands.exp: Break up long lines, and re-indent.
2226
dc96c6c7 22272000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2228
2229 * config/gdbserver.exp: Rewritten from the ground up, to make it
2230 compatible with the current dejagnu tree, and to make it work with
2231 the new "gdbserver" in libremote.
2232
dc96c6c7 22332000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2234
2235 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2236 * gdb.base/varargs.exp: Skip entire test if no printf support.
2237 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2238 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2239
dc96c6c7 22402000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2241
2242 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2243 no floating point support.
2244 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2245 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2246 * gdb.base/call-rt-st.exp: Ditto.
2247 * gdb.base/call-strs.exp: Ditto.
2248
bac5fc66
JG
22492000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2250
2251 * gdb.base/sizeof.c: include <stdio.h>.
2252
2253 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2254 'finish', otherwise uncaptured gdb_prompt would potentially
2255 throw remaining test points out of sync.
2256
b22a6027
SB
22572000-07-26 Scott Bambrough <scottb@netwinder.org>
2258
2259 * gdb.base/recurse.exp: Run tests for all targets.
2260 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2261 gnu-oldld case on ARM.
2262 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2263 for ARM targets.
2264
d8231941
AG
2265Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2266
2267 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2268 * gdb.java/configure: Rebuild.
2269
8caabe69
AG
2270Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2271
2272 * gdb.java/jv-exp.exp: New file.
2273
9d273ca3
AG
2274Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2275
2276 * configure: Rebuilt.
2277 * configure.in (configdirs): Add gdb.java.
2278 * gdb.java/jmisc.java: New file.
2279 * gdb.java/jmisc.exp: New file.
2280 * gdb.java/Makefile.in: New file.
2281 * gdb.java/configure: Rebuilt.
2282 * gdb.java/configure.in: New file.
2283 * lib/java.exp: New file.
2284
4f823a66
AC
2285Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2286
2287 * gdb.base/exprs.exp: Test casts to a pointer including over and
2288 underflow.
2289
2391e11d
AC
2290Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2291
2292 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2293 and the compilers sizes.
2294
54602222
ND
22952000-07-09 Nick Duffek <nsd@redhat.com>
2296
2297 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2298 (use_methods): New function.
2299 (main): Call use_methods().
2300 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2301 (do_tests): Call test_method_param_class.
2302
2bec0572
ND
23032000-07-09 Nick Duffek <nsd@redhat.com>
2304
2305 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2306 spelling.
2307 (test_enums): New procedure. Move enum tests from end of script
2308 to here. Set breakpoint on function name instead of line number.
2309 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2310 (enums2): New marker function.
2311 (enums1): New function.
2312 (main): Call enums1(). Move enum tests to enums1().
2313
78492fde
AC
2314Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2315
2316 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2317 compile/link program. Update line numbers.
2318 * gdb.asm/d10v.inc: Define ``startup''.
2319 * gdb.asm/asmsrc1.s: Add definition of _start.
2320
49a2cef8
AC
2321Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2322
2323 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2324
3e6c8688
EZ
23252000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2326
2327 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2328 of 'help maint print' command.
2329
9ff5cbe9
AC
2330Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2331
2332 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2333 they use gdb_expect_list.
2334
17c579bd
AC
2335Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2336
2337 * gdb.base/commands.exp: Use ``set remote
2338 memory-read-packet-size'' instead of ``set endian big'' to test
2339 long commands.
2340
e6d71bf3
DB
23412000-06-03 Daniel Berlin <dan@cgsoftware.com>
2342
2343 * gdb.c++/templates.exp (do_tests): Make all of these work under
2344 g++, and stop skipping them.
2345
2346 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2347 work under g++.
2348
e5f9ba7b
MS
2349 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2350 initialization.
2351
dc96c6c7 23522000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2353
2354 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2355 the regular expression: accept an (almost) arbitrary sequence of
2356 "frames-invalid" and "breakpoints-invalid" messages both before
2357 and after the "starting" message.
2358
dc96c6c7 23592000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2360
2361 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2362
dc96c6c7 23632000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2364
2365 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2366 Relax the regular expression a little, make it pass on Solaris 8.
2367
8216cda9
KB
23682000-05-12 Kevin Buettner <kevinb@redhat.com>
2369
2370 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2371 a call, do not require that gdb stop on the line after the call.
2372 Instead, it is permissible for gdb to stop on the line of the
2373 call itself.
2374
1a570b2f
MS
23752000-05-12 Michael Snyder <msnyder@.cygnus.com>
2376
2377 * gdb.base/break.exp (bp on small function, optimized file):
2378 Add a second pass pattern. The behavior differs here between stabs
2379 and dwarf for one-line functions. Stabs preserves two line symbols
2380 (one before the prologue and one after) with the same line number,
2381 but dwarf regards these as duplicates and discards one of them.
2382 Therefore the address after the prologue (where the breakpoint is)
2383 has no exactly matching line symbol, and GDB reports the breakpoint
2384 as if it were in the middle of a line rather than at the beginning.
2385
dc96c6c7 23862000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2387
2388 * gdb.base/interrupt.exp: Make "pass" message say "send"
2389 rather than "send_gdb" (for consistancy).
2390
7d418785
AC
2391Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2392
2393 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2394 * gdb.c++/templates.cc: Properly check for GCC version number.
2395 * lib/compiler.cc: Likewise
2396
dc96c6c7 23972000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2398
2399 * gdb.base/break.exp: When compiled with -O2 optimization,
2400 gdb may not stop at the first line of main, due to code motion.
2401
dc96c6c7 24022000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2403
2404 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2405 This test depends on parsing the printf output from the target.
2406 Since the sparclet stub doesn't do stdio, this will never work.
2407 * gdb.base/call-rt-st.exp: ditto.
2408 * gdb.base/call-strs: ditto.
2409
dc96c6c7 24102000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2411
2412 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2413
2414 * gdb.base/ending-run.exp: After connecting to a remote target,
2415 but before running, the target will appear to be in a random
2416 location. Specify both a file and a line for breakpoints.
2417 Also, the function that calls main may be called 'init'
2418 rather than 'start'.
2419
a5a51225
EZ
24202000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2421
2422 * gdb.base/help.exp: Update output for add-symbol-file command.
2423
7930cc7c
FN
24242000-04-10 Fernando Nasser <fnasser@cygnus.com>
2425
2426 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2427 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2428
23e37ab1
C
24292000-04-07 J.T. Conklin <jtc@redback.com>
2430
e93c542c
C
2431 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2432
23e37ab1
C
2433 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2434
591b8fa3
PDM
2435Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2436
2437 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2438 values that can be represented exactly.
2439 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2440 above change, and to not check against the directory part of the source
2441 file name.
2442 (step into print_long_arg_list): Likewise.
2443 (print print_small_structs from print_long_arg_list): Likewise.
2444 (print print_long_arg_list): Likewise.
2445
7a495180
EZ
24462000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2447
30b53638 2448 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2449
beb998c6
AC
2450Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2451
2452 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2453
1c689132
DB
24542000-03-25 Daniel Berlin <dan@cgsoftware.com>
2455
2456 * gdb.base/commands.exp (deprecated_command_test): Add test for
2457 deprecate with no arguments.
2458
c1790a9d
JL
24592000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2460
2461 * gdb.base/break.exp: Add new test for setting breakpoints on
2462 optimized code so we can test breakpoints work even when function
2463 prologues may be optimized away
2464
003ba290
FN
24652000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2466
2467 From David Whedon <dwhedon@gordian.com>
2468 * gdb.base/commands.exp : Added command deprecator tests.
2469
6837a0a2
DB
24702000-03-22 Daniel Berlin <dan@cgsoftware.com>
2471
2472 * gdb.base/help.exp: Added test for new apropos command.
2473
b9593231
KB
24742000-03-21 Kevin Buettner <kevinb@redhat.com>
2475
2476 * gdb.base/pointers.c (usevar): New function.
2477 (main): Make sure that global variables v_int_pointer2, rptr,
2478 and y are all referenced someplace in the program by calling
2479 usevar() on them. [Some linkers delete symbols which are
2480 never referenced. The space remains, but there's no way to
2481 get a (symbolic) handle on the variable from the debugger.]
2482
751a959b
EZ
24832000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2484
2485 * gdb.base/printcmds.c: Add typedeffed arrays.
2486
2487 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2488 procedure to test arrays that are typedef'd.
2489
73a93a32
JI
24902000-03-13 James Ingham <jingham@leda.cygnus.com>
2491
2492 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 2493 the library directories.
73a93a32 2494
fb40c209
AC
2495Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2496
2497 * configure.in (configdirs): Add sub directory gdb.mi.
2498 * configure: Re-generate.
2499
2500 * gdb.mi: New directory.
beb998c6 2501
ee4dd2c9
AC
25022000-02-25 Scott Bambrough <scottb@netwinder.org>
2503
2504 * gdb.base/long_long.exp: Correct test suite failure when printing
2505 a long long value as a double on ARM platforms.
2506
70f0cc22
JB
25072000-02-16 Jim Blandy <jimb@redhat.com>
2508
2509 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2510 default source file is set properly before running this test.
2511
853819b8
EZ
25122000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2513
2514 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2515 gdbtk/library directory, not in gdbtcl2.
2516
dfcd3bfb
JM
25172000-02-04 Jim Blandy <jimb@redhat.com>
2518
2519 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2520 backslash from regexp pattern.
2521
2522 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2523 procedure. Use it to run all the "continue to bp overloaded"
2524 tests. Note that this changes the names of the tests slightly.
2525 If the breakpoint hit message includes a hex PC value, because
2526 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2527 from the real source code, still consider that a pass.
2528
2529 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2530 XFAIL here if the breakpoint message contains a hex address. Note
2531 similar change on 1999-11-02.
2532
2533 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2534
2535 * gdb.base/ptype.exp: Establish a default source file before
2536 calling get_debug_format.
2537
25382000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2539
2540 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2541
8b93c638
JM
25422000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2543
2544 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2545 of successive stepi commands -- while in the prologue we should see
2546 the function entry bracket.
2547
25482000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2549
2550 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2551 reach __change_mode() when stepping through the end of main().
2552
c5394b80
JM
25532000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2554
2555 * gdb.base/default.exp: Fix expected pattern.
2556 * gdb.base/help.exp: Same.
2557
0d06e24b
JM
25582000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2559
2560 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2561 Don't use xfail's because that affects only the following test.
beb998c6 2562
0d06e24b
JM
2563 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2564 solaris or linux.
2565
2566 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2567
dc96c6c7 25682000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2569
beb998c6 2570 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2571 "A syntax error" rather than "A parse error". Accept both.
2572
25732000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2574
2575 * gdb.base/default.exp: Remove OS dependent string from "target
2576 remote" test.
2577 * gdb.base/help.exp: Same for "help target remote" test.
2578
c3f6f71d
JM
25792000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2580
2581 From Jim Kingdon <kingdon@redhat.com>:
2582
2583 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2584 prompt (cleanup rather than necessity, but still might keep output
2585 from spilling to next test).
2586
25872000-01-02 Fred Fish <fnf@cygnus.com>
2588
2589 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2590 AIX, which defines them in <sys/types.h>.
2591
ed9a39eb 25921999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2593
ed9a39eb
JM
2594 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2595 float" test.
2596
25971999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2598
ed9a39eb 2599 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2600
2601 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2602 outermost frame disallowed".
2603
26041999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2605
2606 * gdb.base/setvar.exp: New tests for setting the value of a struct
2607 with a constant list.
2608
26091999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2610
2611 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2612 require the user to type a cast before setting the value of a struct.
2613
de57eccd
JM
26141999-12-06 Jim Blandy <jimb@cygnus.com>
2615
2616 * gdb.base/default.exp: Expect the new 'info float' command on
2617 all i386 platforms.
2618
2619 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2620 LinuxThreads libraries that don't support debugging.
2621
c2d11a7d
JM
2622Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2623
2624 * gdb.base/remote.c: Fill the buffer with truely random data.
2625 Change the buffer type to ``unsigned char'' to simplify size
2626 arithmetic.
2627
2628 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2629 stub only handles 400-1 byte packets. Verify that the download
2630 worked.
2631
26321999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2633
2634 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2635 tests, using UNRESOLVED for the untested cases. Also, does not wait
2636 for a timeout if the prompt was received before a recognizable pattern.
2637
26381999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2639
2640 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2641
26421999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2643
2644 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2645 watchpoints.
2646
26471999-11-24 Jason Merrill <jason@casey.cygnus.com>
2648
2649 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2650
2651 * gdb.c++/local.exp: Be more flexible in recognizing local class
2652 name mangling. Don't allow horribly truncated method names.
2653 * gdb.c++/derivation.exp: Expect protected inheritance.
2654 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2655 * gdb.c++/virtfunc.exp: Likewise.
2656 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2657 when printing a nested enum.
2658
26591999-11-22 Jim Blandy <jimb@cygnus.com>
2660
2661 * gdb.base/step-test.exp: Properly await GDB's response to setting
2662 a breakpoint on the call to large_struct_by_value.
2663
2664 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2665 just because we have debug info for the `start' function.
2666
26671999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2668
2669 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2670 "Unknown signal" messages, which indicate (on LinuxThreads) that
2671 GDB doesn't know how to debug threads on this system. This is
2672 better than hanging while philosopher 0 dumps chatter into gdb.log.
2673
26741999-11-18 Tom Tromey <tromey@cygnus.com>
2675
2676 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
2677
26781999-11-18 Fred Fish <fnf@cygnus.com>
2679
2680 * gdb.base/coremaker2.c: Add sample program for generating
2681 cores that is more self contained than coremaker.c. Eventually
2682 I'll add more code to this and tie it into the testsuite.
2683
4ce44c66
JM
26841999-11-12 Stan Shebs <shebs@andros.cygnus.com>
2685
2686 * gdb.base/dollar.exp: Remove, now in gdb.hp.
2687
26881999-11-10 Jimmy Guo <guo@cup.hp.com>
2689
2690 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
2691 from $srcdir/lib/.
2692 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
2693 and gdb.c++/.
2694
2695 * gdb.c++/derivation.exp: remove redundant get compiler info code.
2696
beb998c6 2697 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
2698 'continue with watch' test point.
2699
27001999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
2701
2702 Merged from p2linux-990323-branch:
beb998c6 2703
4ce44c66
JM
2704 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
2705
11cf8741
JM
2706Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
2707
2708 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
2709 {limit,fixed}''. Test ``set download-write-size''.
2710
2711Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
2712
2713 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
2714 gdb_expect_list.
2715
2716Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2717
2718 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
2719
27201999-11-03 Mark Salter <msalter@cygnus.com>
2721
2722 * gdb.base/break.exp: Fix "stub continue" pattern.
2723
27241999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
2725
2726 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
2727
27281999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
2729
2730 * gdb.base/display.exp ("finish"): Add timeout clause.
2731
2732 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
2733 plain prompt clause, so this doesn't have to time out in order to
2734 fail.
2735
2736 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
2737 breakpoint hit messages include an address.
2738
2739 * gdb.base/display.exp: Don't forget to escape parens in regular
2740 expressions. Unix regexp notatation sucks.
2741
27421999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2743
2744 * gdb.base/annota1.exp: Test for annotate-signalled: change output
2745 order for 'signalled' message.
2746
5c44784c
JM
27471999-11-01 Stan Shebs <shebs@andros.cygnus.com>
2748
2749 From Jimmy Guo <guo@cup.hp.com>:
2750 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
2751 * gdb.base/annota1.c: Add code for tests to work with.
2752
27531999-10-26 Frank Ch. Eigler <fche@cygnus.com>
2754
2755 * gdb.base/remote.exp: New test for remote downloading settings.
2756 * gdb.base/remote.c: New file with large .data.
2757
917317f4
JM
27581999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
2759
2760 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
2761 for LinuxThreads support, merged from the Code Fusion branch.
2762
2763Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
2764
2765 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
2766 containing exp_continue into a while within an expect. Don't
2767 attempt a start more than three times. Check return value from
2768 gdb_load.
beb998c6 2769
2df3850c
JM
2770Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
2771
2772 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
2773 a pass case.
2774
2acceee2
JM
27751999-10-01 Kevin Buettner <kevinb@cygnus.com>
2776
2777 * gdb.base/break.c (main): Added a statement that we can step
2778 off of.
2779 * gdb.base/break.exp: Added tests for setting a breakpoint
2780 at an offset and stepping onto a breakpoint.
2781
27821999-10-01 Fred Fish <fnf@cygnus.com>
2783
beb998c6 2784 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
2785 gdb output.
2786
c2c6d25f
JM
27871999-09-18 Jim Blandy <jimb@cris.red-bean.com>
2788
2789 * gdb.base/break.exp: Code locations are in hex, don't forget!
2790 (For HP-UX.)
2791
27921999-09-17 Stan Shebs <shebs@andros.cygnus.com>
2793
2794 * condbreak.exp: Use break.c as test program.
2795 * condbreak.c: Remove, redundant with break.c.
2796
27971999-09-15 Stan Shebs <shebs@andros.cygnus.com>
2798
2799 * config/monitor.exp (gdb_target_monitor): Disable X- and
2800 Z-packets if the target needs it.
2801
28021999-09-13 James Ingham <jingham@leda.cygnus.com>
2803
2804 * gdb.c++/overload.exp: Added tests for listing overloaded
2805 functions with function pointers in the arg, explicitly calling
2806 out the version you want.
2807
cff3e48b
JM
28081999-09-09 Stan Shebs <shebs@andros.cygnus.com>
2809
2810 * long_long.exp: Add variations of test cases that work for
2811 targets with 16-bit ints and 32-bit doubles.
2812
d4f3574e
SS
28131999-09-08 Stan Shebs <shebs@andros.cygnus.com>
2814
2815 * break.c (main): Compare a possibly-uninitialized argc with an
2816 unlikely value that fits in 16 bits.
2817
28181999-09-07 Stan Shebs <shebs@andros.cygnus.com>
2819
2820 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
2821 0xfeeb, don't want negative numbers if ints are 16 bits.
2822
2823 * lib/gdb.exp (skip_cplus_tests): New proc.
2824 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2825 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
2826 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
2827 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
2828 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
2829 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
2830 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
2831 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
2832
2833 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
2834
2835Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
2836
2837 * gdb.base/corefile.exp (up): Allow a parameter to appear
2838 in the frame that we're going up to.
2839
2840 From Jim Blandy <jimb@cygnus.com>:
2841
2842 * gdb.base/default.exp (info float): Expect some output now.
2843
2844 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
2845 returning floating-point values to fail on the x86.
2846 * gdb.base/callfwmall.exp (do_function_calls): Same.
2847
2848 * gdb.base/list.exp (test_listsize): Correct expectations for
2849 listing line 1 with listsize 2. Also, listing a single line
2850 works now, as does listing three lines. [Kevin's note: There
2851 were a number of other cases fixed too where the expectations
2852 differed...]
2853
28541999-09-02 Stan Shebs <shebs@andros.cygnus.com>
2855
2856 * gdb.base/selftest.exp: Add case for when version prints as
2857 constant string instead of char pointer.
2858
104c1213
JM
28591999-08-25 Stan Shebs <shebs@andros.cygnus.com>
2860
2861 * gdb.base/ending-run.exp: Add Solaris case for what happens when
2862 stepping out of main.
2863
2864 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
2865 G++ used.
2866
2867 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
2868 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
2869
2870 * gdb.c++/ovldbreak.exp: Update match string in test that
2871 includes a warning of multiple breakpoints.
2872
28731999-08-24 Stan Shebs <shebs@andros.cygnus.com>
2874
2875 * gdb.base/display.exp: Improve precision of step-after-finish
2876 added yesterday.
2877
2878 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
2879 test.
2880
2881 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
2882 configs when using G++, not just hppa*.
2883
28841999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2885
2886 * gdb.base/async.c: New file.
2887 * gdb.base/async.exp: New file.
2888
2889Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
2890
2891 * gdb.base/break.exp: Tweak PA specific tests to properly handle
2892 PA64.
2893
53a5351d
JM
2894Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
2895
104c1213
JM
2896 * gdb.base/display.exp: "finish" can leave us mid-line on many
2897 targets, deal with it. Add a small constant to main, instead of
2898 1000 since main+1000 may not be a valid address in the target.
2899
53a5351d
JM
2900 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
2901 on hpux11.
2902
2903 * gdb.base/attach.exp: Handle another hpux11 error message variant
2904 when attaching to a process that does not exist.
2905
29061999-08-19 J.T. Conklin <jtc@redback.com>
2907
2908 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
2909 characters in 'continue to 1241' test.
2910
29111999-08-17 Stan Shebs <shebs@andros.cygnus.com>
2912
2913 * gdb.base/call-ar-st.exp: Add a shorter match case for the
2914 stop in print_long_arg_list, define and use a whitespace
2915 variable in print_small_structs test, add an XFAIL for Solaris.
2916 * gdb.base/dbx.exp: XFAIL func commands until somebody is
2917 interested enough to fix.
2918
7be570e7
JM
29191999-08-13 Keith Seitz <keiths@cygnus.com>
2920
2921 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
2922 (dbx_gdb_load): Remove. Use gdb_load instead, since that
2923 proc knows about targets other than the natives.
2924 (test_assign): Use "gdb_run_cmd" to "run" the target.
2925 Check that we've actually hit the breakpoint at main.
2926 When we attempt to assign a value to a local variable, check
2927 that the variable is in the current scope, i.e., don't use
2928 a test with an empty result.
2929
2930Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2931
2932 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
2933 command.
2934
29351999-08-09 Stan Shebs <shebs@andros.cygnus.com>
2936
2937 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2938 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
2939 gdb.compat, gdb.threads-hp.
2940 gdb.hp/configure, gdb.hp/configure.in: New files.
2941 gdb.hp/Makefile.in: Recurse into new subdirs.
2942 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
2943 gdb.hp/gdb.objdbg: New directory, tests for debugging info
2944 in object files.
2945 gdb.hp/tools: New directory, aux tools for HP-specific tests.
2946
96baa820
JM
29471999-08-05 Stan Shebs <shebs@andros.cygnus.com>
2948
2949 * gdb.base/display.exp: Help expect by putting a newline in the
2950 funky printf, remove a bogus p/a test.
2951
29521999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2953
2954 * gdb.base/display.exp: Make sure that when we say 'run', we are
2955 connected to the target. This is necessary when running not
2956 natively.
2957
29581999-08-03 Stan Shebs <shebs@andros.cygnus.com>
2959
2960 * gdb.base/step-test.exp: Removed some extraneous messages.
2961
2962 * gdb.base/long_long.exp: Don't run memory examination tests
2963 on little-endian targets (they will need a different set of
2964 results to match).
2965
29661999-08-02 Stan Shebs <shebs@andros.cygnus.com>
2967
2968 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
2969 until somebody decides to fix GDB.
2970
2971 * gdb.base/long_long.c: Stop compiler complaint by specifying long
2972 constant as "ULL".
2973 * gdb.base/long_long.exp: Loosen x/c test, add partial result
2974 matches for a couple x/2 commands.
2975
a0b3c4fd
JM
29761999-07-30 Stan Shebs <shebs@andros.cygnus.com>
2977
2978 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
2979 by merging in ref-types2 tests.
2980 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
2981
2982 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2983 * gdb.c++/Makefile.in: Add standard actions.
2984 (EXECUTABLES): Rename from PROGS, update list.
2985 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
2986 from gdb.hp.
2987 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
2988 foo and bar locals.
2989 * gdb.c++/anon-union.exp: Fix tests to match.
2990 * gdb.c++/classes.exp: Run if HP compiler used, add extra
2991 expect matches to handle output variations.
2992 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
2993 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
2994 output, add HP alternatives for new and delete prints.
2995 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
2996 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
2997 * gdb.c++/demangle.exp: Use $style when reporting failure.
2998 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
2999 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3000 match alternatives.
3001 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3002 compilers.
3003 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3004 * gdb.c++/method.exp: Add match alternatives.
3005 * gdb.c++/misc.cc: Add bool types.
3006 * gdb.c++/misc.exp: Add tests for bool types.
3007 * gdb.c++/overload.exp: Add xfails.
3008 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3009 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3010 add some more template parameter tests (only for HP currently).
3011 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3012 * gdb.c++/virtfunc.cc: Add return type and value for main.
3013 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3014 match alternatives.
beb998c6 3015
a0b3c4fd
JM
30161999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3017
3018 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3019
30201999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3021
3022 * gdb.base/signals.exp: Don't expect getting a backtrace from
3023 within a signal handler to fail on Linux.
3024
30251999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3026
3027 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3028 * lib/gdb.exp: Remove some gratuitious semicolons.
3029 (delete_breakpoints): Increase timeout.
3030 (gdb_expect): Add -notransfer option.
3031 (gdb_test): Use -notransfer option.
3032 (get_compiler_info): Add f77 case.
3033 (get_compiler): New proc, split out from gdb_preprocess, add f77
3034 case.
3035 (gdb_preprocess): Call get_compiler.
3036
3037 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3038 * gdb.base/attach.exp, gdb.base/display.exp,
3039 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3040 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3041 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3042 third arg to gdb_test.
3043 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3044 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3045 HP-UX xfails, add others.
3046 * gdb.base/completion.exp: Reflect name change of self-test.
3047 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3048 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3049 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3050 HP failure number.
3051 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3052 useless HP-UX 10.30 references.
3053 * gdb.base/maint.exp: Loosen matches.
3054 * gdb.base/pointers.c (main): Declare more_code.
3055 * gdb.base/pointers.exp: Match on output of a `next'.
3056 * gdb.base/structs.c: Add prototypes.
3057 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3058 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3059
30601999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3061
3062 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3063 command.
3064
30651999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3066
3067 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3068 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3069
3070 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3071 debug info. Deal with lack of signal hanlder info in stack.
3072
3073 From Jim Kingdon <kingdon@redhat.com>:
3074 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3075
5a2468f5
JM
30761999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3077
3078 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3079 gdb.base/foll-vfork.exp: Don't run for crosses.
3080
adf40b2e
JM
3081Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3082
3083 * gdb.base/configure.in: Check for gdbvars.exp instead of
3084 a1-selftest.exp.
3085 * gdb.base/configure: Re-generate.
3086
30871999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3088
3089 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3090 in trying to run first and name is too long.
3091
3092 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3093 pointers2.c and pointers2.exp, respectively.
3094 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3095 doschk happier.
3096
43e526b9
JM
30971999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3098
3099 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3100 callfuncs2.c and callfuncs2.exp.
3101
3102 * gdb.base/list.exp: Remove mistaken xfails.
3103 * gdb.base/list0.h: Add optional prototypes.
3104
9846de1b
JM
3105Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3106
3107 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3108 calling malloc.
3109 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3110 * ptype.exp: Move test for get_debug_format to before its first
3111 use.
3112
31131999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3114
3115 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3116 * gdb.base/annota2.cc, annota2.exp: Move from here.
3117 * gdb.c++/annota2.cc, annota2.exp: To here.
3118 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3119
43ff13b4
JM
3120Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3121
3122 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3123 a consistent format.
3124
085dd6e6
JM
31251999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3126
3127 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3128 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3129 HP compilers, also set the globals $true and $false.
3130
3131 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3132 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3133 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3134 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3135 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3136 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3137 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3138 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3139 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3140 whatis.c} Add C++ compatible function definitions and return
3141 types, add includes for library functions.
3142 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3143 * gdb.base/step-test.c (myglob): Rename from glob.
3144 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3145 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3146 files, move here from gdb.hp.
3147 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3148 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3149 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3150 Adjust line numbers in regexps.
3151
3152 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3153 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3154 instead of 0/1.
3155
3156 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3157 foll-vfork.exp: New files, move here from gdb.hp.
3158 * gdb.base/page.exp: New file, test of pagination command.
3159
3160 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3161 recursion test.
3162 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3163
3164 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3165 gdb.base/solib.exp: Fix compiler invocation process.
3166
3167 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3168 HP-UX 11, turn off overload resolution explicitly.
3169 * gdb.base/commands.exp: Set argument list explicitly, add
3170 watchpoint test.
3171 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3172 them work.
3173 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3174 expressions properly.
3175 * gdb.base/corefile.exp: Loosen the match slightly.
3176 * gdb.base/default.exp: Allow "Error accessing memory" message
3177 also.
3178 * gdb.base/display.exp: Skip over x/0 j if PA64.
3179 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3180 * gdb.base/interrupt.exp: Ditto.
3181 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3182 in use.
3183 * gdb.base/list.exp: Add xfails for HP-UX.
3184 * gdb.base/long_long.exp: Refine some of the numeric matches.
3185 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3186 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3187 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3188 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3189 * gdb.base/ptype.exp: Succeed on more varieties of output.
3190 * gdb.base/scope.exp: Add xfails for HP-UX.
3191 * gdb.base/sect-cmd.exp: Add more cases.
3192 * gdb.base/setvar.exp: Add xfails for HP-UX.
3193 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3194 * gdb.base/signals.exp: Match on void symbolically.
3195 * gdb.base/step-test.exp: Add case for PA64.
3196 * gdb.base/term.exp: Add exit and restart.
3197 * gdb.base/twice.exp: Clean up after self.
3198 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3199 * gdb.base/whatis.exp: Allow more ways to pass tests.
3200
3201 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3202 no longer useful.
3203
3204Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3205
3206 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3207 list of patterns.
3208 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3209 print_double_array(double_array)", "continuing to breakpoint
3210 1018", "print print_double_array(array_d)" and "continuing to
3211 1034" tests.
beb998c6 3212
085dd6e6
JM
32131999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3214
3215 * Makefile.in: Add empty html and install-html targets.
3216
32171999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3218
3219 * config/mt-*: Remove, these haven't been used since 1996.
3220
32211999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3222
3223 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3224 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3225 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3226
9e0b60a8
JM
32271999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3228
3229 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3230 simpler match case for the ptype of the big class.
3231
32321999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3233
3234 * gdb.exp: Fix test for gdb_prompt existence.
3235
32361999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3237
3238 * gdb.exp (gdb_test): Add fail after calls to perror.
3239
32401999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3241
3242 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3243
32441999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3245
3246 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3247
0f71a2f6
JM
3248Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3249
3250 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3251 malloc() is linked in.
3252
32531999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3254
3255 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3256 step at end.
3257
3258 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3259
32601999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3261
3262 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3263
cce74817
JM
3264Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3265
3266 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3267 * gdb.base/mips_pro.exp: Likewise.
3268
32691999-06-02 Keith Seitz <keiths@cygnus.com>
3270
3271 * gdb.c++/templates.cc: Change all "new" operators to throw
3272 an exception.
3273 * gdb.c++/cplusfuncs.cc: Likewise.
3274
3275 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3276
3277Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3278
3279 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3280 * gdb.base/ending-run.exp: When stepping out of main, accept a
3281 step into an arbitrary assembler file.
3282
392a587b
JM
32831999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3284
beb998c6 3285 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3286 "breakpoint-invalid" to be printed.
beb998c6 3287 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3288 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3289 * gdb.base/annota2.cc: Initialize a.x to 0.
3290
9e086581
JM
32911999-05-17 Keith Seitz <keiths@cygnus.com>
3292
3293 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3294 when "skip_float_tests" set.
3295 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3296 "print print_ten_doubles", and "step into print_long_arg_list".
3297 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3298 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3299 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3300 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3301 "skip_float_tests" is set.
3302 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3303 when "skip_float_tests" set.
beb998c6 3304
cd0fc7c3
SS
33051999-05-06 Keith Seitz <keiths@cygnus.com>
3306
3307 * gdb.base/annota2.cc: Include stdio.h.
3308
3309Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3310
3311 * gdb.base/crossload.exp: Remove, this has been disabled ever
3312 since BFD stopped including all targets, and cross-GDB gets
3313 plenty of testing anyway.
3314 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3315 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3316 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3317 * gdb.base/README: Remove, was doc for this.
3318 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3319 needed.
3320
b83266a0
SS
33211999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3322
3323 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3324 output.
3325
3326 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3327 * gdb.base/annota2.exp: New file. More annotation tests.
3328 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3329 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3330
33311999-04-23 Angela Marie Thomas <angela@cygnus.com>
3332
3333 * config/cfdbug.exp: New file.
3334
7a292a7a
SS
33351999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3336
3337 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3338 Marcus Daniel's and Dale Hawkins's demangler crashes.
3339
3340 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3341 test_lucid_style_demangling, test_arm_style_demangling,
3342 test_hp_style_demangling): Try Tom Tromey's core-dumping
3343 identifier under each demangling style.
3344
33451999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3346
3347 * gdb.c++/demangle.exp: Include the current demangling style
3348 in all test names.
3349 (current_demangling_style): New global variable.
3350 (set_demangling_style, test_demangling_core, test_demangling,
3351 test_demangling_exact): New functions.
3352 (test_gnu_style_demangling, test_lucid_style_demangling,
3353 test_arm_style_demangling, test_hp_style_demangling): Use those,
3354 instead of calling gdb_test and gdb_test_exact directly.
3355 (catch_demangling_errors): New function, which reports errors
3356 signalled by the demangling test functions in an orderly way.
3357 (do_tests): Use catch_demangling_errors.
3358
33591999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3360
3361 * gdb.base/signals.exp (test_handle_all_print): Use () for
3362 grouping in expressions, not {}.
3363
3364 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3365 initialized yet.
3366
33671999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3368
3369 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3370 are listed.
3371
33721999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3373
3374 * gdb.stabs/weird.exp: Test for CC being defined before
3375 looking at its value.
3376
33771999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3378
3379 * gdb.base/call-ar-st.exp: Remove stray '#'.
3380 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3381 "short int" and "long int".
3382 * gdb.c++/overload.cc: Cast the string added in the previous
3383 change, to mollify finicky HP compiler.
3384 * gdb.hp/reg-test.exp (testfile): Fix file name.
3385 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3386
7a292a7a
SS
3387 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3388 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3389 alternate form of enum ptype.
3390
c906108c
SS
33911999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3392
7a292a7a
SS
3393 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3394 * gdb.hp/*.exp: Change all to run compiler probe only after
3395 passing skip_hp_tests, so as not to waste time on guaranteed
3396 failure.
3397
c906108c
SS
3398 * gdb.c++/overload.cc: Pass string instead of char addr, always
3399 init ccpfoo.
3400 * gdb.c++/templates.cc: Fix syntax error.
3401
7a292a7a
SS
3402Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3403
3404 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3405 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3406 command.
3407
34081999-03-18 James Ingham <jingham@cygnus.com>
3409
3410 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3411
3412 * gdb.c++/method.exp: It was testing an uninitialized int on the
3413 stack and assuming it was positive.
3414
3415 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3416
3417 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3418 keep it from killing the rest of the tests.
7a292a7a
SS
3419 Use gdb_continue_to_end.
3420
3421 * gdb.base/sigall.exp: use gdb_continue_to_end.
3422
3423 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3424
3425 * gdb.base/display.exp: use runto_main, not run.
3426
beb998c6
AC
3427 * gdb.base/default.exp: Check for the current error message in the
3428 r abbreviation test.
7a292a7a
SS
3429 Add strongarm to the targets that know info float.
3430
beb998c6 3431 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3432 run which doesn't work with monitors.
3433
3434 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3435
3436 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3437
3438 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3439 program. Traps the case (in Cygmon) when the program never really
3440 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3441 more places, so I used my name. Sorry Mark...
3442
3443 * config/monitor.exp (gdb_target_monitor): added another
3444 target_info parameter: remotebinarydownload. This will set the
3445 remotebinarydownload flag if this is causing some boards trouble.
3446
34471999-03-18 Mark Salter <msalter@cygnus.com>
3448
3449 * lib/gdb.exp (continue_to_exit): New function.
3450
3451 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3452 * gdb.base/ending-run.exp: Ditto.
3453 * gdb.base/step-test.exp: Ditto.
3454
34551999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3456
3457 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3458 (suggested by Art Haas <ahaas@neosoft.com>).
3459
34601999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3461
3462 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3463
3464Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3465
3466 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3467 descriptions of types (short unsigned int vs unsigned short, etc).
3468
34691999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3470
3471 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3472 a call to strlen; sometimes we do have sources.
3473
34741999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3475
3476 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3477 character, so GDB won't print garbage after its end.
beb998c6 3478
c906108c
SS
3479 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3480 breakpoint there instead. Sometimes GCC emits memcpy to handle
3481 the large structures being passed by value, so we step into that
3482 instead of sum_array_print, which obscures what we're really testing.
3483 * gdb.base/step-test.exp: However, we do want a test that notices
3484 the bizarre steps into memcpy, so do that here. Add check for
3485 stepping into function calls that pass large structures by value.
3486 ("Is that a noun clause, or are you just happy to see me?")
3487 Remove all references to specific line numbers.
3488 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3489 New type and function.
3490 (main): Call large_struct_by_value, passing it a large struct by value.
3491 * lib/gdb.exp (gdb_get_line_number): New function.
3492
3493 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3494 more portable.
3495
7a292a7a
SS
34961999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3497
c906108c
SS
3498 * lib/gdb.exp: Doc fixes.
3499
7a292a7a
SS
35001999-03-05 Nick Clifton <nickc@cygnus.com>
3501
beb998c6 3502 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3503
35041999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3505
c906108c
SS
3506 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3507 commands. They're not germane to this test, and they don't work
3508 that way on remote targets.
3509
3fc11d3e
JM
35101999-03-01 James Ingham <jingham@cygnus.com>
3511
3512 * Changelog entries merged over from gdb development branch.
3513
3fc11d3e
JM
3514 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3515
3516 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3517 for outputting results of test run.
3518
2d4a1622 3519 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
3520
3521 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 3522
7a292a7a
SS
35231999-02-25 Felix Lee <flee@cygnus.com>
3524
3525 * lib/gdb.exp (debug_format): initialize
3526
c906108c
SS
35271999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3528
3529 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3530 * gdb.base/call-rt-st.c: Ditto.
3531
c906108c
SS
35321999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3533
3534 * gdb.threads/pthreads.exp (horiz): New variable.
3535 (test_startup): Fix regexps that capture thread numbers.
3536
35371999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3538
3539 * gdb.base/smoke.exp: Disambiguate two test case names (both
3540 called ``print'').
3541
3542Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3543
3544 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3545 compilation.
3546
35471999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3548
3549 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3550 actual output formatting.
3551 * gdb.base/smoke.exp: GDB removes leading 0's.
3552 * gdb.base/volatile.exp: Don't check type of remuneration;
3553 that variable is no longer defined in constvars.c.
3554 * gdb.base/step-test.c (main): Exit with explicit exit code.
3555 * gdb.base/step-test.exp: Remove two nexti checks--they are
3556 not portable.
3557
35581999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3559
3560 * gdb.base/help.exp ("help delete display"): Fix test to match
3561 gdb's output.
3562
3563 * gdb.base/long_long.c (known_types): Initialize values to zero.
3564 * gdb.base/long_long.exp: Step one more line
3565 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3566 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3567 unique test case names.
3568
3569Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3570
beb998c6 3571 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3572
3573 * gdb.c++/method.exp: Add missing close brace.
3574
35751999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3576
3577 * gdb.base/maint.exp: Use 'set height 0' to disable page
3578 prompting, not 'set height 400'.
3579
3580 Fix a bunch of timeouts.
3581 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3582 four separate tests, so expect doesn't take forever to match a ton
3583 of text against a regexp with lots of .* forms.
3584 ("maint print psymbols", "maint print symbols"): Make some of
3585 these greps more selective, so that expect doesn't try to wade
3586 through huge piles of output and time out.
3587
3588 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3589
3590 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3591 tests: one which doesn't expect shlib events to be reported, and
3592 another which does, but is XFAIL for all platforms other than
3593 HP/UX.
3594
3595 * gdb.base/break.exp: Teach the test suite that the `catch
3596 fork', `catch vfork', and `catch exec' commands produce error
3597 messages on platforms that don't provide these features.
3598
3599Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3600
3601 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3602 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3603 (shortening names from solib_threshold.exp etc), won't run on
3604 anything but HP-UX for the foreseeable future.
3605 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3606 reflect move.
3607
3608Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3609
3610 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3611 gdb.trace/Makefile.in (clean): Remove all test executables.
3612
3613Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3614
3615 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3616 successfully re-sets breakpoints in shared libraries.
3617 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3618
3619Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3620
beb998c6
AC
3621 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3622 and compiled w/o GCC.
c906108c
SS
3623
3624 * gdb.hp/watch-cmd.exp: ditto.
3625
3626 * gdb.hp/watch-hp.exp: ditto.
3627
3628 * gdb.hp/xdb1.exp: ditto.
3629
3630 * gdb.hp/xdb2.exp: ditto.
3631
3632 * gdb.hp/dbx.exp: ditto.
3633
3634Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3635
3636 * constvars.c: Remove C++-isms.
3637 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3638 with GCC.
3639
3640Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3641
3642 The following changes are part of the HP merge.
3643
3644 * gdb.base/break.exp: new tests to verify that catchpoints for
3645 fork, vfork, and exec don't trigger inappropriately.
3646
3647 * gdb.base/opaque.exp: compile one file at a time, then link.
3648
3649 * gdb.base/signals.exp: be more restrictive about which hppa
3650 systems receive a setup_xfail. new tests.
3651
3652 * gdb.base/solib_threshold.build: new file.
3653 * gdb.base/solib_threshold.exp: new file.
3654 * gdb.base/solib_threshold.link_opts: new file.
3655 * gdb.base/solib_threshold.mk: new file.
3656 * gdb.base/gen_solib_threshold.c: new file.
3657
3658 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3659 tests. New tests for enums inside classes.
3660
3661 * gdb.c++/compiler.cc: indicate support of template debugging.
3662
3663 * gdb.c++/demangle.exp: run hp style demangling tests.
3664
3665 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3666 tests.
3667
3668 * gdb.c++/misc.cc: changes to support new tests.
3669
3670 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3671 to support new tests.
3672
3673 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3674 gcc, then skip these tests.
3675
3676Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
3677
3678 The following files are part of the HP merge; some had longer
3679 names at HP, but have been renamed to be no more than 14
3680 characters in length.
3681
3682 * gdb.hp/ambiguous.cc: new file.
3683 * gdb.hp/ambiguous.exp: new file.
3684 * gdb.hp/attach.exp: new file.
3685 * gdb.hp/attach2.exp: new file.
3686 * gdb.hp/classes-hp.exp: new file.
3687 * gdb.hp/ctti.exp: new file.
3688 * gdb.hp/ctti-add.cc: new file.
3689 * gdb.hp/ctti-add1.cc: new file.
3690 * gdb.hp/ctti-add2.cc: new file.
3691 * gdb.hp/ctti-add3.cc: new file.
3692 * gdb.hp/dbx.exp: new file.
3693 * gdb.hp/exception.cc: new file.
3694 * gdb.hp/exception.exp: new file.
3695 * gdb.hp/foll-exec.c: new file.
3696 * gdb.hp/foll-exec.exp: new file.
3697 * gdb.hp/foll-fork.c: new file.
3698 * gdb.hp/foll-fork.exp: new file.
3699 * gdb.hp/foll-vfork.c: new file.
3700 * gdb.hp/foll-vfork.exp: new file.
3701 * gdb.hp/inherit-hp.exp: new file.
3702 * gdb.hp/more-steps.exp: new file.
3703 * gdb.hp/namespace.cc: new file.
3704 * gdb.hp/namespace.exp: new file.
3705 * gdb.hp/optimize.exp: new file.
3706 * gdb.hp/pxdb.c: new file.
3707 * gdb.hp/pxdb.exp: new file.
3708 * gdb.hp/quicksort.exp: new file.
3709 * gdb.hp/reg-test.exp: new file.
3710 * gdb.hp/reg-test.s: new file.
3711 * gdb.hp/sized-enum.c: new file.
3712 * gdb.hp/sized-enum.exp: new file.
3713 * gdb.hp/start-stop.exp: new file.
3714 * gdb.hp/templ-hp.cc: new file.
3715 * gdb.hp/templ-hp.exp: new file.
3716 * gdb.hp/thr-lib.c: new file.
3717 * gdb.hp/thr-lib.exp: new file.
3718 * gdb.hp/thr-lib.h: new file.
3719 * gdb.hp/thr-liblib.c: new file.
3720 * gdb.hp/virtfun-hp.c: new file.
3721 * gdb.hp/virtfun-hp.exp: new file.
3722 * gdb.hp/watch-cmd.exp: new file.
3723 * gdb.hp/watch-hp.exp: new file.
3724 * gdb.hp/xdb1.exp: new file.
3725 * gdb.hp/xdb2.exp: new file.
3726 * gdb.hp/xdb3.exp: new file.
3727
3728Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
3729
3730 The following files are part of the HP merge; some had longer
3731 names at HP, but have been renamed to be no more than 14
3732 characters in length.
3733
3734 * gdb.base/ss.h: new file.
3735 * gdb.base/call-ar-st.c: new file.
3736 * gdb.base/call-ar-st.exp: new file.
3737 * gdb.base/call-rt-st.c: new file.
3738 * gdb.base/call-rt-st-exp: new file.
3739 * gdb.base/call-strs.exp: new file.
3740 * gdb.base/ena-dis-br.exp: new file.
3741 * gdb.base/environ.exp: new file.
3742 * gdb.base/long_long.exp: new file.
3743 * gdb.base/sect-cmd.exp: new file.
3744 * gdb.base/shlib-cl2.exp: new file.
3745 * gdb.base/smoke.exp: new file.
3746 * gdb.base/so-impl-ld.c: new file.
3747 * gdb.base/so-impl-ld.exp: new file.
3748 * gdb.base/so-indr-cl.c: new file.
3749 * gdb.base/so-indr-cl.exp: new file.
3750 * gdb.base/varargs.exp: new file.
3751 * gdb.base/volatile.exp: new file.
3752 * gdb.base/whatis-exp.exp: new file.
7a292a7a 3753 * gdb.base/display.exp: new file.
c906108c
SS
3754 * gdb.c++/derivation.exp: new file.
3755 * gdb.c++/local.exp: new file.
3756 * gdb.c++/member-ptr.exp: new file.
3757 * gdb.c++/overload.exp: new file.
3758 * gdb.c++/ovldbreak.exp: new file.
3759 * gdb.c++/ref-types.exp: new file.
3760 * gdb.c++/ref-types2.exp: new file.
3761 * gdb.c++/userdef.exp: new file.
beb998c6 3762
c906108c
SS
3763Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
3764
3765 * gdb.base/default.exp: Reflect wording change in remote.c.
3766
dc96c6c7 3767Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3768
3769 * gdb.base/help.exp: Update to reflect current text.
3770
3771Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
3772
3773 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
3774 they're stack variables and contain garbage.
3775 * gdb.c++/anon-union.exp: new file.
3776
3777 The following changes were made by David Taylor
3778 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3779 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3780 in changes by HP.
3781
3782 * gdb.base/bitops.exp: new file.
3783 * gdb.base/default.exp: change expected messages for catch and
3784 info catch tests to reflect HP merge changes.
3785 * gdb.base/enable-disable-break.exp
3786 * gdb.base/ending-run.c: new file.
3787 * gdb.base/long_long.c: new file.
3788 * gdb.base/maint.exp: new file.
3789 * gdb.base/pointers2.exp: new file.
3790 * gdb.base/shlib-call2.exp: new file.
3791 * gdb.base/solib.exp: new file.
3792 * gdb.base/step-test.c: new file.
3793 * gdb.c++/anon-union.cc: new file.
3794 * gdb.c++/local.cc: new file.
3795 * gdb.c++/member-pointer.cc: new file.
3796 * gdb.c++/method.cc: new file.
3797 * gdb.c++/ref-types.cc: new file.
3798 * gdb.c++/ref-types2.cc: new file.
3799 * gdb.c++/userdef.cc: new file.
beb998c6 3800
c906108c
SS
3801 * gdb.base/scope.exp: compile one file at a time, then link.
3802 * gdb.base/langs.exp: ditto.
3803 * gdb.base/list.exp: ditto.
beb998c6 3804
c906108c
SS
3805Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
3806
3807 The following changes were made by David Taylor
3808 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
3809 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
3810 in changes by HP.
beb998c6 3811
c906108c
SS
3812 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
3813 skip tests. When compiling pass c++ flag to gdb_compile.
3814 * gdb.c++/
beb998c6 3815
c906108c
SS
3816 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
3817 test for on hppa*-*-hpux*; use args to see if c++ was specified.
3818 (skip_hp_tests): new function.
3819 (gdb_preprocess): new function.
3820
3821 * configure.in (hpdir): decide whether to configure gdb.hp.
3822 * configure: regenerated.
3823
3824 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
3825 to delete on clean.
3826 (EXECUTABLES): update to reflect new additions.
3827 * gdb.base/commands.exp: update message expected.
3828 * gdb.base/default.exp: add copyright notice.
3829 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
3830 * gdb.base/help.exp: update messages to reflect current text.
3831 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
3832 targets for recurse tests.
3833 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
3834 skip this file.
3835
3836 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
3837 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
3838 compilation.
3839 * gdb.c++/misc.exp: ditto.
3840 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
3841 run the tests. tell gdb_compile that it's a c++ compilation.
3842
3843 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 3844
c906108c
SS
3845 * gdb.base/all-bin.exp: new file.
3846 * gdb.base/arithmet.exp: new file.
3847 * gdb.base/assign.exp: new file.
3848 * gdb.base/completion.exp: new file.
3849 * gdb.base/cond-expr.exp: new file.
3850 * gdb.base/condbreak.exp: new file.
3851 * gdb.base/define.exp: new file.
3852 * gdb.base/dollar.exp: new file.
3853 * gdb.base/environment.exp: new file.
3854 * gdb.base/eval-skip.exp: new file.
3855 * gdb.base/jump.exp: new file.
3856 * gdb.base/logical.exp: new file.
3857 * gdb.base/pointers.exp: new file.
3858 * gdb.base/relational.exp: new file.
3859 * gdb.base/section_command.exp: new file.
3860 * gdb.base/whatis-expr.exp: new file.
3861
3862 * gdb.base/all-types.c: new file.
3863 * gdb.base/call-array-struct.c: new file.
3864 * gdb.base/call-return-struct.c: new file.
3865 * gdb.base/call-strings.c: new file.
3866 * gdb.base/callfuncs2.c: new file.
3867 * gdb.base/condbreak.c: new file.
3868 * gdb.base/constvars.c: new file.
3869 * gdb.base/display.c: new file.
3870 * gdb.base/int-type.c: new file.
3871 * gdb.base/jump.c: new file.
3872 * gdb.base/miscexprs.c: new file.
3873 * gdb.base/pointers.c: new file.
3874 * gdb.base/pointers2.c: new file.
3875 * gdb.base/shmain.c: new file.
3876 * gdb.base/shr1.c: new file.
3877 * gdb.base/shr2.c: new file.
3878 * gdb.base/solib.c: new file.
3879 * gdb.base/solib1.c: new file.
3880 * gdb.base/solib2.c: new file.
3881 * gdb.base/varargs.c: new file.
3882 * gdb.c++/derivation.cc: new file.
3883 * gdb.c++/overload.cc: new file.
3884 * gdb.c++/ovldbreak.cc: new file.
3885 * gdb.hp/attach.c: new file.
3886 * gdb.hp/attach2.c: new file.
3887 * gdb.hp/average.c: new file.
3888 * gdb.hp/compiler.c: new file.
3889 * gdb.hp/compiler.cc: new file.
3890 * gdb.hp/execd-program.c: new file.
3891 * gdb.hp/follow-exec.c: new file.
3892 * gdb.hp/follow-fork.c: new file.
3893 * gdb.hp/follow-vfork-and-exec.c: new file.
3894 * gdb.hp/misc-hp.cc: new file.
3895 * gdb.hp/more-steps.c: new file.
3896 * gdb.hp/optimize.c: new file.
3897 * gdb.hp/quicksort.c: new file.
3898 * gdb.hp/run-hp.c: new file.
3899 * gdb.hp/start-stop.c: new file.
3900 * gdb.hp/sum.c: new file.
3901 * gdb.hp/templates-hp.cc: new file.
3902 * gdb.hp/thread-local-in-lib.c: new file.
3903 * gdb.hp/thread-local-in-lib.h: new file.
3904 * gdb.hp/thread-local-in-lib.lib.c: new file.
3905 * gdb.hp/vforked-program.c: new file.
3906 * gdb.hp/virtfunc-hp.cc: new file.
3907 * gdb.hp/watchpoint-hp.c: new file.
3908 * gdb.hp/xdb.c: new file.
3909 * gdb.hp/xdb0.c: new file.
3910 * gdb.hp/xdb0.h: new file.
3911 * gdb.hp/xdb1.c: new file.
3912
3913Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
3914
3915 The following change was made by Edith Epstein
3916 <eepstein@cygnus.com> as part of a project to merge in changes
3917 originally made by HP; HP did not create ChangeLog entries.
3918
3919 * gdb.c++/demangle.exp: changed the expected output for some
3920 ARM-style mangling -- removed second reference to datatype.
3921 For example, maint demangle __dt__11T1__pt__2_cFv
3922 T1<char>::~T1<char>(void)
3923 becomes,
3924 maint demangle __dt__11T1__pt__2_cFv
3925 T1<char>::~T1(void)
3926
3927 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 3928
c906108c
SS
3929Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
3930
3931 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
3932 * gdb.trace/backtrace.exp: Likewise.
3933 * gdb.trace/circ.exp: Likewise.
3934 * gdb.trace/collection.exp: Likewise.
3935 * gdb.trace/deltrace.exp: Likewise.
3936 * gdb.trace/infotrace.exp: Likewise.
3937 * gdb.trace/limits.exp: Likewise.
3938 * gdb.trace/packetlen.exp: Likewise.
3939 * gdb.trace/passc-dyn.exp: Likewise.
3940 * gdb.trace/passcount.exp: Likewise.
3941 * gdb.trace/report.exp: Likewise.
3942 * gdb.trace/save-trace.exp: Likewise.
3943 * gdb.trace/tfind.exp: Likewise.
3944 * gdb.trace/tracecmd.exp: Likewise.
3945 * gdb.trace/while-dyn.exp: Likewise.
3946 * gdb.trace/while-stepping.exp: Likewise.
3947
39481998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3949
3950 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
3951
3952Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
3953
3954 From Brendan Kehoe:
3955 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
3956 int return types.
3957
3958Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
3959
3960 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
3961 remote dos host testing right.
3962
3963Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
3964
3965 * gdb.base/corefile.exp: remove some xfails.
3966
3967Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
3968
3969 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
3970 have different timestamps.
3971
3972Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
3973
3974 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
3975 gdb.base/default.exp: Replace "exec" with "executable".
3976
3977Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
3978
3979 * gdb.base/default.exp: Change else if to elseif from previous
3980 delta.
3981
3982Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
3983
3984 * gdb.base/default.exp: Add brace missing from previous delta.
3985
3986Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
3987
3988 * gdb.base/default.exp: Support test for info float for all
3989 varieties of arm toolchain.
3990
dc96c6c7 3991Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3992
3993 * gdb.trace/*.exp: remove "remote_download" command.
3994
dc96c6c7 3995Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3996
3997 * gdb.trace/*.exp: remove -gdwarf from compile.
3998
3999Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4000
4001 * gdb.trace/configure.in(AC_INIT): typo
4002 * gdb.trace/configure: regenerated
4003
dc96c6c7 4004Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4005
4006 * config/m68k-emc.exp: New file.
4007 * lib/<emc-support.exp trace-support.exp}: New files.
4008 * configure.in: add new test directory gdb.trace.
4009 * gdb.trace/{configure configure.in Makefile.in}: New files.
4010 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4011 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4012 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4013 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4014 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4015 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4016 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4017
dc96c6c7 4018Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4019
4020 * gdb.c++/classes.exp: Change all regular expressions to match
4021 arbitrary combinations of newline/carriage-return, so that they
4022 will work equally well on Unix and Windows.
4023 * gdb.c++/inherit.exp: ditto.
4024 * gdb.c++/virtfunc.exp: ditto.
4025
40261998-08-11 Dawn Perchik <dawn@cygnus.com>
4027
4028 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4029
c2d11a7d
JM
4030Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4031
4032 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4033 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4034 to use a0-a3/d0-d3 as needed.
4035
4036Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4037
4038 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4039 * gdb.disasm/am33.exp: Corresponding changes.
4040
c906108c
SS
40411998-07-11 Felix Lee <flee@cygnus.com>
4042
4043 * gdb.base/callfuncs.exp: add cmp10 test.
4044 * gdb.base/callfuncs.c (cmp10): new function.
4045
4046Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4047
beb998c6 4048 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4049 into two parts to get around a synchronization problem in expect.
4050
3fc11d3e
JM
4051Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4052
4053 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4054
4055 * configure.in: Add options for gdbtk testsuite.
4056
4057 * configure: Regenerate.
4058
4059 * gdb.gdbtk: New directory to hold gdbtk tests.
4060
c906108c
SS
4061Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4062
4063 * gdb.fortran/types.exp: Escape brackets in expect patterns
4064 for test_float_literal_types_accepted tests.
4065 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4066 before run test.
4067
c2d11a7d
JM
4068Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4069
4070 * am33.exp: Just compile, do not link the testcase.
4071 * am33.s: Add ".am33" pseudoop to force am33 mode.
4072
c906108c
SS
40731998-06-25 Felix Lee <flee@cygnus.com>
4074
4075 * gdb.base/setshow.exp: make sure $pc is sane.
4076
4077 * gdb.stabs/weird.exp: split expect patterns properly.
4078
c2d11a7d
JM
4079Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4080
4081 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4082 * gdb.disasm/am33.exp: Run it.
4083
dc96c6c7 4084Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4085
4086 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4087 match processing (and eliminate spurious timeouts when running).
4088
dc96c6c7 4089Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4090
4091 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4092 exception test, but conditionalize it on target [mach | gnu].
4093
dc96c6c7 4094Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4095
4096 * gdb.base/overlays.exp: fixup compile line for linker script.
4097
4098Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4099
4100 * gdb.fortran/types.exp: don't guess at float size.
4101
4102Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4103
4104 * gdb.base/exprs.exp: delete test that depends on int size.
4105
4106Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4107
4108 * config/sim.exp: Removed checks for target triplets.
4109 (gdb_target_sim): Use gdb,target_sim_options.
4110
4111Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4112
4113 * gdb.base/reread.exp: New file.
4114 * gdb.base/reread1.c: New file.
4115 * gdb.base/reread2.c: New file.
4116
4117Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4118
4119 * config/sim.exp: Use 'target sim -sparclite' when running
4120 SPARClite programs.
4121
4122Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4123
4124 * gdb.base/structs2.exp: New file.
4125 * gdb.base/structs2.c: New file.
4126
4127Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4128
4129 * gdb.asm/common.inc: New file.
4130 * gdb.asm/d10v.inc: New file.
4131 * asm-source.exp: Pass -I's to gas to find .inc files.
4132 Update line numbers in expected output.
4133 * asmsrc1.s: Rewrite.
4134 * asmsrc2.s: Rewrite.
4135 * configure.in: Create arch.inc symlink.
4136 * configure: Regenerate.
4137 * Makefile.in (distclean): Delete arch.inc.
4138
4139Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4140
4141 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4142 (t_enum_value2): ditto
4143 (t_enum_value3): ditto
4144 (main): ditto
4145Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4146
4147 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4148 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4149 change.
4150 Use gdb_test instead of send_gdb/gdb_expect sequences.
4151
4152Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4153
4154 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4155 not void.
4156
4157Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4158
4159 * gdb.base/branches.c: Code with lots of loops and
4160 subroutines. Used to test gdbs ability to single step through PC
4161 changes, especially to test mips-tdep.c:mips_next_pc
4162
4163Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4164
4165 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4166 more rigorous EGCS C++ error checking.
4167
4168Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4169
4170 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4171 tests.
c906108c 4172 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4173 function when asleep.
c906108c 4174 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4175 for i*86 Linux and SVR4 signal handling problems.
4176 Remove linux xfail for `next to handler in signals_tests_1', fixed
4177 by recent infrun.c change.
c906108c 4178 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4179 stack backtraces.
c906108c
SS
4180 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4181 target.[ch] change.
4182
4183Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4184
4185 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4186 for a newline from gdb before continuing.
4187 (default_gdb_exit): Just look for y or n.
4188 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4189 it does, fail the rests of the tests in the file.
4190
4191Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4192
4193 * config/cygmon.exp: New file.
4194
4195Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4196
4197 * gdb.base/list.exp: Fix problem with "list default lines around
4198 main" test on remote targets.
4199
4200 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4201 run test on remote targets.
4202
4203Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4204
4205 * gdb.asm: New directory.
4206 * configure.in: Configure it.
4207 * configure: Regenerate.
4208 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4209 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4210
4211Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4212
4213 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4214
dc96c6c7 4215Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4216
c906108c
SS
4217 * gdb.base/overlays (several files): Merge the two overlay
4218 managers into one. Change variables (foox, barx, bazx, grbxx)
4219 back into ints but force them to load in their proper sections.
4220
4221Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4222
4223 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4224 on-chip insn memory and IMAP1 to upper 128k.
4225 (D10VCopy): Handle memory regions crossing 16k boundaries.
4226 (D10VCopy): Transfer data in 32 bit chunks.
4227
4228Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4229
4230 * gdb.base/overlays.c (main): Exit normally when result is
4231 correct.
4232
4233 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4234 map. Include space for printf in .text segment.
4235
4236 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4237 updated d10v memory VMA/LMA map.
4238 (D10VCopy): Call D10VTranslate.
beb998c6 4239
c906108c
SS
4240Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4241
4242 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4243
4244 * gdb.base/bar.c (barx, bar): Change variable to small array so
4245 that it won't be put into the .sdata - small data -
4246 section. Update reference.
4247 * gdb.base/baz.c (bazx, baz): Ditto.
4248 * gdb.base/foo.c (foox, foo): Ditto.
4249 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4250
4251 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4252 to be arrays.
beb998c6 4253
dc96c6c7 4254Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4255
c906108c
SS
4256 * gdb.base/overlays.exp: fix up and get working again.
4257 Add tests for backtraces from an overlay function.
beb998c6 4258
c906108c
SS
4259Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4260
4261 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4262 "calling function with watchpoint enabled".
4263
4264Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4265
4266 * gdb.base/break.exp (test_next_with_recursion): Remove
4267 gdb_suppress_tests for d10v-*-*.
4268 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4269 pending review of whether it is useful or not.
4270
4271Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4272
4273 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4274
4275Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4276
4277 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4278 * config/dve.exp: New file to support Densan boards.
4279
4280Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4281
4282 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4283 reads and BSD.
4284
4285Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4286
4287 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4288 response.
4289
4290 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4291
4292Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4293
4294 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4295 test.
4296
4297 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4298 target_sizeof_long and target_bigendian_p.
4299 (structs_by_value, structs_by_reference): Check values according
4300 to targets word size and endianess.
beb998c6 4301
c906108c
SS
4302Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4303
4304 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4305 output.
4306
4307Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4308
4309 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4310 Update test of set args help to match source change.
4311
4312Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4313
4314 * gdb.base/default.exp: Expect help system output to be in
4315 alphabetical order.
4316 * gdb.base/help.exp: Ditto.
4317
4318Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4319
4320 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4321 "i*86-pc-linux-gnu*".
4322 * gdb.base/interrupt.exp: Ditto.
4323 * gdb.base/corefile.exp: Ditto.
4324
4325 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4326 define vxworks when building the testcase.
4327
4328 * gdb.base/ptype.exp: Fix testnames to be unique.
4329 * gdb.base/radix.exp: Ditto.
4330 * gdb.base/term.exp: Ditto.
4331 * gdb.base/whatis.exp: Ditto.
4332 * gdb.c++/classes.exp: Ditto.
4333
4334Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4335
4336 * gdb.base/callfuncs.exp: Fix indentation.
4337
4338 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4339 suppress_flag has been set.
4340 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4341 target feature.
4342
4343Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4344
4345 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4346 the testcase.
4347
4348 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4349 set_debug_traps() and breakpoint().
4350 * gdb.c++/misc.cc (main): Ditto.
4351 * gdb.c++/templates.cc (main): Ditto.
4352 * gdb.c++/virtfunc.cc (main): Ditto.
4353
4354Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4355
4356 * lib/gdb.exp(gdb_step_for_stub): New function.
4357 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4358 exists, reload the executable and do a "continue" instead of
4359 doing a jump.
4360 (runto_main): Use gdb_step_for_stub.
beb998c6 4361
c906108c
SS
4362 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4363 tests to have unique names.
4364 * gdb.base/callfuncs.exp: Ditto.
4365 * gdb.base/commands.exp: Ditto.
4366 * gdb.base/default.exp: Ditto.
4367 * gdb.base/help.exp: Ditto.
4368 * gdb.base/list.exp: Ditto.
4369 * gdb.base/opaque.exp: Ditto.
4370 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4371 similar tests.
beb998c6 4372
c906108c
SS
4373 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4374 * gdb.c++/cplusfuncs.cc: Ditto.
4375 * gdb.c++/virtfunc.cc: Ditto.
4376
4377 * config/monitor.exp: Keep track of the last file we saw, rather
4378 than trying to get the info from gdb.
4379
4380 * gdb.fortran/types.exp: Move comment to previous line.
4381
4382Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4383
4384 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4385 target mode.
4386
4387Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4388
4389 From Bob Manson:
4390 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4391 string from GDB when it connects.
4392
4393 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4394
4395Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4396
4397 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4398 if we can't get a debug format from GDB (we may be testing an
4399 older GDB). Use a 10 second timeout when checking for the format.
4400
4401 * gdb.stabs/weird.exp: Fix quoting.
4402
4403 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4404
4405Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4406
4407 * config/arm-ice.exp: New file.
4408
4409Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4410
4411 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4412 until it has been modified to work with the new testsuite.
4413
99707966 4414 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4415 testcase won't compile, cause all of the testcases in the file to
4416 fail instead.
4417
4418 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4419 (gdb_clear_suppressed): New procedure.
4420 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4421 it contains a positive value.
4422
4423Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4424
4425 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4426
4427 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4428
4429Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4430
4431 * lib/gdb.exp (setup_xfail_format): New function.
4432 (get_debug_format): New function to get debug format.
4433 (debug_format): New global variable to hold last value set
4434 by get_debug_format.
4435 * gdb.base/list.exp: Call get_debug_format and expect some
4436 tests to fail for DWARF 1 and COFF formats.
4437 * gdb.c++/ptype.exp: Ditto.
4438 * gdb.c++/classes.exp: Ditto.
4439 * gdb.c++/cplusfuncs.exp: Ditto.
4440 * gdb.c++/inherit.exp: Ditto.
4441 * gdb.c++/templates.exp: Ditto.
4442 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4443
c906108c
SS
4444Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4445
4446 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4447 host doesn't have a currently-open connection.
4448
4449 * config/sparclet.exp: Cleanups and fixes to make it generic for
4450 any gdb stub target. Handle cases where gdb doesn't respond when
4451 interrupted in a sane fashion.
4452
4453 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4454 same thing in a totally different way.
4455
4456 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4457 setting "timeout".
4458 (gdb_start): We set the global gdb_prompt variable in
4459 default_gdb_init now.
4460
4461Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4462
4463 * gdb.base/printcmds.exp: Fix "check for floating addition"
4464 regexp to accept results within approx +/- .01 of exact value.
4465 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4466
4467Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4468
4469 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4470 properly.
4471 (gdb_expect): Add optional timeout parameter, and add timeout
4472 value to various calls.
4473 (gdb_suppress_tests): Only give one warning message per group.
4474
4475Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4476
4477 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4478 global variables. Handle getting a value for $timeout more
4479 gracefully.
4480
4481Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4482
4483 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4484 initialize.
4485 (default_gdb_init): New procedure; allow gdb_init to be overridden
4486 by a target configuration file.
4487 (gdb_expect): Pass the timeout to remote_expect.
4488
4489 * config/monitor.exp(gdb_load): Fix typo in regexp.
4490
4491Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4492
4493 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4494
4495Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4496
4497 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4498 here. Call gdb_target_exec before rebooting the target, to make
4499 sure the connection to the target is closed.
4500 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4501 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4502 Also detect "Timeout reading from remote" error.
4503
4504 * config/gdbserver.exp: Pass the executable being loaded to
4505 gdb_target_monitor. Don't call gdb_file_cmd here; let
4506 gdb_target_monitor do it.
4507
4508 * gdb.disasm/hppa.exp: Don't use exec_output.
4509
4510Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4511
4512 * gdb.base/list.exp: If we're debugging a non-native target,
4513 try to set the pc register to point to the start of the
4514 program before doing the first list command.
4515
4516 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4517 test_calls after restarting.
4518
4519 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4520 reloading.
4521
4522 * gdb.base/watchpoint.exp: Fix typo.
4523
4524 * gdb.base/setshow.exp: Check for use_gdb_stub.
4525
4526 * gdb.base/break.exp: Fix continue until exit test for the gdb
4527 stub case.
4528 * gdb.base/langs.exp: Ditto.
4529
4530 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4531 gdb_load_offset. If we weren't given a file to load, figure out
4532 what the current file is and use it.
4533
4534 * config/i386-bozo.exp: New file.
4535
4536Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4537
4538 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4539 feature.
4540
4541 * config/proelf.exp: New entry.
4542
4543Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4544
4545 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4546 of regexps.
4547
4548 * gdb.base/watchpoint.exp: Don't run the test_stepping
4549 tests if gdb can't call functions on the target.
4550
4551 * gdb.base/setshow.exp: Don't run the set prompt tests if
4552 the board has gdb_prompt set.
4553
4554Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4555
4556 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4557 * gdb.base/commands.exp: Likewise.
4558 * gdb.base/setshow.exp: Likewise.
4559
4560Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4561
4562 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4563 feature.
4564
4565 * config/i960.exp: New file.
4566
4567Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4568
4569 * gdb.base/funcargs.exp: Check for gdb,short_int target
4570 feature instead of looking for explicit target triplets.
4571
dc96c6c7 4572Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4573
beb998c6 4574 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4575 "p 123DEADBEEF", to check parse_number.
4576 * top.c: change "to enable to enable" to "to enable" in a couple
4577 of help strings.
4578
4579Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4580
4581 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4582 on the mn10300.
beb998c6 4583
c906108c
SS
4584Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4585
4586 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4587 where the test executable is run with explicit args.
4588 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4589
4590Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4591
4592 * gdb.base/run.c: Use FAKEARGV to build test executable that
4593 does not require a command line arg, since most simulators
4594 don't currently support passing such an arg into the simulated
4595 program.
4596 * gdb.base/commands.exp: Change tests to insert the proper
4597 value as the arg to the first recursive factorial call. Change
4598 compilation line to define FAKEARGV at compile time.
4599
4600Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4601
4602 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4603 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4604 function with watchpoint enabled" test.
4605
4606Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4607
4608 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4609 Don't call gdb_test when the command doesn't return to a gdb prompt.
4610
4611 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4612 "Tests restarted" messages.
4613
4614Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4615
4616 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4617
dc96c6c7 4618Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4619
4620 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4621 for INFO SYMBOL; add help tests for OVERLAY commands.
4622 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4623 add tests for OVERLAY commands
4624 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4625 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4626 * gdb.base/sigall.c: add usestubs code frag
4627 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4628
c906108c
SS
4629Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4630
4631 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4632 failures.
4633 (gdb_stop_suppressing_tests): Note that tests have restarted.
4634
4635Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4636
4637 * config/h8300.exp: New file.
4638
4639Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4640
4641 * gdb.base/setshow.exp: Check for the existence of a
4642 feature, not its value.
4643
4644Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4645
4646 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4647
4648 * gdb.base/scope.exp: It's now init0(), not init().
4649
4650 * gdb.base/scope0.c: For now, change init() to be init0().
4651
4652 * config/monitor.exp: Use gdb_serial in preference to serial
4653 or netport.
4654
4655 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4656 and it's not already set.
4657
4658Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4659
4660 * gdb.base/setshow.exp: Only test the run command if the target
4661 isn't using a stub and if it supports argument passing.
4662
4663Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4664
4665 * config/udi.exp(gdb_start): Make sure UDICONF is set
4666 properly before starting gdb.
4667
4668Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4669
4670 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4671 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4672 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4673
4674Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
4675
4676 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
4677 specialized code to reboot the board, use remote_reboot instead.
4678
4679 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
4680
4681 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
4682
4683 * config/monitor.exp: Make sure we disconnect from the target.
4684 Also, try a reboot/reload cycle instead of failing if the
4685 load fails.
4686
4687Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
4688
4689 * gdb.base/default.exp: Don't set match_max.
4690 * gdb.base/help.exp: Ditto.
4691 * gdb.base/list.exp: Ditto.
4692 * gdb.base/signals.exp: Ditto.
4693
4694 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
4695 set, use remote_ld to download the testcase instead of
4696 the GDB loader.
4697
4698Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
4699
4700 * config/vr5000.exp: New file.
4701
4702 * config/monitor.exp(gdb_target_monitor): Add pattern for
4703 "Ending remote" to detect errors in connecting.
4704
4705 * gdb.base/setshow.exp: Add .* within auto language test.
4706
4707 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
4708 target feature.
4709
4710 * config/monitor.exp(gdb_load): Check for a failure when loading,
4711 and reboot the board if necessary.
4712
4713 * gdb.base/setvar.exp(test_set): Handle multiple prints within
4714 a set of tests. Remove print.* from the patterns being checked.
4715
4716Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
4717
4718 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
4719 refer to gdb_spawn_id.
4720
4721 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
4722 longer used.
4723 * config/sparclet.exp: Ditto.
4724 * config/sparclet-old.exp: Ditto.
4725 * config/slite.exp: Ditto.
4726 * config/sim.exp: Ditto.
4727 * gdb.base/funcargs.exp: Ditto.
4728
4729 * lib/gdb.exp:Remove references to gdb_spawn_id.
4730 (gdb_expect): Move to remote.exp.
4731
4732Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
4733
4734 * config/monitor.exp: Detect the "Couldn't establish connection"
4735 message from GDB.
4736
4737Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
4738
4739 * gdb.base/bitfields.exp: Use runto instead of explicit
4740 gdb_run_cmd/gdb_expect sequences.
4741
4742 * gdb.base/break.exp(text_next_with_recursion): Add match for
4743 gdb_expect call.
4744
4745 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
4746 We also need to handle the "A program is being debugged already"
4747 prompt from gdb. Use gdb_test to set the baud rate.
4748
4749 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
4750 to 20000. Really. I mean it.
4751
4752Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4753
4754 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
4755 fails. If suppress_flag is set, skip perror message about not
4756 being able to send to GDB.
4757 (send_gdb): If suppress_flag is set, don't try to send commands to
4758 GDB.
4759 (gdb_expect): If suppress_flag is set, always fail immediately.
4760 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
4761 (gdb_init): Call gdb_stop_suppressing_tests.
4762 (default_gdb_exit): Ditto.
4763 (default_gdb_start): Ditto.
4764
4765 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
4766 gdb_stop_suppressing_tests as appropriate.
4767 * gdb.base/break.exp: Ditto.
4768 * gdb.base/callfuncs.exp: Ditto.
4769 * gdb.base/commands.exp: Ditto.
4770 * gdb.base/exprs.exp: Ditto.
4771 * gdb.base/funcargs.exp: Ditto.
4772 * gdb.base/list.exp: Ditto.
4773 * gdb.base/recurse.exp: Ditto.
4774 * gdb.base/scope.exp: Ditto.
4775 * gdb.base/structs.exp: Ditto.
4776 * gdb.c++/inherit.exp: Ditto.
4777
4778Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
4779
4780 * config/vr4300.exp: New file.
4781
99707966
MC
4782 * gdb.*/*.exp: Call gdb_expect instead of expect.
4783
4784 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
4785
4786Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
4787
4788 * lib/gdb.exp(gdb_init): New function.
4789
4790 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4791 for each individual variable set.
4792
4793 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
4794 name.
4795
4796 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
4797
4798 * gdb.base/scope.exp: Use gdb_test.
4799
4800 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
4801 aborting; the testsuite driver will do that for us (see
4802 gdb_finish). Also, use gdb_test in a few more places.
4803
4804Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
4805
4806 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4807
4808Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
4809
4810 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
4811 and "add_tests" are not at the same address.
4812
4813Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
4814
4815 * gdb.base/ptype.exp: Use gdb_test.
4816
4817Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
4818
4819 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
4820 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
4821 left in. No longer expect them to fail.
4822
4823 * gdb.stabs/*.mt; Deleted, no longer used.
4824 * gdb.stabs/configure.in: Remove references to target makefile
4825 frags.
4826 * gdb.stabs/configure: Rebuilt.
4827
4828 * gdb.disasm/*.mt: Deleted, no longer used.
4829 * gdb.disasm/configure.in: Remove references to target makefile
4830 frags. Use "sh3.s" as the unique filename for this directory.
4831 * gdb.disasm/configure: Rebuilt.
4832
4833 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
4834 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
4835 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
4836
4837Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
4838
4839 * config/udi.exp: Use mondfe,name instead of remote_host.
4840
4841Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
4842
4843 * gdb.base/watchpoint.exp: Don't expect a failure when calling
4844 a function with a watchpoint enabled on the mn10200.
4845
4846 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
4847 before trying to create it!
4848
4849Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
4850
4851 * config/vx.exp: Use hostname instead of netport.
4852
4853 * config/vxworks.exp: New file.
4854
4855 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
4856
4857 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
4858 gdb before assuming everything worked. Send a ^C if a timeout
4859 occurs.
4860
4861 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
4862 $gdb_spawn_id directly.
4863 (gdb_run_cmd): Try _start as well as start. Use the target feature
4864 gdb,start_symbol as the symbol to start from when jumping.
4865
4866Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
4867
4868 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
4869 redundant) test.
4870
4871 * gdb.base/recurse.exp: Relax final value test for 'b' so that
4872 it doesn't lose for 16bit integer systems.
4873
4874Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
4875
4876 * gdb.fortran/types.exp: If the target doesn't support "double"
4877 data types, then expect "real" types to only be 4 bytes.
4878
4879 * gdb.c++/virtfunc.exp: Expect failure for virtual function
4880 call tests if the target doesn't support inferior function calls.
4881
4882 * gdb.base/printcmds.exp: Allow minor deviation in FP values
4883 in printf tests.
4884
4885Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
4886
4887 * gdb.base/help.exp: Disable "help set", "help show", and
4888 "help support". Simplify regexp for "help stack".
4889
4890 * gdb.base/default.exp: Set match_max to 5000 and the timeout
4891 to 60 seconds. Temporarily set match_max to 15000 around the
4892 "info copying" test.
4893
4894 * gdb.base/nodebug.exp: Don't try to do an inferior function
4895 call if the target doesn't support them.
4896 * gdb.base/printcmds.exp: Likewise.
4897 * gdb.base/setvar.exp: Likewise.
4898 * gdb.base/structs.exp: Likewise.
4899 * gdb.c++/templates.exp: Likewise.
4900 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
4901
4902 * gdb.base/recurse.exp: Enable for the mn10200.
4903
4904 * configure.in: Do configure gdb.stabs directory for *-*-elf
4905 targets.
4906 * configure: Rebuilt.
4907
4908 * gdb.base/break.exp: Check for gdb,noresults before testing
4909 exit status and/or results from the target.
4910 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
4911 * lib/gdb.exp: Remove old (now bogus) initialization of
4912 noinferior, noargs, noresults and nosignals.
4913
4914Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
4915
4916 * config/sh.exp: New file.
4917
4918 * config/slite.exp: Try to connect multiple times to the board
4919 before rebooting. Only send a "monitor run" if need_monitor_run
4920 is set.
4921
4922 * gdb.base/break.exp: Don't do the "stub continue" test if
4923 the target has gdb_stub set.
4924
4925 * gdb.base/callfuncs.exp: Increase the timeout.
4926
4927 * gdb.base/interrupt.exp: Don't even try to compile the testcase
4928 if the target has gdb,noinferiorio set.
4929
4930 * gdb.base/list.exp: Increase match_max to 10000 characters.
4931
4932 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
4933
4934 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
4935 target.
4936
4937 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
4938
4939Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
4940
4941 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
4942 trying to delete the copy of gdb. Catch the file delete so we
4943 don't die if the delete fails; also, the file should be copied to
4944 the host, not to the build.
4945
4946Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
4947
4948 * lib/gdb.exp(gdb_test): Surround the result pattern with
4949 parenthesis in case it contains multiple regexps separated
4950 with |.
4951
4952 * gdb.base/watchpoint.exp: Use gdb_test.
4953 * gdb.base/default.exp: Ditto.
4954
4955Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
4956
99707966 4957 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 4958
c906108c
SS
4959 * gdb.base/scope.exp: Use gdb_test.
4960 * gdb.c++/classes.exp: Ditto.
4961 * gdb.c++/inherit.exp: Ditto.
4962
4963Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
4964
4965 * gdb.base/crossload.exp: Don't use execute_anywhere, use
4966 remote_exec instead.
4967 * gdb.base/corefile.exp: Don't be ridiculous.
4968 * gdb.base/*.c: Add missing stub invocations.
4969
4970Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
4971
4972 * config/slite.exp: Miscellaneous fixes.
4973
4974 * lib/gdb.exp: Fix runto.
4975
4976 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
4977 the target.
4978
4979 * gdb.base/watchpoint.exp: Fix regexp.
4980
4981 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4982 close and wait commands, as the descriptor may now be
4983 invalid. Always call "remote_close host".
4984
4985Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
4986
4987 Major rewrite for testsuite revision.
beb998c6 4988
c906108c
SS
4989 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
4990 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
4991 instead of relying on spawn_id to always contain a valid
4992 spawn id.
4993 (get_compiler_info): New procedure to build the ${binfile}.ci
4994 file, instead of replicating this in N different places.
4995 (gdb_compile): New procedure.
beb998c6 4996
c906108c
SS
4997 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
4998 appropriate arguments) instead of compile. Use gdb_test in a lot
4999 more places. Use send_gdb instead of send. Always run gdb_start
5000 at the start of a testcase, as this is no longer done magically.
5001
5002 config/*-gdb.exp: Rename without the -gdb suffix.
5003
5004 config/mips.exp: Use remote_close instead of exit_remote_shell.
5005 config/monitor.exp: Use target_info instead of looking at
5006 baud, timeout, etc.
5007 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5008
5009Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5010
5011 * gdb.c++/templates.exp (test_ptype_of_templates),
5012 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5013 Update expect patterns for destructors and assignment operators
5014 to match corresponding c-typeprint.c changes.
5015 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5016 to destructor breakpoint test, GDB should be able to set the
5017 destructor breakpoint without specifying arguments.
5018
5019Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5020
5021 * gdb.threads/pthreads.exp: Change result for failure to compile due
5022 to lack of pthreads runtime support from an error to simply an
5023 unsupported test, per dejagnu standards.
5024
5025Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5026
5027 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5028 where GDB exits to reduce pattern match time.
5029 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5030
5031 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5032
dc96c6c7 5033Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5034
5035 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5036 * gdb.base/default.exp: ditto.
5037 * gdb.base/nodebug.exp: ditto.
5038 * gdb.base/printcmds.exp: ditto.
5039 * gdb.base/ptype.exp: ditto.
5040 * gdb.base/setvar.exp: ditto.
5041 * gdb.base/structs.exp: ditto.
5042 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5043
5044Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5045
5046 * configure, */configure: Rebuild with autoconf 2.12.
5047
5048Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5049
5050 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5051 use new i*86-pc-linux*-gnu quads.
5052 * gdb.base/corefile.exp: Ditto.
5053 * gdb.base/signals.exp: Ditto.
5054 * gdb.base/sigall.exp: Ditto.
5055 * gdb.base/interrupt.exp: Ditto.
5056
5057 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5058 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5059 RedHat 4.0.
beb998c6 5060
c906108c
SS
5061 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5062 linux. This allows the test case to at least compile on latest
5063 linux, but still not run due to missing the threads runtime library.
5064
5065Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5066
5067 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5068 directory to search gdb directory. Accept and step over conditional
5069 stack alignment code. Consume $prompt in failure cases.
5070 Reset timeout to $oldtimeout instead of some arbitrary value.
5071 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5072 timeout problems with infinite stack backtraces.
5073 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5074 Accept function parameters for linkfunc member.
5075
5076Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5077
5078 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5079 (CXXFLAGS): Remove, unreferenced.
5080 (B_OPTIONS): Add for -B options and add code to initialize with
5081 previous -B options and also add -B option to pick up cross compiled
5082 runtime.
5083 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5084 doing cross compiles.
5085 (target_alias): Declare global.
5086 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5087 to verify that gcc exists in build tree, and if so set CC to that
5088 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5089
c906108c
SS
5090Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5091
5092 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5093 ptype test for anonymous union. Fixup testcase to match
5094 current gcc debug output.
5095
5096Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5097
5098 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5099 force argument to an unsigned long type.
5100
5101Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5102
5103 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5104 tests and anonymous union print/ptype tests.
5105 * gdb.base/list.exp (test_forward-search): Increase timeout by
5106 5 minutes for the "search extremely long line" case.
5107 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5108 completely optional and that the pass/fail messages use the command as
5109 the message if that third arg is a null string.
5110 (gdb_test_exact): Arrange that a null string pattern means match a
5111 null string output rather than any output, which might include random
5112 errors.
5113 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5114 backtrace test.
5115 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5116 always failing and failure is now exposed by gdb.exp changes.
5117
5118Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5119
5120 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5121 weren't being noted.
5122
5123Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5124
5125 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5126 * gdb.stabs/weird.exp: Remove v_comb xfails.
5127
dc96c6c7 5128Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5129
5130 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5131 list.exp scope.exp watchpoint.exp]
5132 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5133
dc96c6c7 5134Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5135
5136 * config/monitor.exp: Increase download timeout to 1000 seconds.
5137
dc96c6c7 5138Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5139
5140 * config/m32r.exp: Increase timeout to 120 seconds.
5141
5142Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5143
5144 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5145 and accept older ordering as obsolescent gcc or gdb.
5146 * gdb.c++/templates.exp: Ditto.
5147 * gdb.c++/virtfunc.exp: Ditto.
5148
5149Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5150
5151 * gdb.base/coremaker.c: Add code to mmap some data so we
5152 can check that it ends up in the core file.
5153 * gdb.base/corefile.exp: Add test to read mmapped data
5154 from core file.
5155
dc96c6c7 5156Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5157
5158 * config/m32r.exp: New file.
5159
5160Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5161
5162 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5163 that cflags can contains -gstabs, and work correctly for other tests.
5164
dc96c6c7 5165Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5166
5167 * gdb.base/setshow.exp: New file, tests show and set.
5168 * gdb.base/setshow.c: New file, tests show and set.
5169 * gdb.base/help.exp: Add test for help set|show annotate.
5170 * gdb.base/default.exp: Add test for set|show annotate.
5171
5172Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5173
5174 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5175 errors unique.
5176 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5177 explicitly.
5178
5179Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5180
5181 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5182 and width commands. This is done elsewhere.
5183 * (gdb_start): Don't call gdb_start_sim here. That's already
5184 done in gdb_load. This fixes lots of failures in default.exp.
5185
5186Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5187
5188 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5189 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5190 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5191 in the same we we treat other failures (since it may be an expected
5192 condition), rather than as an error.
5193 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5194 old test format.
5195
5196Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5197
5198 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5199 (distclean maintainer-clean realclean): No need to remove files
5200 twice. Nuke the duplicates.
5201 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5202 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5203 Remove config.h along with other config files.
5204
5205Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5206
5207 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5208 "p func1 ()" and note that rests of tests are skipped.
5209 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5210 setup_xfails for "print func2::coremaker_local".
5211 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5212 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5213 affected by the previous run test.
5214 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5215 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5216 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5217 "pass int powerset tuple" and "pass modeless int powerset tuple".
5218 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5219 "real write 4" and "real write 8".
5220 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5221 setup_xfails for "print vs1 after tuple assign 2",
5222 "print \$i after tuple assign 2", and
5223 "print vs2 after tuple assign 2".
5224 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5225 meaningful error message and return -1 so the caller can
5226 suppress further tests and avoid a cascade of errors.
beb998c6 5227
c906108c
SS
5228Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5229
5230 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5231 format for printing version.
5232 * gdb.base/default.exp: Ditto.
5233 * gdb.base/interrupt.exp: Fix problem with cascade of
5234 errors if child process dies while calling a function.
beb998c6 5235
c906108c
SS
5236Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5237
5238 * Makefile.in (VPATH): Add
5239 * Makefile.in (Makefile, config.status): Fix rules so things get
5240 remade when necessary.
5241
5242Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5243
5244 * Makefile.in (just-check): Add path to sibling expect dir
5245 to environment variable specified by RPATH_ENVVAR.
5246
5247Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5248
5249 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5250 (just-check): Add shared library paths for libstdc++, tk,
5251 tcl, bfd, and opcodes to the environment variable specified
5252 in RPATH_ENVVAR.
5253 * configure.in: Add support to recognize --enable-shared flag
5254 and generate correct value for RPATH_ENVVAR.
5255 * configure: Regenerated with autoconf.
5256
5257Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5258
5259 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5260 include all osf versions.
5261 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5262 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5263 when target is linux. When failing to build pthreads test
5264 executable, give more meaningful message.
5265 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5266 arg for pthread_create.
beb998c6 5267
c906108c
SS
5268Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5269
5270 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5271 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5272 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5273 and -lpthreads (everybody else).
5274 (test_startup): Fail gracefully if threads are not supported.
5275 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5276 "p/c array_index("abcdef",2)" when not gcc compiled.
5277 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5278 "print func2::coremaker_local" when not gcc compiled.
5279 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5280 "ptype on opaque struct tagname (statically)",
5281 "ptype on opaque struct tagname (dynamically) 1", and
5282 "ptype on opaque struct tagname (dynamically) 2"
5283 for not compiled with gcc.
5284 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5285 backtrace when compiled with gcc.
beb998c6 5286 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5287 than always return success.
5288
5289Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5290
5291 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5292
5293Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5294
5295 * gdb.base/structs.exp: Undo last change.
5296
5297Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5298
5299 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5300 encapsulate all the steps/nexts done during self test, starting
5301 at main, and makes them less sensitive to optimization issues.
5302 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5303 signal handler" test.
5304 * gdb.threads/pthreads.exp: Only run this for native configs.
5305 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5306 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5307 tests.
5308 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5309 for "runto test_calls(void)" test.
beb998c6 5310
c906108c
SS
5311Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5312
5313 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5314 and don't expect address info in breakpoint confirmations.
5315
5316Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5317
5318 * gdb.base/list.exp (test_forward_search): Increase timeout
5319 temporarily by 60 seconds for searching extremely long line,
5320 and then reset to old value when done. Increase expect input
5321 buffer to 10000.
5322
5323Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5324
5325 * gdb.base/list.exp (test_forward_search): Fix to handle very
5326 long source line without overflowing expect's input buffer.
5327
5328Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5329
5330 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5331 "buffer_full".
5332
5333 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5334 "buffer_full".
5335
5336 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5337 "buffer_full".
5338
5339 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5340 "buffer_full".
5341
5342Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5343
5344 * configure.in (configdirs): Add gdb.threads.
5345 * configure: Regenerated with autoconf.
5346 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5347 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5348 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5349
c906108c
SS
5350Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5351
5352 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5353
5354Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5355
5356 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5357 each signal's status in the output of "handle all print".
5358 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5359 the \r\n sequence that immediately precedes the gdb prompt.
5360 * gdb.base/a1-selftest.exp: Save original timeout and restore
5361 after test.
5362
5363Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5364
5365 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5366 symbol.
5367
5368Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5369
5370 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5371
5372Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5373
5374 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5375 timeout by 60 seconds.
5376
5377Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5378
5379 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5380 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5381 error return.
5382
5383Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5384
5385 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5386 gdb initialization, also report how long dejagnu waited. Restore
5387 old timeout before doing error return. Temporarily increase timeout
5388 by 3 minutes to allow for slow startups over heavy NFS use.
5389
5390Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5391
5392 * lib/gdb.exp: Report timeout value for verbosity level 2.
5393 * config/gdbserver.exp: Ditto.
5394 * config/hppro.exp: Ditto.
5395 * config/mips-gdb.exp: Ditto.
5396 * config/monitor.exp: Ditto.
5397 * config/netware.exp: Ditto.
5398 * config/sim-gdb.exp: Ditto.
5399 * config/slite-gdb.exp: Ditto.
5400 * config/udi-gdb.exp: Ditto.
5401 * config/unix-gdb.exp: Ditto.
5402 * config/vx-gdb.exp: Ditto.
5403 * gdb.base/a1-selftest.exp: Ditto.
5404 * gdb.base/a2-run.exp: Ditto.
5405 * gdb.base/break.exp: Ditto.
5406 * gdb.base/corefile.exp: Ditto.
5407 * gdb.base/list.exp: Ditto.
5408 * gdb.base/recurse.exp: Ditto.
5409 * gdb.base/scope.exp: Ditto.
5410 * gdb.base/signals.exp: Ditto.
5411
5412Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5413
5414 * gdb.threads/Makefile.in (docdir): Removed.
5415
5416Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5417
5418 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5419 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5420 @srcdir@.
beb998c6 5421 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5422 autoconf 2.5 or higher.
5423 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5424
5425Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5426
5427 * configure: Regenerated.
5428 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5429 avoid name clashes with SunOS headers.
5430
5431Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5432
5433 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5434
5435Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5436
5437 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5438 prototype information ends up in the compiler info file.
5439
5440Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5441
5442 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5443 attempting to regenerate it. Eliminate use of a temporary file
5444 and just generate the info file directly. Source it immediately,
5445 for consistency of use.
5446 * gdb.base/corefile.exp: Ditto
5447 * gdb.base/exprs.exp: Ditto.
5448 * gdb.base/funcargs.exp: Ditto.
5449 * gdb.base/langs.exp: Ditto.
5450 * gdb.base/list.exp: Ditto.
5451 * gdb.base/mips_pro.exp: Ditto.
5452 * gdb.base/nodebug.exp: Ditto.
5453 * gdb.base/opaque.exp: Ditto.
5454 * gdb.base/ptype.exp: Ditto.
5455 * gdb.base/scope.exp: Ditto.
5456 * gdb.base/setvar.exp: Ditto.
5457 * gdb.base/signals.exp: Ditto.
5458 * gdb.base/whatis.exp: Ditto.
5459 * gdb.c++/templates.exp: Ditto.
5460 * gdb.c++/virtfunc.exp: Ditto.
5461 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5462 whether or not to add -lstdc++ to the compile command line args.
5463
5464Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5465
5466 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5467 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5468 Increase timeout, a lot of single stepping might be needed if the
5469 target has no hardware watchpoints.
5470
5471Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5472
5473 * gdb.base/break.exp: Ignore compiler warnings when compiling
5474 break.c.
5475 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5476 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5477 from remote-sim.
5478 * gdb.base/exprs.exp: Add h8300 xfails.
5479 * gdb.base/funcargs.exp: Likewise.
5480 * gdb.base/nodebug.exp: Likewise.
5481 * gdb.base/printcmds.exp: Likewise.
5482 * gdb.base/ptype.exp: Likewise.
5483 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5484 h8300 xfails.
beb998c6 5485 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
5486 on the h8300.
5487 * gdb.base/funcargs.c: Explicitly make last constant argument to
5488 call_after_alloca_subr an unsigned long type.
5489 * gdb.base/return.c: Include stdio.h.
5490
5491Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5492
5493 * config/abug.exp: New file for the older Motorola Bug monitor
5494 that runs on the mvme13x series VME boards.
5495 * config/monitor.exp: Use the new config array for target settings
5496 if they exist.
5497
5498Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5499
5500 * sim-gdb.exp: Make the SH simulator allocate less space when
5501 it is targeted.
5502
5503Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5504
5505 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5506 test.
5507
5508Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5509
5510 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5511 "rs6000-*-*" for "list function in include file" when gcc compiled.
5512 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5513 for "p ctable1[120]".
5514 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5515 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5516 Remove setup_xfail for "rs6000-*-*" for
5517 "print 'scope0.c'::filelocal before run".
5518 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5519 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5520 since some compilers don't allow both options to be given
5521 on the same command line. Create object file and move it.
beb998c6 5522
c906108c
SS
5523Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5524
5525 * gdb.base/corefile.exp: Always regenerate the core file, since
5526 we always regenerate the coremaker program. Detect special case
5527 where registers cannot be read from core file.
beb998c6 5528
c906108c
SS
5529Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5530
5531 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5532 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5533 * gdb.c++/templates.exp: Only match on basename of file since
5534 some formats like xcoff don't encode directory information.
5535 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5536 and rs6000 AIX xcoff targets.
5537 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5538 * configure: Regenerate.
5539 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5540 here, rather than in distclean.
beb998c6 5541
c906108c
SS
5542Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5543
5544 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5545 defined, and use it to compile the test case with -O2. The
5546 native compilation still uses no optimization.
5547 * gdb.base/mips_pro.c: Remove inline assembly code since
5548 it is compiled PIC by default, which results in assembler
5549 warnings that make the testsuite think the compilation
5550 was unsuccessful.
5551
5552Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5553
5554 * gdb.c++/misc.exp: Add note to message for
5555 "print s.a for foo struct" that this is a known gcc 2.7.2
5556 and earlier bug.
5557
5558Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5559
5560 * gdb.base/break.exp: Fix pattern for matching "Delete all
5561 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5562 setup_xfail for deleting all breakpoints test. Fix various
5563 timeout messages to include "(timeout)".
5564 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5565 for "p t_float_values2(3.14159,float_val2)".
5566 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5567 for "continue to call2g" when gcc compiled.
5568 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5569 "up to foo in langs.exp", "show language at foo in langs.exp",
5570 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5571 and "show language at fsub in langs.exp".
5572 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5573 "list line 1 in include file", "list message for lines past EOF",
5574 "list function in include file", "list list0.h:foo", and
5575 "list filename:function; nonexistant function".
5576 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5577 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5578 and "ptype t_char_array" to be for native cc only.
beb998c6 5579
c906108c
SS
5580Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5581
beb998c6 5582 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5583 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5584 "print func2::coremaker_local", and "backtrace in corefile.exp".
5585
5586Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5587
5588 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5589 "bt in signals.exp". This problem only appears when running
5590 the testsuite, and then only intermittently.
5591
5592Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5593
5594 * gdb.base/return.exp (return_tests): Differentiate between
5595 two tests of continuing.
5596
5597Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5598
5599 * */Makefile.in (maintainer-clean): Remove config.log.
5600 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5601 * gdb.c++/Makefile.in (PROGS): Add inherit.
5602 (clean): Remove *.ci.
5603
5604Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5605
5606 * gdb.c++/misc.cc: Add test code from Mike Stump.
5607 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5608
5609Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5610
5611 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5612 to "alpha-*-osf2*" and add comment.
5613 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5614 setup_xfail for "step over execarg initialization" and
5615 "step over corearg initialization".
5616 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5617 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5618 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5619 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5620 "print func2::coremaker_local", and "backtrace in corefile.exp".
5621 * gdb.base/signals.exp: Build and source signals.ci.
5622 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5623 to be for gcc only.
5624 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5625
c906108c
SS
5626Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5627
5628 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5629 Feb 3 procfs.c change.
5630
5631Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5632
5633 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5634
5635Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5636
5637 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5638 from dejagnu's apparent default of 10 seconds, which gives random
5639 results when running the tests over NFS on moderately loaded systems.
5640 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5641
5642Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5643
5644 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5645 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5646 result reports.
5647
5648Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5649
5650 * configure.in (CY_AC_PATH_TCLH): Remove.
5651 * configure: Regenerate.
5652
5653Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5654
5655 * gdb.c++/Makefile.in (clean): Add missing '{'.
5656
5657Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5658
5659 * lib/gdb.exp: Provide a default value for noinferior.
5660
5661 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5662 Load libgloss.exp.
5663
5664Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5665
5666 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5667 the executable, not the .o to run the tests from.
5668
5669Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5670
5671 * gdb.base/break.exp: Don't test for program exit or exit status
5672 if $noresults if nonzero.
5673 * gdb.base/langs.exp: Likewise.
5674 * gdb.base/watchpoint.exp: Likewise.
5675
5676 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
5677 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
5678 trying to compile the testcase.
5679
5680Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
5681
5682 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
5683 * gdb.base/signals.exp (continue to handler): Likewise.
5684
5685Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
5686
5687 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
5688
5689 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5690
5691Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
5692
5693 * gdb.base/corefile.exp: Recognize "not found" as failure
5694 when trying to determine if a core file was generated.
5695 If no core file was generate the first time, try again without
5696 the ulimit -c to work around braindamaged shells.
5697
5698Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
5699
5700 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
5701 [] tests with "test" and enclose string in quotes.
5702 * gdb.stabs/configure: Rebuild
beb998c6 5703
c906108c
SS
5704Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
5705
5706 Changes in sync with expect:
5707 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
5708 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
5709 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
5710 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
5711 argument to AC_REQUIRE.
5712 * configure: Regenerated.
5713
5714Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
5715
5716 * gdb.base/corefile.exp: When generating a core, discard any
5717 error messages about ulimit not found and the "core dumped"
5718 message from the shell that runs the coredumper.
5719
5720Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
5721
5722 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
5723
5724 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
5725 which sed script to run. Expect failure for v_comb test
5726 on PA targets too.
beb998c6 5727
c906108c
SS
5728Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
5729
5730 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
5731 "print func2::coremaker_local" and for "backtrace in corefile.exp"
5732
5733Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
5734
5735 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
5736 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
5737 "sparc-sun-solaris*" xfails for "p v_comb".
5738 * lib/gdb.exp (default_gdb_start): Fix typo.
5739 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5740 messages to not include the full program name that caused
5741 the core dump since some systems (such as solaris) apparently
5742 truncate this path to about 80 characters.
5743 When generating a core file first try increasing the core file
5744 size limit to unlimited since some systems may default it to
5745 zero, and it is harmless to try it. Move the test for failing
5746 to generate a core file to where it will actually get executed.
5747 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
5748 new gdb result from g++ debug info improvements and make old
5749 pattern obsolescent. Also account for size_t differences
5750 (may be int or long).
5751 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
5752 initialization before function call is placed in the delay slot
5753 and thus appears to be skipped over by commands such as "next".
5754
5755Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
5756
5757 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
5758
5759Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
5760
5761 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
5762 input source file; fix code to compile test to deal with this
5763 convention.
5764 * gdb.c++/*.exp: Likewise.
5765
5766Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
5767
5768 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
5769 "bt in signals.exp".
5770
5771Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
5772
5773 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
5774 "step over execarg initialization" and
5775 "step over corearg initialization".
5776
5777Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
5778
5779 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
5780 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
5781
5782Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
5783
5784 From Rob Savoye (rob@poseidon.cygnus.com)
5785 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
5786 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
5787 configure.in}, gdb.disasm/{Makefile.in, configure.in},
5788 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
5789 configure.in}: Major reworking for autoconfig.
5790 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
5791 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
5792 New files.
5793 * config/unix-gdb.exp: Make GDB global.
5794 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
5795 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
5796 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
5797 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
5798 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
5799 term.exp, twice.exp, watchpoint.exp, whatis.exp},
5800 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
5801 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
5802 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
5803 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
5804 pr-8136.exp, result.exp, string.exp, tuples.exp},
5805 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
5806 to returns as necessary, arrange for test to compile own testcase
5807 executable.
5808 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 5809
c906108c
SS
5810Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
5811
5812 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
5813 clear_xfail at end of test which might not call either pass or fail.
5814 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
5815 "backtrace through signal handler".
5816
5817Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5818
5819 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
5820 continuing from a job control stop signal.
5821 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
5822
5823Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
5824
5825 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
5826 * gdb.base/corefile.exp: Likewise.
5827 * gdb.base/funcargs.exp: Likewise.
5828
5829Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
5830
5831 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
5832 * config/monitor.exp: Add support for setting baud rate.
5833
5834Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
5835
5836 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
5837 i*86-*-linux* xfails for "backtrace through signal handler".
5838 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
5839 "print func2::coremaker_local".
5840 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
5841 alpha-dec-osf2* xfail for
5842 "delete all breakpoints when none".
5843
5844Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
5845
5846 * gdb.base/break.exp: Change test that deletes all breakpoints
5847 when no user breakpoints are installed. A post 4.15 change
5848 causes gdb to no longer prompt in this case.
5849
5850Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
5851
5852 * gdb.base/return.exp (return_tests): Change xfail for test
5853 "correct value returned double test" to stop xfailing at
5854 Solaris 2.5. Apparently the bug has been fixed.
5855
5856Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
5857
5858 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
5859 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
5860
5861Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
5862
5863 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
5864 * gdb.disasm/hppa.s: Corresponding changes.
5865
5866Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
5867
5868 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
5869 makefile fragment.
5870 * config/mt-hpux: Deleted.
5871
5872Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
5873
beb998c6 5874 * Many files: When warning about suppressed tests due to a
c906108c
SS
5875 nonexistant test binary, avoid incrementing the warning count.
5876
5877Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
5878
5879 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 5880
c906108c
SS
5881Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5882
5883 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
5884 "sparc-*-solaris2*".
5885
5886Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5887
5888 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
5889 Add global and local variables and initialize them.
5890 * gdb.base/corefile.exp: Test correct mapping of corefile sections
5891 by printing variables. Remove rs6000 and powerpc xfails, BFD now
5892 extracts the file name and terminating signal from the core file.
5893 * TODO: Remove note about tests for correct mapping of corefile.
5894 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
5895 from optimizing it away.
5896 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
5897 handles common blocks.
5898
5899Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
5900
5901 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
5902 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
5903
5904Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
5905
5906 * Makefile.in (maintainer-clean): New target, synonym for
5907 realclean.
5908 * gdb.base/Makefile.in (maintainer-clean): Likewise.
5909 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
5910 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
5911 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
5912 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
5913 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
5914
5915Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
5916
5917 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
5918 xfails when not gcc compiled for "print foo::funclocal".
5919 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
5920 "print foo::funclocal at foo",
5921 "print 'scope1.c'::foo::funclocal at foo",
5922 "print foo::funclocal_bss at foo",
5923 "print 'scope1.c'::foo::funclocal_bss at foo",
5924 "print foo::funclocal_ro at foo",
5925 "print 'scope1.c'::foo::funclocal_ro at foo",
5926 "print bar::funclocal at foo" and
5927 "print 'scope1.c'::bar::funclocal at foo".
5928 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
5929 gcc compiled for "print foo::funclocal at bar".
5930 Expand all messages to ensure that they identify that
5931 the test is at bar().
5932 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
5933 gcc compiled for:
5934 "ptype on opaque struct pointer (statically)",
5935 "ptype on opaque struct tagname (statically)",
5936 "ptype on opaque struct pointer (dynamically) 1",
5937 "ptype on opaque struct tagname (dynamically) 1",
5938 "ptype on opaque struct pointer (dynamically) 2" and
5939 "ptype on opaque struct tagname (dynamically) 2
5940 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
5941 gcc compiled for:
5942 "p datalocal"
5943 "whatis datalocal",
5944 "ptype datalocal",
5945 "p bsslocal",
5946 "whatis bsslocal", and
5947 "ptype bsslocal".
5948 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
5949 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
5950 when not gcc compiled.
5951 * gdb.base/funcargs.exp (float_and_integral_args): Add
5952 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
5953 compiled.
5954 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
5955 "backtrace from call6a" when not gcc compiled.
5956 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
5957 "backtrace from call7a" when not gcc compiled.
5958 * gdb.base/callfuncs.exp (do_function_calls):
5959 Add "hppa*-*-hpux*" xfail when not gcc compiled for
5960 "p t_char_array_values(char_array_val2,char_array_val1)",
5961 "p t_char_array_values(char_array_val1,char_array_val2)",
5962 "p t_char_array_values("carray 1","carray 2")",
5963 "p t_char_array_values("carray 1",char_array_val2)",
5964 "p t_char_array_values(char_array_val1,"carray 2")",
5965 "p sum_args(1,{2})",
5966 "p sum_args(2,{2,3})",
5967 "p sum_args(3,{2,3,4})",
5968 "p sum_args(4,{2,3,4,5})"
5969 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
5970 "backtrace in corefile.exp" when not gcc compiled.
5971
5972Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5973
5974 * gdb.base/signals.exp: Rewrite `handle all print' test as
5975 a procedure. Accept blanks or TABs as whitespace, increase
5976 timeout and expect input buffer size for the large output
5977 from the command. Remove "i*86-*-bsdi2.0" xfail.
5978
5979Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5980
5981 * gdb.base/setvar.exp: Add new testcases for truncation when
5982 assigning invalid values to bitfields.
5983
5984Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
5985
beb998c6 5986 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
5987 mips-sgi-irix* xfail for
5988 "call inferior func with struct - returns char *"
5989 and fix test so that an optional (unsigned char *) cast is
5990 accepted in the result.
5991
5992Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
5993
5994 * gdb.base/funcargs.exp (float_and_integral_args): Remove
5995 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5996 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
5997 * gdb.base/signals.exp: Remove duplicate "handle all print" test
5998 that accidentally got checked in.
5999
6000Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6001
beb998c6 6002 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6003 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6004 compiled test.
6005 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6006 Add mips-sgi-irix5* xfail for not gcc compiled.
6007 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6008 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6009 "p top", "whatis top", "p middle", and "whatis middle".
6010 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6011 "whatis signed char" for not gcc compiled.
6012 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6013 "set variable signed char=-1 (-1)" and
6014 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6015 * gdb.base/funcargs.exp (float_and_integral_args):
6016 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6017 Add mips-sgi-irix* xfail when not gcc compiled for
6018 "continue to call2b".
6019 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6020 "continue to call2g".
6021 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6022 "backtrace from call6a"
6023 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6024 "backtrace from call7k".
6025 Add mips-sgi-irix5* xfail when not gcc compiled for
6026 "backtrace from call7a".
6027 (localvars_after_alloca): Fix gdb_test cmds for
6028 "print * after runto ...".
6029 Remove rs6000-*-* xfails for
6030 "print i after runto localvars_after_alloca" and
6031 "print l after runto localvars_after_alloca"
6032 for all compilers.
6033 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6034 when not compiled with gcc, for:
6035 "print signed char == (minus)",
6036 "print signed char != (minus)",
6037 "print signed char < (minus)",
6038 "print signed char > (minus)".
6039 * gdb.base/callfuncs.exp (do_function_calls):
6040 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6041 "call inferior func with struct - returns char *".
beb998c6 6042 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6043 "correct value returned double test" to include Solaris 2.4.
6044 * gdb.base/funcargs.exp (float_and_integral_args):
6045 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6046
c906108c
SS
6047Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6048
6049 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6050 enumeration bitfields if compiling with GNU C.
6051 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6052 to empty' prompt.
6053
6054Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6055
6056 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6057 test for PRO targets.
6058
6059 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6060 breakpoints in the inferior at any given time by making
6061 two groups of breakpoints for call2*, call6* and call7*
6062 tests.
6063
6064Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6065
6066 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6067 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6068 from optimizing it away.
6069 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6070 "call inferior func with struct".
6071
6072Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6073
6074 * configure.in: Only configure gdb.chill for particular targets.
6075
6076Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6077
6078 * gdb.base/Makefile.in: Add action to .c.o transformation
6079 rule that generates a .ci file for each .o file and remove
6080 explicit .c.o rules except for callfuncs.o.
6081 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6082 generates a .ci file for each .o file and remove explicit
6083 .cc.o rules.
6084 (clean): Remove *.tmp *.ci files.
6085 (EXECUTABLES): Remove templ-info.exp.
6086 * gdb.base/compiler.c: New file.
6087 * gdb.c++/compiler.cc: New file
6088 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6089 Change rs6000-*-* xfail for
6090 "print 'scope0.c'::filelocal_ro" and
6091 "print 'scope1.c'::filelocal" and
6092 "print 'scope1.c'::filelocal_bss" and
6093 "print 'scope1.c'::filelocal_ro" and
6094 "print 'scope1.c'::foo::funclocal" and
6095 "print 'scope1.c'::foo::funclocal_ro" and
6096 "print 'scope1.c'::bar::funclocal" and
6097 "print 'scope0.c'::filelocal_ro" and
6098 "print 'scope1.c'::filelocal at foo" and
6099 "print 'scope1.c'::filelocal_bss at foo" and
6100 "print 'scope1.c'::filelocal_ro at foo" and
6101 "print 'scope1.c'::foo::funclocal at foo" and
6102 "print 'scope1.c'::foo::funclocal_bss at foo" and
6103 "print 'scope1.c'::foo::funclocal_ro at foo" and
6104 "print 'scope1.c'::bar::funclocal at foo" and
6105 "print 'scope0.c'::filelocal_ro" and
6106 "print 'scope1.c'::filelocal" and
6107 "print 'scope1.c'::filelocal_bss" and
6108 "print 'scope1.c'::filelocal_ro" and
6109 "print 'scope1.c'::foo::funclocal" and
6110 "print 'scope1.c'::foo::funclocal_bss" and
6111 "print 'scope1.c'::foo::funclocal_ro" and
6112 "print 'scope1.c'::bar::funclocal" and
6113 "print 'scope1.c'::bar::funclocal_bss"
6114 to only be xfail'd when not compiled with gcc.
beb998c6 6115 Add rs6000-*-* xfail for
c906108c
SS
6116 "print 'scope0.c'::filelocal_bss before run"
6117 when compiled with gcc.
6118 (test_at_main): Add rs6000-*-* xfail for
6119 "print filelocal_ro in test_at_main"
6120 when compiled with gcc.
6121 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6122 Add rs6000-*-aix* xfail for
c906108c
SS
6123 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6124 "ptype t_char_array", not compiled with gcc.
6125 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6126 xfail for "list foo (in include file)" when gcc compiled.
6127 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6128 (integral_args): Add rs6000-*-* xfail for
6129 "run to call0a" if not compiled with gcc.
6130 (unsigned_integral_args): Add rs6000-*-* xfail for
6131 "run to call1a" if not compiled with gcc.
6132 (float_and_integral_args): Add rs6000-*-* xfail for
6133 "run to call2a" if not compiled with gcc and for
6134 "continue to call2b" for any compiler.
6135 Add rs6000-*-* xfail to
6136 "print f1 after run to call2a" for gcc compiled.
6137 (discard_and_shuffle): Add rs6000-*-* xfail for
6138 "run to call6a".
6139 (shuffle_round_robin): Add rs6000-*-* xfail for
6140 "backtrace from call7a" if not compiled with gcc.
6141 Add rs6000-*-* xfail for
6142 "backtrace from call7b" if compiled with gcc.
6143 (call_after_alloca): Add rs6000-*-* xfail for
6144 "print c in call_after_alloca" and
6145 "print s in call_after_alloca" and
6146 "backtrace from call_after_alloca_subr"
6147 if not compiled with gcc.
6148 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6149 "print c in localvars_in_indirect_call" and
6150 "print c in localvars_in_indirect_call" and
6151 "backtrace in indirectly called function" and
6152 "stepping into indirectly called function"
6153 if not compiled with gcc.
6154 (localvars_after_alloca): Add rs6000-*-* xfail for
6155 "print c after runto localvars_after_alloca" and
6156 "print s after runto localvars_after_alloca" and
6157 "print i after runto localvars_after_alloca" and
6158 "print l after runto localvars_after_alloca"
6159 for all compilers.
6160 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6161 than whatis-info.exp.
6162 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6163 than opaque-info.exp.
6164 Setup rs6000-*-* xfail for
beb998c6 6165 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6166 "ptype on opaque struct pointer (dynamically)" when
6167 not compiled with gcc.
6168 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6169 rather than callf-info.exp.
6170 (do_function_calls): Add clear_xfail for rs6000-*-* for
6171 "p t_float_values2(3.14159,float_val2)". Seems to work
6172 fine there, both with xlc and gcc. Need to find out what
6173 it is doing right and fix other platforms.
6174 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6175 "call inferior func with struct - returns int",
6176 "call inferior func with struct - returns long",
6177 "call inferior func with struct - returns float",
6178 "call inferior func with struct - returns double",
6179 "call inferior func with struct - returns char *",
6180 but only if not gcc compiled (presumes xlc compiled).
6181 Change rs6000-*-* xfails for
6182 "call inferior func with struct - returns char" and
6183 " call inferior func with struct - returns short" to only
6184 xfail if not using gcc.
6185 (clean mostlyclean): Remove *.ci and *.tmp files.
6186 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6187 than templ-info.exp.
6188 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6189 Add rs6000-*-* xfail for "up to foo in langs.exp"
6190 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6191 when not gcc compiled.
beb998c6 6192
c906108c
SS
6193Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6194
6195 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6196 * gdb.base/corefile.exp: Likewise.
6197 * gdb.base/list.exp: Likewise.
6198 * gdb.base/scope.exp: Likewise.
6199 * gdb.base/siganls.exp: Likewise.
6200
6201 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6202 compiler output.
6203 * gdb.base/whatis.exp: Likewise.
6204
6205Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6206
6207 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6208 failure (opcode table has been fixed to match reality).
6209
6210Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6211
6212 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6213 "call inferior func with struct - returns char",
6214 "call inferior func with struct - returns short"
6215
6216 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6217 "print 'scope0.c'::filelocal at main",
6218 "print 'scope0.c'::filelocal_bss in test_at_main",
6219 "print 'scope0.c'::filelocal at foo",
6220 "print 'scope0.c'::filelocal_bss in test_at_foo",
6221 "print 'scope0.c'::filelocal at bar",
6222 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6223
c906108c
SS
6224 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6225 in source file 1". This bug seems to have been fixed with both
6226 gcc and native cc (was native assembler bug?).
6227
6228Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6229
6230 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6231 "backtrace through signal handler" to "i*86-*-sysv4*".
6232 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6233 continue" case. Add "known SVR4 bug" to fail message.
6234 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6235 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6236 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6237 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6238 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6239 "up to foo in langs.exp", "show language at foo in
6240 langs.exp", "up to cppsub_ in langs.exp", "show
6241 language at cppsub_ in langs.exp", "up to fsub in
6242 langs.exp", and "show language at fsub in langs.exp".
6243 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6244 "bactrace in corefile.exp".
6245 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6246 "call inferior function with struct - returns float" and
6247 "call inferior function with struct - returns double".
beb998c6 6248
c906108c
SS
6249Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6250
6251 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6252 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6253 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6254 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6255
6256Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6257
6258 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6259 (or overriden) "CHILL" macro rather then bare "gcc".
6260 Also look for ../../gcc/xgcc since that is what we will
6261 actually need, not "Makefile". Remove following assignment
6262 of CHILL to CHILL_FOR_TARGET because that results in
6263 recursive definition.
6264
6265Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6266
6267 * gdb.base/corefile.exp: Change xfail for backtrace in
6268 corefile.exp from linuxaout to all linux.
6269 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6270 cases where we miss the breakpoint at the signal handler
6271 for some reason. Setup xfail for linuxoldld/linuxaout and
6272 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6273 hitting SIGURG breakpoint.
6274 * gdb.base/signals.exp: Setup xfail for "next" acting like
6275 continue to add linuxoldld. Setup xfail for all linux for
6276 "next to handler in signals_tests_1", "backtrace in
6277 signals_tests_1", "continue to func1", "pass SIGUSR1",
6278 and continue to handler".
6279
6280Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6281
6282 * Update all FSF addresses except those in COPYING* files.
6283
6284Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6285
6286 * gdb.base/a2-run.exp: Change messages to be more explicit about
6287 the status of args, and quote binfile in results.
6288
6289Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6290
6291 * gdb.base/callfuncs.exp: Add tests for passing structs to
6292 inferior functions and return various types.
6293 * gdb.base/callfuncs.c: Add functions to receive a struct
6294 and return a member of the struct, in various types.
6295
6296Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6297
6298 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6299
6300Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6301
6302 * config/vxworks29k.exp: New file, sources vxworks.exp.
6303
6304Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6305
6306 * config/gdbremote.exp: New file. Testing framework using
6307 gdbserver.
6308
6309Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6310
6311 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6312 "call function when asleep" and "send end of file".
6313 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6314 for "backtrace in corefile.exp".
6315 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6316 for "backtrace through signal handler".
6317 * gdb.base/corefile.exp: Make sure we actually generate a core file
6318 before trying the core tests. Some systems allow the user to suppress
6319 generation of core files and default to that (linux for example).
6320 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6321 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6322
6323Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6324
6325 * gdb.threads: New directory with some crude multi-threaded
6326 gdb tests (step.exp and step2.exp).
6327 * config/mt-lynx (STEP_EXECUTABLE): Define.
6328 (THREADFLAGS): Define.
6329
6330Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6331
6332 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6333
6334 * gdb.base/signals.exp: Disable whole file for lynx until
6335 further notice.
6336
6337 * gdb.base/signals.exp: xfail test where "next" acts like
6338 "continue" for lynx.
6339
6340 * gdb.base/interrupt.exp: xfail test for calling function while
6341 inferior is asleep for lynx.
6342
6343 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6344 than one cr-lf after each command.
6345
6346Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6347
6348 * configure.in: Reinstate setting of stabsdirs variable, fix
6349 typo in setting up configdirs for native builds.
6350
6351 * gdb.base/return.exp: Fix typo in return double test.
6352 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6353 compiler from optimizing them away.
6354
6355Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6356
6357 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6358 sequences to be echo'd by gdb when using gdb_test.
6359 * gdb.chill/chexp.exp: Likewise.
6360 * gdb.fortran/exprs.exp: Likewise
6361
6362Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6363
6364 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6365 after the inferior gdb has started.
6366
6367 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6368 after each command.
6369 * gdb.base/funcargs.exp: Likewise.
6370 * gdb.base/gdbvars.exp: Likewise.
6371 * gdb.base/interrupt.exp: Likewise.
6372 * gdb.base/list.exp: Likewise.
6373 * gdb.base/watchpoint.exp: Likewise.
6374 * gdb.c++/demangle.exp: Likewise.
6375 * gdb.c++/inherit.exp: Likewise.
6376 * gdb.chill/chexp.exp: Likewise.
6377 * gdb.fortran/exprs.exp: Likewise.
6378
6379 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6380 test if we can't handle IO to/from the inferior.
6381
6382 * gdb.c++/misc.exp: Always check for a program already being
6383 started after sending a "run" command to gdb.
6384
6385 * gdb.base/twice.exp: Start with a fresh gdb.
6386
6387 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6388 only depend on gdb's expression code, not the chill runtime.
6389
6390 * gdb.base/return.c: Put return values into variables so we
6391 can have gdb print them rather than depending on the program
6392 to print them.
6393 * gdb.base/return.exp: Corresponding changes.
6394
6395 * lib/gdb.exp: Provide default value for noinferiorio.
6396 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6397 the inferior.
6398
6399 * gdb.base/break.exp: Always check for a program already being
6400 started after sending a "run" command to gdb.
6401 (text_next_with_recursion): Don't check the output from the
6402 program's printf statement. Instead just make sure the program
6403 exited.
6404
6405 * gdb.base/commands.exp: Protect tests which need arguments with
6406 $noargs conditionals.
6407
6408Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6409
6410 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6411 of structure member arrays to match gdb/valops.c:value_addr change.
6412
6413Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6414
6415 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6416 cases.
6417
6418Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6419
6420 * configure.in (configdirs): Remove gdb.chill from default list
6421 of subdirs and then add it back in only if doing a native build.
6422 The current chill compiler does not yet work in any cross build.
6423 * Revert all signal changes from Jul 6.
6424 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6425 for sh-hms targets, allowing these tests to link, with no other
6426 changes. Testing is suppressed by setting "nosignals" in site.exp.
6427
6428Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6429
6430 * configure.in (signaldirs): Define and add to configdirs for all
6431 targets except some specific ones that are known to not support signals.
6432 Also clean up formatting.
6433 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6434 (signals, sigall): Remove rules to build.
6435 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6436 Moved to new gdb.signals directory.
6437 * gdb.signals: New test directory.
6438 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6439 signals.c signals.exp}: New or moved files.
6440
6441Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6442
6443 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6444
6445Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6446
6447 * gdb.base/return.exp: Xfail `return double' test failure
6448 on at least Solaris 2.3 and handle future/past versions on
6449 a case by case basis as appropriate. Also update message
6450 to include i*86 failures.
6451
6452Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6453
6454 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6455
6456 * lib/gdb.exp: Fix comment which erroneously identified
6457 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6458 gdb_file_cmd not gdb_load).
6459 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6460
6461 * gdb.base/setvar.exp: Make test names consistent between pass and
6462 fail cases. Use gdb_test more.
6463
6464Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6465
6466 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6467
6468Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6469
6470 * gdb.base/help.exp: Fix expected help string for `show commands'.
6471
6472Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6473
6474 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6475
6476 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6477 of a text section.
6478
6479Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6480
6481 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6482 that loop eventually terminates. Fix Connection refused logic so
6483 that testsuite will expire nicely.
6484
6485Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6486
6487 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6488 config/rom68k.exp: New tcl glue for the appropriate monitors.
6489 These all just end up calling monitor.exp.
6490 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6491 refused' by retrying. Cleanup some timeout issues.
6492 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6493 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6494 callers don't have to set/restore global timeout variable.
6495
6496 * The following set of changes centralizes management of the global
6497 timeout variable. This way, it can be set in one target dependent
6498 place instead of dozens of places scattered throughout the test suite.
6499 If you need to lengthen a timeout, then you should either set timeout
6500 in one of the config/{target}.exp files, or multiply it by a factor.
6501 Setting it to an absolute value is always going to lose for some
6502 targets.
6503 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6504 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6505 * gdb.base/funcargs.exp: Don't set timeout.
6506 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6507 * gdb.base/printcmds.exp (test_print_string_constants
6508 test_print_array_constants): Don't set timeout.
6509 * gdb.base/ptype.exp: Don't set timeout.
6510 * gdb.base/recurse.exp: Don't set timeout.
6511 * gdb.base/return.exp: Don't set timeout.
6512 * gdb.base/watchpoint.exp: Don't set timeout.
6513 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6514 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6515
6516Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6517
6518 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6519
6520Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6521
6522 * lib/gdb.exp: Disable chill tests for irix5.
6523
6524Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6525
6526 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6527 each test pass or fail.
6528
6529Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6530
6531 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6532 xlc not gcc.
6533
6534Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6535
6536 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6537
6538Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6539
6540 * config/est.exp: Fix copyright and comments. Remove dead code.
6541 Use targetname, serialport and baud variables instead of fixed
6542 constants.
6543 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6544 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6545
6546Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6547
6548 * gdb.base/watchpoint.exp: Don't run
6549 test_watchpoint_triggered_in_syscall for sunos.
6550
6551Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6552
6553 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6554 they don't seem to exist. Do include stdio.h.
6555
6556Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6557
6558 * gdb.base/a1-selftest.exp: Add alpha xfail.
6559
6560Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6561
6562 * gdb.base/watchpoint.c (main): Prompt before calling read().
6563 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6564 Revise accordingly. Remove cruft about sending "123" several
6565 times, until it gets noticed. Clean up the "print buf[0]" stuff
6566 so that it passes or fails, and waits for prompts in the usual way.
6567
6568Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6569
6570 * gdb.base/recurse.exp: Fix comment.
6571
6572 * TODO: Remove item about printing variables in nodebug.exp. Add
6573 item about enabling tests which are only run on some targets.
6574
6575 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6576 fail, make test names unique, use new gdb_test convention
6577 regarding pattern, use gdb_test more, etc.).
6578
6579 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6580 fail, make test names unique, etc.).
6581
6582Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6583
6584 * gdb.base/nodebug.c: Change return type of top and middle to
6585 short.
6586 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6587 are fixed by the recent mdebugread.c changes. Allow `short ()'
6588 as type for top and middle.
6589
6590Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6591
6592 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6593 nearly as I can tell, the whole thing was an accident in Stu's
6594 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6595 to replace a send/expect pair with gdb_test, but ended up only
6596 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6597 of 30 Mar 1995 took care of it, but left this vestigial comment
6598 which I am now nuking.
6599
6600Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6601
6602 * gdb.base/break.exp: Look for different line number for
6603 breakpoint at main depending on usestubs.
6604
6605Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6606
6607 * gdb.base/list.exp: Adjust some alternate expect patterns to
6608 match recent list0.c change. Add alternate expect pattern for
6609 output from `list default lines around main' for optimizing
6610 compilers.
6611
6612Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6613
6614 * lib/gdb.exp: If nosignals is not set, set it to 0.
6615
6616Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6617
6618 * config/slite-gdb.exp: Responds to load symbol table prompt.
6619 * gdb.base/break.exp: Adjust line number, fix rerun.
6620 * gdb.base/langs0.c: Add #ifdef usestubs.
6621
6622Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6623
6624 * gdb.base/list.exp: Adjust line contents after adding new lines in
6625 list0.c. Also fix a syntax error.
6626
6627 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6628 * gdb.base/break.exp: ditto.
6629 * gdb.base/list.exp: ditto.
6630 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6631 * gdb.base/run.c: ditto.
6632 * gdb.base/list0.c: ditto.
6633 * gdb.base/funcargs.c: ditto.
6634
6635Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6636
6637 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6638 $targetname, $serialport and $baud instead of hardwired variables.
6639 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6640 target doesn't support signals.
6641
6642Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6643
6644 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6645
6646Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6647
6648 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6649 Don't rely on the value of an auto variable before it has been
6650 initialized. Use gdb_test more.
6651
6652Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6653
6654 * lib/gdb.exp (default_gdb_version): A version number must start
6655 with a digit, but other than that contains all characters up to
6656 the first whitespace character.
6657
6658Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6659
6660 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6661
6662Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6663
6664 * gdb.c++/*.exp: Warn if executable does not exist. The original
6665 reason for skipping the warning was that configure.in sometimes
6666 intentionally skipped building the executables but the tcl code
6667 had no way of knowing. That (a) was always bogus with respect to
6668 error handling, (b) is no longer true (right now there is no way
6669 to skip C++ tests).
6670
6671 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6672
6673Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6674
6675 * gdb.base/list.exp: Add expect patterns for output from
6676 SunPRO compiled executables.
6677 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
6678 types.
6679
6680Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6681
6682 * gdb.base/break.exp (test_next_with_recursion): Accept any line
6683 number (we are already testing that the correct source line text
6684 gets printed).
6685
6686 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
6687 that is what is intended, but something needed to be done to get
6688 sunos4 native working again.
6689
6690 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
6691
6692 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
6693 apparently went with a (very) old xfail.
6694
6695Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
6696
6697 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
6698 runto_main is a proc in gdb.exp that will do 'step' for target use
6699 stubs.
6700 * gdb.base/exprs.exp: ditto.
6701 * gdb.base/interrupt.exp: ditto.
6702 * gdb.base/opaque.exp: ditto.
6703 * gdb.base/printcmds.exp: ditto.
6704 * gdb.base/ptype.exp: ditto.
6705 * gdb.base/scope.exp: ditto.
6706 * gdb.base/setvar.exp: ditto.
6707 * gdb.base/signals.exp: ditto.
6708 * gdb.base/twice.exp: ditto.
6709 * gdb.c++/classes.exp: ditto.
6710 * gdb.c++/inherit.exp: ditto.
6711 * gdb.c++/templates.exp: ditto.
6712 * gdb.base/break.exp: no run and hit main for stubs. Change line
6713 numbers for breakpoints and info breakpoint.
6714 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
6715 breakpoint().
6716 * gdb.base/callfuncs.c: ditto.
6717 * gdb.base/exprs: ditto.
6718 * gdb.base/interrupt.c: ditto.
6719 * gdb.base/opaque0.c: ditto.
6720 * gdb.base/printcmds.c: ditto.
6721 * gdb.base/ptype.c: ditto.
6722 * gdb.base/scope0.c: ditto.
6723 * gdb.base/setvar.c: ditto.
6724 * gdb.base/signals.c: ditto.
6725 * gdb.base/twice.c: ditto.
6726 * gdb.c++/misc.cc: ditto.
6727 * gdb.c++/templates.cc: ditto.
6728
6729Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6730
6731 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
6732
6733 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
6734 somewhere between `read' and `main.c'. I'm pretty sure the
6735 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
6736 and it isn't particularly useful.
6737
6738 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
6739
6740Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6741
6742 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
6743
6744Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
6745
6746 * config/mt-slite: add LIBS and -nostdlib.
6747 * config/slite-gdb.exp: add this new file to support sparclite target.
6748
6749Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
6750
6751 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
6752
6753 * gdb.base/a2-run.exp: Change argument to istarget from
6754 "*-*-vxworks" to "*-*-vxworks*".
6755 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
6756
6757Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
6758
6759 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
6760 will not runto main but do a 'step' to step out of breakpoint().
6761 * config/mt-slite: add -Dusestubs.
6762
6763Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6764
6765 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
6766 instead of just @.
6767
6768 * gdb.base/signals.exp: Add test for "handle all print".
6769 * TODO: Remove "handle all print". Also remove item about
6770 checking copyright date (I don't like the idea of a spurious FAIL
6771 based on when we run the tests).
6772
6773 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
6774 for SunOS4 (reason for failure not investigated). Remove
6775 redundant test for $binfile.
6776
6777 * gdb.base/nodebug.c (array_index): Call malloc.
6778
6779 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
6780
6781Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
6782
6783 * gdb.base/recurse.exp: Update gdb_test invocation to use new
6784 conventions and slightly simplify the matching regexp.
6785
6786Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6787
6788 * gdb.base/break.exp: Update gdb_test invocation to use new
6789 convention.
6790
6791 * lib/gdb.exp: If noargs is not set, set it to 0.
6792
6793 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
6794 tests unique.
6795
6796 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
6797
6798Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6799
6800 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
6801 one argument of type "<non-float parameter>".
6802
6803Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
6804
6805 * config/rom68k.exp: New file to support Motorola IDP board.
6806 * gdb.base/a2-run.exp: Skip this file if noargs is set.
6807 * gdb.base/break.c: Change things around so that this program
6808 doesn't depend upon args. This is necessary to make remote
6809 targets work (in general, they can't take args).
6810 * gdb.base/break.exp: Don't try to send args to program. Don't
6811 expect output. Also, replace lots of code with gdb_test.
6812
6813Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6814
6815 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
6816 printing of '\'' (which is what the comment says we are testing,
6817 even though we were not), not '''.
6818 (test_integer_literals_rejected): Test that printing ''' is an error.
6819
6820 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6821 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
6822 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
6823 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
6824 Use gdb_test not test_print_accept.
6825 * lib/gdb.exp: Remove test_print_accept.
6826
6827 * gdb.base/signals.exp (signal_tests_1): Make pass message
6828 consistent with fail message.
6829
6830 * gdb.base/whatis.exp: Remove xfails for printing char vs.
6831 unsigned char; the bug (PR 1821) is fixed.
6832
6833 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
6834
6835 * gdb.base/scope.exp (test_at_localscopes): Call pass for
6836 successful tests--makes xfailing them work right.
6837
6838Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6839
6840 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
6841 only \r\n, not .*. The test can pass .* as the last thing in
6842 $pattern if that is what it wants. In addition to providing this
6843 flexibility, this change should speed up pattern matching in cases
6844 where the pattern already ended with .* (there were a number of
6845 them). This change also helps catch bad patterns--in the old
6846 scheme the typo "char \*" instead of "char \\*" would pass. Now
6847 it is caught.
6848 * Many .exp files: Update callers.
6849
6850 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
6851 clearer and does not spuriously match multiple ('s. Likewise for
6852 ) and *.
6853
6854 * gdb.base/nodebug.exp: Test ability to call a function and pass
6855 it a string (even with no debugging info).
6856
6857 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
6858 "p '\'", which is the same as "p ''" once tcl gets done with
6859 quoting, to "p '\\'", which I suspect is what is intended (one
6860 backslash gets sent to GDB).
6861
6862 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
6863
6864Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6865
6866 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
6867 1817) was fixed literally years ago.
6868
6869Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6870
6871 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
6872 test, it causes stepping out of call_after_alloca_subr with
6873 optimizing compilers.
6874 (localvars_in_indirect_call): Consume GDB prompt if `finish'
6875 fails.
6876
6877 * gdb.c++/templates.exp: Source templ-info.exp only if
6878 the templates executable exists.
6879
6880 * gdb.c++/misc.cc (class Contains_static_instance,
6881 class Contains_nested_static_instance),
6882 gdb.c++/classes.exp (test_static_members): Test printing of
6883 a class that contains a static instance of the class.
6884
6885Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6886
6887 * gdb.base/langs2.c (cppsub_): Don't prototype.
6888 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
6889 only, I believe).
6890
6891Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6892
6893 * lib/gdb.exp (skip_chill_tests): New procedure.
6894
6895 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
6896
6897Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
6898
6899 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
6900 each expect pattern. Cuts runtime from 12 to about 4 seconds.
6901
6902Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6903
6904 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
6905
6906 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
6907 disassemble 8, not 16, instructions for part 4.
6908
6909 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
6910 support the latter anymore.
6911
6912 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
6913 -DNO_PROTOTYPES.
6914 * gdb.base/callfuncs.c: Control use of prototypes based on
6915 NO_PROTOTYPES, not __STDC__.
6916 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
6917 t_float_values2 tests if prototypes in use.
6918
6919 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
6920 t_double_values): When checking differences against DELTA, check
6921 that difference is within the range (-DELTA,DELTA), not just
6922 (-infinity,DELTA).
6923
6924Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
6925
6926 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
6927 'file' command firts, then 'target', then 'load', this is due to gdb
6928 target set up.
6929 * config/mips-gdb.exp: Fix a couple regular exp bugs.
6930
6931Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
6932
6933 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
6934 FP load/store variants.
6935 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
6936
6937Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6938
6939 * gdb.base/term.exp: Do not give a warning if not native, it is
6940 not an abnormal condition.
6941
6942Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
6943
6944 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
6945 t_char_array".
6946
6947Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6948
6949 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
6950 are getting the version number.
6951
6952 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
6953 if not native, it is not an abnormal condition.
6954
6955Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6956
6957 * lib/gdb.exp: Just use "file exists", rather than undocumented
6958 dejagnu procedure "findfile".
6959
6960Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6961
6962 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
6963 (LDFLAGS): Set to -Xlinker -Ur.
6964
6965 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
6966 Removed, these values are set by lib/gdb.exp.
6967
6968 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
6969
6970Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6971
6972 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
6973 of replicating gdb startup code.
6974
6975 * config/mt-vxworks (LDFLAGS): Set to -r.
6976 (CFLAGS_FOR_TARGET): Removed.
6977
6978 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
6979 (gdb) and gdb for vxworks uses (vxgdb).
6980
6981 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
6982 executable is not in the tree and host != target, use sed and
6983 program_transform_name to determine the gdb name used by the
6984 target.
6985
6986 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
6987 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
6988
6989Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6990
6991 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
6992 floats, chars, and shorts where there are ANSI-style function
6993 definitions.
6994
6995 * gdb.base/langs.exp, gdb.base/langs*: New test.
6996 * gdb.base/Makefile.in: Build it.
6997 * TODO: Remove item about checking that C names don't get C++
6998 demangling applied; this test tests it.
6999
7000Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7001
7002 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7003 went with the const70 xfail. The xfail went away a year ago.
7004
7005 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7006
7007 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7008 for hp300.
7009
7010 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7011
7012 * gdb.base/a1-selftest.exp: Don't run on hp300.
7013
7014Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7015
7016 * Makefile.in (site.exp): Set host_alias and target_alias as well
7017 as host_triplet and target_triplet.
7018
7019Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7020
7021 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7022
7023 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7024 places as other ecoff systems).
7025
7026 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7027 ultrix.
7028
7029Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7030
7031 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7032 remove them.
7033 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7034 variable and "variable" in addition to "data variable".
7035 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7036
7037 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7038 2.
7039 * gdb.base/list1.c (long_line): Add additional statement at start
7040 of function.
7041 * gdb.base/list.exp (test_forward_search): Update line number to
7042 reflect new statement.
7043
7044Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7045
7046 * gdb.base/signals.exp: Reinitialize searched source directories
7047 after gdb_start call.
7048
7049Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7050
7051 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7052 * gdb.stabs/Makefile.in: Likewise.
7053
7054 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7055 change. Instead split the tests into smaller pieces.
7056 * gdb.disasm/hppa.s: Corresponding changes.
7057
7058Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7059
7060 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7061 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7062
7063 * gdb.base/funcargs.exp: Modify many tests so that every test
7064 either passes or fails. Make some test names unique.
7065
7066Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7067
7068 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7069 Call stty to set interrupt character.
7070
7071 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7072 for HP assembler versus GNU assembler based on actual behavior of
7073 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7074
7075 * TODO: Suggest a few more stepping tests.
7076
7077Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7078
7079 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7080 restart GDB for h8300 after a continue.
7081 (return): Add pattern to match a29k-udi behavior.
7082 * gdb.base/nodebug.exp: Remove obsolete comment.
7083 * gdb.base/regs.exp: New file, testing of register displays.
7084 * gdb.base/return.exp: Fix typo in reference to $objdir.
7085 * gdb.base/whatis.exp: Always start with a fresh GDB.
7086
7087Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7088
7089 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7090 higher, these tests generate a lot of output.
7091
7092Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7093
7094 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7095 code following the catch silently ignored some errors; without the
7096 catch they should be thrown like any other tcl error. Also, the
7097 catch used "" instead of {} which meant all the callers who wanted
7098 to include one of the characters "[]$ had to quote it an extra time.
7099 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7100 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7101 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7102 Remove extra quoting.
7103
7104Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7105
7106 * gdb.base/commands.exp: Make test names unique; every test either
7107 passes or fails. Update some comments.
7108
7109 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7110
7111Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7112
7113 The following fixes a FAIL caused by the fact that the alpha stabs
7114 configuration didn't use the ".if alpha" code in weird.def.
7115 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7116 bit pointer, so the 32 bit version works even on the alpha.
7117 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7118 Remove the stuff which allowed us to have separate versions for
7119 alpha and everything else.
7120
7121 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7122 regexp which "info func operator\[\](" is supposed to match. Fix
7123 string to send to GDB. Note that GDB still doesn't work right. Add a
7124 new test for "info func .perator\[\](" which GDB does handle correctly.
7125
7126 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7127
7128Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7129
7130 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7131 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7132 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7133 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7134 it makes the tests harder to understand and confuses test-o-matic.
7135 The preferred style is that each test provides a PASS or a FAIL,
7136 and has a unique message (e.g. "continue #54" not just "continue")
7137 which is the same for the pass and the fail.
7138 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7139 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7140 to lib/gdb.exp.
7141 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7142 prt_accept which was basically the same thing. Likewise for
7143 test_print_reject and prt_reject.
7144 * lib/gdb.exp (test_print_reject): Add some more error message
7145 patterns to match from the former printcmds.exp (prt_reject).
7146 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7147 One defect of the passcount stuff is that some of it failed to
7148 report XPASS where appropriate.
7149 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7150 stuff before and after arg in expected pattern.
7151 (test_paddr_operator_functions): Re-do test without print_addr_of;
7152 this is the only test which seems to want extra stuff there.
7153
7154Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7155
7156 * gdb.base/nodebug.exp: Update new tests to reflect improved
7157 wording of gdb output.
7158
7159 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7160 and "ptype" work on variables in files compiled without -g.
7161 Replaces commented out "maint print msymbol" tests.
7162
7163Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7164
7165 * gdb.base/setvar.c (dummy): Call malloc.
7166
7167 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7168 losing with the irix4 sed.
7169
7170 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7171 ALRM" on irix4.
7172
7173Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7174
7175 * TODO: Remove items about corefile.exp testing new exec-file and
7176 backtrace; both are now done. Add items about printing enums.
7177
7178Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7179
7180 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7181 "get signal $thissig" test fails.
7182
7183 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7184
7185Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7186
7187 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7188 compiler warning with dec alpha compiler.
7189
7190 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7191 extra \n from gdb_test call (this explains why the prompt test
7192 that I removed yesterday was there).
7193 (user_defined_command_test): Remove extra \n and prompt test.
7194
7195 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7196 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7197 doesn't exist.
7198 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7199 Also remove alpha workaround, which turns out to be because
7200 SIGABRT == SIGLOST.
7201
7202 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7203
7204 * gdb.base/help.exp: Don't test "help show".
7205
7206Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7207
7208 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7209 "set print address" is on.
7210 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7211 pass prompt to gdb_test; gdb_test already looks for the prompt.
7212
7213 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7214
7215 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7216 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7217 was to make sure that gdb can read a core file. But (a) the "read
7218 the corefile" part didn't make it to a1-selftest.exp, we just
7219 delete the corefile after creating it, and (b) we test reading
7220 corefiles in corefile.exp anyway. Also, this test left around a
7221 xgdb process on Solaris.
7222
7223 * gdb.base/corefile.exp: Also test backtrace.
7224
7225Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7226
7227 * gdb.base/commands.exp: Test a simple user defined command with
7228 arguments and if/while statements; verify the full user command is
7229 printed by "show user".
7230
7231 * gdb.base/commands.exp: Test if/while commands as part of a
7232 breakpoint command list; verify they appear in breakpoint
7233 information.
7234
7235Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7236
7237 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7238 than by dividing by zero.
7239
7240Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7241
7242 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7243 performing an inferior call with watchpoints enabled.
7244 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7245 call.
7246
7247Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7248
7249 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7250 of "file" command.
7251
7252 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7253 Add additional pattern for when "int operator int(void);" appears
7254 in a different order.
7255
7256Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7257
7258 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7259
7260 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7261 and "signal" with ".*".
7262
7263Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7264
7265 * TODO: Add note about "handle all nostop".
7266
7267 * gdb.base/{sigall.c, sigall.exp}: New test.
7268 * gdb.base/Makefile.in: Add it.
7269
7270Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7271
7272 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7273 when invoking GDB, suppresses any windowing interface.
7274
7275Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7276
7277 * config/sim-gdb: New file, simulator testing support.
7278
7279Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7280
7281 * gdb.base/interrupt.exp: Test calling func1 twice.
7282
7283Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7284
7285 * gdb.base/list.exp (test_forward_search): Set timeout higher
7286 when we'll be getting lots of output from gdb.
7287
7288 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7289 "init_malloc" to after the expect statement. Run it if that
7290 regexp is taken, but also for two others which happen if source
7291 cannot be found.
7292
7293Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7294
7295 * gdb.base/printcmds.exp: New test, for printing register before
7296 program is running.
7297
7298Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7299
7300 * gdb.base/list.exp: Correct some alternate expect patterns
7301 to reflect changes in list1.c.
7302
7303Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7304
7305 * TODO: Add item regarding large frames.
7306
7307 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7308
7309 * TODO: Remove item about enabling return.exp; it
7310 is enabled. Suggest a few more "return" tests.
7311
7312Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7313
7314 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7315 anonymous unions.
7316
7317Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7318
7319 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7320 and pr-5646.o, so "make" is the same as "make all", not "make
7321 pr-4975.o".
7322
7323Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7324
7325 * gdb.base/list.exp: Adjust expectations to reflect changes in
7326 list1.c.
7327 (test_forward_search): New test proc.
7328 * gdb.base/list1.c (long_line): New function, has long source line.
7329
7330Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7331
7332 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7333 additional line of code that was added.
7334
7335Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7336
7337 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7338 tests so as not to overflow expect's input buffers.
7339 * gdb.disasm/hppa.exp: Corresponding changes.
7340
7341Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7342
7343 Beginnings of template debugging tests.
7344 * gdb.c++/templ-info.cc: New file to test for template
7345 debugging capability of the compiler.
7346 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7347 templ-info.cc.
7348 * gdb.c++/templates.cc: Add explicit template instantiations
7349 to enable compiling with -fno-implicit-templates. Add destructor
7350 and 'value' method to T5 class for template tests.
7351 * gdb.c++/templates.exp: Add testcases for printing of template
7352 types, setting breakpoints on template methods and calling a
beb998c6 7353 template method.
c906108c
SS
7354
7355Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7356
7357 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7358 branch target since some assemblers (gas-2.5) may emit a
7359 relocation for the branch instead of resolving it in the
7360 assembler.
7361
7362Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7363
7364 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7365 through signal handler.
7366
7367Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7368
7369 * configure.in (*-*-netware): Use config/mt-netware.
7370
7371 * config/mt-netware: New file.
7372 * config/mt-i386-netware: Removed, separate configs for different
7373 netware architectures are no longer needed now that we have
7374 --with-headers.
7375
7376Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7377
7378 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7379 by the recent changes to use ANSI C arithmetic conversions.
7380
7381Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7382
7383 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7384 bug involving using inferior_pid to figure out whether to select a
7385 frame.
7386
7387Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7388
7389 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7390 match the current disassembler output.
7391
7392Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7393
7394 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7395 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7396 types, expect "int" as type of integer values (for now).
7397
7398Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7399
7400 * gdb.base/commands.exp: New tests for if/while commands.
7401
7402Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7403
7404 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7405 by .*, since hex values have different syntax in Chill mode.
7406
7407Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7408
7409 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7410 linefeed from expect pattern for repeated types with indices > 9.
7411
7412Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7413
7414 First part of Fortran test suite.
7415 * gdb.fortran: New directory.
7416 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7417
7418Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7419
7420 * gdb.base/default.exp: Update expect pattern for load command
7421 without arguments.
7422
7423Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7424
7425 * configure.in: Change i386 to i[345]86.
7426 * gdb.base/configure.in: Likewise.
7427 * gdb.c++/configure.in: Likewise.
7428 * gdb.chill/configure.in: Likewise.
7429
7430Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7431
7432 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7433 patterns, since that is not a valid context for comments.
7434
7435Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7436
7437 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7438 repeated types and repeated types with indices > 9.
7439
7440Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7441
7442 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7443 2417; old bug has been fixed.
7444
7445Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7446
7447 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7448 send the newline ourselves instead of assuming gdb_test will do
7449 so when passed an empty input string.
7450
7451 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7452 stabs testcode.
7453
7454Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7455
7456 * lib/gdb.exp (gdb_test): Don't send anything if the first
7457 argument is an empty string. This makes cases where we want to
7458 match output that is already in expect's buffers (for example,
7459 matching a breakpoint after gdb_run_cmd has been called) work
7460 reliably.
7461
7462Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7463
7464 * config/netware.exp: New file.
7465
7466Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7467
7468 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7469 the -B and -L prefixes so we can find the debugging stub.
7470
7471 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7472 there and we are using the gcc from the tree.
7473
7474 * gdb.base/types.c: Removed.
7475
7476 * gdb.base/configure.in: Look for makefile fragments in ../config.
7477 Recognize i386-*-netware.
7478 * gdb.c++/configure.in: Likewise.
7479
7480Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7481
7482 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7483 the correct TCL syntax.
7484
7485Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7486
7487 * gdb.base/opaque.exp: use runto instead of messing around with
7488 breakpoints. Simplify by using gdb_test.
7489
7490 * gdb.base/bitfields.exp: restart between tests on netware targets
7491 because breakpoints aren't relocated after target death. Run
7492 processes to completion.
7493
7494 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7495
7496Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7497
7498 * Makefile.in: Remove extra tabs that confuse some versions
7499 of "make". Use the newly built gdb to test with by default,
7500 rather than the first one in the tester's search path.
7501
7502Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7503
7504 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7505
7506 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7507 condition help.
7508
7509Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7510
7511 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7512
7513 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7514 running.
7515 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7516 * gdb.base/funcargs.exp: Likewise.
7517
7518 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7519 * gdb.base/funcargs.exp: Likewise.
7520
7521 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7522 message is "".
7523
7524Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7525
7526 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7527 return,signals,twice}.exp: Handle non-existant binaries
7528 consistantly.
7529
7530 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7531 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7532 might testing a cross development system.
7533
7534Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7535
7536 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7537 runtest script is relative to ${srcdir}, not ${rootdir}.
7538
7539Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7540
7541 * gdb.base/signals.exp: Allow for optionality of breakpoint
7542 address.
7543
7544Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7545
7546 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7547
7548Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7549
7550 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7551 for size_t definition.
7552 * gdb.c++/templates.cc: Likewise
7553
7554 * config/mt-i386-netware: New file.
7555
7556 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7557 defined.
7558
7559 * gdb.base/Makefile.in: Added support for systems that name core
7560 files by appending "core" to the program name.
7561 * gdb.base/a1-selftest.exp: Likewise.
7562
7563Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7564
7565 * gdb.base/return.exp: Add comment and message for `return double'
7566 test failure on Sparc Solaris.
7567
7568Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7569
7570 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7571
7572Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7573
7574 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7575 from optimizing them away.
7576 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7577 patterns to include default constructors and assignment operators,
7578 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7579 character in the output of the virtual base pointer.
7580
7581Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7582
7583 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7584 expression match in print_addr_of to avoid unintented matches.
7585 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7586 versions up to 2.5.8.
7587
7588Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7589
7590 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7591 included file to run under newer versions of expect.
7592 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7593 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7594 Remove xfail for the virtual table of BDDHookV.
7595
7596Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7597
7598 * lib/gdb.exp (string_to_regexp): Set a default result.
7599 (default_gdb_start): Fix misleading message.
7600
7601Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7602
7603 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7604 Remove all CC, etc definitions.
7605 * config/mt-hpux: New file.
7606 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7607 (CFLAGS, LDFLAGS): Define.
7608 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7609
7610 * Makefile.in (site.exp): Don't insert host_os, etc.
7611 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7612 (distclean): Check existence of subdir.
7613 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7614 * gdb.base/Makefile.in: General cleanup and simplification.
7615 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7616 to build executables. Use default rule to build .o files.
7617 (EXPECT, RUNTEST, CC): Fix relative pathname.
7618 (site.exp): Don't insert host_os, etc.
7619 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7620 and/or SIGUSR1 defined.
7621 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7622 * gdb.c++/Makefile.in: General cleanup and simplification.
7623 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7624 (CFLAGS): Remove.
7625 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7626
7627Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7628
7629 * gdb.base/recurse.exp: Misc changes to get tests running again
7630 after Kung's changes to the watchpoint code.
7631 * gdb.base/watchpoint.exp: Likewise.
7632
7633Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7634
7635 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7636
7637Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7638
7639 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7640 * lib/gdb.exp (default_gdb_start): Define.
7641 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7642 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7643 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7644 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7645 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7646 Don't call gdb_target_udi in between tests.
7647
7648Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7649
7650 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7651 (which was basically just a local version of the same thing). In
7652 addition to avoiding duplication, gdb_test_exact is faster.
7653 * lib/gdb.exp (gdb_test_exact): Fix typo.
7654
7655 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7656 don't give an error.
7657
7658 * gdb.base/term.exp: Call delete_breakpoints before starting.
7659
7660 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7661 (t10): Add comment.
7662
7663Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7664
7665 Reorganization of the GDB Test Suite.
7666
7667 * gdb.base: New directory, contains all the basic tests.
7668 * gdb.c++: New directory, tests specific to C++.
7669 * gdb.chill: New directory, tests specific to Chill.
7670 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7671 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7672 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7673 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7674 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
7675 t30-31 to chill).
7676 * */gdbme.*: Rename to match appropriate expect scripts.
7677 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
7678 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
7679 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
7680 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
7681 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
7682 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
7683 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
7684 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
7685 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
7686 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
7687 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
7688 gdb.c++/virtfunc.cc: New names of C++ files.
7689 * gdb.chill/chillvars.ch: New name of Chill file.
7690 * gdb.base/configure.in, gdb.c++/configure.in,
7691 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
7692 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7693 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
7694 * configure.in (configdirs): Update to reflect directory changes.
7695 (target_abbrev): No longer define for any configuration.
7696 * Makefile.in: Cosmetic improvements to header comments.
7697
7698Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
7699
7700 Various changes to gdb.t31:
7701
7702 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
7703 * gdbme.ch: Make all key-words and predefineds be upper-case.
7704 * chillvars.exp: Expect key-words and predefinds in upper-case.
7705
7706 * chillvars.exp: Use gdb_test_exact many places.
7707 Change expected output for arrays (which now includes index labels).
7708
7709 * pr-5020.exp, gdme.ch (module PR_5020):
7710 New test, for PR-5020.
7711
7712Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
7713
7714 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
7715 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
7716
7717Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
7718
7719 * Makefile.in: Fix bit-rot in definitions of CHILL,
7720 CHILL_FOR_TARGET and Chill_LIB.
7721 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
7722 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
7723 CHILL, and CHILL_LIB.
7724
7725Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
7726
7727 * Revert the previous changes. Please see Rob's directory
7728 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
7729
7730Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
7731
7732 * Makefile.in, configure.in, config/mips-gdb.exp,
7733 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
7734 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
7735 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
7736 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
7737 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
7738 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
7739 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
7740 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
7741 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
7742 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
7743 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
7744 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
7745 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
7746 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
7747 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
7748 changes from 94Q1.
7749
7750Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
7751
7752 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
7753 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
7754 Rob's new testing fragments.
7755
7756Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
7757
7758 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
7759 lib/gdb.exp: Replace error proc calls with perror.
7760
7761Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7762
7763 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
7764 version also, match on casted version strings, and match on
7765 gdb startup case where the line numbers might be messed up.
7766
7767Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
7768
7769 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
7770 (CFLAGS): Delete it from here.
7771
7772Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
7773
7774 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
7775
7776Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
7777
7778 * Makefile.in (RUNTEST): Default to just "runtest".
7779
7780Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7781
7782 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
7783 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
7784 the code has been restructured.
7785
7786Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7787
7788 * gdb.t00/default.exp (set write): Allow any number of \r and/or
7789 \n, not just one of each.
7790
7791 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
7792 /bin/cc gives a warning if you do.
7793
7794Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
7795
beb998c6 7796 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
7797 __t10ListS_link1ZUiRCUiPT0
7798
7799Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7800
7801 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
7802 on local variables in recursive functions.
7803
7804 * gdb.t07/Makefile.in: Build the new test.
7805
7806Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7807
7808 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
7809 directly. Instead compare the return values from actual calls.
7810
7811Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
7812
7813 * Makefile.in (check): Set TCL_LIBRARY for runtest.
7814
7815Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7816
7817 * From Peter Schauer with minor modifications.
7818 * gdb.t15/return.exp (return_tests): Handle targets where "return"
7819 stops in mid-line in the caller. Add xfail for returning a float
7820 value on X86 targets.
7821
7822Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7823
7824 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
7825 to avoid expect lossage.
7826 (fmem_LRbug_tests): Likewise.
7827 * gdb.disasm/hppa.s: Corresponding changes.
7828
7829 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
7830 conditions to work with latest dejagnu/expect.
7831
7832 * gdb.t15/funcargs.exp (finish from indirect call): No longer
7833 expected to fail on the PA.
7834 (backtrace in call with trampolines): Explicitly require main
7835 to be frame #1 (no trampolines should show up in backtrace).
7836
7837 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
7838 "continue -expect".
7839 * gdb.t06/break.exp: Likewise.
7840 * gdb.t07/watchpoint.exp: Likewise.
7841 * gdb.t13/bitfields.exp: Likewise.
7842 * gdb.t15/{funcargs,return}.exp: Likewise.
7843 * gdb.stabs/weird.exp: Likewise.
7844 * config/{mips,udi}-gdb.exp: Likewise.
7845
7846 * hppa.sed: Enclose comments within a sed command to avoid
7847 losing with the old OSF1 sed.
7848
7849Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7850
7851 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
7852 sequent dynix.
7853 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
7854 * gdb.t15/funcargs.exp: Conditionally step again to really
7855 finish from marker_call_with_trampolines. Handle the case where
7856 the first step from within call_with_trampolines already steps
7857 us back to main.
7858 * gdb.t15/gdbme.c: Add comment to closing brace of
7859 call_with_trampolines for funcargs.exp.
7860
7861Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7862
beb998c6 7863 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
7864 Fix typo(s).
7865
7866Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7867
7868 * gdb.t07/gdbme.c: More code for watchpoint testing.
7869
7870 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
7871 "Hardware watchpoint" throughout file.
7872 (test_watchpoint_triggered_in_syscall): New test.
7873 (test_complex_watchpoint): New test.
7874
7875Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7876
7877 * gdbme.c (call_with_trampolines): New function to try and step
7878 into. Tests trampoline problems on the PA.
7879
7880 * funcargs.exp (localvars_in_indirect_call): No longer expect
7881 stepping into indirect call to fail on PAs.
7882 (test_stepping_over_trampolines): New test.
7883
7884Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7885
7886 * TODO: Add suggestions for static member function tests, and
7887 completion tests.
7888
7889Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7890
7891 * TODO: Add suggestions for "p/a" tests.
7892
7893 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
7894 (default_gdb_exit): Replace all the hair with sending "quit" to
7895 the process with a simple close.
7896
7897Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7898
7899 * TODO: Add suggestions for shared library tests.
7900
7901Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7902
7903 * TODO: Add suggestions for x/s tests.
7904
7905Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7906
7907 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
7908 "enable once", and "enable breakpoints once" with ".*".
7909
7910Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7911
7912 * TODO: Add suggestions about structure passing tests.
7913
7914Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7915
7916 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
7917 the primary1 test, use work around if __GNUC__ < 2.
7918 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
7919 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
7920 Test for bad output rather than waiting for timeout. Issue
7921 second continue only if first continue failed.
7922
7923Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7924
7925 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
7926 operator[] test with gdb_test because the old code didn't seem to
7927 be getting the quoting right with the new dejagnu.
7928
7929Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
7930
7931 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
7932 one from the path.
7933 * Makefile.in: Use a fresh expect if there is one, use runtest
7934 from the src tree if there is one.
beb998c6 7935
c906108c
SS
7936Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7937
7938 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
7939 next over recursive call. Revise the tests from that point on
7940 (which had been skipped) to match GDB's actual (correct) output.
7941
7942 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
7943 with next over a breakpoint whose condition is false.
7944
7945 * gdb.t00/help.exp: Comment out "help set print" tests just like
7946 (and for same reason as) "help set" test.
7947
7948Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7949
7950 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
7951 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
7952
7953Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7954
7955 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
7956 necessary gdb_target_udi.
7957
7958 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
7959
7960 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
7961 1838 and 2417; they are fixed.
7962
7963 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
7964 gdb.t03/ptype.exp (ptype structure, ptype union):
7965 Remove xfails; the test is looser than when the xfails were added.
7966
7967 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
7968 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
7969
7970 * gdb.t01/run.exp: Only run shell test if isnative.
7971
7972 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
7973 since "run" automatically loads if necessary. Call gdb_target_udi
7974 after the "file" since "file" kills any execution target.
7975
7976 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
7977 GDB. GDB doesn't work that way (not anymore at least) on UDI.
7978 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
7979 argument for UDI.
7980
7981Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7982
7983 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
7984
7985 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
7986
7987Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7988
7989 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
7990 properly quoting regexps. This makes the second argument to
7991 demangle a fixed string, which matches the callers, instead of a
7992 shell-style pattern which is what the previous implementation
7993 used. Update some of the callers.
7994
7995Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7996
7997 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
7998 (comib_nullified_tests): Fix typo.
7999 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8000 strings. No longer expected to fail.
8001
8002 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8003 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8004 strings. No longer expected to fail.
8005
8006 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8007 string. No longer expected to fail.
8008
8009Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8010
8011 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8012 No longer expected to fail.
8013
8014 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8015 string. No longer expected to fail.
8016
8017Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8018
8019 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8020 only in the names (I probably got most of them). I was even
8021 generous with some which differed in underscores in names, and
8022 probably missed a few, and I *still* was able to remove almost a
8023 third of the file with almost no impact on testsuite coverage.
8024
8025Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8026
8027 * gdb.t00/default.exp: Match udi_attach error message as well as
8028 the one from child_attach.
8029
8030 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8031
8032 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8033
8034 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8035 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8036
8037 * Move test with enums and partial symbols back to
8038 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8039 Reverts the change of 26 May 93. Per today's change to
8040 stabs.texinfo, the behavior that weird.exp was expecting was
8041 unreasonable; what is important is that the compiler+gdb get
8042 things right, which happens with a recent gcc. Also fix the test
8043 to deal with native compilers which put out the stab gdb can't
8044 deal with.
8045
8046Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8047
8048 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8049 in the names. The main thing these accomplish is to slow things down.
8050 Many more such duplicates surely remain.
8051
8052 * gdb.t00/help.exp: Comment out "help support" test just like
8053 (and for same reason as) "help set" test.
8054
8055Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8056
8057 * gdb.t06/break.exp: Remove setup_xfails for
8058 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8059 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8060 about known bug in gcc to include up through 2.5.8.
8061 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8062 well as "_vb$".
8063 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8064 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8065 with latest gcc and gdb.
8066 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8067 well as "_vb$".
8068
8069Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8070
8071 * configure.in (hppa*-*-*): Also configure and build stabs-only
8072 tests.
8073
8074Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8075
8076 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8077 * gdb.t10/configure.in (hppa*-*-*): Use it.
8078
8079Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8080
8081 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8082
8083Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8084
8085 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8086 versions prior to 1.13.5.
8087
8088Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8089
8090 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8091 the prompt is at the start of a line.
8092
8093Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8094
8095 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8096 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8097 in the copr tests now.
8098 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8099 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8100 expected to fail.
8101
8102Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8103
8104 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8105 gdb.t31/chillvars.exp, lib/gdb.exp:
8106 Tweak to run under either version of expect.
8107 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8108 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8109 * gdb.t11/list.exp: Remove extraneous whitespace.
8110
8111Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8112
8113 * gdb.t16/printcmds.exp (test_print_strings): Accept
8114 "(unsigned char *) " before the string.
8115
8116 * TODO: Add notes about printing of fancy types and GDB expressions.
8117
8118Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8119
8120 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8121 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8122 if doing mips-idt-ecoff.
c906108c
SS
8123
8124Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8125
8126 * Most .exp files: Tweak to run under either version of expect.
8127
8128Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8129
8130 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8131 xfails; I'm not sure why they are failing, but not because of PR 1806.
8132
8133Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8134
8135 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8136 defined in lib/gdb.exp.
8137
8138Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8139
8140 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8141 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8142 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8143 have to be typeless.
8144
8145Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8146
8147 * TODO: Add suggestion for copyright year test.
8148
8149Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8150
8151 * configure.in (*-*-lynxos*): Add stabs tests.
8152
8153Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8154
8155 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8156 so insert a tab before any assembler directive in column zero.
8157
8158 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8159 stores.
8160 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8161 stores.
8162 (fpu_short_memory_tests): Likewise.
8163
8164Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8165
8166 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8167 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8168 .stabs directives in comments.
8169
8170Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8171
8172 * TODO: New file, describing tests we could write.
8173 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8174
8175Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8176
8177 * gdb.t06/signals.exp: Add kludge to force re-sync.
8178
8179 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8180 to xgdb instead of gdb, get out of gdb.
8181
8182Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8183
8184 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8185 for info.
8186
8187Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8188
8189 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8190 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8191 * gdb.stabs/hppa.sed: New sed script for the PA.
8192
8193Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8194
8195 * gdb.stabs: Re-write weird.def and configuration to use sed
8196 instead of cpp. sed is portable and POSIX; cpp is neither.
8197
8198Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8199
8200 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8201
8202Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8203
8204 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8205
8206Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8207
8208 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8209 "_vb$".
8210 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8211 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8212
8213Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8214
8215 * lib/gdb.exp: Comment out code which depends on non-existent
8216 `transform' procedure.
8217
8218Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8219
8220 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8221 * lib/gdb.exp: Transform tool name.
8222 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8223 1.1's new error handling system.
8224
8225Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8226
8227 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8228
8229Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8230
8231 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8232 They made pattern matching so slow that timeouts happened on
8233 heavily loaded systems. Now any output from "show print" which
8234 gets us back to the GDB prompt is a PASS.
8235
8236Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8237
8238 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8239
8240Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8241
8242 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8243
8244 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8245 It is not from PR 3220.
8246
8247Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8248
8249 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8250 just started failing because they depended on the order the
8251 subcommands are presented, or exact docstring text. This kind of
8252 test is a pain and has minimal benefit.
8253
8254Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8255
8256 * gdb.t09/corefile.exp: At end of test, use "core" command with
8257 no arguments.
8258
8259Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8260
8261 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8262 17}/Makefile.in: Make it possible to run the testsuite with Sun
8263 make and CC = cross gcc by adding explicit build rules for .o
8264 files.
8265
8266Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8267
8268 * gdb.t15/funcargs.exp: Don't put comments on same line as
8269 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8270
c906108c
SS
8271Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8272
8273 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8274
8275Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8276
8277 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8278 * gdb.t20/inherit.exp: remove three dumplicate entries.
8279
8280Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8281
8282 * gdb.t06/break.exp: For "next over recursive call", fail on any
8283 incorrect output, not just on "factorial (value=2)".
8284
8285Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8286
8287 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8288 working now. Add an xfail if accesing a bss variable causes
8289 a memory error if the target is not yet run.
8290
8291Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8292
8293 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8294 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8295 name of __st* demangling (2 strings). Did Kung really get the
8296 more than 95 others right without testing them?
8297
8298Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8299
8300 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8301
8302Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8303
8304 * configure.in (configdirs): Add gdb.disasm
8305 * gdb.disasm: New directory for GDB disassembler tests.
8306 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8307
8308Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8309
8310 * gdb.t00/help.exp: Don't test "help set".
8311
8312 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8313 from within expect statements. None of these happen anymore and
8314 they cause regressions to be silently unnoticed.
8315
8316 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8317 messages) about known failures with gcc cygnus-2.4.5-930417.
8318
8319 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8320 comp-info.exp so it gets built if it doesn't exist.
8321
8322 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8323 it is no longer used.
8324 * gdb.t13/comp-info.c: Removed.
8325
8326Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8327
8328 * gdb.t06/signals.exp: Add xfail for sun3.
8329
8330Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8331
8332 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8333 relevant because ^C doesn't get sent but failure can be reproduced
8334 interactively).
8335
8336Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8337
8338 * gdb.stabs/alpha.mt: New configuration file for alpha.
8339 * gdb.stabs/configure.in: Use it.
8340 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8341 sharing with alpha.mt, redefine long to word via preprocessor.
8342 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8343 for alpha.
8344 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8345 native cc.
8346 * gdb.t00/teststrategy.exp: Change expect string so that we
8347 consume the `(xgdb)' from the command echo and from the gdb prompt.
8348 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8349 gdb currently compares all values as long, so this failure probably
8350 applies to any configuration where LONGEST is bigger than a target int.
8351 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8352 with gcc.
8353 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8354 to handle opaque pointers, gcc is.
8355 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8356 as first argument. Include <sys/types.h> and change all operator
8357 new definitions to use size_t.
8358 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8359 now that we use size_t.
8360
8361Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8362
8363 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8364 a long or float array cast all array members to the same type.
8365 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8366 with 64 bit longs.
8367 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8368 on alpha.
8369 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8370
8371Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8372
8373 * gdb.t24 (demangle.exp): Constructors of templates have names like
8374 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8375 section 14.6 of the ARM.
8376
8377 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8378 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8379 accomplish little and slow down the testsuite.
8380
8381 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8382 Accept spaces various places.
8383
8384Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8385
8386 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8387 with watchpoint enabled.
8388
8389 * Makefile.in: Remove definition of CC and remove the second
8390 definition of CXX (the "CXX = gcc" one remains). These definitions
8391 were causing backquotes to be expanded within backquotes, which
8392 doesn't work.
8393
8394Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8395
8396 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8397
8398Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8399
8400 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8401 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8402 by mips cc and contains no stabs entries.
8403
8404Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8405
8406 * config/vx-gdb.exp: Use fake device to load files rather than
8407 NFS.
8408 * lib/gdb.exp: New proc to do "file" command.
8409 * config/unix-gdb.exp: Use new "file" proc.
8410
8411Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8412
8413 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8414 Rework board rebooting slightly.
8415 (gdb_exit): Don't exit from the remote shell; there isn't one.
8416 * gdb.stabs/weird.exp: If a program is being debugged already,
8417 kill it.
8418 * gdb.t04/setvar.exp: Stop and restart gdb.
8419 * gdb.t05/expr.exp: Likewise.
8420 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8421 restart gdb and reload the program.
8422 * gdb.t08/opaque.exp: Likewise.
8423 * gdb.t12/scope.exp: Likewise.
8424 * gdb.t13/bitfields.exp: Likewise.
8425 * gdb.t15/funcargs.exp: Likewise.
8426 * gdb.t20/classes.exp: Likewise.
8427 * gdb.t03/ptype.exp: Increase timeout.
8428 * gdb.t16/printcmds.exp (test_print_string_constants,
8429 test_print_array_constants): Likewise.
8430 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8431 * gdb.t20/classes.exp (do_tests): Likewise.
8432 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8433
8434Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8435
8436 * gdb.stabs: Renamed *wierd* to *weird*.
8437
8438Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8439
8440 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8441 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8442
8443Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8444
8445 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8446 (do_tests): Remove xfail for whatis on one_var and two_var.
8447
8448Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8449
8450 * Makefile.in: Made cross building work better by adding
8451 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8452
8453Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8454
8455 * gdb.t15/{return.c,return.exp,Makefile.in}:
8456 New test, currently commented out.
8457
8458Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8459
8460 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8461 still running and removes the leftover named socket so GDb can do
8462 clean restarts.
8463
8464Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8465
8466 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8467 console, not GDB.
8468 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8469 cross testing works better with "make check"
8470 * config/unix-gdb: Use default procedures for exit and version.
8471 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8472 with the newest VxWorks.
8473
8474Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8475
8476 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8477 old form.
8478
8479 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8480 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8481
8482 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8483
8484 * config/unix-gdb.exp: Remove this version of gdb_exit
8485 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8486 Rob says he'll look at it when he gets back to testing boards.
8487
8488Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8489
8490 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8491 an expected fail for certain ptype commands.
8492
8493 * gdb.t20/classes.exp: Update expected results of "ptype class
8494 Base1" to account for the constructor that now appears in the type.
8495
8496Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8497
8498 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8499 disappeared from list.
8500 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8501 "alldone" proc with call to cleanup and exit.
8502 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8503 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8504 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8505 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8506 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8507 "alldone" proc with simple returns that suppress remaining
8508 tests. The alldone proc went away many months ago.
8509
8510Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8511
8512 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8513
8514 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8515
8516Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8517
8518 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8519 as vax gdb will display them.
8520
8521Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8522
8523 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8524 optimizers.
8525
8526 * scope.exp: Change "bad value for localval" messages so each one
8527 is unique.
8528
8529 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8530 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8531
8532 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8533
8534Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8535
8536 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8537 doesn't exist (due to optimization).
8538
8539Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8540
8541 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8542 contains \r because the filename is long.
8543
8544 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8545 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8546
8547Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8548
8549 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8550 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8551 Ultrix.
8552 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8553 int tests.
8554 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8555
8556Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8557
8558 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8559
8560 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8561 to match does not match the passing case but still matches the
c906108c
SS
8562 failing case.
8563
8564Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8565
8566 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8567
8568Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8569
8570 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8571 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8572 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8573 Remove various versions of gdb_exit.
8574 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8575 gdb_exit.
8576 * config/unix-gdb.exp: gdb_exit remains here, and should override
8577 the generic version, since it's doing a lot of wierd stuff that
8578 the other versions aren't. FIXME, fold it in, or abandon this
8579 version.
8580
8581Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8582
8583 * gdb.t24/demangle.exp: Add tests for PR 3220.
8584
8585Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8586
8587 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8588
8589Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8590
8591 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8592 "i386-*-*". Works for i486 as well.
8593
8594 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8595 bug, and expand domain of xfail to all SVR4 systems, since the
8596 actual problem is likely to be in generic SVR4 /proc support.
8597
8598Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8599
8600 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8601
8602Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8603
8604 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8605 xfails for other systems. Match a missing 'Continuing.' as an
8606 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8607
8608 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8609 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8610 Only issue warning for missing executables if -all option is used.
8611
8612 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8613 file if -all option is used. It's like an unpredictable XFAIL.
8614
8615Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8616
8617 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8618 for dynamically linked binaries.
8619
8620 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8621
8622Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8623
8624 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8625 to state that this is a known bug in old versions of g++.
8626
8627Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8628
8629 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8630 while waiting for `Continuing'.
8631
8632Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8633
8634 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8635 in text, data, and bss.
8636 * gdb.t10/nodebug.c: Add local and global test variables for
8637 initialized and uninitialized data.
8638
8639Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8640
8641 * config/unix-gdb.exp (gdb_exit): Add "wait".
8642
8643Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8644
8645 * gdb.t06/signals.exp: xfail the continue from the handler for all
8646 targets.
8647
8648 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8649 function with watchpoints enabled, the i386 call dummy starts with
8650 a call.
8651
8652 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8653 386 bsd names its corefiles.
8654
8655Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8656
8657 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8658 compilers don't grok it.
8659 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8660 with small octal ints rather than character constants, which
8661 are signed and might not fit if first promoted to int.
8662
8663Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8664
8665 * gdb.t09/Makefile.in (clean): Remove corefile.
8666
8667Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8668
8669 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8670
8671Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8672 and Jim Kingdon (kingdon@cygnus.com)
8673
8674 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
8675 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
8676 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
8677
8678Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8679
8680 * gdb.t17/interrupt.exp: Add xfail for hppa.
8681
8682Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8683
8684 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
8685 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
8686 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
8687 to determine signed-ness of bitfields and use the result to setup
8688 the xfail.
8689 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
8690 * gdb.t15/funcargs.exp: Use them to step until the second indirect
8691 call line is reached if necessary.
8692
8693Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8694
8695 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
8696
8697Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8698
8699 * gdb.t06/break.exp: Also test `clear' command.
8700
8701Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8702
8703 * gdb.t00/teststrategy.exp: Remove extra quote.
8704
8705 * gdb.t07/watchpoint.exp: Change xfail for calling function with
8706 watchpoint enabled to be for all non-68k machines.
8707
8708 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
8709
8710Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8711
8712 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
8713 targets use aout.mt instead of ecoff.mt as gas understands
8714 standard aout format.
8715
8716Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8717
8718 * lib/gdb.exp (runto): Don't insist that function we are running to
8719 was compiled with -g.
8720
8721 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
8722
8723 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
8724 to get back into the read system call.
8725 Accept leading newline in case where we woke it up.
8726
8727Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8728
8729 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
8730 to make the stabs test work on ecoff systems using gcc and -with-stabs.
8731 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
8732 enable ecoff configuration.
8733
8734Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8735
8736 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
8737
8738Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8739
8740 * gdb.t16/printcmds.exp: Add another printf test.
8741
8742Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
8743
8744 * configure.in: If configured -with-stabs on any target, add
8745 stabsdirs to configdirs.
8746
8747Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8748
8749 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
8750 fun" so pattern does not match the command itself.
8751
8752Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8753
8754 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
8755
8756Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8757
8758 * gdb.t17/interrupt.exp: Test for more things.
8759
8760Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8761
8762 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
8763 compiler arranges the code and line numbers.
8764
8765 * gdb.t17/interrupt.exp: Don't send \n after ^C.
8766
8767Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8768
8769 * gdb.t00/help.exp: Increase expect input buffer size.
8770
8771Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8772
8773 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
8774
8775 * gdb.t07/watchpoint.exp: Add xfail for hppa.
8776
8777 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
8778
8779 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
8780 [0-9]*, not just [0-9].
8781
8782Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8783
8784 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
8785
8786 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
8787
8788Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8789
8790 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
8791
8792Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8793
8794 * gdb.t06/signals.c: Add xfails for sun3.
8795
8796 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
8797
8798 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
8799 test_stepping tests.
8800
8801Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8802
8803 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
8804
8805 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
8806
8807 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
8808 rather than actually putting it through cpp twice.
8809
8810 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
8811
8812Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
8813
8814 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
8815 no longer needed.
8816
8817Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8818
8819 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
8820
8821 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
8822 C++ features prints as "struct", make it a pass, not an xfail.
8823
8824Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8825
8826 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
8827 Don't require VA to print as "class" rather than "struct".
8828
8829Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
8830
8831 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
8832
8833Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8834
8835 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
8836
8837Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8838
8839 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
8840 order.
8841
8842Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8843
8844 * gdb.t16/printcmds.exp: Add printf tests.
8845
8846 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
8847
8848 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
8849
8850Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
8851
8852 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
8853 pass counts, to counteract any existing or future setup_xfails.
8854
8855Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8856
8857 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
8858 {BEGIN,END}_COMMON for common block instead of STAB.
8859 * gdb.stabs/wierd.exp: Add xfail for rs6000.
8860
8861 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
8862 intp_var should be N_GSYM not N_LSYM.
8863 wierd-aout.S: Use a label for the value of the N_SO.
8864 wierd.def: Remove all backslashes.
8865 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
8866
8867Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8868
8869 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
8870 get the expected next to inheritance3.
8871
8872Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8873
8874 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
8875 now that gcc-2.4 gets it right.
8876
8877Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8878
8879 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
8880
8881 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
8882 generating comp-info.exp which works for cross-compilation.
8883
8884Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
8885
8886 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
8887 "*-*-sysv4.*".
8888
8889Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
8890
8891 * gdb.t01/run.exp: Start with a fresh gdb.
8892 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
8893 SVR4.x.
8894
8895Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
8896
8897 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
8898 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
8899 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
8900 Makefile.in (distclean, realclean): Remove gdbme.c from list of
8901 things to remove.
8902
8903Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
8904
8905 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
8906 test cases from bug reports.
8907
8908Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
8909
8910 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
8911 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
8912 avoid spurious xfails.
8913 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
8914 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
8915 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
8916
8917Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
8918
8919 * gdb.t00/teststrategy.exp: Rework to provide more useful
8920 description of each test, fix problem with systems that define
8921 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
8922 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
8923 results for "next over recursive call" so timeouts aren't taken
8924 by error.
8925
8926Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
8927
8928 * gdb.t12/scope.exp: Test printing of variables before run.
8929
8930 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
8931 printed in wrong order due to sorting.
8932
8933Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
8934
8935 * gdb.t00/teststrategy.exp: Fix expected results for printing
8936 user entered string constant. Is array of char, prints with no
8937 address.
8938
8939 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
8940 commands.
8941 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
8942 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
8943 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
8944 of struct of char arrays.
8945 * gdb.t00/radix.exp: New tests for radix commands.
8946
8947Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
8948
8949 * gdb.t16/printcmd.exp: Print a variable before running program
8950 (with xfail for AIX).
8951
8952Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
8953
8954 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
8955
8956 * gdb.t16/printcmd.exp: Don't print variables before running program.
8957
8958 * gdb.t06/break.exp: Don't require envp argument to main.
8959
8960 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
8961
8962 * gdb.t02/whatis.exp, gdb.t11/list.exp:
8963 Add xfails for rs6000.
8964
8965 * gdb.t02/whatis.exp: Change other tests not to re-test something
8966 we already tested.
8967
8968 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
8969 each type used has a variable of that type.
8970
8971Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
8972
8973 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
8974
8975Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8976
8977 * configure.in: change srctrigger to be a file, not a directory
8978
8979Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
8980
8981 * configure.in (mips-idt-ecoff*): Added trailing '*'.
8982
8983 * gdb.t11/list.exp: Fixed a couple of typos.
8984
8985Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
8986
8987 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
8988 is fixed and PR is closed.
8989 * gdb.t16 (gdbme.c): Add simple test string variable.
8990 * gdb.t16 (printcmds.exp): Add tests with simple test string
8991 variable, primarily for boundaries on "set print elements".
8992
8993Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
8994
8995 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
8996 Make leading 0's optional and don't expect a tab in the middle
8997 of the number.
8998
8999 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9000
9001 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9002 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9003 don't end command passed to gdb_test with newline.
9004
9005 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9006 signed keyword away, don't expect signed bitfields to be signed.
9007
9008 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9009 printing with only as many 1's as are in the field as well as printing
9010 with 32 1's (see comment).
9011
9012Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9013
9014 * gdb.t00/default.exp: Start with a fresh gdb.
9015 * configure.in (configdirs): Remove gdb.t31 until the chill
9016 compiler works again. It no longer is able to find chillrt0
9017 since it isn't in libchill.a anymore.
9018 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9019 wierd.o, make more modular.
9020 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9021 spurious newlines that caused problems.
9022
9023Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9024
9025 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9026 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9027 gdb.stabs/wierd.{exp,def}: Many new tests.
9028
9029 * gdb.t00/default.exp: update info line for new message.
9030
9031 * gdb.t02/{whatis.exp,gdbme.c}:
9032 Test that "char *" doesn't print as "caddr_t".
9033
9034Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9035
9036 * gdb.t00/help.exp: Use .* in place of some help messages which
9037 just changed.
9038 gdb.t00/default.exp: Update "info frame" test for new message.
9039 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9040 Remove some xfails
9041
9042Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9043
9044 * gdb.t03/{gdbme.c,ptype.exp}:
9045 Add tests for typedef'd struct and union without tags.
9046 Also check "whatis" on a variable of a typedef'd enum without a tag.
9047
9048 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9049 PRMS 1823; the bug still exists but isn't reproduced by this test
9050 anymore), and remove rs6000 XFAIL (the bug is fixed).
9051
9052 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9053 duplicated from whatis.exp. For those that are left, accept
9054 "long", "long int", or "int" for long variables (whatis.exp already
9055 has an XFAIL for "int", so no need to fail it here).
9056
9057 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9058 Deal with GCC's names for types now that GDB uses the compiler's names.
9059
9060 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9061 setup_xfail's for sunos4. If we #defined the signed keyword away,
9062 don't expect GDB to know that char it is signed.
9063
9064 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9065
9066Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9067
9068 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9069 should work on any system, regardless of debugging format.
9070 * gdb.t21/demangle.exp: Move to gdb.t24.
9071 * gdb.t24/demangle.exp: Move from gdb.t21.
9072 * gdb.t24/{Makefile.in, configure.in}: New files.
9073
9074Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9075
9076 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9077 * gdb.stabs: New directory.
9078
9079Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9080
9081 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9082 not just "Quit anyway?".
9083
9084Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9085
9086 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9087 that all setup_xfails are immediately followed by clear_xfails.
9088
9089Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9090
9091 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9092 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9093 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9094 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9095 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9096 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9097 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9098 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9099 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9100 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9101 gdb.t31/chillvars.exp, lib/gdb.exp:
9102 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9103 bug-gdb@prep.ai.mit.edu.
9104
9105Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9106
9107 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9108 with 0.0, not integer 0.
9109
9110Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9111
9112 * gdb.t06/break.exp: Update for "Kill the program" message change.
9113
9114Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9115
9116 * Makefile.in (GDBFLAGS): Set to -nx.
9117 * Makefile.in (site.exp): Use GDBFLAGS.
9118
9119Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9120
9121 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9122 Makefiles.
9123 (check): depend on just-check.
9124 (just-check): added so that tests can be run without a noop
9125 build pass.
9126
9127Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9128
9129 Switch to using configure's configdirs.
9130 * Makefile.in (Makefile): add configure.in dependency.
9131 (SUBDIRS): removed redundant assignment.
9132 * configure.in: switch subdirs assignment to configdirs.
9133 * gdb.t*/configure.in: new files.
9134
9135Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9136
9137 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9138 works.
9139
9140Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9141
9142 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9143 in explicit rules. Apparently this is not supported by some makes.
9144
9145Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9146
9147 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9148
9149Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9150
9151 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9152 disappeared.
9153
9154Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9155
9156 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9157
9158Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9159
9160 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9161 watchpoint problem that is now fixed.
9162 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9163 uninitialized convenience variables.
9164 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9165 structures.
9166
9167Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9168
9169 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9170 which causes expect to get out of sync with gdb on long output
9171 from help set.
9172 * gdb.t09/corefile.exp: Make expected pattern for core file
9173 failing signal and frame output format less sun specific.
9174
9175Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9176
9177 * gdb.t31/chillvars.exp: Add and remove initial dummy
9178 breakpoint, so that symbol table is forced in.
9179 (Needed at least on Sunos4, though it seems not SVR4.)
9180 * gdb.t31/chillvars.exp: Update for changed output format.
9181
9182Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9183
9184 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9185
9186Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9187
9188 * Makefile.in: Added --srcdir when invoking runtest, removed the
9189 need for a local config file. (optional now)
9190
9191Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9192
9193 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9194 failure count used to force early termination. Add some more
9195 expected failures for gnu style demangling.
9196
9197Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9198
9199 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9200 pmi variable from gdb.t20/gdbme to get optimized away.
9201 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9202 Check for written corefile upon timeout _and_ eof.
9203
9204Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9205
9206 * config/unix-gdb.exp: Add missing return 0.
9207
9208Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9209
9210 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9211 test termination.
9212
9213Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9214
9215 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9216 disappeared.
9217
9218Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9219
9220 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9221 time as i860 support works.
9222
beb998c6 9223 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9224 "backtrace 100\r" rather than just "backtrace\r", to match last
9225 change.
9226
9227Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9228
9229 * config/udi-gdb.exp (gdb_exit): Remove close command.
9230 (gdb_target_udi): New procedure to set the UDI target.
9231 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9232 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9233 Added waits for prompts after several question responses. Added
9234 some more responses used by a29k-amd-udi-gdb.
9235 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9236 pass different arguments, restart UDI connection after program
9237 completion.
9238 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9239 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9240 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9241 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9242 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9243 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9244 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9245 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9246 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9247 after program completion.
9248 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9249 compiled with a SELECT_VECS setting.
9250 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9251 infinite recursion.
9252
9253 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9254 Added checks for COFF results, and made them expected failures for
9255 all targets. It would be better to make them expected failures
9256 for COFF targets only.
9257
9258Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9259
9260 * Makefile.in: add null dvi target, don't bother to recurse
9261 through test directories for info and install-info; rename
9262 $(datadir) to be dejagnu instead of deja-gnu
9263
9264Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9265
9266 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9267 compiler to coredump.
9268 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9269 code.
9270
9271Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9272
9273 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9274 coredump.
9275 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9276 code.
9277
9278Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9279
9280 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9281 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9282 which in a shell. Deletes xgdb when done.
9283 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9284 Tests the return from the "set height" or "set width" commands.
9285 Added a few return codes where needed.
9286
9287Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9288
9289 * Makefile.in (SUBDIRS): Add gdb.t17.
9290 * configure.in (subdirs): Add gdb.t17.
9291 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9292 files to test gdb's calling of functions in the inferior with
9293 the correct arguments and gdb's ability to retrieve any
9294 result returned.
9295
9296Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9297
9298 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9299 may be called after gdb goes away. Previous versions of expect
9300 needed these to avoid file descriptor leaks, but they cause
9301 errors with the current revision of expect.
9302 * gdb.t00/gdbvars.exp: Use -re on expected output after
9303 setting sevenbit-strings.
9304 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9305 to set sevenbit-strings consistent across tests.
9306 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9307 set sevenbit-strings consistent across tests.
9308
9309Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9310
9311 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9312 expected output to match current "expect" expectations.
9313
9314Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9315
9316 * gdb.t00/default.exp: Change expected output for default "source"
9317 command, to match new gdb behavior which requires a filename to
9318 source.
9319
9320Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9321
9322 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9323 expected fail for i486-*-* that misses the marker2 function.
9324 * gdb.t10/crossload.exp (bfddefault): Allow successful
9325 recognition of a format to pass even if no symbols are found.
9326 Explicitly catch failures where the format is not recognized
9327 or is ambiguous, and add the reason to the fail message.
9328 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9329 the cause is and invalid target and add reason to failure message.
9330 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9331 elf32-i386, elf32-sparc, and elf32-i860.
9332 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9333 Set up expected failure for 'filename'::variable scope resolution,
9334 which is now apparently broken on all targets.
9335 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9336 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9337 gdb.t23/templates.exp: Change failure for missing binfile into
9338 just a warning.
9339 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9340 references.
9341
9342Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9343
9344 * gdb.t00/default.exp: Add expected output for default "source"
9345 command, to match new gdb behavior.
9346 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9347
9348Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9349
9350 * config/*-gdb.exp: returns an error, rather than exiting on
9351 internal errors.
9352
9353Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9354
9355 * gdb.t03/gdbme.c: Add pointer to struct variable.
9356 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9357 referencing struct members.
9358
9359Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9360
9361 * configure.in (mips-idt-ecoff): New target.
9362 * config/mips-gdb.exp: New file for remote board using MIPS remote
9363 debugging protocol.
9364
9365 * Redid configuration scheme. Removed gdb.t*/configure.in.
9366 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9367 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9368 distclean targets. Built executables via .o files. Adjusted
9369 tests to account for source files in $(srcdir) rather than
9370 $(objdir).
9371 * lib/gdb.exp (runto): Don't expect () after the function name,
9372 because it may have arguments.
9373
9374Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9375
9376 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9377 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9378 expected failures for mips-idt-* and mips-sgi-*.
9379 * gdb.t00/default.exp (attach): Kill process if requested.
9380 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9381 that does not read core files.
9382 * gdb.t01/run.exp: Removed checks for exit status code.
9383 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9384 it is linked in.
9385 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9386 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9387 appropriate, rather than doing it by hand.
9388 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9389 execution.
9390 * gdb.t10/crossload.exp: Kill existing program if needed.
9391 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9392 appropriate, rather than doing it by hand. Always increase
9393 timeout for this test, not just for VxWorks.
9394
9395Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9396
9397 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9398 of Chill STRUCT types and STRUCT values.
9399 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9400 than "char".
9401 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9402 struct2): New struct definitions and initializations to test
c906108c
SS
9403 simple Chill STRUCT types.
9404
9405Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9406
9407 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9408 the null byte at the end of strings.
9409 * gdb.t00/default.exp: Make show version insensitive to copyright
9410 date.
9411 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9412 to avoid dependencies on target char signedness.
9413 * gdb.t16/printcmds.exp: Update expected results for explicitly
9414 unsigned char.
9415 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9416 now work.
9417 * gdb.t21/demangle.exp: Add many more patterns for template
9418 demangling, most of them being expected failures.
9419 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9420 string we are matching for, to match on the whole string.
9421 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9422 and fix a whole bunch that had incorrect expected output but were
9423 passing anyway because of the bug in "proc demangle".
9424 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9425 type.
9426 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9427
9428Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9429
9430 * gdb/testsuite: made modifications to testcases, etc., to allow
9431 them to work properly given the reorganization of deja-gnu and the
9432 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9433
9434Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9435
9436 * gdb/testsuite: Initial creation of gdb/testsuite.
9437 Migrated dejagnu testcases and support files for testing nm to
9438 gdb/testsuite from deja-gnu. These files were moved "as is"
9439 with no modifications. This migration is part of a major overhaul
9440 of dejagnu. The modifications to these testcases, etc., which
9441 will allow them to work with the new version of dejagnu will be
9442 made in a future update.
9443\f
9444Local Variables:
9445mode: indented-text
9446left-margin: 8
9447fill-column: 74
9448version-control: never
9449End:
This page took 0.708707 seconds and 4 git commands to generate.