]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
10d1bea8
MC
12004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
4 hp_cc_compiler.
5
2789202a
MC
62004-01-07 Michael Chastain <mec.gnu@mindspring.com>
7
8 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
9 * gdb.cp/ctti.exp: Use the marker instead of "next".
10 With gcc, run further before bailing.
11
b862f14c
MC
122004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13
14 * gdb.cp/cttiadd.cc: Add copyright notice.
15 * gdb.cp/cttiadd1.cc: Likewise.
16 * gdb.cp/cttiadd2.cc: Likewise.
17 * gdb.cp/cttiadd3.cc: Likewise.
18
96da2469
MC
192004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20
21 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
22 Use gdb_test, gdb_test_multiple. Use floating-point values that
23 have exact representations in IEEE-ish formats.
24
053248ff
MC
252004-01-07 Michael Chastain <mec.gnu@mindspring.com>
26
27 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
28 compilers. Delete duplicate call to get_compiler_info.
29 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
30 * gdb.base/volatile.exp: Likewise.
31
84acecdd
MK
322004-01-07 Mark Kettenis <kettenis@gnu.org>
33
34 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
35 memory at address 0.
36
fe11a27f
MC
372004-01-07 Michael Chastain <mec.gnu@mindspring.com>
38
39 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
40 to test for hp-ux assembler. Fix copyright years.
41
60ad077b
AC
422004-01-07 Andrew Cagney <cagney@redhat.com>
43
44 * gdb.base/fileio.c (strerrno): Add "EBUSY".
45
1c9b8f33
AC
462004-01-07 Andrew Cagney <cagney@redhat.com>
47
48 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
49 when creating the read-only file. From analysis by Roland McGrath
50 and Elena Zannoni.
51
753ccc7a
MC
522004-01-06 Michael Chastain <mec.gnu@mindspring.com>
53
54 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
55
eca3e36b
MC
562004-01-06 Michael Chastain <mec.gnu@mindspring.com>
57
58 * gdb.base/cvexpr.c: Be type-safe with function pointers and
59 data pointers.
60
f8d4bac4
MC
612004-01-06 Michael Chastain <mec.gnu@mindspring.com>
62
63 * gdb.cp/m-static.exp: Compile one source file at a time.
64 Delete unused call to get_compiler_info.
65
9b4e0f94
MC
662004-01-06 Michael Chastain <mec.gnu@mindspring.com>
67
68 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
69 * gdb.base/call-rt-st.exp: Likewise.
70 * gdb.base/nodebug.exp: Likewise.
71 * gdb.base/volatile.exp: Likewise.
72 * gdb.cp/ref-types.exp: Likewise.
73 * gdb.cp/templates.exp: Likewise.
74
023c1024
MK
752004-01-05 Mark Kettenis <kettenis@gnu.org>
76
77 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
78
19703c4a
MC
792004-01-05 Michael Chastain <mec.gnu@mindspring.com>
80
81 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
82 hppa*-hp-hpux*.
83
18b67037
MK
842004-01-04 Mark Kettenis <kettenis@gnu.org>
85
ba6219c8
MK
86 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
87 x86_64-*-*.
88
18b67037
MK
89 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
90 sparc64-*-* and sparc*-solaris2*.
91
1bfbbb9d
MK
922004-01-04 Mark Kettenis <kettenis@gnu.org>
93
94 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
95 return ${tests}" test. The ${tests} already mentions the
96 filename.
97
06846494
MC
982004-01-02 Michael Chastain <mec.gnu@mindspring.com>
99
100 * gdb.cp/local.exp: Accept gcc abi 2.
101
3b0cb202
MC
1022004-01-02 Michael Chastain <mec.gnu@mindspring.com>
103
104 * gdb.cp/templates.exp: Accept gcc abi 2.
105
0643ec3f
MC
1062004-01-02 Michael Chastain <mec.gnu@mindspring.com>
107
108 * lib/compiler.cc: Remove supports_template_debugging.
109 * gdb.cp/templates.exp: Do not test supports_template_debugging.
110
d231d0b1
MC
1112004-01-01 Michael Chastain <mec.gnu@mindspring.com>
112
113 * gdb.cp/namespace.exp: Accept gcc abi 2.
114
44ffb27c
MC
1152004-01-01 Michael Chastain <mec.gnu@mindspring.com>
116
117 * gdb.cp/method.exp: Accept gcc abi 2.
118
184ad485
MC
1192004-01-01 Michael Chastain <mec.gnu@mindspring.com>
120
121 * gdb.cp/classes.exp: Generate identical results as old version.
122 * gdb.cp/derivation.exp: Likewise.
123 * gdb.cp/overload.exp: Likewise.
124 * gdb.cp/virtfunc.exp: Likewise.
125
116f09e7
MC
1262004-01-01 Michael Chastain <mec.gnu@mindspring.com>
127
128 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
129 mysterious bug with sourceware version of expect.
130
b1379776
MC
1312004-01-01 Michael Chastain <mec.gnu@mindspring.com>
132
133 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
134 current versions of gcc, including gcc abi 2. Remove gratuitous
135 restart of test program. Use gdb_test_multiple and gdb_test for
136 all tests. Add patterns to xfail missing "const" in "const char *"
137 and kfail PR gdb/1155.
138
6b7a4c0e
MC
1392004-01-01 Michael Chastain <mec.gnu@mindspring.com>
140
141 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
142 current versions of gcc, including gcc abi 2. Remove gratuitous
143 restart of test program. Use gdb_test_multiple and gdb_test for
144 all tests. Add patterns to kfail PR gdb/1498.
145
51615d72
MC
1462003-12-31 Michael Chastain <mec.gnu@mindspring.com>
147
148 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
149 current versions of gcc, including gcc abi 2. Use "breakpoint"
150 and "continue" instead of restarting the target program. Use
151 gdb_test_multiple and gdb_test for all tests.
152
7b79a9d7
MK
1532004-01-01 Mark Kettenis <kettenis@gnu.org>
154
155 * gdb.asm/asm-source.exp: Update copyright year. Link statically
156 for *-*-solaris2*.
157
1cd3489f
MC
1582003-12-31 Michael Chastain <mec.gnu@mindspring.com>
159
160 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
161 current versions of gcc, including gcc abi 2. Use "breakpoint"
162 and "continue" instead of restarting the target program several
163 times. Use gdb_test_multiple and gdb_test for all tests.
164
850742db
MC
1652003-12-18 Michael Chastain <mec.gnu@mindspring.com>
166
167 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
168 source files.
169
eb4bbda8
MC
1702003-12-16 Michael Chastain <mec.gnu@mindspring.com>
171
172 * gdb.base/environ.exp: Handle compiling test case from multiple
173 source files.
174
e42c7771
MC
1752003-12-16 Michael Chastain <mec.gnu@mindspring.com>
176
177 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
178
80e4b428
JB
1792003-12-17 Jim Blandy <jimb@redhat.com>
180
5f06973a
JB
181 * gdb.base/freebpcmd.c: Add copyright notice.
182
80e4b428
JB
183 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
184
0ab84fb7
MC
1852003-12-16 Michael Chastain <mec.gnu@mindspring.com>
186
187 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
188
1b3bb3d0
JB
1892003-12-13 Jim Blandy <jimb@redhat.com>
190
191 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
192
3a4c9371
KB
1932003-12-12 Kevin Buettner <kevinb@redhat.com>
194
195 * gdb.asm/frv.inc: New file.
196 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
197
a1dea79a
FF
1982003-12-09 Fred Fish <fnf@redhat.com>
199
200 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
201 functions to break1.c and leave prototypes behind. Add more
202 "set breakpoint NN here" comments.
203 * gdb.base/break1.c: New file.
204
205 * gdb.base/break.exp: Handle compiling test case from multiple
206 source files and change source file references as needed.
207 * gdb.base/completion.exp: Ditto.
208 * gdb.base/condbreak.exp: Ditto.
209 * gdb.base/define.exp: Ditto.
210 * gdb.base/ena-dis-br.exp: Ditto.
211 * gdb.base/info-proc.exp: Ditto.
212 * gdb.base/maint.exp: Ditto.
213 * gdb.base/until.exp: Ditto.
214
215 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
216 hardcoded line numbers.
217 * gdb.base/define.exp: Ditto.
218 * gdb.base/ena-dis-br.exp: Ditto.
219 * gdb.base/maint.exp: Ditto.
220 * gdb.base/until.exp: Ditto.
221
222 * gdb.base/completion.exp: Use "break1" for completion tests since
223 "break" is no longer a unique prefix.
224
5266b69c
AC
2252003-12-06 Andrew Cagney <cagney@redhat.com>
226
227 * gdb.base/structs.exp (test_struct_returns): When applicable, set
228 "return_value_unimplemented". When an unimplemented struct return
229 architecture, report incorrect values as a KFAIL
230
374451f0
MC
2312003-12-05 Michael Chastain <mec.gnu@mindspring.com>
232
233 * gdb.cp/rtti.exp: Accept new wording of warning from
234 cp_lookup_rtti_type.
235
ba9b20a7
MC
2362003-12-05 Michael Chastain <mec.gnu@mindspring.com>
237
238 Partial fix for PR testsuite/1456.
239 * gdb.base/scope.exp (test_at_main): Replace references to
240 gcc_compiled with calls to test_compiler_info.
241 (test_at_foo): Likewise.
242 (test_at_bar): Likewise.
243
b74b6d0b
MC
2442003-12-04 Michael Chastain <mec.gnu@mindspring.com>
245
246 Partial fix for PR testsuite/1456.
247 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
248 to test_compiler_info.
249
ccfa3402
MC
2502003-12-03 Michael Chastain <mec.gnu@mindspring.com>
251
252 * gdb.base/so-impl-ld.exp: Update copyright notice.
253
f6246aba
MC
2542003-12-02 Michael Chastain <mec.gnu@mindspring.com>
255
256 Partial fix for PR testsuite/1456.
257 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
258 to test_compiler_info.
259
13ae734a
MC
2602003-11-28 Michael Chastain <mec.gnu@mindspring.com>
261
262 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
263 from current versions of gdb. Clean up regular expressions.
264 Delete redundant timeout case.
265
d8e1cdee
MC
2662003-11-28 Michael Chastain <mec.gnu@mindspring.com>
267
268 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
269 from current versions of gdb. Clean up regular expressions.
270 Delete redundant timeout case.
271
96457b64
MC
2722003-12-01 Michael Chastain <mec.gnu@mindspring.com>
273
274 Partial fix for PR testsuite/1456.
275 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
276 gcc_compiled with call to test_compiler_info.
277
f35309fc
MC
2782003-11-30 Michael Chastain <mec.gnu@mindspring.com>
279
280 Partial fix for PR testsuite/1456.
281 * gdb.base/list.exp (test_list_function): Delete unused declaration
282 of gcc_compiled.
283
d7afdf9b
MC
2842003-11-29 Michael Chastain <mec.gnu@mindspring.com>
285
286 Partial fix for PR testsuite/1456.
287 * gdb.base/complex.exp: Replace reference to gcc_compiled with
288 call to test_compiler_info.
289
71507b56
MK
2902003-11-29 Mark Kettenis <kettenis@gnu.org>
291
292 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
293 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
294 it to create the appropriate note.inc.
295 * gdb.asm/asmsrc1.s: Include "note.inc".
296 * gdb.asm/netbsd.inc: New file.
297 * gdb.asm/empty.inc: New file.
298
f81f93f7
MC
2992003-11-28 Michael Chastain <mec.gnu@mindspring.com>
300
301 Partial fix for PR testsuite/1456.
302 * gdb.base/constvars.exp: Replace references to gcc_compiled with
303 calls to test_compiler_info.
304
9a77938e
MC
3052003-11-27 Michael Chastain <mec.gnu@mindspring.com>
306
307 Partial fix for PR testsuite/1456.
308 * gdb.base/volatile.exp: Replace references to gcc_compiled with
309 calls to test_compiler_info.
310
e8367dc7
MK
3112003-11-27 Mark Kettenis <kettenis@gnu.org>
312
313 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
314 pattern for the KFAILs.
315
526c61ee
AF
3162003-11-25 Adam Fedor <fedor@gnu.org>
317
318 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
319 * gdb.objc/objcdecode.m: New file.
320
28f2d600
AF
3212003-11-25 Adam Fedor <fedor@gnu.org>
322
323 * gdb.objc/nondebug.exp: Test for PR objc/1236.
324 * gdb.objc/nondebug.m: New file.
325
a3895cee
BE
3262003-11-26 Ben Elliston <bje@wasabisystems.com>
327
328 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
329 NetBSD as it does on FreeBSD. Modelled on a similar change by
330 Mark Kettenis on 2003-05-30.
331 (link-flags): Set to "--entry _start" regardless of target.
332 Special linker flags are to be appended to $link-flags.
333 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
334
c9f2c8a3
MC
3352003-11-25 Michael Chastain <mec.gnu@mindspring.com>
336
337 * gdb.cp/method.exp: Accept output of new demangler.
338
15a0587a 3392003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
340
341 * gdb/class2.exp: New file.
342 * gdb/class2.cc: New file.
343
3c00b570
MC
3442003-11-25 Michael Chastain <mec.gnu@mindspring.com>
345
346 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
347 of new demangler.
348
7027acc7
MK
3492003-11-23 Mark Kettenis <kettenis@gnu.org>
350
351 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
352 of gdb_test "run".
353
b0e1598a
MK
3542003-11-23 Mark Kettenis <kettenis@gnu.org>
355
356 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
357 "continue" into "run".
358
4d9eda44
MC
3592003-11-23 Michael Chastain <mec.gnu@mindspring.com>
360
361 Partial fix for PR testsuite/1456.
362 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
363 call to test_compiler_info.
364 * gdb.cp/ctti.exp: Likewise.
365 * gdb.cp/derivation.exp: Likewise.
366 * gdb.cp/member-ptr.exp: Likewise.
367 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
368 reference to gcc_compiled.
369
3702003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
371
372 Fix PR testsuite/1463.
373 * gdb.base/structs.exp (start_structs_test): Call
374 get_debug_format before using the debug format.
375
d422fe19
AC
3762003-11-22 Andrew Cagney <cagney@redhat.com>
377
378 * lib/gdb.exp (gdb_test_multiple): Add simple example.
379 * gdb.base/structs.exp: Use gdb_test_multiple.
380
039cf96d
AC
3812003-11-20 Andrew Cagney <cagney@redhat.com>
382
6882279b
AC
383 * gdb.base/structs.exp: Handle and recover from internal errors.
384 Replace "foo${n}" with "foo<n>" in test messages.
385
e53890ae
AC
386 * gdb.base/structs.exp: Update copyright. Rewrite.
387 * gdb.base/structs.c: Update copyright. Rewrite.
388
2b211c59
AC
389 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
390 resync count exceeded.
391
039cf96d
AC
392 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
393 from the internal error.
394 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
395 Original from Jim Blandy.
396 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 397
eac98b22
AC
3982003-11-19 Andrew Cagney <cagney@redhat.com>
399
400 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
401 KFAIL.
402
67455b2a
MK
4032003-11-17 Mark Kettenis <kettenis@gnu.org>
404
405 New testcase for PR backtrace/1435.
406 * gdb.arch/i386-unwind.exp: New file.
407 * gdb.arch/i386-unwind.c: New file.
408
853d6e5b
AC
4092003-11-17 Andrew Cagney <cagney@redhat.com>
410
411 * lib/gdb.exp (compiler_info): New global.
412 (test_compiler_info): New function.
413 (get_compiler_info): Set compiler_info.
414 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
415 "compiler_info" to gcc-<major>-<minor>.
416
38cf6e11
MC
4172003-11-15 Michael Chastain <mec.gnu@mindspring.com>
418
419 * gdb.trace/configure: Remove.
420
a50d3602
EZ
4212003-11-13 Elena Zannoni <ezannoni@redhat.com>
422
423 * gdb.base/break.c: Add comments to aid finding line numbers for
424 breakpoints.
425 * gdb.base/break.exp: Remove all references to explicit line
426 numbers.
427
d9407aaa
NC
4282003-11-11 Nick Clifton <nickc@redhat.com>
429
430 * gdb.base/shreloc.exp: Do not run for targets which do not
431 support shared objects.
432
db488fc1
CV
4332003-11-10 Corinna Vinschen <vinschen@redhat.com>
434
435 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
436 Don't run tests if nofileio flag is given.
437
6a90a18e
EZ
4382003-11-07 Elena Zannoni <ezannoni@redhat.com>
439
440 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
441 as well as 'Watchpoint'.
442
0b915e9c
EZ
4432003-11-06 Elena Zannoni <ezannoni@redhat.com>
444
445 Reported by Jim Ingham <jingham@apple.com>:
446 * gdb.base/annota1.exp: Match at least one occurrence of the
447 signal handler annotation.
448
d7e4b55f
EZ
4492003-11-06 Elena Zannoni <ezannoni@redhat.com>
450
451 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
452 as well as 'Watchpoint'.
453
2fe4e8d0
MC
4542003-11-05 Michael Chastain <mec@shout.net>
455
456 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
457
6ef88553
KW
4582003-11-03 Kris Warkentin <kewarken@qnx.com>
459
460 * gdb.arch/gdb1291.c: New test file.
461 * gdb.arch/gdb1291.exp: New test script.
462 * gdb.arch/gdb1431.c: New test file.
463 * gdb.arch/gdb1431.exp: New test script.
464
ae7dc4d8
MC
4652003-10-22 Michael Chastain <mec@shout.net>
466
467 * gdb.mi/pthreads.c: Add copyright notice.
468
c39d7427
MC
4692003-10-22 Michael Chastain <mec@shout.net>
470
471 * gdb.threads/pthreads.c: Add copyright notice.
472
8b7d96c1
MC
4732003-10-20 Michael Chastain <mec@shout.net>
474
475 * gdb.base/gdb1056.exp: New test script.
476
d1d69fdd
DJ
4772003-10-13 Daniel Jacobowitz <drow@mvista.com>
478
479 * gdb.threads/killed.exp: Use gdb_run_cmd.
480
7d605576
DJ
4812003-10-13 Daniel Jacobowitz <drow@mvista.com>
482
483 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
484 create a core file.
485 * gdb.threads/gcore-thread.exp: Likewise.
486
618ec112
CV
4872003-10-13 Corinna Vinschen <vinschen@redhat.com>
488
489 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
490 type, based on char type.
491 (struct bit_flags_short_t): New bitfield type, based on short type.
492 (init_bit_flags_char): New fuction.
493 (init_bit_flags_short): Ditto.
494 (print_bit_flags_char): Ditto.
495 (print_bit_flags_short): Ditto.
496 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
497
9367a73c
MC
4982003-10-11 Michael Chastain <mec@shout.net>
499
500 * gdb.base/call-rt-st.exp: Update copyright year.
501
1decf120
KI
5022003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
503
504 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
505 * gdb.disasm/sh3.s: Ditto.
506
5445b2ae
DJ
5072003-10-07 Daniel Jacobowitz <drow@mvista.com>
508
509 * gdb.threads/switch-threads.exp: New test.
510 * gdb.threads/switch-threads.c: New source file.
511
aec24853
CV
5122003-10-07 Corinna Vinschen <vinschen@redhat.com>
513
514 * gdb.base/ending-run.exp: Add sh specific case.
515
adc7428d
AC
5162003-10-06 Andrew Cagney <cagney@redhat.com>
517
518 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
519 * gdb.disasm/mn10200.exp: Delete obsolete file.
520
c9d37158
DJ
5212003-09-29 Daniel Jacobowitz <drow@mvista.com>
522
523 * ChangeLog: Correct an entry command.exp -> commands.exp.
524 * gdb.base/commands.exp (bp_deleted_in_command_test)
525 (temporary_breakpoint_commands): Check noargs.
526
79c2c32d
DC
5272003-09-25 David Carlton <carlton@kealia.com>
528
529 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
530 of some print tests, where appropriate. Add tests for C::D::cd,
531 E::ce, F::cXfX, G::XgX.
532 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
533
594e6d67
RE
5342003-09-25 Richard Earnshaw <rearnsha@arm.com>
535
536 * lib/java.exp (java_init): Import target_alias before using it.
537
10f0d451
DC
5382003-09-25 David Carlton <carlton@kealia.com>
539
540 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
541
274bcba0
EZ
5422003-09-23 Elena Zannoni <ezannoni@redhat.com>
543
544 * gdb.base/selftest.exp: Accomodate more instruction reordering
545 weirdness.
546
cdbf20f7
MC
5472003-09-17 Michael Chastain <mec@shout.net>
548
549 * gdb.cp/gdb1355.exp: New file.
550 * gdb.cp/gdb1355.c: New file.
551
71e06f80
CV
5522003-09-15 Corinna Vinschen <vinschen@redhat.com>
553
554 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
555 * gdb.asm/sh.inc: New file.
556
5c4e30ca
DC
5572003-09-11 David Carlton <carlton@kealia.com>
558
bd45b7af
DC
559 * gdb.cp/namespace.exp: Add tests for namespace types.
560 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
561 (test_namespace): New.
562
1c199746
EZ
5632003-09-11 Elena Zannoni <ezannoni@redhat.com>
564
565 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 566 * gdb.stabs/weird.exp: Ditto.
1c199746 567
04ed252f
MC
5682003-09-08 Michael Chastain <mec@shout.net>
569
570 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
571
d8a2d9e7
MC
5722003-09-07 Michael Chastain <mec@shout.net>
573
574 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
575 'parse error'.
576
161afb24
MK
5772003-09-07 Mark Kettenis <m.kettenis@osp.nl>
578
579 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
580
49f2741a
MC
5812003-08-30 Michael Chastain <mec@shout.net>
582
583 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
584 * gdb.gdb/observer.exp: Ditto.
585 * gdb.gdb/xfullpath.exp: Ditto.
586
8afa723e
MK
5872003-08-29 Mark Kettenis <kettenis@gnu.org>
588
589 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
590 *-*-*bsd*.
591
f31dfe3b
JJ
5922003-08-28 Jeff Johnston <jjohnstn@redhat.com>
593
594 * gdb.base/dump.exp: Skip for ia64.
595
4630e498
JJ
5962003-08-25 Jeff Johnston <jjohnstn@redhat.com>
597
598 * gdb.asm/asm-source.exp: Add ia64 support.
599 * gdb.asm/ia64.inc: New file.
600
1105b7ef
MC
6012003-08-22 Michael Chastain <mec@shout.net>
602
603 * gdb.cp: New directory.
604 * gdb.cp/*: Copy from gdb.c++/*.
605 * gdb.c++/*: Remove.
606 * Makefile.in: Change gdb.c++ to gdb.cp.
607 * configure.in: Ditto.
608 * configure: Regnerate.
609
c945b932
MK
6102003-08-18 Mark Kettenis <kettenis@gnu.org>
611
612 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
613 * gdb.arch/i386-prologue.c (gdb1338): Add function.
614
2b66634b
DJ
6152003-08-17 Daniel Jacobowitz <drow@mvista.com>
616
617 * mi-var-display.exp (-var-list-children weird): Accept function
618 pointers with argument types.
619 * mi1-var-display.exp (-var-list-children weird): Likewise.
620 * mi2-var-display.exp (-var-list-children weird): Likewise.
621
a356f73b
DJ
6222003-08-17 Daniel Jacobowitz <drow@mvista.com>
623
624 * gdb.base/annota3.exp: Add missing newline.
625
483417b8
MC
6262003-08-06 Michael Chastain <mec@shout.net>
627
628 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
629
c99c59c3
MS
6302003-08-12 Michael Snyder <msnyder@redhat.com>
631
632 * gdb.base/float.exp: Add test for SH.
633
55ed7501
MK
6342003-08-10 Mark Kettenis <kettenis@gnu.org>
635
636 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
637
1a371f2e
EZ
6382003-08-07 Elena Zannoni <ezannoni@redhat.com>
639
640 * gdb.base/completion.exp: Remove reduntant completion test
641 on filename.
642
e0f353ce
EZ
6432003-08-07 Elena Zannoni <ezannoni@redhat.com>
644
645 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
646 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
647 gdb.trace/save-trace.exp: Make sure that full pathnames are
648 escaped correctly.
649
5710a1af
EZ
6502003-08-07 Elena Zannoni <ezannoni@redhat.com>
651
652 * configure.in: Don't generate config.h from config.hin.
653 * configure: Regenerate.
654 * config.hin: Remove file.
655 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
656 * gdb.threads/pthreads.c: Ditto.
657
dcd81ce9
DJ
6582003-08-07 Daniel Jacobowitz <drow@mvista.com>
659
660 From Kei Sakamoto <sakamoto.kei@renesas.com>:
661 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
662 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
663 Replace ld24 with seth/add3.
664
6009d884
AC
6652003-08-02 Andrew Cagney <cagney@redhat.com>
666
667 * gdb.base/annota3.exp: New file.
668 * gdb.base/annota3.c: New file.
669 * gdb.c++/annota3.exp: New file.
670 * gdb.c++/annota3.cc: New file.
671
51514e06
MC
6722003-07-29 Michael Chastain <mec@shout.net>
673
674 * gdb.threads/tls.c (spin): Check errno only if sem_wait
675 actually failed.
676 (do_pass): Likewise.
677 * gdb.threads/tls.exp: Always initialize no_of_threads.
678
4ee6625b
DJ
6792003-07-27 Daniel Jacobowitz <drow@mvista.com>
680
681 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
682 pattern.
683 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
684 * gdb.threads/tls.exp: Recognize one case of the host library not
685 supporting TLS.
686
225f2bf6
AC
6872003-07-27 Andrew Cagney <cagney@redhat.com>
688
689 * gdb.base/fileio.exp: Use SH when running commands using
690 remote_exec.
691
bcb27c9f
DJ
6922003-07-24 Daniel Jacobowitz <drow@mvista.com>
693
694 From Kei Sakamoto <sakamoto.kei@renesas.com>:
695 * gdb.base/relocate.c (dummy): New padding array.
696
3d67be83
MS
6972003-07-22 Michael Snyder <msnyder@redhat.com>
698
699 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
700
701 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
702 patterns to be more general, accepting old and new output.
703 Some output chars (such as '+') also must be quoted.
704 Some addresses are displayed numerically instead of
705 symbolically.
706
57ba3b85
MS
7072003-07-23 Michael Snyder <msnyder@redhat.com>
708
686d097c
MS
709 * gdb.base/return2.exp: Don't test long-long return.
710
57ba3b85
MS
711 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
712 * gdb.disasm/t01_mov.exp: Ditto.
713 * gdb.disasm/t02_mova.s: Ditto.
714 * gdb.disasm/t02_mova.exp: Ditto.
715 * gdb.disasm/t03_add.s: Ditto.
716 * gdb.disasm/t03_add.exp: Ditto.
717 * gdb.disasm/t04_sub.s: Ditto.
718 * gdb.disasm/t04_sub.exp: Ditto.
719 * gdb.disasm/t05_cmp.s: Ditto.
720 * gdb.disasm/t05_cmp.exp: Ditto.
721 * gdb.disasm/t06_ari2.s: Ditto.
722 * gdb.disasm/t06_ari2.exp: Ditto.
723 * gdb.disasm/t07_ari3.s: Ditto.
724 * gdb.disasm/t07_ari3.exp: Ditto.
725 * gdb.disasm/t08_or.s: Ditto.
726 * gdb.disasm/t08_or.exp: Ditto.
727 * gdb.disasm/t09_xor.s: Ditto.
728 * gdb.disasm/t09_xor.exp: Ditto.
729 * gdb.disasm/t10_and.s: Ditto.
730 * gdb.disasm/t10_and.exp: Ditto.
731 * gdb.disasm/t11_logs.s: Ditto.
732 * gdb.disasm/t11_logs.exp: Ditto.
733 * gdb.disasm/t12_bit.s: Ditto.
734 * gdb.disasm/t12_bit.exp: Ditto.
735 * gdb.disasm/t13_otr.s: Ditto.
736 * gdb.disasm/t13_otr.exp: Ditto.
737
e00759ef
EZ
7382003-07-22 Elena Zannoni <ezannoni@redhat.com>
739
740 * gdb.threads/tls.exp :Add kfail for 'info address' case.
741
8bc2021f
EZ
7422003-07-22 Elena Zannoni <ezannoni@redhat.com>
743
744 * gdb.threads/tls.c : New file.
745 * gdb.threads/tls.exp : New file.
746 * gdb.threads/tls-main.c : New file.
747 * gdb.threads/tls-shared.c : New file.
748 * gdb.threads/tls-shared.exp : New file.
749
89320c4c
AS
7502003-07-22 Andreas Schwab <schwab@suse.de>
751
752 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
753
180dea7c
AS
7542003-07-20 Andreas Schwab <schwab@suse.de>
755
756 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
757 due to insn reordering.
758
0714963c
AC
7592003-07-15 Andrew Cagney <cagney@redhat.com>
760
761 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
762
98a23b3f
MC
7632003-07-15 Michael Chastain <mec@shout.net>
764
765 * gdb.base/gdb1250.exp: New file.
766 * gdb.base/gdb1250.c: New file.
767
27e417a2
ML
7682003-07-09 Michal Ludvig <mludvig@suse.cz>
769
770 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
771 expansion of size_t to 'unsigned long', not only to 'unsigned'.
772
8bc2021f
EZ
7732003-07-09 Elena Zannoni <ezannoni@redhat.com>
774
775 * gdb.threads/tls.c: New file.
776 * gdb.threads/tls.exp: New file.
777 * gdb.threads/tls-main.c: New file.
778 * gdb.threads/tls-shared.c: New file.
779 * gdb.threads/tls-shared.exp: New file.
780
d99968dc
EZ
7812003-07-09 Elena Zannoni <ezannoni@redhat.com>
782
783 * gdb.base/annota1.exp: Make sure that we properly escape the
784 full path of the source file. Xfail more permissive patterns,
785 due to a compiler debug info problem.
786
83876b3b
AS
7872003-07-07 Andreas Schwab <schwab@suse.de>
788
2705e972
AS
789 * gdb.asm/m68k.inc: New file.
790 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
791
83876b3b
AS
792 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
793 arguments"): Also match negative number.
794
795 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
796
3a871b37
DJ
7972003-07-03 Daniel Jacobowitz <drow@mvista.com>
798
799 * gdb.base/store.c (charest): New typedef.
800 (add_char): Rename to add_charest, update.
801 (wack_char): Rename to wack_charest, update types. Return l + r
802 to keep r live across the call.
803 (wack_short, wack_int, wack_long, wack_longest, wack_float)
804 (wack_double, wack_doublest): Return l + r to keep r live across
805 the call.
806 * gdb.base/store.exp: Accomodate store.c changes.
807
b2a7f303
DC
8082003-06-30 David Carlton <carlton@kealia.com>
809
810 * gdb.c++/maint.exp (test_invalid_name): New.
811 (test_first_component): Add tests for invalid names.
812
3c6cb4a1
MC
8132003-06-29 Michael Chastain <mec@shout.net>
814
815 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
816 output of '<VTT for class>' for virtual base classes.
817
f1c2644b
DJ
8182003-06-29 Daniel Jacobowitz <drow@mvista.com>
819
820 * gdb.base/completion.exp: Tab-complete "complet" instead of
821 "compl".
822 * gdb.base/complex.exp, gdb.base/complex.c: New files.
823
18080350
DJ
8242003-06-29 Daniel Jacobowitz <drow@mvista.com>
825
826 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
827 * gdb.base/volatile.exp: Likewise.
828
f56973f8
DJ
8292003-06-29 Daniel Jacobowitz <drow@mvista.com>
830
831 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
832 gdb/1265.
833
8342003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
835 Daniel Jacobowitz <drow@mvista.com>
836
837 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
838 initial line count of 'captured_main' from 26 to 32.
839 (test_with_self): Allow xmalloc call to be interleaved with the
840 preceding two lines.
841
e766d4d6
JB
8422003-06-24 Joel Brobecker <brobecker@gnat.com>
843
844 * gdb.base/bang.exp: New testcase.
845
f125c9a4
JB
8462003-06-23 Joel Brobecker <brobecker@gnat.com>
847
848 * gdb.base/langs.exp: Add some tests for the "minimal" language
849 support.
850
6e25beaf
EZ
8512003-06-23 Elena Zannoni <ezannoni@redhat.com>
852
853 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
854 the testcase.
855
2f816dda
DJ
8562003-06-22 Daniel Jacobowitz <drow@mvista.com>
857
858 * gdb.base/relocate.exp: Test add-symbol-file with a variable
859 offset.
860
db5a5748
DJ
8612003-06-22 Daniel Jacobowitz <drow@mvista.com>
862
863 * gdb.c++/pr-1210.cc: New file.
864 * gdb.c++/pr-1210.exp: New file.
865
1df0c130
DJ
8662003-06-21 Daniel Jacobowitz <drow@mvista.com>
867
868 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
869 000-exec-continue.
870
a92feac0
MK
8712003-06-15 Mark Kettenis <kettenis@gnu.org>
872
873 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
874 on *-*-*bsd* instead of *-*-freebsd*.
875
81a58f5b
AC
8762003-06-14 Andrew Cagney <cagney@redhat.com>
877
878 * gdb.base/store.exp: Test longest and doublest. Test all
879 parameters. Weaken return statement match.
880 * gdb.base/store.c: Add longest and doublest - aka long long and
881 long double functions. Put all parameters into local register
882 variables. Use negative values.
883
b257a0d3
AC
8842003-06-14 Andrew Cagney <cagney@redhat.com>
885
886 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
887 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
888 exit status.
889 * gdb.base/fileio.exp: Disable target when nointerrupts and
890 noinferiorio, instead of limiting it to remote. Use remote_exec
891 instead of system.
892
21c38304
JJ
8932003-06-12 Jeff Johnston <jjohnstn@redhat.com>
894
895 * gdb.base/float.exp: Add ia64 support.
896
1bcdb424
CV
8972003-06-12 Corinna Vinschen <vinschen@redhat.com>
898
899 * gdb.base/fileio.exp: Run only on remote targets.
900
6aeb981f
CV
9012003-06-10 Corinna Vinschen <vinschen@redhat.com>
902
903 * gdb.base/fileio.c: New file, testing File-I/O.
904 * gdb.base/fileio.exp: Ditto.
905
53df362e
RG
9062003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
907
908 * gdb.base/shreloc.exp: New file, check symbol values obtained from
909 shared objects after relocation at load time (gdb PR/1132).
910 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
911 as above, part of the shared object relocation test.
912
ffee1b46
MK
9132003-06-08 Mark Kettenis <kettenis@gnu.org>
914
b5ca3722
MK
915 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
916 fully filled history list.
917 * gdb.base/gdb_history: New file.
918
03ed860d
MK
919 * gdb.base/signals.exp: XFAIL "continue to func1" on
920 i*86-*-freebsd*.
921
ffee1b46
MK
922 * gdb.base/attach.exp: When trying to attach to a nonexistent
923 process, make it possible to specify the PID based on the target,
924 and do so for *-*-freebsd*.
925
d80dbb52
RH
9262003-06-02 Richard Henderson <rth@redhat.com>
927
928 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
929
6dd77b81
RH
9302003-06-02 Richard Henderson <rth@redhat.com>
931
932 * gdb.base/selftest.exp: Next over lim_at_start initialization.
933
f6347e16
RH
9342003-06-02 Richard Henderson <rth@redhat.com>
935
936 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
937
2c161407
DJ
9382003-06-01 Daniel Jacobowitz <drow@mvista.com>
939
940 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
941 of globalvar.
942
572eb746
MK
9432003-06-01 Mark Kettenis <kettenis@gnu.org>
944
945 * gdb.asm/asm-source.exp: Check for memory read errors in
946 disassembler test on *BSD too.
947
9e9617a5
RH
9482003-06-01 Richard Henderson <rth@redhat.com>
949
950 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
951 for .frame.
952 (gdbasm_call): Lose ldgp.
953 (gdbasm_startup): Add frame information.
954 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
955
7b34ad4e
MK
9562003-05-31 Mark Kettenis <kettenis@gnu.org>
957
958 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
959 i?86-*-*.
960
10059fdf
MK
9612003-05-30 Mark Kettenis <kettenis@gnu.org>
962
963 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
964 FreeBSD.
965
acf4b816
RH
9662003-05-29 Richard Henderson <rth@redhat.com>
967
968 * gdb.asm/alpha.inc: New file.
969 * gdb.asm/asm-source.exp: Use it.
970
e9ecd949
JB
9712003-05-29 Jim Blandy <jimb@redhat.com>
972
973 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
974 'core.PID'.
975
e3e5a4f3
JB
9762003-05-22 Jim Blandy <jimb@redhat.com>
977
978 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
979 backtrace.
980
72fe3d25
DC
9812003-05-20 David Carlton <carlton@math.stanford.edu>
982
983 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
984 this time.
985
58da2eb2
DC
9862003-05-19 David Carlton <carlton@bactrian.org>
987
988 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
989 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
990
1fcb5155
DC
9912003-05-19 David Carlton <carlton@bactrian.org>
992
993 * gdb.c++/namespace.exp: Add namespace scope and anonymous
994 namespace tests.
995 Bump copyright date.
996 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
997 (main): Call C::D::marker2.
998 * gdb.c++/namespace1.cc: New file.
999
85e85163
JJ
10002003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1001
1002 Roland McGrath <roland@redhat.com>
1003 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1004 there is no manager thread.
1005
a25fbfec
JJ
10062003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1007
1008 * gdb.threads/schedlock.exp: Remove assumption that all threads
1009 will run in a particular small time slice. Also ensure we break
1010 in one of the child threads rather than the main thread.
1011
be375bae
JB
10122003-05-07 Jim Blandy <jimb@redhat.com>
1013
09bf6082
JB
1014 Add support for assembly source testing on the s390x.
1015 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1016 architecture.
1017 * gdb.asm/s390x.inc: New file.
1018
be375bae
JB
1019 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1020 succession of 'if' statements.
1021
00905d52
AC
10222003-05-05 Andrew Cagney <cagney@redhat.com>
1023
1024 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1025
b1e29e33
AC
10262003-05-05 Andrew Cagney <cagney@redhat.com>
1027
1028 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1029 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1030
e33d66ec
EZ
10312003-05-02 Elena Zannoni <ezannoni@redhat.com>
1032
1033 * gdb.base/charset.exp: Update based on new behavior of set/show
1034 charset commands.
1035
2b6fd0d8
AC
10362003-05-01 Andrew Cagney <cagney@redhat.com>
1037
1038 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1039 variable do not give memory errors.
1040
130cacce
AF
10412003-04-30 Adam Fedor <fedor@gnu.org>
1042
1043 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1044 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1045 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1046 gdb.objc/basicclass.m: : New files
1047
1048 * lib/gdb.exp (gdb_compile_objc): New procedure.
1049
bea71854
DJ
10502003-04-27 Daniel Jacobowitz <drow@mvista.com>
1051
1052 * gdb.base/signals.exp: Make backtrace tests more specific.
1053
0f20eeea
DC
10542003-04-23 David Carlton <carlton@bactrian.org>
1055
1056 * gdb.c++/maint.exp (test_first_component): Add tests for
1057 'operator' in more locations.
1058
c8c4d8dc
KB
10592003-04-16 Kevin Buettner <kevinb@redhat.com>
1060
1061 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1062
3fe60e3c
EZ
10632003-04-16 Elena Zannoni <ezannoni@redhat.com>
1064
1065 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1066 func marke' instead. Update test name.
1067
9219021c
DC
10682003-04-15 David Carlton <carlton@math.stanford.edu>
1069
1070 * gdb.c++/maint.exp: New file.
1071
5dd55bdd
EZ
10722003-04-14 Elena Zannoni <ezannoni@redhat.com>
1073
1074 * gdb.threads/schedlock.c: Change type of thread function argument
1075 to long, to avoid warnings on 64-bit platforms.
1076
00890572
EZ
10772003-04-14 Elena Zannoni <ezannoni@redhat.com>
1078
1079 * gdb.base/attach.exp: Add new message from ptrace in case of
1080 attaching to nonexistent process.
1081
93201743
JB
10822003-04-11 Jim Blandy <jimb@redhat.com>
1083
1084 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1085 gdb.c++/userdef.cc: Place comments on the lines to which the
1086 marker function might return.
1087 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1088 gdb.c++/userdef.exp: Look for those comments to check that we've
1089 returned to the right place, instead of checking line numbers.
1090
2a11c64d
EZ
10912003-04-11 Elena Zannoni <ezannoni@redhat.com>
1092
1093 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1094 match on sourcefile name, instead of directory name.
1095
68ab8fc5
EZ
10962003-04-10 Elena Zannoni <ezannoni@redhat.com>
1097
1098 * gdb.base/completion.exp: Use string_to_regexp to match the
1099 working directory name.
1100
5624293a
JB
11012003-04-09 Jim Blandy <jimb@redhat.com>
1102
1103 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1104 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1105 after an inferior function call, report the failure, but allow the
1106 test to continue.
1107
f1f02ee4
SC
11082003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1109
1110 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1111 with -DPROTOTYPES.
1112
6eb79af0
SC
11132003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1114
1115 * gdb.base/break.exp: Revert last patch.
1116
8dfb4cf0
SC
11172003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1118
1119 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1120 with -DPROTOTYPES.
1121
ed4c619a
AC
11222003-04-02 Andrew Cagney <cagney@redhat.com>
1123
1124 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1125 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1126 matching directories by the name breakpoint.
1127 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1128 Make "continue to marker1" consistent.
1129 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1130 message consistent.
1131 * lib/gdb.exp: Put "the program is no longer running", and "the
1132 program exited" in parenthesis.
1133 * lib/mi-support.exp: Ditto.
1134
4e35d5f0
BR
11352003-04-02 Bob Rossi <bob_rossi@cox.net>
1136
1137 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1138
71900fe8
AC
11392003-03-29 Andrew Cagney <cagney@redhat.com>
1140
1141 * gdb.base/sizeof.c (main): Print the value of '\377'.
1142 * gdb.base/sizeof.exp: Check the sign of '\377'.
1143
c0655a16
MC
11442003-03-27 Michael Chastain <mec@shout.net>
1145
1146 * gdb.base/gdb1090.exp: New file.
1147 * gdb.base/gdb1090.cc: New file.
1148
5b2a3989
JB
11492003-03-27 J. Brobecker <brobecker@gnat.com>
1150
1151 * gdb.gdb/observer.exp: New regression test.
1152
79876890
MC
11532003-03-27 Michael Chastain <mec@shout.net>
1154
1155 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1156 * gdb.base/ptype.exp: Likewise.
1157
6eac95e3
CV
11582003-03-27 Corinna Vinschen <vinschen@redhat.com>
1159
1160 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1161
e8c71839
MC
11622003-03-26 Michael Chastain <mec@shout.net>
1163
1164 * gdb.base/ptype.exp: Actually use some typedef'd types.
1165
71b10041
SC
11662003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1167
1168 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1169 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1170
2512cf80
CV
11712003-03-20 Corinna Vinschen <vinschen@redhat.com>
1172
1173 * gdb.base/default.exp: Fix regular expression.
1174
0d195a4f
CV
11752003-03-20 Corinna Vinschen <vinschen@redhat.com>
1176
1177 * gdb.base/args.exp: Fix regular expression.
1178
8a2dbca8
CV
11792003-03-20 Corinna Vinschen <vinschen@redhat.com>
1180
1181 * gdb.base/help.exp: Allow Win32 child process.
1182
bf028682
CV
11832003-03-20 Corinna Vinschen <vinschen@redhat.com>
1184
1185 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1186 when stepping out of main().
1187
182dbe85
CV
11882003-03-20 Corinna Vinschen <vinschen@redhat.com>
1189
1190 * gdb.base/default.exp: Check for win32 specific message when calling
1191 "run" without executable.
1192
d67a6ba5
CV
11932003-03-20 Corinna Vinschen <vinschen@redhat.com>
1194
1195 * gdb.base/args.exp: Expect .exe in output.
1196
a955b5bb
CV
11972003-03-20 Corinna Vinschen <vinschen@redhat.com>
1198
1199 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1200 Cygwin native.
1201
bf6bad4b
AC
12022003-03-17 Andrew Cagney <cagney@redhat.com>
1203
1204 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1205 vector registes.
1206 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1207 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1208
293e9a31
DC
12092003-03-17 David Carlton <carlton@math.stanford.edu>
1210
1211 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1212 test, for PR breakpoints/38.
1213 Call test_watchpoint_and_breakpoint.
1214 * gdb.base/watchpoint.c (func3): New function.
1215 (main): Call func3.
1216
5330f2db
DC
12172003-03-04 David Carlton <carlton@math.stanford.edu>
1218
1219 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1220 Garply<Garply<char> >:: garply".
1221 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1222 with respect to PR c++/1111; note also PR c++/1113.
1223 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1224 respect to PR c++/1062.
1225 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1226
6ece72da
DC
12272003-03-03 David Carlton <carlton@math.stanford.edu>
1228
1229 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1230 with respect to PR c++/57.
1231 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1232 c++/826.
1233 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1234 respect to PR c++/57.
1235
85ca1584
DC
12362003-03-03 David Carlton <carlton@math.stanford.edu>
1237
1238 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1239 respect to PR c++/33 into FAILs.
1240
98e9c5b8
MC
12412003-03-03 Michael Chastain <mec@shout.net>
1242
7bedbf27
MC
1243 * configure.in: Update copyright years.
1244
12452003-03-03 Michael Chastain <mec@shout.net>
1246
1247 * Makefile.in: Update copyright years.
98e9c5b8 1248
f683e100
DC
12492003-02-28 David Carlton <carlton@math.stanford.edu>
1250
1251 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1252 print class instead of struct and/or superfluous protection
1253 specifiers, as long as the resulting output is equivalent to the
1254 source code.
1255 Delete FIXME from end of messages on tests that don't need
1256 fixing.
1257
a9e0cf2c
DC
12582003-02-28 David Carlton <carlton@math.stanford.edu>
1259
1260 * gdb.c++/templates.exp (do_tests): Allow const in the two
1261 Foo<volatile char *>::foo tests.
1262
e8d359df
MS
12632003-02-27 Michael Snyder <msnyder@redhat.com>
1264
1265 * gdb.base/restore.c (main): Return zero, so exit code
1266 will be consistant.
1267
0b71dc91
DC
12682003-02-26 David Carlton <carlton@math.stanford.edu>
1269
1270 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1271 char *>::foo" test with respect to PR c++/33. Create a new test
1272 which is identical to that one except that it doesn't put the
1273 space between the "char" and the "*"; KFAIL it, too.
1274
dd14ab43
DC
12752003-02-26 David Carlton <carlton@math.stanford.edu>
1276
1277 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1278 template types into either PASSes or KFAILs (corresponding to PR
1279 c++/57). Tweak indentation. Update copyright.
1280
1146c7f1
SC
12812003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1282
1283 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1284
74641dfb
MC
12852003-02-13 Michael Chastain <mec@shout.net>
1286
1287 * gdb.base/exprs.exp: Remove i960 remnants.
1288 * gdb.base/funcargs.exp: Likewise.
1289 * gdb.base/list.exp: Likewise.
1290 * gdb.base/ptype.exp: Likewise.
1291
559cd2d0
DC
12922003-02-14 David Carlton <carlton@math.stanford.edu>
1293
1294 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1295 pEe->D::vg()" from XFAIL to KFAIL.
1296
c4f90d87
JM
12972003-02-13 Jason Molenda (jmolenda@apple.com)
1298
1299 * gdb.base/maint.exp: Update maint print statistics regexp to include
1300 new entries.
1301
cbc4d97c
MC
13022003-02-13 Michael Chastain <mec@shout.net>
1303
1304 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1305
40f235b7
MC
13062003-02-12 Michael Chastain <mec@shout.net>
1307
1308 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1309 * gdb.c++/inherit.exp: Likewise.
1310 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1311 * gdb.c++/templates.exp: Likewise.
1312 * gdb.c++/virtfunc.exp: Likewise.
1313
c56716b0
JM
13142003-02-06 Jason Molenda (jason-cl@molenda.com)
1315
1316 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1317 why the code is written that way.
1318
070afcf8
MC
13192003-02-05 Michael Chastain <mec@shout.net>
1320
1321 * gdb.base/dump.exp: Add missing copyright line.
1322
5d0331e5
JM
13232003-02-05 Jason Molenda (jason-cl@molenda.com)
1324
f7ae6d3e 1325 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1326 at the beginning so the breakpoint doesn't get set on the loop.
1327
92851186
MC
13282003-02-05 Michael Chastain <mec@shout.net>
1329
1330 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1331 output for configurations with gcc 2.95.3.
1332
cbf1e085
AC
13332003-02-05 Keith Seitz <keiths@redhat.com>
1334 Andrew Cagney <ac131313@redhat.com>
1335
1336 * gdb.mi/mi-cli.exp: New file.
1337
29518e1e
MC
13382003-02-04 Michael Chastain <mec@shout.net>
1339
1340 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1341 Call perror and then continue.
1342
5af1d5f3
MC
13432003-02-03 Michael Chastain <mec@shout.net>
1344
1345 * gdb.c++/pr-1023.cc: New file.
1346 * gdb.c++/pr-1023.exp: New file.
1347
6b549786
JB
13482003-02-05 Jim Blandy <jimb@redhat.com>
1349
1350 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1351 it's local to foobar. Check for it there, and check that it's not
1352 present in main.
1353 * gdb.c++/local.cc (marker2): New function.
1354 (foobar): Call marker1.
1355 (main): Call marker2 instead of marker1.
1356
67f16606
AC
13572003-02-04 Andrew Cagney <ac131313@redhat.com>
1358
1359 * gdb.disasm/mn10200.exp: Obsolete file.
1360 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1361 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1362 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1363
1c5cb38e
DC
13642003-02-04 David Carlton <carlton@math.stanford.edu>
1365
1366 * gdb.c++/overload.exp: Test intToChar(1).
1367 * gdb.c++/overload.cc (intToChar): New.
1368 (main): Call intToChar.
1369
d1fe6965
DC
13702003-02-03 David Carlton <carlton@math.stanford.edu>
1371
1372 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1373 'might_kfail' arg.
1374 KFAIL some of the continue_to_bp_overloaded calls, according to
1375 PR c++/1025.
1376
9ba61c5d
MC
13772003-02-01 Michael Chastain <mec@shout.net>
1378
1379 * gdb.base/advance.c (marker1): New marker function.
1380 * gdb.base/advance.exp: When the 'advance' command lands on the
1381 return breakpoint, it can legitimately stop on either the
1382 current line or the next line. Accommodate both outcomes.
1383 * gdb.base/until.exp: Likewise.
1384
e7494ffb
AC
13852003-02-02 Andrew Cagney <ac131313@redhat.com>
1386
1387 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1388 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1389 now a list, not a tuple.
1390 * gdb.mi/mi-var-display.exp: Ditto.
1391 * gdb.mi/gdb792.exp: Ditto.
1392
075559bc
AC
13932003-02-01 Andrew Cagney <ac131313@redhat.com>
1394
1395 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1396 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1397 stack backtraces.
1398 * gdb.mi/mi-syn-frame.c: Part of same.
1399
2bd4c7b1
MK
14002003-02-01 Mark Kettenis <kettenis@gnu.org>
1401
1402 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1403 gdb.mi/mi1-pthreads.exp: Return instead of calling
1404 gdb_suppress_entire_file.
1405
eabd8992
MS
14062003-02-01 Mark Salter <msalter@redhat.com>
1407
1408 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1409
71469e2f
MS
14102003-01-31 Mark Salter <msalter@redhat.com>
1411
1412 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1413 Support empty arg.
1414
38a94d44
MC
14152003-01-30 Michael Chastain <mec@shout.net>
1416
1417 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1418 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1419 has been fixed in gdb/readline on 2003-01-09.
1420
19ea9e73
MS
14212003-01-29 Michael Snyder <msnyder@redhat.com>
1422
e8d359df
MS
1423 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1424 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1425 * gdb.base/args.exp: Skip if target does not support args passing.
1426
2307bd6a
DJ
14272003-01-22 Daniel Jacobowitz <drow@mvista.com>
1428
19ea9e73 1429 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1430 gdb_test. Accept a list of expect arguments as the third
1431 parameter.
1432 (gdb_test): Use it.
1433
f2dd3617
EZ
14342003-01-20 Elena Zannoni <ezannoni@redhat.com>
1435
1436 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1437 allow for different test tree configurations. Update some
1438 tescases accordingly.
1439 * gdb.arch/altivec-regs.exp: Ditto.
1440 * gdb.asm/asm-source.exp: Ditto.
1441 * gdb.base/advance.exp: Ditto.
1442 * gdb.base/display.exp: Ditto.
1443 * gdb.base/long_long.exp: Ditto.
1444 * gdb.base/mips_pro.exp: Ditto.
1445 * gdb.base/overlays.exp: Ditto.
1446 * gdb.base/relocate.exp: Ditto.
1447 * gdb.base/setshow.exp: Ditto.
1448 * gdb.base/step-line.exp: Ditto.
1449 * gdb.base/step-test.exp: Ditto.
1450 * gdb.base/until.exp: Ditto.
1451 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1452
c71cdefd
DC
14532003-01-17 David Carlton <carlton@math.stanford.edu>
1454
1455 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1456 corresponding to PR c++/945.
1457 Update copyright.
1458
fdba05d7
DC
14592003-01-17 David Carlton <carlton@math.stanford.edu>
1460
1461 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1462 corresponding to PR c++/68.
1463
14642003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1465
1466 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1467 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1468 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1469
c362c33a
EZ
14702003-01-15 Elena Zannoni <ezannoni@redhat.com>
1471
0fbc361c
EZ
1472 * gdb.base/break.exp: Fix change of default location, because of
1473 removal of until tests.
1474 * gdb.base/help.exp: Update test for new 'until' help message.
1475 Add test for help on 'advance'.
c362c33a
EZ
1476 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1477
dabf8a35
MK
14782003-01-15 Mark Kettenis <kettenis@gnu.org>
1479
1480 * gdb.base/default.exp: Adapt "info float" test for recent changes
1481 to that command. Add test for "info vector".
1482 * gdb.base/float.exp: New file. Add test for "info float" that
1483 resembles the old test in gdb.base/default.exp.
1484
a1769aca
DC
14852003-01-15 David Carlton <carlton@math.stanford.edu>
1486
1487 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1488
82025e13
EZ
14892003-01-15 Elena Zannoni <ezannoni@redhat.com>
1490
1491 * gdb.base/break.exp: Move the tests of until command from here...
1492 * gdb.base/until.exp: ... to here. New file. Add other tests.
1493 * gdb.base/advance.c: New file.
1494 * gdb.base/advance.exp: New file.
1495
8f9ab801
EZ
14962003-01-14 Elena Zannoni <ezannoni@redhat.com>
1497
1498 * gdb.base/args.c: New file.
1499 * gdb.base/args.exp: New file.
1500
9ae66589
DJ
15012003-01-14 Daniel Jacobowitz <drow@mvista.com>
1502
1503 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1504
8d77e5c3
DJ
15052003-01-14 Daniel Jacobowitz <drow@mvista.com>
1506
1507 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1508
12d2f0a1
DJ
15092003-01-14 Daniel Jacobowitz <drow@mvista.com>
1510
1511 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1512 dates.
1513
6ca37014
DJ
15142003-01-13 Daniel Jacobowitz <drow@mvista.com>
1515
1516 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1517
b0023472
DJ
15182003-01-13 Daniel Jacobowitz <drow@mvista.com>
1519
1520 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1521 (ptype &*"foo").
1522 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1523
d6abaea5
DJ
15242002-01-13 Daniel Jacobowitz <drow@mvista.com>
1525
1526 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1527 * gdb.mi/mi1-console.exp: Likewise.
1528
dfd536a7
DJ
15292002-01-13 Daniel Jacobowitz <drow@mvista.com>
1530
1531 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1532 * gdb.mi/mi1-console.exp: Likewise.
1533
a1fb14a2
DJ
15342003-01-13 Daniel Jacobowitz <drow@mvista.com>
1535
1536 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1537
c4cf40b7
DJ
15382003-01-09 Daniel Jacobowitz <drow@mvista.com>
1539
1540 * gdb.base/detach.exp: New test.
1541
696d5a5b
DJ
15422003-01-09 Daniel Jacobowitz <drow@mvista.com>
1543
1544 * Makefile.in (ALL_SUBDIRS): New variable.
1545 (subdirs, clean, distclean): Use it.
1546 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1547 regenerating Makefile, since it is generated from the top level.
1548 * gdb.asm/Makefile.in: Likewise.
1549 * gdb.base/Makefile.in: Likewise.
1550 * gdb.c++/Makefile.in: Likewise.
1551 * gdb.disasm/Makefile.in: Likewise.
1552 * gdb.java/Makefile.in: Likewise.
1553 * gdb.mi/Makefile.in: Likewise.
1554 * gdb.threads/Makefile.in: Likewise.
1555 * gdb.trace/Makefile.in: Likewise.
1556
754533e4
DC
15572003-01-09 David Carlton <carlton@math.stanford.edu>
1558
1559 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1560 Add copyright year 2003.
1561
d8b3e9ee
MC
15622003-01-06 Michael Chastain <mec@shout.net>
1563
1564 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1565 When selecting a thread, 'line' and 'file' are optional.
1566 * gdb.mi/mi1-pthreads.exp: Likewise.
1567
8e9e0fe6
AS
15682003-01-06 Andreas Schwab <schwab@suse.de>
1569
1570 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1571 failures.
1572
b5ab8ff3
DJ
15732003-01-04 Daniel Jacobowitz <drow@mvista.com>
1574
1575 Fix PR gdb/844
1576 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1577 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1578
1579 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1580 instead of calling gdb_suppress_entire_file.
1581 * gdb.threads/print-threads.exp: Likewise.
1582 * gdb.threads/schedlock.exp: Likewise.
1583
1584 * gdb.threads/killed.exp: Return instead of calling
1585 gdb_suppress_entire_file.
1586 * gdb.threads/linux-dp.exp: Likewise.
1587 * gdb.threads/pthreads.exp: Likewise.
1588
1e698235
DJ
15892003-01-04 Daniel Jacobowitz <drow@mvista.com>
1590
1591 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1592 stabs.
1593 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1594 * gdb.base/whatis.exp: Always allow (void) after function names.
1595
147ff08c
DJ
15962003-01-04 Daniel Jacobowitz <drow@mvista.com>
1597
1598 * gdb.c++/casts.exp: Correct regexp.
1599
dc62bfc2
MK
16002003-01-04 Mark Kettenis <kettenis@gnu.org>
1601
1602 * configure.in: Call AC_CONFIG_HEADER. Don't call
1603 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1604 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1605 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1606 aforementioned directories in the AC_OUPUT call.
1607 * config.hin: New file.
1608 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1609 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1610 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1611 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1612 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1613 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1614 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1615 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1616 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1617 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1618 gdb.threads/configure.in, gdb.threads/configure,
1619 gdb.threads/config.in, gdb.trace/configure.in,
1620 gdb.trace/configure: Removed.
1621
77afa639
MC
16222003-01-03 Michael Chastain <mec@shout.net>
1623
1624 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1625 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1626
7634bb6e
DJ
16272003-01-03 Daniel Jacobowitz <drow@mvista.com>
1628
1629 * gdb.base/store.exp: Fix regular expressions.
1630
b39c905e
MK
16312002-12-28 Mark Kettenis <kettenis@gnu.org>
1632
1633 * configure.in: Rewrite.
1634 * configure: Regenerated.
1635
0a8551dd
DC
16362003-01-03 David Carlton <carlton@math.stanford.edu>
1637
1638 * gdb.base/psymtab.exp: New file.
1639 * gdb.base/psymtab1.c: Ditto.
1640 * gdb.base/psymtab2.c: Ditto.
1641
c60b7188
AF
16422002-12-23 Adam Fedor <fedor@gnu.org>
1643
1644 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1645
ee73db83
DC
16462002-12-23 David Carlton <carlton@math.stanford.edu>
1647
1648 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1649 and current_directory initialization.
1650
d6c1774e
JB
16512002-12-22 Jim Blandy <jimb@redhat.com>
1652
f0a847b8
JB
1653 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1654 rather than as part of the output file name.
1655
d6c1774e
JB
1656 * gdb.base/attach.exp: There's no need to copy the test program to
1657 /tmp; that was only ever necessary on HP/UX, and this test is
1658 entirely disabled there anyway.
1659
f0708dbb
JB
16602002-12-21 Jim Blandy <jimb@redhat.com>
1661
4c2acfea
JB
1662 * gdb.c++/psmang.exp: Doc fix.
1663
f0708dbb
JB
1664 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1665 test.
1666
9579e000
DC
16672002-12-20 David Carlton <carlton@math.stanford.edu>
1668
1669 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1670
d1810171
MC
16712002-12-18 Michael Chastain <mec@shout.net>
1672
1673 * gdb.c++/annota2.exp: Add copyright year 2002.
1674
76565097
DC
16752002-12-17 David Carlton <carlton@math.stanford.edu>
1676
1677 * gdb.c++/try_catch.cc: Add marker comments.
1678 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1679 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1680 * gdb.c++/m-static.cc: Ditto.
1681 * gdb.c++/m-static1.cc: Ditto.
1682 * gdb.c++/try_catch.cc: Ditto.
1683
da81390b
JJ
16842002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1685
1686 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1687 to see whether we are using the new -environment-directory
1688 command which resets via -r or the old version of the command
1689 which may prompt the user. Part of fix for gdb/741.
1690
b304d130
AC
16912002-12-13 Andrew Cagney <ac131313@redhat.com>
1692
1693 * gdb.fortran/types.exp: Update obsolete comment.
1694 * gdb.fortran/exprs.exp: Ditto.
1695 * lib/gdb.exp: Delete obsolete code.
1696 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1697 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1698 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1699 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1700 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1701 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1702 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1703 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1704 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1705 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1706 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1707 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1708 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1709 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1710 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1711 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1712 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1713 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1714 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1715 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1716 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1717 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1718 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1719 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1720 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1721 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1722 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1723 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1724 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1725 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1726 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1727 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1728 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1729 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1730 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1731 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1732 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1733
a23b6e6a
DC
17342002-12-11 David Carlton <carlton@math.stanford.edu>
1735
1736 * gdb.c++/m-data.exp: Add test for members that shadow global
1737 variables: see PR gdb/804.
1738 * gdb.c++/m-data.cc: Ditto.
1739
6604731b
DJ
17402002-12-10 Daniel Jacobowitz <drow@mvista.com>
1741
1742 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1743
de46ecd7
DC
17442002-12-06 David Carlton <carlton@math.stanford.edu>
1745
1746 * gdb.base/store.c: Don't declare functions static.
1747
27e829d0
AC
17482002-12-04 Andrew Cagney <ac131313@redhat.com>
1749
1750 * gdb.base/store.exp, gdb.base/store.c: New files.
1751
92806416
DJ
17522002-12-03 Daniel Jacobowitz <drow@mvista.com>
1753
1754 * gdb.base/selftest.exp: Update for current gdb.
1755
3bcbaac5
DJ
17562002-12-03 Daniel Jacobowitz <drow@mvista.com>
1757
1758 * gdb.base/maint.exp: Only dump symbols from one source file
1759 or objfile.
1760
f4f00b1f
DJ
17612002-12-03 Daniel Jacobowitz <drow@mvista.com>
1762
1763 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1764 function call.
1765
f1c8a949
JB
17662002-11-25 Jim Blandy <jimb@redhat.com>
1767
1768 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1769 function appearing in error message.
1770
9e297a97
DJ
17712002-11-21 Daniel Jacobowitz <drow@mvista.com>
1772
1773 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1774
1f312e79
JJ
17752002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1776
1777 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1778 for mi1 and current mi is in correct format. New mi startup message
1779 should be in mi console format. This is part of fix for PR gdb/604.
1780
83c31e7d
FN
17812002-09-18 Fernando Nasser <fnasser@redhat.com>
1782
1783 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1784 which explicitly prints the zero offset as "+0".
1785
322b3f65
DJ
17862002-10-22 Daniel Jacobowitz <drow@mvista.com>
1787
1788 * gdb.threads/schedlock.c (args): Make unsigned.
1789
17902002-10-21 Daniel Jacobowitz <drow@mvista.com>
1791
1792 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1793 numbers. Allow "foo2|selected stack frame".
1794 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1795 * gdb.asm/asmsrc2.s: Likewise.
1796 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1797 comments.
1798 * gdb.asm/mips.inc: New file.
1799
5e2fe5b8
AF
18002002-10-18 Adam Fedor <fedor@gnu.org>
1801
1802 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1803 * gdb.base/help.exp: Likewise.
1804
abe1a5d0
KB
18052002-10-17 Kevin Buettner <kevinb@redhat.com>
1806
1807 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1808 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1809
10abb1d4
JB
18102002-10-02 Jim Blandy <jimb@redhat.com>
1811
1812 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1813
1f609b42
AC
18142002-10-01 Andrew Cagney <ac131313@redhat.com>
1815
1816 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1817 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1818 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1819 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1820 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1821 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1822 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1823
0aee02e4
AC
18242002-09-29 Andrew Cagney <ac131313@redhat.com>
1825
1826 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1827 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1828 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1829 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1830 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1831 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1832 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1833
6fde09ad
KB
18342002-09-27 Kevin Buettner <kevinb@redhat.com>
1835
1836 * gdb.base/annota1.exp (info break): Make directory components of
1837 path optional since not all compilers emit this debug information.
1838
1839 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1840 step ends up stepping out of the function instead of stopping on
1841 the epilogue.
1842
9e8aab75
KS
18432002-09-26 Keith Seitz <keiths@redhat.com>
1844
1845 * lib/insight-support.exp (gdbtk_start): Figure out where
1846 the insight executable is based on where gdb is. Use this
1847 executable to start insight instead of gdb.
1848
e36180d7
AC
18492002-09-25 Andrew Cagney <cagney@redhat.com>
1850
1851 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1852
9dd34b2b
AC
18532002-09-24 Andrew Cagney <ac131313@redhat.com>
1854
1855 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1856 test_isolated_complaints.
1857 (test_empty_complaint): New function.
1858 (test_empty_complaints): New function. Check no output when no
1859 complaints.
1860
dea97812
KB
18612002-09-19 Jim Blandy <jimb@redhat.com>
1862
1863 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1864
54951bd7
AC
18652002-09-19 Andrew Cagney <ac131313@redhat.com>
1866
1867 * gdb.gdb/complaints.exp: New file.
1868
dec43320
AC
18692002-09-18 Andrew Cagney <ac131313@redhat.com>
1870
1871 * gdb.base/maint.exp: Check `help maint internal-warning'.
1872
e70d6e3f
DC
18732002-09-18 David Carlton <carlton@math.stanford.edu>
1874
1875 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1876 numbers, and replace them by a single breakpoint after the
1877 constructors are all finished.
1878 Add test 4.
1879 * gdb.c++/m-static.cc: Add test 4.
1880 * gdb.c++/m-static.h: New file.
1881 * gdb.c++/m-static1.cc: New file.
1882
1883 * gdb.c++/printmethod.exp: New file.
1884 * gdb.c++/printmethod.cc: New file.
1885
1886 * gdb.c++/pr-574.exp: New file.
1887 * gdb.c++/pr-574.cc: New file.
1888
afb5c968
CV
18892002-09-18 Corinna Vinschen <vinschen@redhat.com>
1890
1891 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1892 embedded targets which never actually exit.
1893
31e45dee
FN
18942002-09-18 Fernando Nasser <fnasser@redhat.com>
1895
1896 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1897 "don't step after run" as unresolved or unsupported, instead of xfail.
1898
a283c5a1
CV
18992002-09-18 Corinna Vinschen <vinschen@redhat.com>
1900
1901 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1902 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1903 Add newline to expected string in "step out of main (status wrapper)"
1904 case.
1905
11350d2a
CV
19062002-09-18 Corinna Vinschen <vinschen@redhat.com>
1907
1908 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1909 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1910
0deec7d6
TT
19112002-09-17 Tom Tromey <tromey@redhat.com>
1912
1913 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1914 \000, not \0, in double-quoted string.
1915
b2b4a1b5
CV
19162002-09-14 Corinna Vinschen <vinschen@redhat.com>
1917
c9d37158 1918 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
1919 string after running the commands execution on breakpoint tests.
1920
1c56143a
CV
19212002-09-13 Corinna Vinschen <vinschen@redhat.com>
1922
1923 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1924
37f8da45
JB
19252002-09-12 Joel Brobecker <brobecker@gnat.com>
1926
1927 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1928
08b468e0
KS
19292002-09-10 Keith Seitz <keiths@redhat.com>
1930
1931 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1932 runto proc.
1933 (mi_run_to_main): Use mi_runto.
1934 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1935
dc360f58
KS
19362002-09-10 Keith Seitz <keiths@redhat.com>
1937
1938 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1939 regexp for stopping at main. Could have multiple event notifications.
1940 Don't assume that main was declared with no parameters.
1941 (mi_next): Use mi_step_to.
1942 (mi_step): Use mi_next_to.
1943
ce3abcfb
CV
19442002-09-09 Corinna Vinschen <vinschen@redhat.com>
1945
1946 * gdb.base/default.exp: Fix expected string in `info float' test.
1947
d1f5b980
BE
19482002-09-09 Ben Elliston <bje@redhat.com>
1949
1950 * config/mips.exp: Update comments.
1951 * config/mips-idt.exp: Likewise.
1952 * config/nind.exp: Likewise.
1953 * config/slite.exp: Likewise.
1954 * config/sparclet.exp: Likewise.
1955 * config/udi.exp: Likewise.
1956 * config/vx.exp: Likewise.
1957 * config/vxworks29k.exp: Likewise.
1958
2f71430b
JB
19592002-09-05 Jim Blandy <jimb@redhat.com>
1960
1961 * gdb.threads/killed.exp: Fix test failure message.
1962
7ddebc7e
KS
19632002-09-04 Keith Seitz <keiths@redhat.com>
1964
1965 * lib/mi-support.exp: Update copyright.
1966 (mi_gdb_test): Increase the priority of the expected pattern
1967 so that it matches gdb_test.
1968
0ae67eb3
KS
19692002-09-03 Keith Seitz <keiths@redhat.com>
1970
1971 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1972 Use integer comparison instead of string comparison for testing
1973 whether binary was built.
1974
38fc42c8
JB
19752002-09-03 Jim Blandy <jimb@redhat.com>
1976
1977 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1978
b6ff0e81
JB
19792002-08-29 Jim Blandy <jimb@redhat.com>
1980
1981 * gdb.threads/pthreads.exp: Move the portable thread compilation
1982 code into a function in lib/gdb.exp, and call that from here.
1983 * lib/gdb.exp (gdb_compile_pthreads): New function.
1984
07c98896
KS
19852002-08-29 Keith Seitz <keiths@redhat.com>
1986
1987 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1988 expect_out so that callers can get at it.
1989
0312286c
DJ
19902002-08-23 Daniel Jacobowitz <drow@mvista.com>
1991
1992 * gdb.threads/print-threads.c: New file.
1993 * gdb.threads/print-threads.exp: New file.
1994 * gdb.threads/schedlock.c: New file.
1995 * gdb.threads/schedlock.exp: New file.
1996
dd039bc4
EZ
19972002-08-22 Elena Zannoni <ezannoni@redhat.com>
1998
1999 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2000 not altivec.c.
2001
1f36144c
MK
20022002-08-17 Mark Kettenis <kettenis@gnu.org>
2003
2004 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2005 targets. The problem should be fixed now.
2006
16057ec7 20072002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2008
2009 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2010 2002-07-24 change that removes final dots from error messages.
2011
3c1499ad
TT
20122002-08-13 Tom Tromey <tromey@redhat.com>
2013
2014 * gdb.base/readline.exp: New file.
2015
a20ce2c3
AC
20162002-08-01 Andrew Cagney <ac131313@redhat.com>
2017
2018 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2019 supress message.
2020
db034ac5
AC
20212002-08-01 Andrew Cagney <cagney@redhat.com>
2022
2023 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2024 CHILL_FOR_TARGET and CHILL_LIB.
2025 * configure.in (configdirs): Remove gdb.chill.
2026 * configure: Regenerate.
2027 * lib/gdb.exp: Obsolete references to chill.
2028 * gdb.fortran/types.exp: Ditto.
2029 * gdb.fortran/exprs.exp: Ditto.
2030
3e000b18
KB
20312002-07-30 Kevin Buettner <kevinb@redhat.com>
2032
2033 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2034 set Irix-specific compile and link flags.
2035
28f4966b
KB
20362002-07-29 Kevin Buettner <kevinb@redhat.com>
2037
2038 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2039 source files. The ``-o'' option doesn't work with the ``-E'' option
2040 when using the Irix compiler.
2041
46c0d5a6
DJ
20422002-07-19 Daniel Jacobowitz <drow@mvista.com>
2043
2044 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2045 Improve support for reusing an exec file. Copy exec file
2046 to target, and run gdbserver on the target instead of on the host.
2047
eecf4bed
JB
20482002-07-18 Jim Blandy <jimb@redhat.com>
2049
0f815cdf
JB
2050 * gdb.base/ending-run.exp: Don't expect to see the program end in
2051 some orderly fashion when we're running on a real stand-alone
2052 board.
2053
eecf4bed
JB
2054 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2055 targets that don't support interrupts.
2056
52d309e4
JB
20572002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2058
2059 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2060 systems.
2061 Move comments in expect statements to inside the actions, so that they
2062 don't get matched against.
2063
ff683d9e
MK
20642002-07-10 Mark Kettenis <kettenis@gnu.org>
2065
2066 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2067 function when asleep" test.
2068
b5356753
AC
20692002-07-10 Andrew Cagney <ac131313@redhat.com>
2070
2071 * gdb.base/page.exp: Rewrite to handle problems with very long
2072 `info set' output. Update copyright.
2073
6aa4d13a
AC
20742002-06-26 Andrew Cagney <ac131313@redhat.com>
2075
2076 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2077 gdb.threads-hp.
2078 * gdb.hp/configure: Regenerate.
2079 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2080 * gdb.hp/gdb.threads-hp/configure: Delete file.
2081 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2082
8cf8c2b8
AC
20832002-06-22 Andrew Cagney <ac131313@redhat.com>
2084
2085 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2086 setlocale, bindtextdomain and textdomain.
2087
6827a8f8
JB
20882002-06-11 Jim Blandy <jimb@redhat.com>
2089
919d772c
JB
2090 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2091 preprocessor macro information is present.
2092
6827a8f8
JB
2093 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2094 tests.
2095
c15b0d21
MS
20962002-06-06 Michael Snyder <msnyder@redhat.com>
2097
c5984d70
MS
2098 * gdb.base/overlays.exp: Record addresses of overlay
2099 functions in TCL variables rather than in GDB variables,
2100 to avoid having GDB convert them to pointers (with loss
2101 of information).
2102
99a8512b
MS
2103 * gdb.base/d10v.ld: Merge in several years worth of
2104 default linker script changes.
c15b0d21
MS
2105 * gdb.base/long_long.exp: Add check for sizeof (long double).
2106
be26fe0d
ML
21072002-06-06 Michal Ludvig <mludvig@suse.cz>
2108
2109 * gdb.asm/asm-source.exp: Add x86-64 target.
2110 * gdb.asm/x86_64.inc: New.
2111
258093ca 21122002-05-30 Michael Chastain <mec@shout.net>
258093ca 2113
4b3153f1 2114 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2115 * gdb.c++/m-static.cc: New file.
2116 * gdb.c++/m-static.exp: New file.
2117
241264c6
MS
21182002-05-28 Michael Snyder <msnyder@redhat.com>
2119
2120 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2121 precision.
2122
9bba8c8f 21232002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2124
4b3153f1 2125 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2126 * gdb.c++/m-data.cc: New file.
2127 * gdb.c++/m-data.exp: New file.
2128
21292002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2130
4b3153f1 2131 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2132 * gdb.c++/try_catch.cc: New file.
2133 * gdb.c++/try_catch.exp: New file.
2134
def1b996
MC
21352002-05-27 Michael Chastain <mec@shout.net>
2136
2137 * gdb.c++/local.exp: Accept more nested types in output.
2138
522ba268
MC
21392002-05-26 Michael Chastain <mec@shout.net>
2140
2141 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2142
277254ba
MS
21432002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2144
2145 * lib/gdb.exp (gdb_wrapper_init): Just because
2146 gdb_wrapper_file exists, this does not mean that the file
2147 should not be rebuilt. That is what gdb_wrapper_initialized
2148 is for.
2149 (default_gdb_init): Reset gdb_wrapper_initialized.
2150
b61a8733
MS
21512002-05-23 Michael Snyder <msnyder@redhat.com>
2152
5bdb6d01
MS
2153 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2154 the precision of the floating point test results.
2155 * gdb.base/call-rt-st.exp: Ditto.
2156
b61a8733
MS
2157 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2158 * gdb.base/call-rt-st.exp: Ditto.
2159
56f6e910
MC
21602002-05-19 Michael Chastain <mec@shout.net>
2161
2162 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2163
ad0b0016
EZ
21642002-05-19 Elena Zannoni <ezannoni@redhat.com>
2165
2166 * configure.in (configdirs): Add gdb.arch.
2167 * configure: Regenerate.
2168
f617d2b6
JB
21692002-05-17 Jim Blandy <jimb@redhat.com>
2170
2171 * gdb.base/completion.exp: Recognize the more detailed error
2172 messages produced by the macro expander's lexical analyzer.
2173
eac2a696
EZ
21742002-05-14 Elena Zannoni <ezannoni@redhat.com>
2175
2176 * gdb.arch/altivec-abi.c: New file.
2177 * gdb.arch/altivec-abi.exp: New file.
2178 * gdb.arch/altivec-regs.c: New file.
2179 * gdb.arch/altivec-regs.exp: New file.
2180
2fdde8f8
DJ
21812002-05-14 Daniel Jacobowitz <drow@mvista.com>
2182
2183 * gdb.base/maint.exp (maint print type): Update for new type
2184 structure.
eac2a696 2185
e31f1a7c
EZ
21862002-05-14 Elena Zannoni <ezannoni@redhat.com>
2187
2188 * gdb.arch: New directory.
2189 * gdb.arch/configure.in: New file.
2190 * gdb.arch/configure: New file.
2191 * gdb.arch/Makefile.in: New file.
2192
db589741
CV
21932002-05-13 Corinna Vinschen <vinschen@redhat.com>
2194
2195 * gdb.asm/asm-source.exp: Add v850 as supported target.
2196 * gdb.asm/v850.inc: New file.
2197
8ce2a7dc
DJ
21982002-05-13 Daniel Jacobowitz <drow@mvista.com>
2199
2200 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2201
df763c7f
DJ
22022002-05-12 Daniel Jacobowitz <drow@mvista.com>
2203
2204 * gdb.base/break.exp: Check 'break "marker2"'.
2205
377daeed
MS
22062002-05-10 Michael Snyder <msnyder@redhat.com>
2207
2208 * gdb.base/long_long.exp: Fix typo.
2209
c4b7bc2b
JB
22102002-05-10 Jim Blandy <jimb@redhat.com>
2211
ecac9a4e
JB
2212 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2213 a bug.
2214
c4b7bc2b
JB
2215 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2216 Recognize more detailed error message produced by the macro
2217 expander's lexical analyzer.
2218 * lib/gdb.exp (test_print_reject): Same.
2219
e71019a1
MK
22202002-05-09 Mark Kettenis <kettenis@gnu.org>
2221
2222 * gdb.c++/method.exp: Fix typo.
2223
fedfc8e6
MS
22242002-05-08 Michael Snyder <msnyder@redhat.com>
2225
166a1957
MS
2226 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2227 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2228 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2229 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2230 Add iftarget clause for strongarm.
2231
f1c47eb2
MS
22322002-05-06 Michael Snyder <msnyder@redhat.com>
2233
cb9a9d3e
MS
2234 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2235 (gdb_continue_to_end): Accept output from status wrapper.
2236 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2237 Clean up fail messages to match pass messages.
2238
f1c47eb2
MS
2239 Enable the "needs_status_wrapper" testsuite feature.
2240 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2241 (gdb_compile): Conditionally call gdb_wrapper_init.
2242 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2243 * gdb.c++/method.exp: Recognize output from status wrapper.
2244
6079c749
BE
22452002-05-06 Ben Elliston <bje@redhat.com>
2246From Graydon Hoare <graydon@redhat.com>
2247
2248 * config/sid.exp: Include support for "rawsid" protocol.
2249
188baff3
JB
22502002-05-03 Jim Blandy <jimb@redhat.com>
2251
2252 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2253 * gdb.c++/hang3.C: New file.
2254
b9c07f0f
AC
22552002-05-04 Andrew Cagney <ac131313@redhat.com>
2256
2257 * gdb.base/default.exp: Remove obsolete code.
2258 * gdb.c++/misc.exp: Ditto. Update copyright.
2259 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2260 * gdb.base/whatis.exp: Ditto. Update copyright.
2261 * gdb.base/scope.exp: Ditto. Update copyright.
2262 * gdb.base/ptype.exp: Ditto. Update copyright.
2263 * gdb.base/printcmds.exp: Ditto. Update copyright.
2264 * gdb.base/opaque.exp: Ditto. Update copyright.
2265 * gdb.base/list.exp: Ditto.
2266 * gdb.base/funcargs.exp: Ditto. Update copyright.
2267 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2268 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2269 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2270 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2271 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2272 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2273
5c7a0397
MS
22742002-05-02 Michael Snyder <msnyder@redhat.com>
2275
d6dcc264 2276 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2277 * gdb.base/long_long.exp: Add xscale target.
2278 * gdb.base/default.exp: Add xscale target.
2279
eb7f1c48
JB
22802002-05-01 Jim Blandy <jimb@redhat.com>
2281
2282 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2283 gdb.c++/hang.exp: New test.
2284
a6befae8
FF
22852002-05-01 Fred Fish <fnf@redhat.com>
2286
2287 * gdb.base/completion.exp: Handle completions of "./Make" for
2288 more than one completion possibility, as is the case when we
2289 build and test in the source tree.
2290
0a310277
AG
22912002-04-29 Anthony Green <green@redhat.com>
2292
2293 * gdb.java/jmisc1.exp: New file.
2294 * gdb.java/jmisc2.exp: New file.
2295
6ff9af88
DJ
22962002-04-24 Daniel Jacobowitz <drow@mvista.com>
2297
2298 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2299
96b3d632
EZ
23002002-04-23 Elena Zannoni <ezannoni@redhat.com>
2301
2302 * gdb.base/help.exp: Change 'help status' to allow for target
2303 dependent output differences.
2304
5019bb54
MC
23052002-04-22 Michael Chastain <mec@shout.net>
2306
2307 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2308
a805a116
MC
23092002-04-22 Michael Chastain <mec@shout.net>
2310
2311 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2312
a1706bfd
DM
23132002-04-17 David S. Miller <davem@redhat.com>
2314
2315 * gdb.asm/sparc64.inc: New file.
2316 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2317
a73a20a2
EZ
23182002-04-19 Elena Zannoni <ezannoni@redhat.com>
2319
2320 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2321 instruction file directly into the build tree. Clean up at end of
2322 test.
2323
ba678339
DM
23242002-04-18 David S. Miller <davem@redhat.com>
2325
2326 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2327 handle 64-bit platforms correctly.
2328 * gdb.base/maint.exp: Likewise.
2329
b03399da
KB
23302002-04-18 Kevin Buettner <kevinb@redhat.com>
2331
2332 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2333 ``-fpic'' when compiling files comprising a shared library, but
2334 it does need additional linker flags in order to find shared
2335 libraries at run time.
2336
e2004992
KB
23372002-04-18 Kevin Buettner <kevinb@redhat.com>
2338
2339 * gdb.base/cvexpr.c (use): New function.
2340 (main): Invoke use() on all global variables to prevent
2341 some linkers from deleting these otherwise unused symbols.
2342
d8937120
MC
23432002-04-17 Michael Chastain <mec@shout.net>
2344From David S. Miller <davem@redhat.com>
2345
2346 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2347 handle 64-bit platforms correctly.
2348
ffd61a58
MS
23492002-04-12 Michael Snyder <msnyder@redhat.com>
2350From Jim Blandy <jimb@redhat.com>
2351 * gdb.base/foo.c (foox): Remove section attribute; the linker
2352 script can handle this instead.
2353 * gdb.base/bar.c (barx): Same.
2354 * gdb.base/baz.c (bazx): Same.
2355 * gdb.base/grbx.c (grbxx): Same.
2356
2357 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2358 manager doesn't automatically unmap overlays unnecessarily.
2359
6b8426a6
MH
23602002-04-10 Martin M. Hunt <hunt@redhat.com>
2361
2362 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2363 stepping out of main.
2364
34af4875
MC
23652002-04-09 Michael Chastain <mec@shout.net>
2366
2367 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2368 scope so that the nested scope tests will make sense.
2369 * gdb.c++/local.exp: Write patterns that actually work with gcc
2370 (the HP patterns "were never known to work with gcc").
2371 Keep the old aCC patterns too.
2372
2d1676a0
DJ
23732002-04-09 Daniel Jacobowitz <drow@mvista.com>
2374
2375 * gdb.base/attach.exp: Correct target board test.
2376
3a63e3f9
MC
23772002-04-08 Michael Chastain <mec@shout.net>
2378
2379 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2380 in a const method. Add some xfail and fail cases for configurations
2381 that do not emit the "const ...".
2382
f18dabd2
MC
23832002-04-07 Michael Chastain <mec@shout.net>
2384
2385 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2386 Accept "A * const" and "const A * const" as type of "this".
2387 Fix spelling of getFunky throughout. Make messages uniform.
2388
0fcddd82
EZ
23892002-04-07 Elena Zannoni <ezannoni@redhat.com>
2390
2391 Work around for PR gdb/285:
2392 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2393
16a8534a
EZ
23942002-04-07 Elena Zannoni <ezannoni@redhat.com>
2395
2396 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2397 instructions file at run time instead of configure time.
2398 Sometimes we run the test in a directory that is not the one we
2399 configured in.
2400 * gdb.asm/configure.in: Delete creation of symlink.
2401 * gdb.asm/configure: Regenerate.
2402
24181d81
JB
24032002-04-05 J. Brobecker <brobecker@gnat.com>
2404
2405 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2406 xfullpath () function.
2407
7cdb7107
DJ
24082002-04-04 Daniel Jacobowitz <drow@mvista.com>
2409
2410 * gdb.asm/Makefile.in: Correct dependencies.
2411
2412 * gdb.asm/powerpc.inc: New file.
2413 * gdb.asm/asm-source.exp: Add PowerPC.
2414 * gdb.asm/configure.in: Likewise.
2415 * gdb.asm/configure: Regenerated.
2416
a7d17088
DJ
24172002-04-04 Daniel Jacobowitz <drow@mvista.com>
2418
2419 * gdb.base/relocate.exp: New file.
2420 * gdb.base/relocate.c: New file.
2421
cd721503
FF
24222002-04-04 Fred Fish <fnf@redhat.com>
2423
2424 * gdb.base/step-test.exp: Update comment regarding stopping in
2425 memcpy/bcopy calls inserted as part of the compiler runtime.
2426
b22ad7a7
MS
24272002-04-04 Michael Snyder <msnyder@redhat.com>
2428
2429 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2430
5f279fa6
DJ
24312002-04-03 Daniel Jacobowitz <drow@mvista.com>
2432
2433 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2434 (gdb_expect): Remove $notransfer hack.
2435
dd0fd3ce
DJ
24362002-04-02 Daniel Jacobowitz <drow@mvista.com>
2437
2438 * gdb.c++/classes.exp ("calling method for small class"): Match
2439 updated register output.
2440
1e50cda1
DJ
24412002-03-30 Daniel Jacobowitz <drow@mvista.com>
2442
2443 Fix PR gdb/452
2444 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2445 when finished. Make gdb_file_cmd send "exec-file" when
2446 appropriate.
2447
24015922
DJ
24482002-03-30 Daniel Jacobowitz <drow@mvista.com>
2449
2450 * gdb.base/attach.exp: Remove extra setup_xfail.
2451
dd7dfd64
MS
24522002-03-26 Michael Snyder <msnyder@redhat.com>
2453
2454 * gdb.base/default.exp: Add tests for dump, append, and restore.
2455 * gdb.base/help.exp: Add tests for dump, append, and restore.
2456 * gdb.base/dump.exp: New file, test dump, append and restore.
2457 * gdb.base/dump.c: New file.
2458
48b2f8d7
MS
24592002-03-27 Michael Snyder <msnyder@redhat.com>
2460
2461 * gdb.base/help.exp: Modify expect strings to reflect
2462 clean-ups in help messages.
2463
05b4d525
FF
24642002-03-26 Fred Fish <fnf@redhat.com>
2465
2466 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2467 have debugging info for those functions and the compiler uses them
2468 internally to copy structs around.
2469
d7679631
FF
24702002-03-26 Fred Fish <fnf@redhat.com>
2471
2472 * gdb.base/list.exp: Revert the change made yesterday and add note
2473 about why we don't list the default lines for remote targets.
2474
523ac3f9
MS
24752002-03-25 Michael Snyder <msnyder@redhat.com>
2476
2477 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2478
754b2b8d
FF
24792002-03-25 Fred Fish <fnf@redhat.com>
2480
2481 * gdb.base/list.exp: This test works on remote targets so remove
2482 the short circuit for remote targets. Update copyright.
2483
33c3e192
FF
24842002-03-25 Fred Fish <fnf@redhat.com>
2485
2486 * gdb.base/attach.exp: Fix logic error that was suppressing this
2487 test for all non hppa*-*-hpux* targets, instead of the hp target.
2488 Move comments closer to the suppression point. Also now need to
2489 check that we are running natively.
2490
d43e73ee
MS
24912002-03-22 Michael Snyder <msnyder@redhat.com>
2492
882c8f02
MS
2493 * gdb.base/default.exp: Add test for gcore. Update copyright.
2494 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2495
04c12f60
FF
24962002-03-06 Fred Fish <fnf@redhat.com>
2497
2498 * gdb.base/funcargs.c: Remove extraneous ';' character.
2499 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2500
b43df995
MC
25012002-03-04 Michael Chastain <mec@shout.net>
2502
2503 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2504 accommodate gcc v3 function signature.
2505 * gdb.mi/mi0-var-cmd-exp: Ditto.
2506
92362027
AC
25072002-02-24 Andrew Cagney <ac131313@redhat.com>
2508
2509 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2510 ``GNU/Linux'' or ``Linux kernel''
2511 * testsuite/gdb.threads/pthreads.c: Ditto.
2512
258ad32d
MC
25132002-02-24 Michael Chastain <mec@shout.net>
2514
2515 * gdb.threads/pthreads.c (thread1): Add a return statement.
2516 (thread2): Likewise.
2517 (foo): Likewise.
2518
04c3b3d4
MC
25192002-02-23 Michael Chastain <mec@shout.net>
2520
2521 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2522 to placate gcc.
2523
5a2a0a20
MC
25242002-02-23 Michael Chastain <mec@shout.net>
2525
2526 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2527 test "ptype bint". The test passes on all my stabs configurations.
2528
a640f7fc
JB
25292002-02-21 Jim Blandy <jimb@redhat.com>
2530
27924826
JB
2531 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2532 filename at a time, and watch for the ones we want to see.
2533
a640f7fc
JB
2534 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2535 types of pointers to prototyped functions.
2536
edcc8c75
AC
25372002-02-20 Andrew Cagney <ac131313@redhat.com>
2538
2539 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2540 signed, unsigned and straight char.
2541 (padding_char, padding_short, padding_int, padding_long,
2542 padding_long_long, padding_float, padding_double,
2543 padding_long_double): New global variables.
2544 (fill, fill_structs): New functions.
2545
2546 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2547 for correctly sized writes. Update copyright.
2548 (get_valueof): New procedure.
2549 (get_sizeof): Call get_valueof.
2550 (check_valueof): New procedure.
2551 (check_padding): New procedure.
2552
ac57ea44
MC
25532002-02-20 Michael Chastain <mec@shout.net>
2554
2555 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2556 to setup_xfail. Document some of the remaining calls.
2557
7a10c941
MC
25582002-02-18 Michael Chastain <mec@shout.net>
2559
2560 * gdb.c++/userdef.exp: Update copyright year.
2561
fb8acdcc
DJ
25622002-02-18 Daniel Jacobowitz <drow@mvista.com>
2563
2564 * gdb.c++/userdef.exp: Test overloaded operators properly.
2565 Remove xfails.
2566
fda6ae12
MS
25672002-02-14 Michael Snyder <msnyder@redhat.com>
2568
2569 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2570
676a0442
DJ
25712002-02-14 Daniel Jacobowitz <drow@mvista.com>
2572
2573 * gdb.base/a2-run.exp: Check for a remote target properly.
2574 * gdb.base/annota1.exp: Likewise.
2575 * gdb.base/list.exp: Likewise.
2576 * gdb.base/reread.exp: Likewise.
2577 * gdb.base/scope.exp: Likewise.
2578 * gdb.base/shlib-call.exp: Likewise.
2579 * gdb.base/term.exp: Likewise.
2580 * gdb.c++/annota2.exp: Likewise.
2581
78b4f468
RE
25822002-02-13 Richard Earnshaw <rearnsha@arm.com>
2583
2584 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2585
9a81ba51
MC
25862002-02-10 Michael Chastain <mec@shout.net>
2587
2588 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2589 (call_after_alloca): Ditto.
2590
004af6c7
DJ
25912002-02-10 Daniel Jacobowitz <drow@mvista.com>
2592
2593 * gdb.base/ending-run.exp: Guard "cont" test with
2594 gdb_skip_stdio_test.
2595
37225f62
JB
25962002-02-06 Jim Blandy <jimb@redhat.com>
2597
2598 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2599 from here...
2600 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2601 To here. Disable this test on non-HP platforms. Add big comment.
2602
fe6fdd96
MS
26032002-02-04 Michael Snyder <msnyder@redhat.com>
2604
2605 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2606 other than d10v and m32r.
2607
036fad3f
RE
26082002-02-02 Richard Earnshaw <rearnsha@arm.com>
2609
2610 * gdb.base/default.exp: Rewrite test patterns to reduce time
2611 taken to match them.
2612
7148ab62
DJ
26132002-01-30 Daniel Jacobowitz <drow@mvista.com>
2614
2615 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2616 Allow a start function above main.
2617 * gdb.threads/linux-dp.exp: Fix copyright date.
2618
396cc255
DJ
26192002-01-30 Daniel Jacobowitz <drow@mvista.com>
2620
2621 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2622 (check_philosopher_stack): Check for manager thread before checking
2623 for a just-starting thread.
2624
f038d31b
DJ
26252002-01-30 Daniel Jacobowitz <drow@mvista.com>
2626
2627 From Neil Booth <neil@daikokuya.demon.co.uk>:
2628 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2629 warnings.
2630
b3ff9d9a
FF
26312002-01-21 Fred Fish <fnf@redhat.com>
2632
2633 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2634 not caller.
2635
39ad761d
JB
26362002-01-21 Jim Blandy <jimb@redhat.com>
2637
2638 * gdb.base/reread.exp: Check that GDB properly re-reads the
2639 executable file when it changes while no inferior is running.
2640
aaf320fa
FF
26412002-01-21 Fred Fish <fnf@redhat.com>
2642
2643 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2644 optionally accept the "shlib events" variation.
2645
808a31f5
JB
26462002-01-21 Jim Blandy <jimb@redhat.com>
2647
2648 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2649 call `fflush' after every `printf', so that the output is produced
2650 at predictable points, regardless of whatever buffering does (or
2651 doesn't) take place.
2652 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2653 at different points.
2654
4420d5e2
DJ
26552002-01-20 Daniel Jacobowitz <drow@mvista.com>
2656
2657 * gdb.c++/inherit.exp: Update copyright years.
2658 * gdb.c++/method.exp: Likewise.
2659
3e36a0f4
DJ
26602002-01-20 Daniel Jacobowitz <drow@mvista.com>
2661
2662 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2663 artificial methods/arguments.
2664 * gdb.c++/derivation.exp: Likewise.
2665 * gdb.c++/inherit.exp: Likewise.
2666 * gdb.c++/method.exp: Likewise.
2667 * gdb.c++/virtfunc.exp: Likewise.
2668
b4ceaee6
AC
26692002-01-18 Andrew Cagney <ac131313@redhat.com>
2670
2671 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2672 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2673 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2674 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2675 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2676 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2677
ecace851
JB
26782002-01-17 Jim Blandy <jimb@redhat.com>
2679
2680 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2681 anchoring the pattern matching the entry point symbol's name.
2682
375fc983
AC
26832002-01-17 Andrew Cagney <ac131313@redhat.com>
2684
2685 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2686 continue/quit query. Update copyright.
2687
fe6fdd96
MS
26882002-01-14 Michael Snyder <msnyder@redhat.com>
2689
2690 * gdb.base/gcore.exp: Remove extra debugging output.
2691
e017c81f
DJ
26922002-01-13 Daniel Jacobowitz <drow@mvista.com>
2693
2694 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2695 for slightly dubious v2 mangled string.
2696
37ab3bf8
DJ
26972002-01-13 Daniel Jacobowitz <drow@mvista.com>
2698
2699 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2700
1bc05c3a 27012002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2702
1bc05c3a 2703 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2704
1bc05c3a
JM
2705 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2706 constructors.
2707 * gdb.c++/derivation.exp: Likewise.
2708 * gdb.c++/templates.exp: Likewise.
2709 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2710
1bc05c3a
JM
27112002-01-10 Michael Snyder <msnyder@redhat.com>
2712
2713 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2714
a911c360
MS
27152002-01-08 Michael Snyder <msnyder@redhat.com>
2716
2717 * gdb.base/gcore.exp: New test for generate-core-file command.
2718 * gdb.base/gcore.c: Testcase for above.
2719 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2720
ea2119ec
JM
27212002-01-08 Jason Merrill <jason@redhat.com>
2722
2723 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2724
68203136
FF
27252002-01-07 Fred Fish <fnf@redhat.com>
2726
2727 * gdb.c++/overload.exp: Remove unconditional xfails for:
2728 print foo_instance1.overloadargs(1)
2729 print foo_instance1.overloadargs(1, 2)
2730 print foo_instance1.overloadargs(1, 2, 3)
2731 print foo_instance1.overloadargs(1, 2, 3, 4)
2732 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2733 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2734 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2735 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2736 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2737 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2738 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2739 print foo_instance1.overload1arg()
2740 print foo_instance1.overload1arg((char)arg2)
2741 print foo_instance1.overload1arg((signed char)arg3)
2742 print foo_instance1.overload1arg((unsigned char)arg4)
2743 print foo_instance1.overload1arg((int)arg7)
2744 print foo_instance1.overload1arg((unsigned int)arg8)
2745 print foo_instance1.overload1arg((float)arg11)
2746 print foo_instance1.overload1arg((double)arg12)
2747
21b9b5b1
MS
27482002-01-07 Michael Snyder <msnyder@redhat.com>
2749
2750 * gdb.base/huge.exp: New test. Print a very large target data object.
2751 (skip_huge_test): New test variable. Define if you want to skip this
2752 test. The test reads an 8 megabyte data object from the target, so it
2753 might be very time consuming on remote targets with a slow connection.
2754 * gdb.base/huge.c: New file. Test case for above.
2755
725f922e
FF
27562002-01-07 Fred Fish <fnf@redhat.com>
2757
2758 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2759 g_instance.bfoo, and g_instance.cfoo.
2760
634d57ec
JL
2761Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2762
f286b2c3
JL
2763 * gdb.base/break.c (multi_line_if_conditional): New function.
2764 (multi_ilne_while_conditional): Likewise.
2765 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2766 IF or WHILE condition puts the breakpoint at the start of
2767 the condition.
2768
634d57ec
JL
2769 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2770 hppa*-*-hpux* expected failure.
2771 * gdb.base/structs.exp (do_function_calls): Similarly.
2772
2773 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2774 watchpoints.
2775
9fbfe2dc
AC
27762002-01-06 Andrew Cagney <ac131313@redhat.com>
2777
2778 Fix PR gdb/66.
2779 * gdb.base/structs.exp: Replace skip for a29k with skip for
2780 gdb,cannot_call_functions.
2781 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2782 * gdb.base/callfuncs.exp: Ditto.
2783 * gdb.base/call-rt-st.exp: Ditto.
2784 * gdb.base/call-strs.exp: Ditto.
2785 * gdb.base/callfwmall.exp: Ditto.
2786 * gdb.base/scope.exp: Obsolete xfail a29k.
2787 * gdb.c++/misc.exp: Ditto.
2788 * gdb.c++/cplusfuncs.exp: Ditto.
2789 * gdb.base/ptype.exp: Ditto.
2790 * gdb.base/printcmds.exp: Ditto.
2791 * gdb.base/opaque.exp: Ditto.
2792 * gdb.base/list.exp: Ditto.
2793 * gdb.base/funcargs.exp: Ditto.
2794 * gdb.base/default.exp: Ditto.
2795
8ddad156
MS
27962002-01-04 Michael Snyder <msnyder@redhat.com>
2797
ca4976a6 2798 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2799 * gdb.base/maint.exp: Add tests for maint info sections options.
2800
1b074332
JL
2801Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2802
2803 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2804
7d159115
CV
28052001-12-20 Corinna Vinschen <vinschen@redhat.com>
2806
2807 * gdb.asm/arm.inc: New file.
2808 * gdb.asm/asm-source.exp: Add arm targets.
2809 * gdb.asm/configure.in: Ditto.
2810 * gdb.asm/configure: Recreated from configure.in.
2811
8fb87725
JL
2812Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2813
afabe08c
JL
2814 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2815 with HP's compiler.
2816 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2817 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2818 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2819 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2820
2821 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2822 either HP's compilers or GCC.
2823
db521deb
JL
2824 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2825 a SIGBUS or SIGSEGV.
2826
2827 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2828
2829 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2830 can be compiled with either HP's compiler or GCC.
2831
cfa88ab7
JL
2832 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2833 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2834 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2835
ca344dff
JL
2836 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2837 to match current gdb output. Update due to using auto-solib-limit
2838 for limiting instead of overloading auto-solib-add.
2839 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2840 test program.
2841
3f3c6e55 2842 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2843 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2844 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2845 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2846 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2847 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2848 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2849 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2850 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2851 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2852 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2853 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2854 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2855
8fb87725
JL
2856 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2857 a SIGTRAP to the inferior.
2858
cf599fa7
CV
28592001-12-19 Corinna Vinschen <vinschen@redhat.com>
2860
2861 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2862 Substitute call to target_link by call to gdb_compile.
2863
2cd045cd
JL
2864Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2865
2866 * gdb.base/break.exp: Fix HP specific search string when testing
2867 backtracing in a called function.
2868
2869 * gdb.base/constvars.exp: Only set lang to C++ if we're
2870 compiling the test with HP's compilers.
2871 * gdb.base/volatile.exp: Similarly.
2872
99ebe9ac
JB
28732001-12-19 Jim Blandy <jimb@redhat.com>
2874
2875 * gdb.base/printcmds.exp: Expect the null character to be printed
2876 as '\0', and the '\013' to be printed as '\v'.
2877 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2878 * gdb.base/setvar.exp: Same.
2879
b9891b29
JB
28802001-12-17 Jim Blandy <jimb@redhat.com>
2881
0eba65ab
JB
2882 * gdb.base/completion.exp: Rather than completing very long
2883 filenames, which can make the readline library produce output we
2884 don't recognize, cd to the directory first, and then complete
2885 using nice, short relative paths.
2886
6970b5b1
JB
2887 * gdb.base/completion.exp: On some systems, there is, in fact, a
2888 variable named `b' in scope, since GDB treats all static
2889 variables as being in scope. So use `no_var_named_this'
2890 instead of `b'.
2891
b9891b29
JB
2892 * gdb.base/corefile.exp: Recognize the message saying that GDB
2893 can't find the core file's registers as a failure.
2894
e6ccd35f
JSC
28952001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2896
2897 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2898 test expect string more specific.
2899
105ba819
CV
29002001-12-13 Corinna Vinschen <vinschen@redhat.com>
2901
2902 * gdb.asm/asm-source.exp: Add support for xstormy16.
2903 * gdb.asm/configure.in: Ditto.
2904 * gdb.asm/configure: Rebuild.
2905 * gdb.asm/xstormy16.inc: New file.
2906
e9e79dd9
FF
29072001-12-10 Fred Fish <fnf@redhat.com>
2908
2909 * gdb.base/maint.exp: Update to match changes in type dumping code.
2910
347dc97d
JB
29112001-12-10 Jim Blandy <jimb@redhat.com>
2912
2913 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2914 matching the entry point symbol's name at the beginning of the
2915 line.
2916
5178b9d6
DJ
29172001-12-07 Daniel Jacobowitz <drow@mvista.com>
2918
2919 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2920 gdb.c++/inherit.exp, gdb.c++/method.exp,
2921 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2922 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2923 and class layout support.
2924
af890c52
DJ
29252001-12-07 Daniel Jacobowitz <drow@mvista.com>
2926
2927 * gdb.c++/classes.exp: Add test for static member function.
2928 * gdb.c++/misc.cc: Add class with static member function.
2929
7a345fb3
JB
29302001-12-07 Jim Blandy <jimb@redhat.com>
2931
f2e54a80 2932 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2933 those tests as `unsupported'.
2934 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2935 Rewrite subsequent tests to use it.
2936
2937 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2938 those tests as `unsupported'.
2939 * gdb.base/structs.exp (call_struct_func): New function.
2940 (do_function_calls): Use call_struct_func to call the functions
2941 returning structs.
2942
0bc69509
JB
2943 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2944 whether functions are prototyped or not, so we can't possibly pass
2945 arguments to t_float_values2 properly.
2946
7a345fb3
JB
2947 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2948 value of `timeout' for targets other than the mips*tx39-*.
2949
edb6ede1
MS
29502001-12-06 Michael Snyder <msnyder@redhat.com>
2951
2952 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2953 and detect whether the start symbol has a leading underscore.
2954
2d842f13
JB
29552001-12-04 Jim Blandy <jimb@redhat.com>
2956
2957 * gdb.base/completion.exp: Clarify indentation.
2958
68550daf
JB
29592001-12-03 Jim Blandy <jimb@redhat.com>
2960
2961 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2962 variables on the S/390, not `.word'.
2963
cd5195a8
JB
29642001-11-30 Jim Blandy <jimb@redhat.com>
2965
2966 Add assembly-source tests for s390-ibm-linux.
2967 * gdb.asm/s390.inc: New file.
2968 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2969 the S/390 architecture.
2970 * gdb.asm/configure: Regenerated.
2971
ca9efc90
MS
29722001-11-30 Michael Snyder <msnyder@redhat.com>
2973
2974 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2975 next, info source, info sources, info line, global and static
2976 variables, and static functions.
2977 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2978 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2979 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2980 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2981 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2982 (gdbasm_leave): Restore frame pointer.
2983 (gdbasm_startup): Copy stack set-up from crt0.S.
2984
d0e66976
FN
29852001-11-26 Fernando Nasser <fnasser@redhat.com>
2986
2987 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2988 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2989 to a local (non-static) variable. Copy tstruct.a to a static buffer
2990 and return a pointer to that buffer.
2991 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2992
e2334072
MK
29932001-11-24 Mark Kettenis <kettenis@gnu.org>
2994
2995 * gdb.asm/configure.in: Fix recognition of ix86 target.
2996 * gdb.asm/configure: Regenerate.
2997
756caa3d
MS
29982001-11-21 Michael Snyder <msnyder@redhat.com>
2999
3000 * gdb.asm/sparc.inc: New file.
3001 * gdb.asm/asm-source.exp: Recognize sparc target.
3002 * gdb.asm/configure.in: Recognize sparc target.
3003 * gdb.asm/configure: Regenerate.
3004
9a4d72d5
MS
30052001-11-21 Michael Snyder <msnyder@redhat.com>
3006
3007 * gdb.asm/m32r.inc: New file.
3008 * gdb.asm/asm-source.exp: Recognize m32r target.
3009 * gdb.asm/configure.in: Recognize m32r target.
3010 * gdb.asm/configure: Regenerate.
3011
a773d1cd
MS
30122001-11-20 Michael Snyder <msnyder@redhat.com>
3013
017ac23d
MS
3014 * gdb.asm/i386.inc: New file.
3015 * gdb.asm/asm-source.exp: Recognize ix86 target.
3016 * gdb.asm/configure.in: Recognize ix86 target.
3017 * gdb.asm/configure: Regenerate.
3018
a773d1cd
MS
3019 * gdb.c++/namespace.exp: Fix quotes in output messages.
3020
bb632afb
MS
30212001-11-14 Michael Snyder <msnyder@redhat.com>
3022
25d559ca 3023 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3024 qualifier in a type cast expression, to designate an address
3025 in the instruction space (Harvard architecture).
3026
4749e309
MS
30272001-11-13 Michael Snyder <msnyder@redhat.com>
3028
3029 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3030 Tests for expressions using 'const' and 'volatile'.
3031
25050984
CV
30322001-11-13 Corinna Vinschen <vinschen@redhat.com>
3033
3034 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3035
1902c51f
DJ
30362001-11-12 Daniel Jacobowitz <drow@mvista.com>
3037
3038 * lib/mi-support.exp (mi_run_to_helper): Move comments
3039 outside of gdb_expect.
3040
dcf95b47
DJ
30412001-11-11 Daniel Jacobowitz <drow@mvista.com>
3042
3043 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3044 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3045 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3046 mi0_run_to): New functions.
3047 * gdb.mi/mi-simplerun.exp: Use them.
3048 * gdb.mi/mi0-simplerun.exp: Likewise.
3049 * gdb.mi/mi-var-cmd.exp: Likewise.
3050 * gdb.mi/mi0-var-cmd.exp: Likewise.
3051
45b074e1
AC
30522001-11-10 Andrew Cagney <ac131313@redhat.com>
3053
3054 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3055 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3056
bf50d346
AC
30572001-11-09 Andrew Cagney <ac131313@redhat.com>
3058
3059 * gdb.base/restore.exp: Include $expected value in restored test
3060 message.
3061
9383332c
AC
30622001-11-09 Andrew Cagney <ac131313@redhat.com>
3063
3064 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3065 implemented.
3066
db62520a
MS
30672001-11-08 Michael Snyder <msnyder@redhat.com>
3068
3069 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3070 Add pass/fail message for stop at breakpoint in call dummy function.
3071
b5703437
MS
30722001-11-07 Michael Snyder <msnyder@redhat.com>
3073
760f6330
MS
3074 * gdb.c++/templates.exp (test_template_breakpoints):
3075 If we get an overload menu, but it does not match what
3076 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3077 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3078 making the whitespace optional. Argument for "new" may be
3079 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3080 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3081 making the whitespace optional. Also replace "(void) with
3082 "((void|)), making the keyword "void" optional.
63f50499
MS
3083 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3084 making the whitespace optional. Also replace "(void) with
3085 "((void|)), making the keyword "void" optional.
3bf40917
MS
3086 * gdb.base/callfuncs.c (t_float_values): This function must
3087 _not_ be prototyped, and the following function (t_float_values2)
3088 must be prototyped (if the compiler supports it), so that GDB
3089 can be tested against both cases. Usually one case involves
3090 promotion of float to double, while the other does not.
3091 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3092 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3093 includes a stack frame for "start".
3094
c8ab4e6d
JB
30952001-11-05 Jim Blandy <jimb@redhat.com>
3096
3097 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3098 pointers are 32 bits long, and that offsets of relocs are always
3099 stored in the data (REL-style), and not in the reloc entry itself
3100 (RELA-style).
3101 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3102 stabs.
3103
3f08ced9
MS
31042001-11-01 Michael Snyder <msnyder@redhat.com>
3105
3106 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3107 and regular expression operators by using quoting.
3108
cbfa24cd
MS
31092001-10-31 Michael Snyder <msnyder@redhat.com>
3110
3111 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3112 depending on what the symbol table contains.
3113 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3114 the output of the ptype command. Similarly, accept both "const &"
3115 and "const&".
3116
aaa68313
CV
31172001-10-31 Corinna Vinschen <vinschen@redhat.com>
3118
3119 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3120 symbol `STORAGE' to allow to choose the storage class of
3121 the local datastructures.
3122 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3123 compiler directive.
3124
91740388
MS
31252001-10-30 Michael Snyder <msnyder@redhat.com>
3126
3127 * gdb.base/jump.exp: Allow it to run for all targets.
3128
1b7c05e7
CV
31292001-10-29 Corinna Vinschen <vinschen@redhat.com>
3130
3131 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3132 with new double_array size.
3133 (main): Change storage class of all local variables to static.
3134 Reduce size of double_array to 9.
3135 * gdb.base/call-ar-st.exp: Increase timeout value.
3136 Change expected output for double array to match new size in
3137 call-ar-st.c.
3138
36a22261
CV
31392001-10-29 Corinna Vinschen <vinschen@redhat.com>
3140
3141 * gdb.base/ending-run.exp: Create identical output when passing
3142 `step to end of run' case. Add regular expression branch satisfying
3143 Stormy16 target.
3144
92b8ae91
MK
31452001-10-28 Mark Kettenis <kettenis@gnu.org>
3146
3147 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3148 that we catch the expected failure under Linux/x86.
3149
cb135b83
OF
31502001-10-29 Orjan Friberg <orjanf@axis.com>
3151
3152 * gdb.base/setvar.exp: Escape curly braces.
3153 * gdb.stabs/weird.exp: Ditto.
3154
6884aa54
DJ
31552001-10-27 Daniel Jacobowitz <drow@mvista.com>
3156
3157 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3158 * gdm.mi/mi0-hack-cli.exp: Likewise.
3159
0398c9aa
AC
31602001-10-25 Andrew Cagney <ac131313@redhat.com>
3161
3162 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3163 messages.
3164
d20bf2e8
AC
31652001-10-21 Andrew Cagney <ac131313@redhat.com>
3166
3167 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3168 checking MI enabled.
3169
03dd63aa
CV
31702001-10-09 Corinna Vinschen <vinschen@redhat.com>
3171
3172 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3173
1d9d99f3
FCE
31742001-10-04 Frank Ch. Eigler <fche@redhat.com>
3175
3176 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3177 if gdb child process crashes, just signal an error.
3178
838ae6c4
JB
31792001-10-02 Jim Blandy <jimb@redhat.com>
3180
3181 * lib/gdb.exp (test_xfail_format): Simplify.
3182
3183 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3184 front of the variable name `format'. Simplify `if'.
3185
8f0cbc1c
DJ
31862001-10-01 Daniel Jacobowitz <drow@mvista.com>
3187
3188 * gdb.threads/pthreads.exp: Wait for output and delay
3189 before sending ^C.
3190
1f08dafd
DJ
31912001-10-01 Daniel Jacobowitz <drow@mvista.com>
3192
3193 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3194 some incorrect output instead of timing out.
3195 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3196
674f90ff
CV
31972001-09-28 Corinna Vinschen <vinschen@redhat.com>
3198
3199 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3200 check to allow additional `int'.
3201
9b284272
DJ
32022001-09-27 Daniel Jacobowitz <drow@mvista.com>
3203
3204 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3205 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3206
b55a4771
MS
32072001-09-27 Michael Snyder <msnyder@redhat.com>
3208
3209 * lib/gdb.exp (test_debug_format): New proc.
3210 (setup_xfail_format): Use new proc test_debug_format.
3211 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3212 proc; use new service proc test_debug_format.
3213 Replace all other "gcc_compiled" tests with this test.
3214 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3215 proc; use new service proc test_debug_format.
3216 Replace all other "gcc_compiled" tests with this test.
3217
32182001-09-27 Michael Snyder <msnyder@redhat.com>
3219
3220 * gdb.base/cvexpr.exp: New file.
3221 * gdb.base/cvexpr.c: New file
3222 Test for expressions using const and volatile keywords.
3223
4e6667ac
CV
32242001-09-26 Corinna Vinschen <vinschen@redhat.com>
3225
3226 * gdb.base/constvars.exp: Check for different orders of keywords
3227 and additional "int" strings in output.
3228
4f337972
AC
32292001-09-22 Andrew Cagney <ac131313@redhat.com>
3230
3231 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3232 responses from "help maint".
3233
2015650d
FCE
32342001-09-19 Frank Ch. Eigler <fche@redhat.com>
3235
3236 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3237 to localhost:NNN instead of :NNN, in case Xvfb is listening
3238 only on TCP.
3239
f3bcedc1
CV
32402001-09-19 Corinna Vinschen <vinschen@redhat.com>
3241
3242 * gdb.base/recurse.exp: When checking leaving the watchpoint
3243 scope, recognize when gdb is in function's epilogue and pass.
3244
6b819c92
KS
32452001-09-18 Keith Seitz <keiths@redhat.com>
3246
3247 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3248 support for running tests against sid targets.
3249 (gdbtk_done): Ditto.
3250
a10c9419
CV
32512001-09-18 Corinna Vinschen <vinschen@redhat.com>
3252
3253 * gdb.base/ending-run.c (main): Set stdout buffersize
3254 to the same reasonable value for any target.
3255 * gdb.base/ending-run.exp: Add a regular expression
3256 to make testsuite happy on Sanyo Stormy16 target.
3257
739d0d99
CV
32582001-09-17 Corinna Vinschen <vinschen@redhat.com>
3259
3260 * gdb.base/display.c (do_loops): Add float variable `f'.
3261 Increment f in loop.
3262 * gdb.base/display.exp: Increment timeout by 60 seconds.
3263 Change float display test to use variable `f'.
3264
1b8947f0
JB
32652001-09-17 Jim Blandy <jimb@redhat.com>
3266
3267 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3268 overflowing the limited breakpoint tables on some ROM monitors
3269 (like the ROM68K).
3270
9890ac81
FCE
32712001-09-15 Frank Ch. Eigler <fche@redhat.com>
3272
3273 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3274 the "-ac" (disable access control) flag.
3275
6db765ea
JH
32762001-08-30 Jeff Holcomb <jeffh@redhat.com>
3277
3278 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3279 ints.
3280
4c32cc04
KS
32812001-08-30 Keith Seitz <keiths@redhat.com>
3282
3283 * lib/gdb.exp: Move all insight-related functionality into
3284 separate file.
3285 * lib/insight-support.exp: New file.
3286
8d6e6f81
FCE
32872001-08-29 Frank Ch. Eigler <fche@redhat.com>
3288
3289 * config/sid.exp (sid_start): Never set sid verbosity; disable
3290 expect_background {} that consumed its stdout; tolerate </dev/null.
3291 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3292
6a90e1d0
AC
32932001-08-18 Andrew Cagney <ac131313@redhat.com>
3294
3295 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3296 CLI jump command to start it.
3297 (mi_run_to_main): Fail immediatly when unexpected output.
3298
1759b3c3
AC
32992001-08-18 Andrew Cagney <ac131313@redhat.com>
3300
3301 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3302 beginning of function. Fix PR gdb/191.
3303
61d11d80
FCE
33042001-08-16 Frank Ch. Eigler <fche@redhat.com>
3305
3306 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3307 what to force sid endianness to.
3308
942a4df2
KS
33092001-08-15 Keith Seitz <keiths@redhat.com>
3310
3311 * lib/gdb.exp (gdbtk_start): Don't set environment
3312 variables for TCL_LIBRARY and friends. Insight will
3313 now figure these out for itself.
3314
0521c418
MS
33152001-08-02 Michael Snyder <msnyder@redhat.com>
3316
3317 * gdb.base/completion.exp: Remove the symbol "a64l" from
3318 the expect string; this is target-specific, and not related
3319 to what is being tested.
3320
74a9a58a
DB
33212001-08-02 Dave Brolley <brolley@redhat.com>
3322
3323 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3324
c70819fa
MS
33252001-07-25 Michael Snyder <msnyder@redhat.com>
3326
c2b8fa57
MS
3327 * gdb.base/consecutive.exp: New file. Test stepping over
3328 breakpoints on consecutive instructions.
3329 * gdb.base/consecutive.c: New file.
3330
c70819fa
MS
3331 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3332 curly braces in regular expressions.
3333
2b1a1355
MS
33342001-07-25 Michael Snyder <msnyder@redhat.com>
3335
3336 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3337 legitimate output from stepping out of main.
3338
413eca6f
KS
33392001-07-22 Keith Seitz <keiths@redhat.com>
3340
3341 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3342 the empty string, do not run the tests.
3343
7e5a9322
SC
33442001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3345
3346 * gdb.base/long_long.exp: Detect size of pointer. Take into
3347 account 2-byte pointers when testing for p/a results.
3348
de58f10f
SC
33492001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3350
3351 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3352 and defined to 1K for m68hc11.
3353 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3354 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3355 (sizeof_random_data): New variable to tell the size of the data table;
3356 don't test past this size; always run to main.
3357
d6f5fea1
SC
33582001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3359
3360 * gdb.base/return2.exp: return of long long and double fails for
3361 68HC11; don't execute these tests on that platform.
3362 * gdb.base/return.exp: Return of a double fails for 68hc11.
3363
c477543d
SC
33642001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3365
3366 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3367 tests that print a float.
3368 * call-rt-st.exp: Likewise.
3369
63cf1c79
MK
33702001-07-12 Mark Kettenis <kettenis@gnu.org>
3371
3372 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3373 running this test on Linux.
3374
112f9ab5
MC
33752001-06-24 Michael Chastain <chastain@redhat.com>
3376
3377 * gdb.base/arithmet.exp: Remove some tests to make all test names
3378 unique.
3379
4970cb0f
MS
33802001-07-03 Michael Snyder <msnyder@redhat.com>
3381
3382 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3383 the output of the ptype command.
3384
d85da69f
MS
33852001-07-02 Michael Snyder <msnyder@redhat.com>
3386
4c8a82de
MS
3387 * gdb.base/completion.exp: Don't assume that break.c is the only
3388 source file that may contain functions named "marker".
d85da69f
MS
3389 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3390
8afc772b
AC
33912001-06-28 Andrew Cagney <ac131313@redhat.com>
3392
3393 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3394 of files to delete.
3395
3396 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3397 * gdb.disasm/h8300s.exp: New file.
3398 gdb.disasm/h8300s.s: Likewise.
3399
cff22675
AC
34002001-06-27 Andrew Cagney <ac131313@redhat.com>
3401
3402 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3403 empty breakpoint tables.
3404
68c81b54
AC
34052001-06-25 Andrew Cagney <ac131313@redhat.com>
3406
3407 * lib/mi-support.exp: Update args=... part of stop-reason
3408 patterns. Accept either a list or a tuple.
3409
2dd62704
AC
34102001-06-23 Andrew Cagney <ac131313@redhat.com>
3411
3412 * lib/mi-support.exp: Remove local emacs variable defining
3413 change-log-default-name.
3414
b4127474
MC
34152001-06-22 Michael Chastain <chastain@redhat.com>
3416
3417 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3418 This is operationally compatible with the previous version.
3419
8dbfb380
JB
34202001-06-13 Jim Blandy <jimb@redhat.com>
3421
3422 * lib/gdb.exp (gdb_test): Doc fix.
3423
f2d8c86d
MC
34242001-06-10 Michael Chastain <chastain@redhat.com>
3425
3426 * gdb.base/exprs.exp: Remove a duplicate test.
3427
81564d34
JB
34282001-06-06 Jim Blandy <jimb@redhat.com>
3429
3430 * gdb.base/return2.exp (main): Use values to test float and double
3431 returns that are not NaN's, to avoid being confused by IEEE
3432 comparison rules.
3433
da55addb
MS
34342001-06-04 Michael Snyder <msnyder@redhat.com>
3435
3436 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3437 non-zero if control_c fails. Terminate the test on failure,
3438 rather than wait for 12 more tests to time out.
3439
42c65987
JB
34402001-06-06 Jim Blandy <jimb@redhat.com>
3441
b18bced9
JB
3442 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3443 Don't forget to match the GDB prompt.
3444
42c65987
JB
3445 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3446
5b41e5f0
JB
34472001-06-04 Jim Blandy <jimb@redhat.com>
3448
3449 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3450 command.
3451
015e046f
KB
34522001-05-31 Kevin Buettner <kevinb@redhat.com>
3453
3454 * gdb.base/annota1.exp (info break): Match four or more spaces
3455 after "Address".
3456
fb1ffbbe
MC
34572001-05-31 Michael Chastain <chastain@redhat.com>
3458
3459 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3460 (dm_type_int_star): Likewise.
3461 (dm_type_long_star): Likewise.
3462 (dm_type_void_star): Likewise.
3463
5ea2a32c
KB
34642001-05-29 Kevin Buettner <kevinb@redhat.com>
3465
3466 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3467 to a known value in order to get consistent results regardless
3468 of the setting of INPUTRC or the presence or contents of .inputrc.
3469
ae23c492
MS
34702001-05-24 Michael Snyder <msnyder@redhat.com>
3471
ac55707e
MS
3472 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3473 Don't require that the main thread and the manager thread are the
3474 first in the list.
3475
ae23c492
MS
3476 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3477 debugging. If test fails, issue an "unsupported" not a "fail".
3478
400071f1
JB
34792001-05-24 Jim Blandy <jimb@redhat.com>
3480
3481 Don't assume that short is shorter than int.
3482 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3483 assume that shorts are smaller than ints. On a 16-bit machine,
3484 this isn't true.
3485 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3486 an int, is not equal to ~0 stored in an unsigned char. This tests
3487 the same thing that the previous test meant to, but works on
3488 16-bit machines, too.
3489 ("print unsigned char != (~0)"): Same test, complemented.
3490
0816a3e5
MS
34912001-05-24 Michael Snyder <msnyder@redhat.com>
3492
3493 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3494 test for (full_coverage == 0). This makes the test run faster,
3495 and prevents dejagnu getting out of step.
3496
f6dc23a9
KB
34972001-05-23 Kevin Buettner <kevinb@redhat.com>
3498
3499 * gdb.base/finish.exp (finish_void): Revise pattern for
3500 stopping on the call statement to not permit stopping at
3501 the start of the instructions comprising the call sequence.
3502
7dbd117d
MC
35032001-05-19 Michael Chastain <chastain@redhat.com>
3504
3505 * gdb.base/callfuncs.exp: Make all test names unique.
3506 * gdb.base/commands.exp: Make all test names unique.
3507 * gdb.base/condbreak.exp: Make all test names unique.
3508 * gdb.base/dbx.exp: Make all test names unique.
3509 * gdb.base/default.exp: Make all test names unique.
3510 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3511 and TIMEOUT messages to their corresponding PASS message.
3512 * gdb.base/ending-run.exp: Make all test names unique.
3513 * gdb.base/long_long.exp: Remove duplicate test.
3514
6b0b0a9e
KB
35152001-05-21 Kevin Buettner <kevinb@redhat.com>
3516
3517 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3518 stop on the call statement as well as the statement after the
3519 call.
3520
2caa35cb
MS
35212001-05-21 Michael Snyder <msnyder@redhat.com>
3522
3523 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3524
40713331
EZ
35252001-05-10 Elena Zannoni <ezannoni@redhat.com>
3526
3527 * gdb.base/completion.exp: Revamp test. Make it execute on all
3528 platforms.
3529
c2c1be8d
EZ
35302001-05-10 Elena Zannoni <ezannoni@redhat.com>
3531
2c9cd303
EZ
3532 * config/gdbserver.exp (gdb_load): Handle the case
3533 in which the arguments to gdbserver are given in the
3534 baseboard configuration file.
3535 Also handle the case in which the server needs to do a
3536 load.
3537
9671de48
KS
35382001-05-07 Keith Seitz <keiths@cygnus.com>
3539
3540 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3541 set up the display for testing.
3542 (gdbtk_start): Convert all paths to paths that tcl will like.
3543 Export target information to environment.
3544 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3545 necessary.
3546 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3547 (to_tcl_path): New proc to convert a given pathname into
3548 a path acceptible as an argument to a tcl command.
3549 (_gdbtk_export_target_info): New proc to export target info
3550 into the environment for gdbtk testing.
3551 (gdbtk_done): New proc to signal end-of-test.
3552
5a360f47
JB
35532001-05-06 Jim Blandy <jimb@redhat.com>
3554
3555 * restore.c: Make the code of caller0 correspond to its comment.
3556
66c756c6
MS
35572001-05-03 Michael Snyder <msnyder@redhat.com>
3558
3559 * config/sid.exp (gdb_target_sid): Check for error messages.
3560 On error or timeout, don't make expect exit (which will terminate
3561 all subsequent tests); instead just make gdb exit.
3562 (gdb_load): Check for error messages. On error or timeout,
3563 return a negative value.
3564
a966fde5
JB
35652001-04-24 Jim Blandy <jimb@redhat.com>
3566
851c18e0
JB
3567 * gdb.c++/templates.exp: If we see the prompt for the overload
3568 list, but we haven't recognized any of the longer patterns,
3569 arrange for this test to fail, not hang.
3570
a966fde5
JB
3571 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3572 variations.
3573
db144853
MC
35742001-04-22 Michael Chastain <chastain@redhat.com>
3575
3576 * gdb.c++/local.exp: Use the 'runto' library function.
3577 * gdb.c++/namespace.exp: Likewise.
3578 * gdb.c++/overload.exp: Likewise.
3579
3207ec21
KB
35802001-03-26 Kevin Buettner <kevinb@redhat.com>
3581
3582 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3583 * gdb.base/step-line.exp: New file. Test step/next in presence of
3584 #line directives.
3585 * gdb.base/step-line.c: New file. Test program for the above.
3586 * gdb.base/step-line.inp: New file. We pretend that this file has
3587 been transformed by some other tool into step-line.c.
3588
13b57657
JB
35892001-03-21 Jim Blandy <jimb@redhat.com>
3590
3591 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3592 unmangled operator names.
3593
754cbe1c
JB
35942001-03-20 Jim Blandy <jimb@redhat.com>
3595
3596 * gdb.threads/linux-dp.exp: Recognize an additional message
3597 generated by GDB when it doesn't understand how to debug threads
3598 on the target system.
3599
177495c9
AC
36002001-03-19 Andrew Cagney <ac131313@redhat.com>
3601
3602 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3603
f266096b
MC
36042001-03-12 Michael Chastain <chastain@redhat.com>
3605
3606 * gdb.c++/derivation.exp: Use the 'runto' library function.
3607
cac3c2ff
MC
36082001-03-12 Michael Chastain <chastain@redhat.com>
3609
3610 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3611
b6c11a24
MC
36122001-02-24 Michael Chastain <chastain@redhat.com>
3613
3614 * gdb.c++/ref-types.exp: Change handwritten code to library
3615 function 'runto'.
3616
6bae5bce
OF
36172001-03-16 Orjan Friberg <orjanf@axis.com>
3618
3619 * gdb.base/signals.exp: Set count to 0 explicitly.
3620
0015fd9a
MS
36212001-03-15 Mark Salter <msalter@redhat.com>
3622
3623 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3624 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3625 (gdb_load): Add support for additional target_info: gdb_download_size
3626 and gdb_load_timeout.
0015fd9a 3627
fc33412a
DT
3628Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3629
3630 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3631 file -- to prevent failing when the compile fails but we have no
3632 intention of running the tests anyway.
3633
3634 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3635 tests if set.
3636
3637 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3638 integers.
3639
3640 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3641 * gdb.c++/namespace.exp: Ditto.
3642
115f06de
OF
36432001-03-07 Orjan Friberg <orjanf@axis.com>
3644
3645 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3646 * gdb.base/pointers.exp: Relax pattern match of decimals.
3647
b6ba6518
KB
36482001-03-06 Kevin Buettner <kevinb@redhat.com>
3649
3650 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3651 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3652 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3653 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3654 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3655 config/sh.exp, config/sid.exp, config/slite.exp,
3656 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3657 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3658 config/vxworks.exp, config/vxworks29k.exp,
3659 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3660 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3661 gdb.base/arithmet.exp, gdb.base/assign.exp,
3662 gdb.base/async.exp, gdb.base/attach.exp,
3663 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3664 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3665 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3666 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3667 gdb.base/commands.exp, gdb.base/completion.exp,
3668 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3669 gdb.base/constvars.exp, gdb.base/corefile.exp,
3670 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3671 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3672 gdb.base/ending-run.exp, gdb.base/environ.exp,
3673 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3674 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3675 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3676 gdb.base/funcargs.exp, gdb.base/help.exp,
3677 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3678 gdb.base/logical.exp, gdb.base/long_long.exp,
3679 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3680 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3681 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3682 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3683 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3684 gdb.base/regs.exp, gdb.base/relational.exp,
3685 gdb.base/remote.exp, gdb.base/reread.exp,
3686 gdb.base/restore.exp, gdb.base/return2.exp,
3687 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3688 gdb.base/selftest.exp, gdb.base/setshow.exp,
3689 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3690 gdb.base/sigall.exp, gdb.base/signals.exp,
3691 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3692 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3693 gdb.base/step-test.exp, gdb.base/structs.c,
3694 gdb.base/structs.exp, gdb.base/structs2.exp,
3695 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3696 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3697 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3698 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3699 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3700 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3701 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3702 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3703 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3704 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3705 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3706 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3707 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3708 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3709 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3710 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3711 gdb.trace/circ.exp, gdb.trace/collection.exp,
3712 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3713 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3714 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3715 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3716 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3717 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3718 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3719 notices.
3720
dc96c6c7 37212001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3722
3723 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3724 first arg is int not float.
3725
dc96c6c7 37262001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3727
3728 * gdb.base/reread.exp: Unsupported for non-native targets;
3729 doesn't work for remote debugging.
3730
9b0c4aeb
FN
37312001-02-19 Fernando Nasser <fnasser@redhat.com>
3732
3733 From Drew Moseley <dmoseley@redhat.com>
3734 * gdb.base/ending-run.exp: Properly handle the BSP state when
3735 stepping past the end of main.
3736
02aa71d5
MC
37372001-02-19 John Moore <jmoore@redhat.com>
3738
3739 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3740 Converted HPUX fix for non-expected items following multiple
3741 step commands into general solution for all platforms.
3742
1fa449a4
MC
37432001-02-18 Michael Chastain <chastain@redhat.com>
3744
3745 * gdb.c++/classes.exp (do_tests): Change runto statements
3746 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3747 statements demangler agnostic.
3748 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3749 (gdb_virtfunc_restart): Likewise.
3750
b2f9ec70
MC
37512001-02-14 Michael Chastain <chastain@redhat.com>
3752
3753 * gdb.c++/inherit.exp (do_tests): Change runto statements
3754 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3755 statements demangler agnostic.
3756
cf74b8ca
AC
3757Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3758
3759 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3760 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3761 before calling common_routine 15 times'' tests.
3762
99f78f56
MC
37632001-02-11 Michael Chastain <chastain@redhat.com>
3764
3765 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3766 Helps the test script figure out which demangler is in use.
3767 (dm_type_foo_ref): Ditto.
3768 (dm_type_int_star): Ditto.
3769 (dm_type_long_star): Ditto.
3770 (dm_type_unsigned_int): Ditto.
3771 (dm_type_void): Ditto.
3772 (dm_type_void_star): Ditto.
99707966 3773 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3774 Probe the gdb demangler and set variables to accommodate
3775 formatting differences.
3776 (info_func_regexp): New function. Same as info_func, but
3777 matches against a regexp.
3778 (info_func): Match against a literal string.
3779 (print_addr_2): New function. Match against a literal string,
3780 which can be different from the input to gdb.
3781 (print_addr): Simply call print_addr_2 with the same argument twice.
3782 (test_lookup_operator_functions): Use demangler formatting variables.
3783 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3784 the tests in the same order as the C++ class declaration.
3785 (test_paddr_operator_functions): Ditto.
3786 (test_paddr_overloaded_functions): Ditto.
3787 (test_paddr_hairy_functions): Use demangler formatting variables.
3788 Add reference to gdb/19 for related tests.
3789 (do_tests): Call probe_demangler.
3790
1de8f023
KB
37912001-01-30 Kevin Buettner <kevinb@redhat.com>
3792
3793 * gdb.c++/templates.cc (printf): Remove unused function definition.
3794
ca3f91ed
MS
37952001-01-26 Felix Lee <flee@redhat.com>
3796
3797 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3798
37992001-01-25 matthew green <mrg@redhat.com>
3800
3801 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3802 up sid.
3803 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3804
38052001-01-25 matthew green <mrg@redhat.com>
3806
3807 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3808 Deprecate $sid_spawn_id.
3809 (sid_exit): Remove code necessary only for `spawn.'
3810
38112001-01-25 matthew green <mrg@redhat.com>
3812
3813 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3814
fb18ec4a
MC
38152001-01-28 Michael Chastain <chastain@redhat.com>
3816
3817 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3818 to call when tests fail. It takes gdb out of the overloaded
3819 function choice menu back to the main prompt, so that the test
3820 program stays synchronized.
3821 (set_bp_overloaded): New proc to collect all the common
3822 code for setting a breakpoint on an overloaded name. Calls
3823 take_gdb_out_of_choice_menu when needed.
3824 (menu_overload1arg): New variable to collect the repeated
3825 instances of the expected menu for an overloaded name. Change
3826 the regular expression to handle changes in g++ type encoding:
3827 "void" can be either "void" or "", and "unsigned int" can be
3828 either "unsigned int" or "unsigned".
3829 (continue_to_bp_overloaded): Change regular expressions to handle
3830 changes in g++ type encoding.
3831 (no proc): Call take_gdb_out_of_choice_menu when needed.
3832 Remove redundant calls to "info break". Accept either "canceled"
3833 or "cancelled". Change regular expressions in "info break"
3834 calls to handle changes in g++ type encoding. Give all tests
3835 unique strings.
3836
9c646a6e
BE
38372001-01-17 Ben Elliston <bje@redhat.com>
3838
3839 * config/sid.exp: New file.
3840
9549d9c1
AC
3841Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3842
3843 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3844
dc96c6c7 38452000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3846
3847 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3848 Add a RE to accept a non-ascii char if one is ever presented.
3849
b4df4f68
FN
38502000-12-20 Fernando Nasser <fnasser@redhat.com>
3851
297dd0fd 3852 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3853
dc96c6c7 38542000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3855
3856 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3857 in regexp. One '\' does not suffice on Linux.
3858
4a7bddb6
MC
38592000-12-09 Michael Chastain <chastain@redhat.com>
3860
3861 * gdb.base/break.exp (test_clear_command): Use a marker function
3862 rather than 'main' for the test function. Also move this
3863 test to an execution point where the marker function names are
3864 guaranteed to be bound to functions. (Executing tests after a
3865 'finish' from main runs into name conflicts with local names
3866 in __libc_start_main).
3867
dc96c6c7 38682000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3869
3870 * gdb.base/finish.exp: New test for gdb's "finish" command.
3871 * gdb.base/return2.exp: New test for gdb's "return" command.
3872 * gdb.base/return2.c: New source file for above.
3873
dc96c6c7 38742000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3875
3876 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3877 * gdb.base/miscexprs.exp: Ditto.
3878 * gdb.base/pointers.exp: Ditto.
3879 * gdb.c++/derivation.exp: Ditto.
3880 * gdb.c++/local.exp: Ditto.
3881 * gdb.c++/namespace.exp: Ditto.
3882 * gdb.c++/overload.exp: Ditto.
3883 * gdb.c++/ref-types.exp: Ditto.
3884
dc96c6c7 38852000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3886
3887 * gdb.base/constvars.exp: Test result of "up" command.
3888 * gdb.base/miscexprs.exp: Ditto.
3889 * gdb.base/pointers.exp: Ditto.
3890 * gdb.base/scope.exp: Ditto.
3891 * gdb.c++/derivation.exp: Ditto.
3892 * gdb.c++/local.exp: Ditto.
3893 * gdb.c++/namespace.exp: Ditto.
3894 * gdb.c++/overload.exp: Ditto.
3895 * gdb.c++/ref-types.exp: Ditto.
3896
44097287
FN
38972000-11-22 Michael Chastain <chastain@redhat.com>
3898
3899 * mips_pro.exp: Accept either "middle -> top -> main" or
3900 "middle -> main" in the backtrace, because gcc can optimize
3901 tail calls to jumps. Remove setup_xfail for the hppa case.
3902 Add a comment with the original warning messages from PR 3016,
3903 which was filed in 1993, to preserve them for posterity.
3904
9d2e1bab
ND
39052000-11-17 Nick Duffek <nsd@redhat.com>
3906
3907 * lib/gdb.exp (gdb_test): Override timeout with board info.
3908
1aca8eb7
ND
39092000-11-17 Nick Duffek <nsd@redhat.com>
3910
3911 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3912 the second kill and detach messages.
3913
93076499
ND
39142000-11-17 Nick Duffek <nsd@redhat.com>
3915
3916 * configure.in: Add AC_EXEEXT.
3917 * configure: Regenerate.
3918 * Makefile.in (just-check): Export EXEEXT.
3919 * lib/gdb.exp ($EXEEXT): Import from environment.
3920 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3921 expect "maint dump-me" on Cygwin.
3922 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3923 $EXEEXT.
3924
30e87cd3
ND
39252000-11-17 Nick Duffek <nsd@redhat.com>
3926
3927 * gdb.base/break.exp: Test backtrace and finish from called
3928 function on all platforms, not just HP-UX.
3929
dc96c6c7 39302000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3931
3932 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3933 code from gdb_target_monitor, so it can be used independantly
3934 for gdbserver. Also comment out an unnecessary PUTS.
3935
dc96c6c7 39362000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3937
3938 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3939 * gdb.base/corefile.exp: Expect the message "Program is being
3940 debugged already" when we send the "corefile" command, since
3941 the preceeding gdb_load may have connected gdb to a remote target.
3942 * gdb.base/display.exp: Disable hardware watchpoints if new
3943 board info variable "no_hardware_watchpoints" is true.
3944 Replace single-letter commands with more readable ones.
3945 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3946 if new board info variable "no_hardware_watchpoints" is true.
3947 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3948 to see if stdio (printf) testing is possible.
3949 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3950 board info variable "no_hardware_watchpoints" is true. Use new
3951 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3952
39124dea
FN
39532000-11-13 Fernando Nasser <fnasser@redhat.com>
3954
3955 From Orjan Friberg <orjanf@axis.com>:
3956 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3957 in array print pattern match.
3958
a9e2e984
FN
39592000-11-09 Fernando Nasser <fnasser@redhat.com>
3960
3961 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3962 spelling "cancelled" to U.S. spelling "canceled" to match changes
3963 made to gdb.
3964 * gdb.c++/ovldbreak.exp: Ditto.
3965
c7db355b
PS
39662000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3967
3968 * gdb.base/callfuncs.c (main): Moved to end of file, call
3969 t_double_values to initialize the FPU before inferior calls are made.
3970 * gdb.base/callfuncs.exp: Test for register preservation after calling
3971 inferior functions. Add tests for continuining, finishing and
3972 returning from a stop in a call dummy.
3973
dc96c6c7 39742000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3975
3976 * gdb.base/commands.exp: Break up long lines, and re-indent.
3977
dc96c6c7 39782000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3979
3980 * config/gdbserver.exp: Rewritten from the ground up, to make it
3981 compatible with the current dejagnu tree, and to make it work with
3982 the new "gdbserver" in libremote.
3983
dc96c6c7 39842000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3985
3986 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3987 * gdb.base/varargs.exp: Skip entire test if no printf support.
3988 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3989 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3990
dc96c6c7 39912000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3992
3993 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3994 no floating point support.
3995 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3996 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3997 * gdb.base/call-rt-st.exp: Ditto.
3998 * gdb.base/call-strs.exp: Ditto.
3999
bac5fc66
JG
40002000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4001
4002 * gdb.base/sizeof.c: include <stdio.h>.
4003
4004 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4005 'finish', otherwise uncaptured gdb_prompt would potentially
4006 throw remaining test points out of sync.
4007
b22a6027
SB
40082000-07-26 Scott Bambrough <scottb@netwinder.org>
4009
4010 * gdb.base/recurse.exp: Run tests for all targets.
4011 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4012 gnu-oldld case on ARM.
4013 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4014 for ARM targets.
4015
d8231941
AG
4016Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4017
4018 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4019 * gdb.java/configure: Rebuild.
4020
8caabe69
AG
4021Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4022
4023 * gdb.java/jv-exp.exp: New file.
4024
9d273ca3
AG
4025Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4026
4027 * configure: Rebuilt.
4028 * configure.in (configdirs): Add gdb.java.
4029 * gdb.java/jmisc.java: New file.
4030 * gdb.java/jmisc.exp: New file.
4031 * gdb.java/Makefile.in: New file.
4032 * gdb.java/configure: Rebuilt.
4033 * gdb.java/configure.in: New file.
4034 * lib/java.exp: New file.
4035
4f823a66
AC
4036Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4037
4038 * gdb.base/exprs.exp: Test casts to a pointer including over and
4039 underflow.
4040
2391e11d
AC
4041Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4042
4043 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4044 and the compilers sizes.
4045
54602222
ND
40462000-07-09 Nick Duffek <nsd@redhat.com>
4047
4048 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4049 (use_methods): New function.
4050 (main): Call use_methods().
4051 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4052 (do_tests): Call test_method_param_class.
4053
2bec0572
ND
40542000-07-09 Nick Duffek <nsd@redhat.com>
4055
4056 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4057 spelling.
4058 (test_enums): New procedure. Move enum tests from end of script
4059 to here. Set breakpoint on function name instead of line number.
4060 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4061 (enums2): New marker function.
4062 (enums1): New function.
4063 (main): Call enums1(). Move enum tests to enums1().
4064
78492fde
AC
4065Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4066
4067 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4068 compile/link program. Update line numbers.
4069 * gdb.asm/d10v.inc: Define ``startup''.
4070 * gdb.asm/asmsrc1.s: Add definition of _start.
4071
49a2cef8
AC
4072Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4073
4074 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4075
3e6c8688
EZ
40762000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4077
4078 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4079 of 'help maint print' command.
4080
9ff5cbe9
AC
4081Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4082
4083 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4084 they use gdb_expect_list.
4085
17c579bd
AC
4086Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4087
4088 * gdb.base/commands.exp: Use ``set remote
4089 memory-read-packet-size'' instead of ``set endian big'' to test
4090 long commands.
4091
e6d71bf3
DB
40922000-06-03 Daniel Berlin <dan@cgsoftware.com>
4093
4094 * gdb.c++/templates.exp (do_tests): Make all of these work under
4095 g++, and stop skipping them.
4096
4097 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4098 work under g++.
4099
e5f9ba7b
MS
4100 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4101 initialization.
4102
dc96c6c7 41032000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4104
4105 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4106 the regular expression: accept an (almost) arbitrary sequence of
4107 "frames-invalid" and "breakpoints-invalid" messages both before
4108 and after the "starting" message.
4109
dc96c6c7 41102000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4111
4112 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4113
dc96c6c7 41142000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4115
4116 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4117 Relax the regular expression a little, make it pass on Solaris 8.
4118
8216cda9
KB
41192000-05-12 Kevin Buettner <kevinb@redhat.com>
4120
4121 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4122 a call, do not require that gdb stop on the line after the call.
4123 Instead, it is permissible for gdb to stop on the line of the
4124 call itself.
4125
1a570b2f
MS
41262000-05-12 Michael Snyder <msnyder@.cygnus.com>
4127
4128 * gdb.base/break.exp (bp on small function, optimized file):
4129 Add a second pass pattern. The behavior differs here between stabs
4130 and dwarf for one-line functions. Stabs preserves two line symbols
4131 (one before the prologue and one after) with the same line number,
4132 but dwarf regards these as duplicates and discards one of them.
4133 Therefore the address after the prologue (where the breakpoint is)
4134 has no exactly matching line symbol, and GDB reports the breakpoint
4135 as if it were in the middle of a line rather than at the beginning.
4136
dc96c6c7 41372000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4138
4139 * gdb.base/interrupt.exp: Make "pass" message say "send"
4140 rather than "send_gdb" (for consistancy).
4141
7d418785
AC
4142Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4143
4144 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4145 * gdb.c++/templates.cc: Properly check for GCC version number.
4146 * lib/compiler.cc: Likewise
4147
dc96c6c7 41482000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4149
4150 * gdb.base/break.exp: When compiled with -O2 optimization,
4151 gdb may not stop at the first line of main, due to code motion.
4152
dc96c6c7 41532000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4154
4155 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4156 This test depends on parsing the printf output from the target.
4157 Since the sparclet stub doesn't do stdio, this will never work.
4158 * gdb.base/call-rt-st.exp: ditto.
4159 * gdb.base/call-strs: ditto.
4160
dc96c6c7 41612000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4162
4163 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4164
4165 * gdb.base/ending-run.exp: After connecting to a remote target,
4166 but before running, the target will appear to be in a random
4167 location. Specify both a file and a line for breakpoints.
4168 Also, the function that calls main may be called 'init'
4169 rather than 'start'.
4170
a5a51225
EZ
41712000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4172
4173 * gdb.base/help.exp: Update output for add-symbol-file command.
4174
7930cc7c
FN
41752000-04-10 Fernando Nasser <fnasser@cygnus.com>
4176
4177 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4178 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4179
23e37ab1
C
41802000-04-07 J.T. Conklin <jtc@redback.com>
4181
e93c542c
C
4182 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4183
23e37ab1
C
4184 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4185
591b8fa3
PDM
4186Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4187
4188 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4189 values that can be represented exactly.
4190 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4191 above change, and to not check against the directory part of the source
4192 file name.
4193 (step into print_long_arg_list): Likewise.
4194 (print print_small_structs from print_long_arg_list): Likewise.
4195 (print print_long_arg_list): Likewise.
4196
7a495180
EZ
41972000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4198
30b53638 4199 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4200
beb998c6
AC
4201Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4202
4203 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4204
1c689132
DB
42052000-03-25 Daniel Berlin <dan@cgsoftware.com>
4206
4207 * gdb.base/commands.exp (deprecated_command_test): Add test for
4208 deprecate with no arguments.
4209
c1790a9d
JL
42102000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4211
4212 * gdb.base/break.exp: Add new test for setting breakpoints on
4213 optimized code so we can test breakpoints work even when function
4214 prologues may be optimized away
4215
003ba290
FN
42162000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4217
4218 From David Whedon <dwhedon@gordian.com>
4219 * gdb.base/commands.exp : Added command deprecator tests.
4220
6837a0a2
DB
42212000-03-22 Daniel Berlin <dan@cgsoftware.com>
4222
4223 * gdb.base/help.exp: Added test for new apropos command.
4224
b9593231
KB
42252000-03-21 Kevin Buettner <kevinb@redhat.com>
4226
4227 * gdb.base/pointers.c (usevar): New function.
4228 (main): Make sure that global variables v_int_pointer2, rptr,
4229 and y are all referenced someplace in the program by calling
4230 usevar() on them. [Some linkers delete symbols which are
4231 never referenced. The space remains, but there's no way to
4232 get a (symbolic) handle on the variable from the debugger.]
4233
751a959b
EZ
42342000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4235
4236 * gdb.base/printcmds.c: Add typedeffed arrays.
4237
4238 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4239 procedure to test arrays that are typedef'd.
4240
73a93a32
JI
42412000-03-13 James Ingham <jingham@leda.cygnus.com>
4242
4243 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4244 the library directories.
73a93a32 4245
fb40c209
AC
4246Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4247
4248 * configure.in (configdirs): Add sub directory gdb.mi.
4249 * configure: Re-generate.
4250
4251 * gdb.mi: New directory.
beb998c6 4252
ee4dd2c9
AC
42532000-02-25 Scott Bambrough <scottb@netwinder.org>
4254
4255 * gdb.base/long_long.exp: Correct test suite failure when printing
4256 a long long value as a double on ARM platforms.
4257
70f0cc22
JB
42582000-02-16 Jim Blandy <jimb@redhat.com>
4259
4260 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4261 default source file is set properly before running this test.
4262
853819b8
EZ
42632000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4264
4265 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4266 gdbtk/library directory, not in gdbtcl2.
4267
dfcd3bfb
JM
42682000-02-04 Jim Blandy <jimb@redhat.com>
4269
4270 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4271 backslash from regexp pattern.
4272
4273 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4274 procedure. Use it to run all the "continue to bp overloaded"
4275 tests. Note that this changes the names of the tests slightly.
4276 If the breakpoint hit message includes a hex PC value, because
4277 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4278 from the real source code, still consider that a pass.
4279
4280 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4281 XFAIL here if the breakpoint message contains a hex address. Note
4282 similar change on 1999-11-02.
4283
4284 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4285
4286 * gdb.base/ptype.exp: Establish a default source file before
4287 calling get_debug_format.
4288
42892000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4290
4291 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4292
8b93c638
JM
42932000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4294
4295 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4296 of successive stepi commands -- while in the prologue we should see
4297 the function entry bracket.
4298
42992000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4300
4301 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4302 reach __change_mode() when stepping through the end of main().
4303
c5394b80
JM
43042000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4305
4306 * gdb.base/default.exp: Fix expected pattern.
4307 * gdb.base/help.exp: Same.
4308
0d06e24b
JM
43092000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4310
4311 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4312 Don't use xfail's because that affects only the following test.
beb998c6 4313
0d06e24b
JM
4314 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4315 solaris or linux.
4316
4317 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4318
dc96c6c7 43192000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4320
beb998c6 4321 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4322 "A syntax error" rather than "A parse error". Accept both.
4323
43242000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4325
4326 * gdb.base/default.exp: Remove OS dependent string from "target
4327 remote" test.
4328 * gdb.base/help.exp: Same for "help target remote" test.
4329
c3f6f71d
JM
43302000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4331
4332 From Jim Kingdon <kingdon@redhat.com>:
4333
4334 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4335 prompt (cleanup rather than necessity, but still might keep output
4336 from spilling to next test).
4337
43382000-01-02 Fred Fish <fnf@cygnus.com>
4339
4340 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4341 AIX, which defines them in <sys/types.h>.
4342
ed9a39eb 43431999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4344
ed9a39eb
JM
4345 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4346 float" test.
4347
43481999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4349
ed9a39eb 4350 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4351
4352 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4353 outermost frame disallowed".
4354
43551999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4356
4357 * gdb.base/setvar.exp: New tests for setting the value of a struct
4358 with a constant list.
4359
43601999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4361
4362 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4363 require the user to type a cast before setting the value of a struct.
4364
de57eccd
JM
43651999-12-06 Jim Blandy <jimb@cygnus.com>
4366
4367 * gdb.base/default.exp: Expect the new 'info float' command on
4368 all i386 platforms.
4369
4370 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4371 LinuxThreads libraries that don't support debugging.
4372
c2d11a7d
JM
4373Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4374
4375 * gdb.base/remote.c: Fill the buffer with truely random data.
4376 Change the buffer type to ``unsigned char'' to simplify size
4377 arithmetic.
4378
4379 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4380 stub only handles 400-1 byte packets. Verify that the download
4381 worked.
4382
43831999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4384
4385 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4386 tests, using UNRESOLVED for the untested cases. Also, does not wait
4387 for a timeout if the prompt was received before a recognizable pattern.
4388
43891999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4390
4391 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4392
43931999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4394
4395 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4396 watchpoints.
4397
43981999-11-24 Jason Merrill <jason@casey.cygnus.com>
4399
4400 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4401
4402 * gdb.c++/local.exp: Be more flexible in recognizing local class
4403 name mangling. Don't allow horribly truncated method names.
4404 * gdb.c++/derivation.exp: Expect protected inheritance.
4405 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4406 * gdb.c++/virtfunc.exp: Likewise.
4407 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4408 when printing a nested enum.
4409
44101999-11-22 Jim Blandy <jimb@cygnus.com>
4411
4412 * gdb.base/step-test.exp: Properly await GDB's response to setting
4413 a breakpoint on the call to large_struct_by_value.
4414
4415 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4416 just because we have debug info for the `start' function.
4417
44181999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4419
4420 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4421 "Unknown signal" messages, which indicate (on LinuxThreads) that
4422 GDB doesn't know how to debug threads on this system. This is
4423 better than hanging while philosopher 0 dumps chatter into gdb.log.
4424
44251999-11-18 Tom Tromey <tromey@cygnus.com>
4426
4427 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4428
44291999-11-18 Fred Fish <fnf@cygnus.com>
4430
4431 * gdb.base/coremaker2.c: Add sample program for generating
4432 cores that is more self contained than coremaker.c. Eventually
4433 I'll add more code to this and tie it into the testsuite.
4434
4ce44c66
JM
44351999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4436
4437 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4438
44391999-11-10 Jimmy Guo <guo@cup.hp.com>
4440
4441 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4442 from $srcdir/lib/.
4443 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4444 and gdb.c++/.
4445
4446 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4447
beb998c6 4448 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4449 'continue with watch' test point.
4450
44511999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4452
4453 Merged from p2linux-990323-branch:
beb998c6 4454
4ce44c66
JM
4455 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4456
11cf8741
JM
4457Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4458
4459 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4460 {limit,fixed}''. Test ``set download-write-size''.
4461
4462Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4463
4464 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4465 gdb_expect_list.
4466
4467Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4468
4469 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4470
44711999-11-03 Mark Salter <msalter@cygnus.com>
4472
4473 * gdb.base/break.exp: Fix "stub continue" pattern.
4474
44751999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4476
4477 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4478
44791999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4480
4481 * gdb.base/display.exp ("finish"): Add timeout clause.
4482
4483 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4484 plain prompt clause, so this doesn't have to time out in order to
4485 fail.
4486
4487 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4488 breakpoint hit messages include an address.
4489
4490 * gdb.base/display.exp: Don't forget to escape parens in regular
4491 expressions. Unix regexp notatation sucks.
4492
44931999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4494
4495 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4496 order for 'signalled' message.
4497
5c44784c
JM
44981999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4499
4500 From Jimmy Guo <guo@cup.hp.com>:
4501 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4502 * gdb.base/annota1.c: Add code for tests to work with.
4503
45041999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4505
4506 * gdb.base/remote.exp: New test for remote downloading settings.
4507 * gdb.base/remote.c: New file with large .data.
4508
917317f4
JM
45091999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4510
4511 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4512 for LinuxThreads support, merged from the Code Fusion branch.
4513
4514Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4515
4516 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4517 containing exp_continue into a while within an expect. Don't
4518 attempt a start more than three times. Check return value from
4519 gdb_load.
beb998c6 4520
2df3850c
JM
4521Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4522
4523 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4524 a pass case.
4525
2acceee2
JM
45261999-10-01 Kevin Buettner <kevinb@cygnus.com>
4527
4528 * gdb.base/break.c (main): Added a statement that we can step
4529 off of.
4530 * gdb.base/break.exp: Added tests for setting a breakpoint
4531 at an offset and stepping onto a breakpoint.
4532
45331999-10-01 Fred Fish <fnf@cygnus.com>
4534
beb998c6 4535 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4536 gdb output.
4537
c2c6d25f
JM
45381999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4539
4540 * gdb.base/break.exp: Code locations are in hex, don't forget!
4541 (For HP-UX.)
4542
45431999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4544
4545 * condbreak.exp: Use break.c as test program.
4546 * condbreak.c: Remove, redundant with break.c.
4547
45481999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4549
4550 * config/monitor.exp (gdb_target_monitor): Disable X- and
4551 Z-packets if the target needs it.
4552
45531999-09-13 James Ingham <jingham@leda.cygnus.com>
4554
4555 * gdb.c++/overload.exp: Added tests for listing overloaded
4556 functions with function pointers in the arg, explicitly calling
4557 out the version you want.
4558
cff3e48b
JM
45591999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4560
4561 * long_long.exp: Add variations of test cases that work for
4562 targets with 16-bit ints and 32-bit doubles.
4563
d4f3574e
SS
45641999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4565
4566 * break.c (main): Compare a possibly-uninitialized argc with an
4567 unlikely value that fits in 16 bits.
4568
45691999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4570
4571 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4572 0xfeeb, don't want negative numbers if ints are 16 bits.
4573
4574 * lib/gdb.exp (skip_cplus_tests): New proc.
4575 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4576 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4577 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4578 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4579 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4580 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4581 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4582 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4583
4584 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4585
4586Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4587
4588 * gdb.base/corefile.exp (up): Allow a parameter to appear
4589 in the frame that we're going up to.
4590
4591 From Jim Blandy <jimb@cygnus.com>:
4592
4593 * gdb.base/default.exp (info float): Expect some output now.
4594
4595 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4596 returning floating-point values to fail on the x86.
4597 * gdb.base/callfwmall.exp (do_function_calls): Same.
4598
4599 * gdb.base/list.exp (test_listsize): Correct expectations for
4600 listing line 1 with listsize 2. Also, listing a single line
4601 works now, as does listing three lines. [Kevin's note: There
4602 were a number of other cases fixed too where the expectations
4603 differed...]
4604
46051999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4606
4607 * gdb.base/selftest.exp: Add case for when version prints as
4608 constant string instead of char pointer.
4609
104c1213
JM
46101999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4611
4612 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4613 stepping out of main.
4614
4615 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4616 G++ used.
4617
4618 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4619 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4620
4621 * gdb.c++/ovldbreak.exp: Update match string in test that
4622 includes a warning of multiple breakpoints.
4623
46241999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4625
4626 * gdb.base/display.exp: Improve precision of step-after-finish
4627 added yesterday.
4628
4629 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4630 test.
4631
4632 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4633 configs when using G++, not just hppa*.
4634
46351999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4636
4637 * gdb.base/async.c: New file.
4638 * gdb.base/async.exp: New file.
4639
4640Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4641
4642 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4643 PA64.
4644
53a5351d
JM
4645Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4646
104c1213
JM
4647 * gdb.base/display.exp: "finish" can leave us mid-line on many
4648 targets, deal with it. Add a small constant to main, instead of
4649 1000 since main+1000 may not be a valid address in the target.
4650
53a5351d
JM
4651 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4652 on hpux11.
4653
4654 * gdb.base/attach.exp: Handle another hpux11 error message variant
4655 when attaching to a process that does not exist.
4656
46571999-08-19 J.T. Conklin <jtc@redback.com>
4658
4659 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4660 characters in 'continue to 1241' test.
4661
46621999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4663
4664 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4665 stop in print_long_arg_list, define and use a whitespace
4666 variable in print_small_structs test, add an XFAIL for Solaris.
4667 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4668 interested enough to fix.
4669
7be570e7
JM
46701999-08-13 Keith Seitz <keiths@cygnus.com>
4671
4672 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4673 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4674 proc knows about targets other than the natives.
4675 (test_assign): Use "gdb_run_cmd" to "run" the target.
4676 Check that we've actually hit the breakpoint at main.
4677 When we attempt to assign a value to a local variable, check
4678 that the variable is in the current scope, i.e., don't use
4679 a test with an empty result.
4680
4681Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4682
4683 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4684 command.
4685
46861999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4687
4688 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4689 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4690 gdb.compat, gdb.threads-hp.
4691 gdb.hp/configure, gdb.hp/configure.in: New files.
4692 gdb.hp/Makefile.in: Recurse into new subdirs.
4693 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4694 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4695 in object files.
4696 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4697
96baa820
JM
46981999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4699
4700 * gdb.base/display.exp: Help expect by putting a newline in the
4701 funky printf, remove a bogus p/a test.
4702
47031999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4704
4705 * gdb.base/display.exp: Make sure that when we say 'run', we are
4706 connected to the target. This is necessary when running not
4707 natively.
4708
47091999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4710
4711 * gdb.base/step-test.exp: Removed some extraneous messages.
4712
4713 * gdb.base/long_long.exp: Don't run memory examination tests
4714 on little-endian targets (they will need a different set of
4715 results to match).
4716
47171999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4718
4719 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4720 until somebody decides to fix GDB.
4721
4722 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4723 constant as "ULL".
4724 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4725 matches for a couple x/2 commands.
4726
a0b3c4fd
JM
47271999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4728
4729 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4730 by merging in ref-types2 tests.
4731 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4732
4733 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4734 * gdb.c++/Makefile.in: Add standard actions.
4735 (EXECUTABLES): Rename from PROGS, update list.
4736 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4737 from gdb.hp.
4738 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4739 foo and bar locals.
4740 * gdb.c++/anon-union.exp: Fix tests to match.
4741 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4742 expect matches to handle output variations.
4743 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4744 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4745 output, add HP alternatives for new and delete prints.
4746 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4747 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4748 * gdb.c++/demangle.exp: Use $style when reporting failure.
4749 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4750 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4751 match alternatives.
4752 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4753 compilers.
4754 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4755 * gdb.c++/method.exp: Add match alternatives.
4756 * gdb.c++/misc.cc: Add bool types.
4757 * gdb.c++/misc.exp: Add tests for bool types.
4758 * gdb.c++/overload.exp: Add xfails.
4759 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4760 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4761 add some more template parameter tests (only for HP currently).
4762 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4763 * gdb.c++/virtfunc.cc: Add return type and value for main.
4764 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4765 match alternatives.
beb998c6 4766
a0b3c4fd
JM
47671999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4768
4769 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4770
47711999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4772
4773 * gdb.base/signals.exp: Don't expect getting a backtrace from
4774 within a signal handler to fail on Linux.
4775
47761999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4777
4778 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4779 * lib/gdb.exp: Remove some gratuitious semicolons.
4780 (delete_breakpoints): Increase timeout.
4781 (gdb_expect): Add -notransfer option.
4782 (gdb_test): Use -notransfer option.
4783 (get_compiler_info): Add f77 case.
4784 (get_compiler): New proc, split out from gdb_preprocess, add f77
4785 case.
4786 (gdb_preprocess): Call get_compiler.
4787
4788 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4789 * gdb.base/attach.exp, gdb.base/display.exp,
4790 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4791 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4792 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4793 third arg to gdb_test.
4794 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4795 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4796 HP-UX xfails, add others.
4797 * gdb.base/completion.exp: Reflect name change of self-test.
4798 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4799 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4800 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4801 HP failure number.
4802 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4803 useless HP-UX 10.30 references.
4804 * gdb.base/maint.exp: Loosen matches.
4805 * gdb.base/pointers.c (main): Declare more_code.
4806 * gdb.base/pointers.exp: Match on output of a `next'.
4807 * gdb.base/structs.c: Add prototypes.
4808 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4809 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4810
48111999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4812
4813 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4814 command.
4815
48161999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4817
4818 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4819 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4820
4821 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4822 debug info. Deal with lack of signal hanlder info in stack.
4823
4824 From Jim Kingdon <kingdon@redhat.com>:
4825 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4826
5a2468f5
JM
48271999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4828
4829 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4830 gdb.base/foll-vfork.exp: Don't run for crosses.
4831
adf40b2e
JM
4832Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4833
4834 * gdb.base/configure.in: Check for gdbvars.exp instead of
4835 a1-selftest.exp.
4836 * gdb.base/configure: Re-generate.
4837
48381999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4839
4840 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4841 in trying to run first and name is too long.
4842
4843 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4844 pointers2.c and pointers2.exp, respectively.
4845 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4846 doschk happier.
4847
43e526b9
JM
48481999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4849
4850 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4851 callfuncs2.c and callfuncs2.exp.
4852
4853 * gdb.base/list.exp: Remove mistaken xfails.
4854 * gdb.base/list0.h: Add optional prototypes.
4855
9846de1b
JM
4856Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4857
4858 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4859 calling malloc.
4860 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4861 * ptype.exp: Move test for get_debug_format to before its first
4862 use.
4863
48641999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4865
4866 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4867 * gdb.base/annota2.cc, annota2.exp: Move from here.
4868 * gdb.c++/annota2.cc, annota2.exp: To here.
4869 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4870
43ff13b4
JM
4871Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4872
4873 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4874 a consistent format.
4875
085dd6e6
JM
48761999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4877
4878 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4879 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4880 HP compilers, also set the globals $true and $false.
4881
4882 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4883 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4884 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4885 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4886 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4887 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4888 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4889 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4890 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4891 whatis.c} Add C++ compatible function definitions and return
4892 types, add includes for library functions.
4893 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4894 * gdb.base/step-test.c (myglob): Rename from glob.
4895 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4896 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4897 files, move here from gdb.hp.
4898 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4899 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4900 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4901 Adjust line numbers in regexps.
4902
4903 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4904 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4905 instead of 0/1.
4906
4907 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4908 foll-vfork.exp: New files, move here from gdb.hp.
4909 * gdb.base/page.exp: New file, test of pagination command.
4910
4911 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4912 recursion test.
4913 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4914
4915 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4916 gdb.base/solib.exp: Fix compiler invocation process.
4917
4918 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4919 HP-UX 11, turn off overload resolution explicitly.
4920 * gdb.base/commands.exp: Set argument list explicitly, add
4921 watchpoint test.
4922 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4923 them work.
4924 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4925 expressions properly.
4926 * gdb.base/corefile.exp: Loosen the match slightly.
4927 * gdb.base/default.exp: Allow "Error accessing memory" message
4928 also.
4929 * gdb.base/display.exp: Skip over x/0 j if PA64.
4930 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4931 * gdb.base/interrupt.exp: Ditto.
4932 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4933 in use.
4934 * gdb.base/list.exp: Add xfails for HP-UX.
4935 * gdb.base/long_long.exp: Refine some of the numeric matches.
4936 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4937 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4938 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4939 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4940 * gdb.base/ptype.exp: Succeed on more varieties of output.
4941 * gdb.base/scope.exp: Add xfails for HP-UX.
4942 * gdb.base/sect-cmd.exp: Add more cases.
4943 * gdb.base/setvar.exp: Add xfails for HP-UX.
4944 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4945 * gdb.base/signals.exp: Match on void symbolically.
4946 * gdb.base/step-test.exp: Add case for PA64.
4947 * gdb.base/term.exp: Add exit and restart.
4948 * gdb.base/twice.exp: Clean up after self.
4949 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4950 * gdb.base/whatis.exp: Allow more ways to pass tests.
4951
4952 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4953 no longer useful.
4954
4955Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4956
4957 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4958 list of patterns.
4959 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4960 print_double_array(double_array)", "continuing to breakpoint
4961 1018", "print print_double_array(array_d)" and "continuing to
4962 1034" tests.
beb998c6 4963
085dd6e6
JM
49641999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4965
4966 * Makefile.in: Add empty html and install-html targets.
4967
49681999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4969
4970 * config/mt-*: Remove, these haven't been used since 1996.
4971
49721999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4973
4974 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4975 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4976 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4977
9e0b60a8
JM
49781999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4979
4980 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4981 simpler match case for the ptype of the big class.
4982
49831999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4984
4985 * gdb.exp: Fix test for gdb_prompt existence.
4986
49871999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4988
4989 * gdb.exp (gdb_test): Add fail after calls to perror.
4990
49911999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4992
4993 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4994
49951999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4996
4997 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4998
0f71a2f6
JM
4999Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5000
5001 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5002 malloc() is linked in.
5003
50041999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5005
5006 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5007 step at end.
5008
5009 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5010
50111999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5012
5013 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5014
cce74817
JM
5015Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5016
5017 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5018 * gdb.base/mips_pro.exp: Likewise.
5019
50201999-06-02 Keith Seitz <keiths@cygnus.com>
5021
5022 * gdb.c++/templates.cc: Change all "new" operators to throw
5023 an exception.
5024 * gdb.c++/cplusfuncs.cc: Likewise.
5025
5026 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5027
5028Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5029
5030 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5031 * gdb.base/ending-run.exp: When stepping out of main, accept a
5032 step into an arbitrary assembler file.
5033
392a587b
JM
50341999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5035
beb998c6 5036 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5037 "breakpoint-invalid" to be printed.
beb998c6 5038 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5039 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5040 * gdb.base/annota2.cc: Initialize a.x to 0.
5041
9e086581
JM
50421999-05-17 Keith Seitz <keiths@cygnus.com>
5043
5044 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5045 when "skip_float_tests" set.
5046 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5047 "print print_ten_doubles", and "step into print_long_arg_list".
5048 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5049 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5050 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5051 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5052 "skip_float_tests" is set.
5053 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5054 when "skip_float_tests" set.
beb998c6 5055
cd0fc7c3
SS
50561999-05-06 Keith Seitz <keiths@cygnus.com>
5057
5058 * gdb.base/annota2.cc: Include stdio.h.
5059
5060Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5061
5062 * gdb.base/crossload.exp: Remove, this has been disabled ever
5063 since BFD stopped including all targets, and cross-GDB gets
5064 plenty of testing anyway.
5065 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5066 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5067 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5068 * gdb.base/README: Remove, was doc for this.
5069 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5070 needed.
5071
b83266a0
SS
50721999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5073
5074 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5075 output.
5076
5077 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5078 * gdb.base/annota2.exp: New file. More annotation tests.
5079 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5080 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5081
50821999-04-23 Angela Marie Thomas <angela@cygnus.com>
5083
5084 * config/cfdbug.exp: New file.
5085
7a292a7a
SS
50861999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5087
5088 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5089 Marcus Daniel's and Dale Hawkins's demangler crashes.
5090
5091 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5092 test_lucid_style_demangling, test_arm_style_demangling,
5093 test_hp_style_demangling): Try Tom Tromey's core-dumping
5094 identifier under each demangling style.
5095
50961999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5097
5098 * gdb.c++/demangle.exp: Include the current demangling style
5099 in all test names.
5100 (current_demangling_style): New global variable.
5101 (set_demangling_style, test_demangling_core, test_demangling,
5102 test_demangling_exact): New functions.
5103 (test_gnu_style_demangling, test_lucid_style_demangling,
5104 test_arm_style_demangling, test_hp_style_demangling): Use those,
5105 instead of calling gdb_test and gdb_test_exact directly.
5106 (catch_demangling_errors): New function, which reports errors
5107 signalled by the demangling test functions in an orderly way.
5108 (do_tests): Use catch_demangling_errors.
5109
51101999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5111
5112 * gdb.base/signals.exp (test_handle_all_print): Use () for
5113 grouping in expressions, not {}.
5114
5115 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5116 initialized yet.
5117
51181999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5119
5120 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5121 are listed.
5122
51231999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5124
5125 * gdb.stabs/weird.exp: Test for CC being defined before
5126 looking at its value.
5127
51281999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5129
5130 * gdb.base/call-ar-st.exp: Remove stray '#'.
5131 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5132 "short int" and "long int".
5133 * gdb.c++/overload.cc: Cast the string added in the previous
5134 change, to mollify finicky HP compiler.
5135 * gdb.hp/reg-test.exp (testfile): Fix file name.
5136 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5137
7a292a7a
SS
5138 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5139 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5140 alternate form of enum ptype.
5141
c906108c
SS
51421999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5143
7a292a7a
SS
5144 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5145 * gdb.hp/*.exp: Change all to run compiler probe only after
5146 passing skip_hp_tests, so as not to waste time on guaranteed
5147 failure.
5148
c906108c
SS
5149 * gdb.c++/overload.cc: Pass string instead of char addr, always
5150 init ccpfoo.
5151 * gdb.c++/templates.cc: Fix syntax error.
5152
7a292a7a
SS
5153Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5154
5155 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5156 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5157 command.
5158
51591999-03-18 James Ingham <jingham@cygnus.com>
5160
5161 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5162
5163 * gdb.c++/method.exp: It was testing an uninitialized int on the
5164 stack and assuming it was positive.
5165
5166 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5167
5168 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5169 keep it from killing the rest of the tests.
7a292a7a
SS
5170 Use gdb_continue_to_end.
5171
5172 * gdb.base/sigall.exp: use gdb_continue_to_end.
5173
5174 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5175
5176 * gdb.base/display.exp: use runto_main, not run.
5177
beb998c6
AC
5178 * gdb.base/default.exp: Check for the current error message in the
5179 r abbreviation test.
7a292a7a
SS
5180 Add strongarm to the targets that know info float.
5181
beb998c6 5182 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5183 run which doesn't work with monitors.
5184
5185 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5186
5187 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5188
5189 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5190 program. Traps the case (in Cygmon) when the program never really
5191 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5192 more places, so I used my name. Sorry Mark...
5193
5194 * config/monitor.exp (gdb_target_monitor): added another
5195 target_info parameter: remotebinarydownload. This will set the
5196 remotebinarydownload flag if this is causing some boards trouble.
5197
51981999-03-18 Mark Salter <msalter@cygnus.com>
5199
5200 * lib/gdb.exp (continue_to_exit): New function.
5201
5202 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5203 * gdb.base/ending-run.exp: Ditto.
5204 * gdb.base/step-test.exp: Ditto.
5205
52061999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5207
5208 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5209 (suggested by Art Haas <ahaas@neosoft.com>).
5210
52111999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5212
5213 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5214
5215Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5216
5217 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5218 descriptions of types (short unsigned int vs unsigned short, etc).
5219
52201999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5221
5222 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5223 a call to strlen; sometimes we do have sources.
5224
52251999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5226
5227 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5228 character, so GDB won't print garbage after its end.
beb998c6 5229
c906108c
SS
5230 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5231 breakpoint there instead. Sometimes GCC emits memcpy to handle
5232 the large structures being passed by value, so we step into that
5233 instead of sum_array_print, which obscures what we're really testing.
5234 * gdb.base/step-test.exp: However, we do want a test that notices
5235 the bizarre steps into memcpy, so do that here. Add check for
5236 stepping into function calls that pass large structures by value.
5237 ("Is that a noun clause, or are you just happy to see me?")
5238 Remove all references to specific line numbers.
5239 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5240 New type and function.
5241 (main): Call large_struct_by_value, passing it a large struct by value.
5242 * lib/gdb.exp (gdb_get_line_number): New function.
5243
5244 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5245 more portable.
5246
7a292a7a
SS
52471999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5248
c906108c
SS
5249 * lib/gdb.exp: Doc fixes.
5250
7a292a7a
SS
52511999-03-05 Nick Clifton <nickc@cygnus.com>
5252
beb998c6 5253 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5254
52551999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5256
c906108c
SS
5257 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5258 commands. They're not germane to this test, and they don't work
5259 that way on remote targets.
5260
3fc11d3e
JM
52611999-03-01 James Ingham <jingham@cygnus.com>
5262
5263 * Changelog entries merged over from gdb development branch.
5264
3fc11d3e
JM
5265 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5266
5267 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5268 for outputting results of test run.
5269
2d4a1622 5270 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5271
5272 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5273
7a292a7a
SS
52741999-02-25 Felix Lee <flee@cygnus.com>
5275
5276 * lib/gdb.exp (debug_format): initialize
5277
c906108c
SS
52781999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5279
5280 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5281 * gdb.base/call-rt-st.c: Ditto.
5282
c906108c
SS
52831999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5284
5285 * gdb.threads/pthreads.exp (horiz): New variable.
5286 (test_startup): Fix regexps that capture thread numbers.
5287
52881999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5289
5290 * gdb.base/smoke.exp: Disambiguate two test case names (both
5291 called ``print'').
5292
5293Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5294
5295 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5296 compilation.
5297
52981999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5299
5300 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5301 actual output formatting.
5302 * gdb.base/smoke.exp: GDB removes leading 0's.
5303 * gdb.base/volatile.exp: Don't check type of remuneration;
5304 that variable is no longer defined in constvars.c.
5305 * gdb.base/step-test.c (main): Exit with explicit exit code.
5306 * gdb.base/step-test.exp: Remove two nexti checks--they are
5307 not portable.
5308
53091999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5310
5311 * gdb.base/help.exp ("help delete display"): Fix test to match
5312 gdb's output.
5313
5314 * gdb.base/long_long.c (known_types): Initialize values to zero.
5315 * gdb.base/long_long.exp: Step one more line
5316 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5317 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5318 unique test case names.
5319
5320Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5321
beb998c6 5322 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5323
5324 * gdb.c++/method.exp: Add missing close brace.
5325
53261999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5327
5328 * gdb.base/maint.exp: Use 'set height 0' to disable page
5329 prompting, not 'set height 400'.
5330
5331 Fix a bunch of timeouts.
5332 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5333 four separate tests, so expect doesn't take forever to match a ton
5334 of text against a regexp with lots of .* forms.
5335 ("maint print psymbols", "maint print symbols"): Make some of
5336 these greps more selective, so that expect doesn't try to wade
5337 through huge piles of output and time out.
5338
5339 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5340
5341 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5342 tests: one which doesn't expect shlib events to be reported, and
5343 another which does, but is XFAIL for all platforms other than
5344 HP/UX.
5345
5346 * gdb.base/break.exp: Teach the test suite that the `catch
5347 fork', `catch vfork', and `catch exec' commands produce error
5348 messages on platforms that don't provide these features.
5349
5350Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5351
5352 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5353 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5354 (shortening names from solib_threshold.exp etc), won't run on
5355 anything but HP-UX for the foreseeable future.
5356 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5357 reflect move.
5358
5359Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5360
5361 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5362 gdb.trace/Makefile.in (clean): Remove all test executables.
5363
5364Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5365
5366 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5367 successfully re-sets breakpoints in shared libraries.
5368 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5369
5370Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5371
beb998c6
AC
5372 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5373 and compiled w/o GCC.
c906108c
SS
5374
5375 * gdb.hp/watch-cmd.exp: ditto.
5376
5377 * gdb.hp/watch-hp.exp: ditto.
5378
5379 * gdb.hp/xdb1.exp: ditto.
5380
5381 * gdb.hp/xdb2.exp: ditto.
5382
5383 * gdb.hp/dbx.exp: ditto.
5384
5385Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5386
5387 * constvars.c: Remove C++-isms.
5388 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5389 with GCC.
5390
5391Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5392
5393 The following changes are part of the HP merge.
5394
5395 * gdb.base/break.exp: new tests to verify that catchpoints for
5396 fork, vfork, and exec don't trigger inappropriately.
5397
5398 * gdb.base/opaque.exp: compile one file at a time, then link.
5399
5400 * gdb.base/signals.exp: be more restrictive about which hppa
5401 systems receive a setup_xfail. new tests.
5402
5403 * gdb.base/solib_threshold.build: new file.
5404 * gdb.base/solib_threshold.exp: new file.
5405 * gdb.base/solib_threshold.link_opts: new file.
5406 * gdb.base/solib_threshold.mk: new file.
5407 * gdb.base/gen_solib_threshold.c: new file.
5408
5409 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5410 tests. New tests for enums inside classes.
5411
5412 * gdb.c++/compiler.cc: indicate support of template debugging.
5413
5414 * gdb.c++/demangle.exp: run hp style demangling tests.
5415
5416 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5417 tests.
5418
5419 * gdb.c++/misc.cc: changes to support new tests.
5420
5421 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5422 to support new tests.
5423
5424 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5425 gcc, then skip these tests.
5426
5427Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5428
5429 The following files are part of the HP merge; some had longer
5430 names at HP, but have been renamed to be no more than 14
5431 characters in length.
5432
5433 * gdb.hp/ambiguous.cc: new file.
5434 * gdb.hp/ambiguous.exp: new file.
5435 * gdb.hp/attach.exp: new file.
5436 * gdb.hp/attach2.exp: new file.
5437 * gdb.hp/classes-hp.exp: new file.
5438 * gdb.hp/ctti.exp: new file.
5439 * gdb.hp/ctti-add.cc: new file.
5440 * gdb.hp/ctti-add1.cc: new file.
5441 * gdb.hp/ctti-add2.cc: new file.
5442 * gdb.hp/ctti-add3.cc: new file.
5443 * gdb.hp/dbx.exp: new file.
5444 * gdb.hp/exception.cc: new file.
5445 * gdb.hp/exception.exp: new file.
5446 * gdb.hp/foll-exec.c: new file.
5447 * gdb.hp/foll-exec.exp: new file.
5448 * gdb.hp/foll-fork.c: new file.
5449 * gdb.hp/foll-fork.exp: new file.
5450 * gdb.hp/foll-vfork.c: new file.
5451 * gdb.hp/foll-vfork.exp: new file.
5452 * gdb.hp/inherit-hp.exp: new file.
5453 * gdb.hp/more-steps.exp: new file.
5454 * gdb.hp/namespace.cc: new file.
5455 * gdb.hp/namespace.exp: new file.
5456 * gdb.hp/optimize.exp: new file.
5457 * gdb.hp/pxdb.c: new file.
5458 * gdb.hp/pxdb.exp: new file.
5459 * gdb.hp/quicksort.exp: new file.
5460 * gdb.hp/reg-test.exp: new file.
5461 * gdb.hp/reg-test.s: new file.
5462 * gdb.hp/sized-enum.c: new file.
5463 * gdb.hp/sized-enum.exp: new file.
5464 * gdb.hp/start-stop.exp: new file.
5465 * gdb.hp/templ-hp.cc: new file.
5466 * gdb.hp/templ-hp.exp: new file.
5467 * gdb.hp/thr-lib.c: new file.
5468 * gdb.hp/thr-lib.exp: new file.
5469 * gdb.hp/thr-lib.h: new file.
5470 * gdb.hp/thr-liblib.c: new file.
5471 * gdb.hp/virtfun-hp.c: new file.
5472 * gdb.hp/virtfun-hp.exp: new file.
5473 * gdb.hp/watch-cmd.exp: new file.
5474 * gdb.hp/watch-hp.exp: new file.
5475 * gdb.hp/xdb1.exp: new file.
5476 * gdb.hp/xdb2.exp: new file.
5477 * gdb.hp/xdb3.exp: new file.
5478
5479Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5480
5481 The following files are part of the HP merge; some had longer
5482 names at HP, but have been renamed to be no more than 14
5483 characters in length.
5484
5485 * gdb.base/ss.h: new file.
5486 * gdb.base/call-ar-st.c: new file.
5487 * gdb.base/call-ar-st.exp: new file.
5488 * gdb.base/call-rt-st.c: new file.
5489 * gdb.base/call-rt-st-exp: new file.
5490 * gdb.base/call-strs.exp: new file.
5491 * gdb.base/ena-dis-br.exp: new file.
5492 * gdb.base/environ.exp: new file.
5493 * gdb.base/long_long.exp: new file.
5494 * gdb.base/sect-cmd.exp: new file.
5495 * gdb.base/shlib-cl2.exp: new file.
5496 * gdb.base/smoke.exp: new file.
5497 * gdb.base/so-impl-ld.c: new file.
5498 * gdb.base/so-impl-ld.exp: new file.
5499 * gdb.base/so-indr-cl.c: new file.
5500 * gdb.base/so-indr-cl.exp: new file.
5501 * gdb.base/varargs.exp: new file.
5502 * gdb.base/volatile.exp: new file.
5503 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5504 * gdb.base/display.exp: new file.
c906108c
SS
5505 * gdb.c++/derivation.exp: new file.
5506 * gdb.c++/local.exp: new file.
5507 * gdb.c++/member-ptr.exp: new file.
5508 * gdb.c++/overload.exp: new file.
5509 * gdb.c++/ovldbreak.exp: new file.
5510 * gdb.c++/ref-types.exp: new file.
5511 * gdb.c++/ref-types2.exp: new file.
5512 * gdb.c++/userdef.exp: new file.
beb998c6 5513
c906108c
SS
5514Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5515
5516 * gdb.base/default.exp: Reflect wording change in remote.c.
5517
dc96c6c7 5518Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5519
5520 * gdb.base/help.exp: Update to reflect current text.
5521
5522Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5523
5524 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5525 they're stack variables and contain garbage.
5526 * gdb.c++/anon-union.exp: new file.
5527
5528 The following changes were made by David Taylor
5529 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5530 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5531 in changes by HP.
5532
5533 * gdb.base/bitops.exp: new file.
5534 * gdb.base/default.exp: change expected messages for catch and
5535 info catch tests to reflect HP merge changes.
5536 * gdb.base/enable-disable-break.exp
5537 * gdb.base/ending-run.c: new file.
5538 * gdb.base/long_long.c: new file.
5539 * gdb.base/maint.exp: new file.
5540 * gdb.base/pointers2.exp: new file.
5541 * gdb.base/shlib-call2.exp: new file.
5542 * gdb.base/solib.exp: new file.
5543 * gdb.base/step-test.c: new file.
5544 * gdb.c++/anon-union.cc: new file.
5545 * gdb.c++/local.cc: new file.
5546 * gdb.c++/member-pointer.cc: new file.
5547 * gdb.c++/method.cc: new file.
5548 * gdb.c++/ref-types.cc: new file.
5549 * gdb.c++/ref-types2.cc: new file.
5550 * gdb.c++/userdef.cc: new file.
beb998c6 5551
c906108c
SS
5552 * gdb.base/scope.exp: compile one file at a time, then link.
5553 * gdb.base/langs.exp: ditto.
5554 * gdb.base/list.exp: ditto.
beb998c6 5555
c906108c
SS
5556Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5557
5558 The following changes were made by David Taylor
5559 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5560 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5561 in changes by HP.
beb998c6 5562
c906108c
SS
5563 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5564 skip tests. When compiling pass c++ flag to gdb_compile.
5565 * gdb.c++/
beb998c6 5566
c906108c
SS
5567 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5568 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5569 (skip_hp_tests): new function.
5570 (gdb_preprocess): new function.
5571
5572 * configure.in (hpdir): decide whether to configure gdb.hp.
5573 * configure: regenerated.
5574
5575 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5576 to delete on clean.
5577 (EXECUTABLES): update to reflect new additions.
5578 * gdb.base/commands.exp: update message expected.
5579 * gdb.base/default.exp: add copyright notice.
5580 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5581 * gdb.base/help.exp: update messages to reflect current text.
5582 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5583 targets for recurse tests.
5584 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5585 skip this file.
5586
5587 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5588 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5589 compilation.
5590 * gdb.c++/misc.exp: ditto.
5591 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5592 run the tests. tell gdb_compile that it's a c++ compilation.
5593
5594 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5595
c906108c
SS
5596 * gdb.base/all-bin.exp: new file.
5597 * gdb.base/arithmet.exp: new file.
5598 * gdb.base/assign.exp: new file.
5599 * gdb.base/completion.exp: new file.
5600 * gdb.base/cond-expr.exp: new file.
5601 * gdb.base/condbreak.exp: new file.
5602 * gdb.base/define.exp: new file.
5603 * gdb.base/dollar.exp: new file.
5604 * gdb.base/environment.exp: new file.
5605 * gdb.base/eval-skip.exp: new file.
5606 * gdb.base/jump.exp: new file.
5607 * gdb.base/logical.exp: new file.
5608 * gdb.base/pointers.exp: new file.
5609 * gdb.base/relational.exp: new file.
5610 * gdb.base/section_command.exp: new file.
5611 * gdb.base/whatis-expr.exp: new file.
5612
5613 * gdb.base/all-types.c: new file.
5614 * gdb.base/call-array-struct.c: new file.
5615 * gdb.base/call-return-struct.c: new file.
5616 * gdb.base/call-strings.c: new file.
5617 * gdb.base/callfuncs2.c: new file.
5618 * gdb.base/condbreak.c: new file.
5619 * gdb.base/constvars.c: new file.
5620 * gdb.base/display.c: new file.
5621 * gdb.base/int-type.c: new file.
5622 * gdb.base/jump.c: new file.
5623 * gdb.base/miscexprs.c: new file.
5624 * gdb.base/pointers.c: new file.
5625 * gdb.base/pointers2.c: new file.
5626 * gdb.base/shmain.c: new file.
5627 * gdb.base/shr1.c: new file.
5628 * gdb.base/shr2.c: new file.
5629 * gdb.base/solib.c: new file.
5630 * gdb.base/solib1.c: new file.
5631 * gdb.base/solib2.c: new file.
5632 * gdb.base/varargs.c: new file.
5633 * gdb.c++/derivation.cc: new file.
5634 * gdb.c++/overload.cc: new file.
5635 * gdb.c++/ovldbreak.cc: new file.
5636 * gdb.hp/attach.c: new file.
5637 * gdb.hp/attach2.c: new file.
5638 * gdb.hp/average.c: new file.
5639 * gdb.hp/compiler.c: new file.
5640 * gdb.hp/compiler.cc: new file.
5641 * gdb.hp/execd-program.c: new file.
5642 * gdb.hp/follow-exec.c: new file.
5643 * gdb.hp/follow-fork.c: new file.
5644 * gdb.hp/follow-vfork-and-exec.c: new file.
5645 * gdb.hp/misc-hp.cc: new file.
5646 * gdb.hp/more-steps.c: new file.
5647 * gdb.hp/optimize.c: new file.
5648 * gdb.hp/quicksort.c: new file.
5649 * gdb.hp/run-hp.c: new file.
5650 * gdb.hp/start-stop.c: new file.
5651 * gdb.hp/sum.c: new file.
5652 * gdb.hp/templates-hp.cc: new file.
5653 * gdb.hp/thread-local-in-lib.c: new file.
5654 * gdb.hp/thread-local-in-lib.h: new file.
5655 * gdb.hp/thread-local-in-lib.lib.c: new file.
5656 * gdb.hp/vforked-program.c: new file.
5657 * gdb.hp/virtfunc-hp.cc: new file.
5658 * gdb.hp/watchpoint-hp.c: new file.
5659 * gdb.hp/xdb.c: new file.
5660 * gdb.hp/xdb0.c: new file.
5661 * gdb.hp/xdb0.h: new file.
5662 * gdb.hp/xdb1.c: new file.
5663
5664Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5665
5666 The following change was made by Edith Epstein
5667 <eepstein@cygnus.com> as part of a project to merge in changes
5668 originally made by HP; HP did not create ChangeLog entries.
5669
5670 * gdb.c++/demangle.exp: changed the expected output for some
5671 ARM-style mangling -- removed second reference to datatype.
5672 For example, maint demangle __dt__11T1__pt__2_cFv
5673 T1<char>::~T1<char>(void)
5674 becomes,
5675 maint demangle __dt__11T1__pt__2_cFv
5676 T1<char>::~T1(void)
5677
5678 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5679
c906108c
SS
5680Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5681
5682 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5683 * gdb.trace/backtrace.exp: Likewise.
5684 * gdb.trace/circ.exp: Likewise.
5685 * gdb.trace/collection.exp: Likewise.
5686 * gdb.trace/deltrace.exp: Likewise.
5687 * gdb.trace/infotrace.exp: Likewise.
5688 * gdb.trace/limits.exp: Likewise.
5689 * gdb.trace/packetlen.exp: Likewise.
5690 * gdb.trace/passc-dyn.exp: Likewise.
5691 * gdb.trace/passcount.exp: Likewise.
5692 * gdb.trace/report.exp: Likewise.
5693 * gdb.trace/save-trace.exp: Likewise.
5694 * gdb.trace/tfind.exp: Likewise.
5695 * gdb.trace/tracecmd.exp: Likewise.
5696 * gdb.trace/while-dyn.exp: Likewise.
5697 * gdb.trace/while-stepping.exp: Likewise.
5698
56991998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5700
5701 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5702
5703Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5704
5705 From Brendan Kehoe:
5706 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5707 int return types.
5708
5709Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5710
5711 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5712 remote dos host testing right.
5713
5714Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5715
5716 * gdb.base/corefile.exp: remove some xfails.
5717
5718Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5719
5720 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5721 have different timestamps.
5722
5723Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5724
5725 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5726 gdb.base/default.exp: Replace "exec" with "executable".
5727
5728Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5729
5730 * gdb.base/default.exp: Change else if to elseif from previous
5731 delta.
5732
5733Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5734
5735 * gdb.base/default.exp: Add brace missing from previous delta.
5736
5737Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5738
5739 * gdb.base/default.exp: Support test for info float for all
5740 varieties of arm toolchain.
5741
dc96c6c7 5742Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5743
5744 * gdb.trace/*.exp: remove "remote_download" command.
5745
dc96c6c7 5746Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5747
5748 * gdb.trace/*.exp: remove -gdwarf from compile.
5749
5750Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5751
5752 * gdb.trace/configure.in(AC_INIT): typo
5753 * gdb.trace/configure: regenerated
5754
dc96c6c7 5755Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5756
5757 * config/m68k-emc.exp: New file.
5758 * lib/<emc-support.exp trace-support.exp}: New files.
5759 * configure.in: add new test directory gdb.trace.
5760 * gdb.trace/{configure configure.in Makefile.in}: New files.
5761 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5762 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5763 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5764 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5765 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5766 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5767 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5768
dc96c6c7 5769Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5770
5771 * gdb.c++/classes.exp: Change all regular expressions to match
5772 arbitrary combinations of newline/carriage-return, so that they
5773 will work equally well on Unix and Windows.
5774 * gdb.c++/inherit.exp: ditto.
5775 * gdb.c++/virtfunc.exp: ditto.
5776
57771998-08-11 Dawn Perchik <dawn@cygnus.com>
5778
5779 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5780
c2d11a7d
JM
5781Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5782
5783 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5784 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5785 to use a0-a3/d0-d3 as needed.
5786
5787Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5788
5789 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5790 * gdb.disasm/am33.exp: Corresponding changes.
5791
c906108c
SS
57921998-07-11 Felix Lee <flee@cygnus.com>
5793
5794 * gdb.base/callfuncs.exp: add cmp10 test.
5795 * gdb.base/callfuncs.c (cmp10): new function.
5796
5797Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5798
beb998c6 5799 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5800 into two parts to get around a synchronization problem in expect.
5801
3fc11d3e
JM
5802Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5803
5804 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5805
5806 * configure.in: Add options for gdbtk testsuite.
5807
5808 * configure: Regenerate.
5809
5810 * gdb.gdbtk: New directory to hold gdbtk tests.
5811
c906108c
SS
5812Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5813
5814 * gdb.fortran/types.exp: Escape brackets in expect patterns
5815 for test_float_literal_types_accepted tests.
5816 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5817 before run test.
5818
c2d11a7d
JM
5819Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5820
5821 * am33.exp: Just compile, do not link the testcase.
5822 * am33.s: Add ".am33" pseudoop to force am33 mode.
5823
c906108c
SS
58241998-06-25 Felix Lee <flee@cygnus.com>
5825
5826 * gdb.base/setshow.exp: make sure $pc is sane.
5827
5828 * gdb.stabs/weird.exp: split expect patterns properly.
5829
c2d11a7d
JM
5830Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5831
5832 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5833 * gdb.disasm/am33.exp: Run it.
5834
dc96c6c7 5835Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5836
5837 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5838 match processing (and eliminate spurious timeouts when running).
5839
dc96c6c7 5840Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5841
5842 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5843 exception test, but conditionalize it on target [mach | gnu].
5844
dc96c6c7 5845Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5846
5847 * gdb.base/overlays.exp: fixup compile line for linker script.
5848
5849Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5850
5851 * gdb.fortran/types.exp: don't guess at float size.
5852
5853Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5854
5855 * gdb.base/exprs.exp: delete test that depends on int size.
5856
5857Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5858
5859 * config/sim.exp: Removed checks for target triplets.
5860 (gdb_target_sim): Use gdb,target_sim_options.
5861
5862Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5863
5864 * gdb.base/reread.exp: New file.
5865 * gdb.base/reread1.c: New file.
5866 * gdb.base/reread2.c: New file.
5867
5868Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5869
5870 * config/sim.exp: Use 'target sim -sparclite' when running
5871 SPARClite programs.
5872
5873Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5874
5875 * gdb.base/structs2.exp: New file.
5876 * gdb.base/structs2.c: New file.
5877
5878Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5879
5880 * gdb.asm/common.inc: New file.
5881 * gdb.asm/d10v.inc: New file.
5882 * asm-source.exp: Pass -I's to gas to find .inc files.
5883 Update line numbers in expected output.
5884 * asmsrc1.s: Rewrite.
5885 * asmsrc2.s: Rewrite.
5886 * configure.in: Create arch.inc symlink.
5887 * configure: Regenerate.
5888 * Makefile.in (distclean): Delete arch.inc.
5889
5890Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5891
5892 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5893 (t_enum_value2): ditto
5894 (t_enum_value3): ditto
5895 (main): ditto
5896Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5897
5898 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5899 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5900 change.
5901 Use gdb_test instead of send_gdb/gdb_expect sequences.
5902
5903Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5904
5905 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5906 not void.
5907
5908Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5909
5910 * gdb.base/branches.c: Code with lots of loops and
5911 subroutines. Used to test gdbs ability to single step through PC
5912 changes, especially to test mips-tdep.c:mips_next_pc
5913
5914Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5915
5916 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5917 more rigorous EGCS C++ error checking.
5918
5919Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5920
5921 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5922 tests.
c906108c 5923 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5924 function when asleep.
c906108c 5925 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5926 for i*86 Linux and SVR4 signal handling problems.
5927 Remove linux xfail for `next to handler in signals_tests_1', fixed
5928 by recent infrun.c change.
c906108c 5929 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5930 stack backtraces.
c906108c
SS
5931 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5932 target.[ch] change.
5933
5934Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5935
5936 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5937 for a newline from gdb before continuing.
5938 (default_gdb_exit): Just look for y or n.
5939 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5940 it does, fail the rests of the tests in the file.
5941
5942Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5943
5944 * config/cygmon.exp: New file.
5945
5946Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5947
5948 * gdb.base/list.exp: Fix problem with "list default lines around
5949 main" test on remote targets.
5950
5951 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5952 run test on remote targets.
5953
5954Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5955
5956 * gdb.asm: New directory.
5957 * configure.in: Configure it.
5958 * configure: Regenerate.
5959 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5960 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5961
5962Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5963
5964 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5965
dc96c6c7 5966Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5967
c906108c
SS
5968 * gdb.base/overlays (several files): Merge the two overlay
5969 managers into one. Change variables (foox, barx, bazx, grbxx)
5970 back into ints but force them to load in their proper sections.
5971
5972Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5973
5974 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5975 on-chip insn memory and IMAP1 to upper 128k.
5976 (D10VCopy): Handle memory regions crossing 16k boundaries.
5977 (D10VCopy): Transfer data in 32 bit chunks.
5978
5979Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5980
5981 * gdb.base/overlays.c (main): Exit normally when result is
5982 correct.
5983
5984 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5985 map. Include space for printf in .text segment.
5986
5987 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5988 updated d10v memory VMA/LMA map.
5989 (D10VCopy): Call D10VTranslate.
beb998c6 5990
c906108c
SS
5991Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5992
5993 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5994
5995 * gdb.base/bar.c (barx, bar): Change variable to small array so
5996 that it won't be put into the .sdata - small data -
5997 section. Update reference.
5998 * gdb.base/baz.c (bazx, baz): Ditto.
5999 * gdb.base/foo.c (foox, foo): Ditto.
6000 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6001
6002 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6003 to be arrays.
beb998c6 6004
dc96c6c7 6005Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6006
c906108c
SS
6007 * gdb.base/overlays.exp: fix up and get working again.
6008 Add tests for backtraces from an overlay function.
beb998c6 6009
c906108c
SS
6010Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6011
6012 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6013 "calling function with watchpoint enabled".
6014
6015Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6016
6017 * gdb.base/break.exp (test_next_with_recursion): Remove
6018 gdb_suppress_tests for d10v-*-*.
6019 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6020 pending review of whether it is useful or not.
6021
6022Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6023
6024 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6025
6026Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6027
6028 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6029 * config/dve.exp: New file to support Densan boards.
6030
6031Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6032
6033 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6034 reads and BSD.
6035
6036Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6037
6038 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6039 response.
6040
6041 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6042
6043Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6044
6045 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6046 test.
6047
6048 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6049 target_sizeof_long and target_bigendian_p.
6050 (structs_by_value, structs_by_reference): Check values according
6051 to targets word size and endianess.
beb998c6 6052
c906108c
SS
6053Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6054
6055 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6056 output.
6057
6058Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6059
6060 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6061 Update test of set args help to match source change.
6062
6063Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6064
6065 * gdb.base/default.exp: Expect help system output to be in
6066 alphabetical order.
6067 * gdb.base/help.exp: Ditto.
6068
6069Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6070
6071 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6072 "i*86-pc-linux-gnu*".
6073 * gdb.base/interrupt.exp: Ditto.
6074 * gdb.base/corefile.exp: Ditto.
6075
6076 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6077 define vxworks when building the testcase.
6078
6079 * gdb.base/ptype.exp: Fix testnames to be unique.
6080 * gdb.base/radix.exp: Ditto.
6081 * gdb.base/term.exp: Ditto.
6082 * gdb.base/whatis.exp: Ditto.
6083 * gdb.c++/classes.exp: Ditto.
6084
6085Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6086
6087 * gdb.base/callfuncs.exp: Fix indentation.
6088
6089 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6090 suppress_flag has been set.
6091 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6092 target feature.
6093
6094Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6095
6096 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6097 the testcase.
6098
6099 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6100 set_debug_traps() and breakpoint().
6101 * gdb.c++/misc.cc (main): Ditto.
6102 * gdb.c++/templates.cc (main): Ditto.
6103 * gdb.c++/virtfunc.cc (main): Ditto.
6104
6105Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6106
6107 * lib/gdb.exp(gdb_step_for_stub): New function.
6108 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6109 exists, reload the executable and do a "continue" instead of
6110 doing a jump.
6111 (runto_main): Use gdb_step_for_stub.
beb998c6 6112
c906108c
SS
6113 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6114 tests to have unique names.
6115 * gdb.base/callfuncs.exp: Ditto.
6116 * gdb.base/commands.exp: Ditto.
6117 * gdb.base/default.exp: Ditto.
6118 * gdb.base/help.exp: Ditto.
6119 * gdb.base/list.exp: Ditto.
6120 * gdb.base/opaque.exp: Ditto.
6121 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6122 similar tests.
beb998c6 6123
c906108c
SS
6124 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6125 * gdb.c++/cplusfuncs.cc: Ditto.
6126 * gdb.c++/virtfunc.cc: Ditto.
6127
6128 * config/monitor.exp: Keep track of the last file we saw, rather
6129 than trying to get the info from gdb.
6130
6131 * gdb.fortran/types.exp: Move comment to previous line.
6132
6133Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6134
6135 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6136 target mode.
6137
6138Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6139
6140 From Bob Manson:
6141 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6142 string from GDB when it connects.
6143
6144 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6145
6146Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6147
6148 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6149 if we can't get a debug format from GDB (we may be testing an
6150 older GDB). Use a 10 second timeout when checking for the format.
6151
6152 * gdb.stabs/weird.exp: Fix quoting.
6153
6154 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6155
6156Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6157
6158 * config/arm-ice.exp: New file.
6159
6160Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6161
6162 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6163 until it has been modified to work with the new testsuite.
6164
99707966 6165 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6166 testcase won't compile, cause all of the testcases in the file to
6167 fail instead.
6168
6169 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6170 (gdb_clear_suppressed): New procedure.
6171 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6172 it contains a positive value.
6173
6174Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6175
6176 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6177
6178 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6179
6180Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6181
6182 * lib/gdb.exp (setup_xfail_format): New function.
6183 (get_debug_format): New function to get debug format.
6184 (debug_format): New global variable to hold last value set
6185 by get_debug_format.
6186 * gdb.base/list.exp: Call get_debug_format and expect some
6187 tests to fail for DWARF 1 and COFF formats.
6188 * gdb.c++/ptype.exp: Ditto.
6189 * gdb.c++/classes.exp: Ditto.
6190 * gdb.c++/cplusfuncs.exp: Ditto.
6191 * gdb.c++/inherit.exp: Ditto.
6192 * gdb.c++/templates.exp: Ditto.
6193 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6194
c906108c
SS
6195Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6196
6197 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6198 host doesn't have a currently-open connection.
6199
6200 * config/sparclet.exp: Cleanups and fixes to make it generic for
6201 any gdb stub target. Handle cases where gdb doesn't respond when
6202 interrupted in a sane fashion.
6203
6204 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6205 same thing in a totally different way.
6206
6207 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6208 setting "timeout".
6209 (gdb_start): We set the global gdb_prompt variable in
6210 default_gdb_init now.
6211
6212Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6213
6214 * gdb.base/printcmds.exp: Fix "check for floating addition"
6215 regexp to accept results within approx +/- .01 of exact value.
6216 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6217
6218Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6219
6220 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6221 properly.
6222 (gdb_expect): Add optional timeout parameter, and add timeout
6223 value to various calls.
6224 (gdb_suppress_tests): Only give one warning message per group.
6225
6226Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6227
6228 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6229 global variables. Handle getting a value for $timeout more
6230 gracefully.
6231
6232Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6233
6234 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6235 initialize.
6236 (default_gdb_init): New procedure; allow gdb_init to be overridden
6237 by a target configuration file.
6238 (gdb_expect): Pass the timeout to remote_expect.
6239
6240 * config/monitor.exp(gdb_load): Fix typo in regexp.
6241
6242Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6243
6244 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6245
6246Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6247
6248 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6249 here. Call gdb_target_exec before rebooting the target, to make
6250 sure the connection to the target is closed.
6251 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6252 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6253 Also detect "Timeout reading from remote" error.
6254
6255 * config/gdbserver.exp: Pass the executable being loaded to
6256 gdb_target_monitor. Don't call gdb_file_cmd here; let
6257 gdb_target_monitor do it.
6258
6259 * gdb.disasm/hppa.exp: Don't use exec_output.
6260
6261Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6262
6263 * gdb.base/list.exp: If we're debugging a non-native target,
6264 try to set the pc register to point to the start of the
6265 program before doing the first list command.
6266
6267 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6268 test_calls after restarting.
6269
6270 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6271 reloading.
6272
6273 * gdb.base/watchpoint.exp: Fix typo.
6274
6275 * gdb.base/setshow.exp: Check for use_gdb_stub.
6276
6277 * gdb.base/break.exp: Fix continue until exit test for the gdb
6278 stub case.
6279 * gdb.base/langs.exp: Ditto.
6280
6281 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6282 gdb_load_offset. If we weren't given a file to load, figure out
6283 what the current file is and use it.
6284
6285 * config/i386-bozo.exp: New file.
6286
6287Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6288
6289 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6290 feature.
6291
6292 * config/proelf.exp: New entry.
6293
6294Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6295
6296 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6297 of regexps.
6298
6299 * gdb.base/watchpoint.exp: Don't run the test_stepping
6300 tests if gdb can't call functions on the target.
6301
6302 * gdb.base/setshow.exp: Don't run the set prompt tests if
6303 the board has gdb_prompt set.
6304
6305Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6306
6307 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6308 * gdb.base/commands.exp: Likewise.
6309 * gdb.base/setshow.exp: Likewise.
6310
6311Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6312
6313 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6314 feature.
6315
6316 * config/i960.exp: New file.
6317
6318Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6319
6320 * gdb.base/funcargs.exp: Check for gdb,short_int target
6321 feature instead of looking for explicit target triplets.
6322
dc96c6c7 6323Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6324
beb998c6 6325 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6326 "p 123DEADBEEF", to check parse_number.
6327 * top.c: change "to enable to enable" to "to enable" in a couple
6328 of help strings.
6329
6330Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6331
6332 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6333 on the mn10300.
beb998c6 6334
c906108c
SS
6335Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6336
6337 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6338 where the test executable is run with explicit args.
6339 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6340
6341Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6342
6343 * gdb.base/run.c: Use FAKEARGV to build test executable that
6344 does not require a command line arg, since most simulators
6345 don't currently support passing such an arg into the simulated
6346 program.
6347 * gdb.base/commands.exp: Change tests to insert the proper
6348 value as the arg to the first recursive factorial call. Change
6349 compilation line to define FAKEARGV at compile time.
6350
6351Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6352
6353 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6354 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6355 function with watchpoint enabled" test.
6356
6357Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6358
6359 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6360 Don't call gdb_test when the command doesn't return to a gdb prompt.
6361
6362 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6363 "Tests restarted" messages.
6364
6365Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6366
6367 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6368
dc96c6c7 6369Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6370
6371 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6372 for INFO SYMBOL; add help tests for OVERLAY commands.
6373 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6374 add tests for OVERLAY commands
6375 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6376 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6377 * gdb.base/sigall.c: add usestubs code frag
6378 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6379
c906108c
SS
6380Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6381
6382 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6383 failures.
6384 (gdb_stop_suppressing_tests): Note that tests have restarted.
6385
6386Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6387
6388 * config/h8300.exp: New file.
6389
6390Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6391
6392 * gdb.base/setshow.exp: Check for the existence of a
6393 feature, not its value.
6394
6395Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6396
6397 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6398
6399 * gdb.base/scope.exp: It's now init0(), not init().
6400
6401 * gdb.base/scope0.c: For now, change init() to be init0().
6402
6403 * config/monitor.exp: Use gdb_serial in preference to serial
6404 or netport.
6405
6406 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6407 and it's not already set.
6408
6409Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6410
6411 * gdb.base/setshow.exp: Only test the run command if the target
6412 isn't using a stub and if it supports argument passing.
6413
6414Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6415
6416 * config/udi.exp(gdb_start): Make sure UDICONF is set
6417 properly before starting gdb.
6418
6419Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6420
6421 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6422 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6423 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6424
6425Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6426
6427 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6428 specialized code to reboot the board, use remote_reboot instead.
6429
6430 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6431
6432 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6433
6434 * config/monitor.exp: Make sure we disconnect from the target.
6435 Also, try a reboot/reload cycle instead of failing if the
6436 load fails.
6437
6438Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6439
6440 * gdb.base/default.exp: Don't set match_max.
6441 * gdb.base/help.exp: Ditto.
6442 * gdb.base/list.exp: Ditto.
6443 * gdb.base/signals.exp: Ditto.
6444
6445 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6446 set, use remote_ld to download the testcase instead of
6447 the GDB loader.
6448
6449Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6450
6451 * config/vr5000.exp: New file.
6452
6453 * config/monitor.exp(gdb_target_monitor): Add pattern for
6454 "Ending remote" to detect errors in connecting.
6455
6456 * gdb.base/setshow.exp: Add .* within auto language test.
6457
6458 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6459 target feature.
6460
6461 * config/monitor.exp(gdb_load): Check for a failure when loading,
6462 and reboot the board if necessary.
6463
6464 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6465 a set of tests. Remove print.* from the patterns being checked.
6466
6467Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6468
6469 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6470 refer to gdb_spawn_id.
6471
6472 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6473 longer used.
6474 * config/sparclet.exp: Ditto.
6475 * config/sparclet-old.exp: Ditto.
6476 * config/slite.exp: Ditto.
6477 * config/sim.exp: Ditto.
6478 * gdb.base/funcargs.exp: Ditto.
6479
6480 * lib/gdb.exp:Remove references to gdb_spawn_id.
6481 (gdb_expect): Move to remote.exp.
6482
6483Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6484
6485 * config/monitor.exp: Detect the "Couldn't establish connection"
6486 message from GDB.
6487
6488Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6489
6490 * gdb.base/bitfields.exp: Use runto instead of explicit
6491 gdb_run_cmd/gdb_expect sequences.
6492
6493 * gdb.base/break.exp(text_next_with_recursion): Add match for
6494 gdb_expect call.
6495
6496 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6497 We also need to handle the "A program is being debugged already"
6498 prompt from gdb. Use gdb_test to set the baud rate.
6499
6500 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6501 to 20000. Really. I mean it.
6502
6503Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6504
6505 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6506 fails. If suppress_flag is set, skip perror message about not
6507 being able to send to GDB.
6508 (send_gdb): If suppress_flag is set, don't try to send commands to
6509 GDB.
6510 (gdb_expect): If suppress_flag is set, always fail immediately.
6511 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6512 (gdb_init): Call gdb_stop_suppressing_tests.
6513 (default_gdb_exit): Ditto.
6514 (default_gdb_start): Ditto.
6515
6516 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6517 gdb_stop_suppressing_tests as appropriate.
6518 * gdb.base/break.exp: Ditto.
6519 * gdb.base/callfuncs.exp: Ditto.
6520 * gdb.base/commands.exp: Ditto.
6521 * gdb.base/exprs.exp: Ditto.
6522 * gdb.base/funcargs.exp: Ditto.
6523 * gdb.base/list.exp: Ditto.
6524 * gdb.base/recurse.exp: Ditto.
6525 * gdb.base/scope.exp: Ditto.
6526 * gdb.base/structs.exp: Ditto.
6527 * gdb.c++/inherit.exp: Ditto.
6528
6529Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6530
6531 * config/vr4300.exp: New file.
6532
99707966
MC
6533 * gdb.*/*.exp: Call gdb_expect instead of expect.
6534
6535 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6536
6537Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6538
6539 * lib/gdb.exp(gdb_init): New function.
6540
6541 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6542 for each individual variable set.
6543
6544 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6545 name.
6546
6547 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6548
6549 * gdb.base/scope.exp: Use gdb_test.
6550
6551 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6552 aborting; the testsuite driver will do that for us (see
6553 gdb_finish). Also, use gdb_test in a few more places.
6554
6555Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6556
6557 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6558
6559Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6560
6561 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6562 and "add_tests" are not at the same address.
6563
6564Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6565
6566 * gdb.base/ptype.exp: Use gdb_test.
6567
6568Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6569
6570 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6571 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6572 left in. No longer expect them to fail.
6573
6574 * gdb.stabs/*.mt; Deleted, no longer used.
6575 * gdb.stabs/configure.in: Remove references to target makefile
6576 frags.
6577 * gdb.stabs/configure: Rebuilt.
6578
6579 * gdb.disasm/*.mt: Deleted, no longer used.
6580 * gdb.disasm/configure.in: Remove references to target makefile
6581 frags. Use "sh3.s" as the unique filename for this directory.
6582 * gdb.disasm/configure: Rebuilt.
6583
6584 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6585 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6586 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6587
6588Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6589
6590 * config/udi.exp: Use mondfe,name instead of remote_host.
6591
6592Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6593
6594 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6595 a function with a watchpoint enabled on the mn10200.
6596
6597 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6598 before trying to create it!
6599
6600Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6601
6602 * config/vx.exp: Use hostname instead of netport.
6603
6604 * config/vxworks.exp: New file.
6605
6606 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6607
6608 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6609 gdb before assuming everything worked. Send a ^C if a timeout
6610 occurs.
6611
6612 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6613 $gdb_spawn_id directly.
6614 (gdb_run_cmd): Try _start as well as start. Use the target feature
6615 gdb,start_symbol as the symbol to start from when jumping.
6616
6617Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6618
6619 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6620 redundant) test.
6621
6622 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6623 it doesn't lose for 16bit integer systems.
6624
6625Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6626
6627 * gdb.fortran/types.exp: If the target doesn't support "double"
6628 data types, then expect "real" types to only be 4 bytes.
6629
6630 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6631 call tests if the target doesn't support inferior function calls.
6632
6633 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6634 in printf tests.
6635
6636Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6637
6638 * gdb.base/help.exp: Disable "help set", "help show", and
6639 "help support". Simplify regexp for "help stack".
6640
6641 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6642 to 60 seconds. Temporarily set match_max to 15000 around the
6643 "info copying" test.
6644
6645 * gdb.base/nodebug.exp: Don't try to do an inferior function
6646 call if the target doesn't support them.
6647 * gdb.base/printcmds.exp: Likewise.
6648 * gdb.base/setvar.exp: Likewise.
6649 * gdb.base/structs.exp: Likewise.
6650 * gdb.c++/templates.exp: Likewise.
6651 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6652
6653 * gdb.base/recurse.exp: Enable for the mn10200.
6654
6655 * configure.in: Do configure gdb.stabs directory for *-*-elf
6656 targets.
6657 * configure: Rebuilt.
6658
6659 * gdb.base/break.exp: Check for gdb,noresults before testing
6660 exit status and/or results from the target.
6661 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6662 * lib/gdb.exp: Remove old (now bogus) initialization of
6663 noinferior, noargs, noresults and nosignals.
6664
6665Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6666
6667 * config/sh.exp: New file.
6668
6669 * config/slite.exp: Try to connect multiple times to the board
6670 before rebooting. Only send a "monitor run" if need_monitor_run
6671 is set.
6672
6673 * gdb.base/break.exp: Don't do the "stub continue" test if
6674 the target has gdb_stub set.
6675
6676 * gdb.base/callfuncs.exp: Increase the timeout.
6677
6678 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6679 if the target has gdb,noinferiorio set.
6680
6681 * gdb.base/list.exp: Increase match_max to 10000 characters.
6682
6683 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6684
6685 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6686 target.
6687
6688 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6689
6690Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6691
6692 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6693 trying to delete the copy of gdb. Catch the file delete so we
6694 don't die if the delete fails; also, the file should be copied to
6695 the host, not to the build.
6696
6697Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6698
6699 * lib/gdb.exp(gdb_test): Surround the result pattern with
6700 parenthesis in case it contains multiple regexps separated
6701 with |.
6702
6703 * gdb.base/watchpoint.exp: Use gdb_test.
6704 * gdb.base/default.exp: Ditto.
6705
6706Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6707
99707966 6708 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6709
c906108c
SS
6710 * gdb.base/scope.exp: Use gdb_test.
6711 * gdb.c++/classes.exp: Ditto.
6712 * gdb.c++/inherit.exp: Ditto.
6713
6714Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6715
6716 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6717 remote_exec instead.
6718 * gdb.base/corefile.exp: Don't be ridiculous.
6719 * gdb.base/*.c: Add missing stub invocations.
6720
6721Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6722
6723 * config/slite.exp: Miscellaneous fixes.
6724
6725 * lib/gdb.exp: Fix runto.
6726
6727 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6728 the target.
6729
6730 * gdb.base/watchpoint.exp: Fix regexp.
6731
6732 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6733 close and wait commands, as the descriptor may now be
6734 invalid. Always call "remote_close host".
6735
6736Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6737
6738 Major rewrite for testsuite revision.
beb998c6 6739
c906108c
SS
6740 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6741 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6742 instead of relying on spawn_id to always contain a valid
6743 spawn id.
6744 (get_compiler_info): New procedure to build the ${binfile}.ci
6745 file, instead of replicating this in N different places.
6746 (gdb_compile): New procedure.
beb998c6 6747
c906108c
SS
6748 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6749 appropriate arguments) instead of compile. Use gdb_test in a lot
6750 more places. Use send_gdb instead of send. Always run gdb_start
6751 at the start of a testcase, as this is no longer done magically.
6752
6753 config/*-gdb.exp: Rename without the -gdb suffix.
6754
6755 config/mips.exp: Use remote_close instead of exit_remote_shell.
6756 config/monitor.exp: Use target_info instead of looking at
6757 baud, timeout, etc.
6758 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6759
6760Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6761
6762 * gdb.c++/templates.exp (test_ptype_of_templates),
6763 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6764 Update expect patterns for destructors and assignment operators
6765 to match corresponding c-typeprint.c changes.
6766 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6767 to destructor breakpoint test, GDB should be able to set the
6768 destructor breakpoint without specifying arguments.
6769
6770Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6771
6772 * gdb.threads/pthreads.exp: Change result for failure to compile due
6773 to lack of pthreads runtime support from an error to simply an
6774 unsupported test, per dejagnu standards.
6775
6776Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6777
6778 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6779 where GDB exits to reduce pattern match time.
6780 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6781
6782 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6783
dc96c6c7 6784Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6785
6786 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6787 * gdb.base/default.exp: ditto.
6788 * gdb.base/nodebug.exp: ditto.
6789 * gdb.base/printcmds.exp: ditto.
6790 * gdb.base/ptype.exp: ditto.
6791 * gdb.base/setvar.exp: ditto.
6792 * gdb.base/structs.exp: ditto.
6793 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6794
6795Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6796
6797 * configure, */configure: Rebuild with autoconf 2.12.
6798
6799Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6800
6801 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6802 use new i*86-pc-linux*-gnu quads.
6803 * gdb.base/corefile.exp: Ditto.
6804 * gdb.base/signals.exp: Ditto.
6805 * gdb.base/sigall.exp: Ditto.
6806 * gdb.base/interrupt.exp: Ditto.
6807
6808 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6809 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6810 RedHat 4.0.
beb998c6 6811
c906108c
SS
6812 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6813 linux. This allows the test case to at least compile on latest
6814 linux, but still not run due to missing the threads runtime library.
6815
6816Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6817
6818 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6819 directory to search gdb directory. Accept and step over conditional
6820 stack alignment code. Consume $prompt in failure cases.
6821 Reset timeout to $oldtimeout instead of some arbitrary value.
6822 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6823 timeout problems with infinite stack backtraces.
6824 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6825 Accept function parameters for linkfunc member.
6826
6827Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6828
6829 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6830 (CXXFLAGS): Remove, unreferenced.
6831 (B_OPTIONS): Add for -B options and add code to initialize with
6832 previous -B options and also add -B option to pick up cross compiled
6833 runtime.
6834 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6835 doing cross compiles.
6836 (target_alias): Declare global.
6837 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6838 to verify that gcc exists in build tree, and if so set CC to that
6839 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6840
c906108c
SS
6841Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6842
6843 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6844 ptype test for anonymous union. Fixup testcase to match
6845 current gcc debug output.
6846
6847Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6848
6849 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6850 force argument to an unsigned long type.
6851
6852Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6853
6854 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6855 tests and anonymous union print/ptype tests.
6856 * gdb.base/list.exp (test_forward-search): Increase timeout by
6857 5 minutes for the "search extremely long line" case.
6858 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6859 completely optional and that the pass/fail messages use the command as
6860 the message if that third arg is a null string.
6861 (gdb_test_exact): Arrange that a null string pattern means match a
6862 null string output rather than any output, which might include random
6863 errors.
6864 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6865 backtrace test.
6866 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6867 always failing and failure is now exposed by gdb.exp changes.
6868
6869Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6870
6871 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6872 weren't being noted.
6873
6874Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6875
6876 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6877 * gdb.stabs/weird.exp: Remove v_comb xfails.
6878
dc96c6c7 6879Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6880
6881 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6882 list.exp scope.exp watchpoint.exp]
6883 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6884
dc96c6c7 6885Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6886
6887 * config/monitor.exp: Increase download timeout to 1000 seconds.
6888
dc96c6c7 6889Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6890
6891 * config/m32r.exp: Increase timeout to 120 seconds.
6892
6893Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6894
6895 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6896 and accept older ordering as obsolescent gcc or gdb.
6897 * gdb.c++/templates.exp: Ditto.
6898 * gdb.c++/virtfunc.exp: Ditto.
6899
6900Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6901
6902 * gdb.base/coremaker.c: Add code to mmap some data so we
6903 can check that it ends up in the core file.
6904 * gdb.base/corefile.exp: Add test to read mmapped data
6905 from core file.
6906
dc96c6c7 6907Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6908
6909 * config/m32r.exp: New file.
6910
6911Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6912
6913 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6914 that cflags can contains -gstabs, and work correctly for other tests.
6915
dc96c6c7 6916Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6917
6918 * gdb.base/setshow.exp: New file, tests show and set.
6919 * gdb.base/setshow.c: New file, tests show and set.
6920 * gdb.base/help.exp: Add test for help set|show annotate.
6921 * gdb.base/default.exp: Add test for set|show annotate.
6922
6923Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6924
6925 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6926 errors unique.
6927 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6928 explicitly.
6929
6930Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6931
6932 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6933 and width commands. This is done elsewhere.
6934 * (gdb_start): Don't call gdb_start_sim here. That's already
6935 done in gdb_load. This fixes lots of failures in default.exp.
6936
6937Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6938
6939 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6940 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6941 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6942 in the same we we treat other failures (since it may be an expected
6943 condition), rather than as an error.
6944 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6945 old test format.
6946
6947Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6948
6949 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6950 (distclean maintainer-clean realclean): No need to remove files
6951 twice. Nuke the duplicates.
6952 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6953 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6954 Remove config.h along with other config files.
6955
6956Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6957
6958 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6959 "p func1 ()" and note that rests of tests are skipped.
6960 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6961 setup_xfails for "print func2::coremaker_local".
6962 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6963 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6964 affected by the previous run test.
6965 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6966 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6967 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6968 "pass int powerset tuple" and "pass modeless int powerset tuple".
6969 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6970 "real write 4" and "real write 8".
6971 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6972 setup_xfails for "print vs1 after tuple assign 2",
6973 "print \$i after tuple assign 2", and
6974 "print vs2 after tuple assign 2".
6975 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6976 meaningful error message and return -1 so the caller can
6977 suppress further tests and avoid a cascade of errors.
beb998c6 6978
c906108c
SS
6979Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6980
6981 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6982 format for printing version.
6983 * gdb.base/default.exp: Ditto.
6984 * gdb.base/interrupt.exp: Fix problem with cascade of
6985 errors if child process dies while calling a function.
beb998c6 6986
c906108c
SS
6987Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6988
6989 * Makefile.in (VPATH): Add
6990 * Makefile.in (Makefile, config.status): Fix rules so things get
6991 remade when necessary.
6992
6993Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6994
6995 * Makefile.in (just-check): Add path to sibling expect dir
6996 to environment variable specified by RPATH_ENVVAR.
6997
6998Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6999
7000 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7001 (just-check): Add shared library paths for libstdc++, tk,
7002 tcl, bfd, and opcodes to the environment variable specified
7003 in RPATH_ENVVAR.
7004 * configure.in: Add support to recognize --enable-shared flag
7005 and generate correct value for RPATH_ENVVAR.
7006 * configure: Regenerated with autoconf.
7007
7008Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7009
7010 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7011 include all osf versions.
7012 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7013 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7014 when target is linux. When failing to build pthreads test
7015 executable, give more meaningful message.
7016 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7017 arg for pthread_create.
beb998c6 7018
c906108c
SS
7019Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7020
7021 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7022 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7023 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7024 and -lpthreads (everybody else).
7025 (test_startup): Fail gracefully if threads are not supported.
7026 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7027 "p/c array_index("abcdef",2)" when not gcc compiled.
7028 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7029 "print func2::coremaker_local" when not gcc compiled.
7030 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7031 "ptype on opaque struct tagname (statically)",
7032 "ptype on opaque struct tagname (dynamically) 1", and
7033 "ptype on opaque struct tagname (dynamically) 2"
7034 for not compiled with gcc.
7035 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7036 backtrace when compiled with gcc.
beb998c6 7037 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7038 than always return success.
7039
7040Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7041
7042 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7043
7044Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7045
7046 * gdb.base/structs.exp: Undo last change.
7047
7048Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7049
7050 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7051 encapsulate all the steps/nexts done during self test, starting
7052 at main, and makes them less sensitive to optimization issues.
7053 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7054 signal handler" test.
7055 * gdb.threads/pthreads.exp: Only run this for native configs.
7056 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7057 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7058 tests.
7059 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7060 for "runto test_calls(void)" test.
beb998c6 7061
c906108c
SS
7062Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7063
7064 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7065 and don't expect address info in breakpoint confirmations.
7066
7067Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7068
7069 * gdb.base/list.exp (test_forward_search): Increase timeout
7070 temporarily by 60 seconds for searching extremely long line,
7071 and then reset to old value when done. Increase expect input
7072 buffer to 10000.
7073
7074Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7075
7076 * gdb.base/list.exp (test_forward_search): Fix to handle very
7077 long source line without overflowing expect's input buffer.
7078
7079Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7080
7081 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7082 "buffer_full".
7083
7084 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7085 "buffer_full".
7086
7087 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7088 "buffer_full".
7089
7090 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7091 "buffer_full".
7092
7093Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7094
7095 * configure.in (configdirs): Add gdb.threads.
7096 * configure: Regenerated with autoconf.
7097 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7098 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7099 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7100
c906108c
SS
7101Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7102
7103 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7104
7105Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7106
7107 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7108 each signal's status in the output of "handle all print".
7109 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7110 the \r\n sequence that immediately precedes the gdb prompt.
7111 * gdb.base/a1-selftest.exp: Save original timeout and restore
7112 after test.
7113
7114Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7115
7116 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7117 symbol.
7118
7119Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7120
7121 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7122
7123Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7124
7125 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7126 timeout by 60 seconds.
7127
7128Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7129
7130 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7131 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7132 error return.
7133
7134Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7135
7136 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7137 gdb initialization, also report how long dejagnu waited. Restore
7138 old timeout before doing error return. Temporarily increase timeout
7139 by 3 minutes to allow for slow startups over heavy NFS use.
7140
7141Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7142
7143 * lib/gdb.exp: Report timeout value for verbosity level 2.
7144 * config/gdbserver.exp: Ditto.
7145 * config/hppro.exp: Ditto.
7146 * config/mips-gdb.exp: Ditto.
7147 * config/monitor.exp: Ditto.
7148 * config/netware.exp: Ditto.
7149 * config/sim-gdb.exp: Ditto.
7150 * config/slite-gdb.exp: Ditto.
7151 * config/udi-gdb.exp: Ditto.
7152 * config/unix-gdb.exp: Ditto.
7153 * config/vx-gdb.exp: Ditto.
7154 * gdb.base/a1-selftest.exp: Ditto.
7155 * gdb.base/a2-run.exp: Ditto.
7156 * gdb.base/break.exp: Ditto.
7157 * gdb.base/corefile.exp: Ditto.
7158 * gdb.base/list.exp: Ditto.
7159 * gdb.base/recurse.exp: Ditto.
7160 * gdb.base/scope.exp: Ditto.
7161 * gdb.base/signals.exp: Ditto.
7162
7163Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7164
7165 * gdb.threads/Makefile.in (docdir): Removed.
7166
7167Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7168
7169 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7170 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7171 @srcdir@.
beb998c6 7172 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7173 autoconf 2.5 or higher.
7174 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7175
7176Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7177
7178 * configure: Regenerated.
7179 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7180 avoid name clashes with SunOS headers.
7181
7182Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7183
7184 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7185
7186Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7187
7188 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7189 prototype information ends up in the compiler info file.
7190
7191Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7192
7193 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7194 attempting to regenerate it. Eliminate use of a temporary file
7195 and just generate the info file directly. Source it immediately,
7196 for consistency of use.
7197 * gdb.base/corefile.exp: Ditto
7198 * gdb.base/exprs.exp: Ditto.
7199 * gdb.base/funcargs.exp: Ditto.
7200 * gdb.base/langs.exp: Ditto.
7201 * gdb.base/list.exp: Ditto.
7202 * gdb.base/mips_pro.exp: Ditto.
7203 * gdb.base/nodebug.exp: Ditto.
7204 * gdb.base/opaque.exp: Ditto.
7205 * gdb.base/ptype.exp: Ditto.
7206 * gdb.base/scope.exp: Ditto.
7207 * gdb.base/setvar.exp: Ditto.
7208 * gdb.base/signals.exp: Ditto.
7209 * gdb.base/whatis.exp: Ditto.
7210 * gdb.c++/templates.exp: Ditto.
7211 * gdb.c++/virtfunc.exp: Ditto.
7212 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7213 whether or not to add -lstdc++ to the compile command line args.
7214
7215Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7216
7217 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7218 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7219 Increase timeout, a lot of single stepping might be needed if the
7220 target has no hardware watchpoints.
7221
7222Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7223
7224 * gdb.base/break.exp: Ignore compiler warnings when compiling
7225 break.c.
7226 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7227 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7228 from remote-sim.
7229 * gdb.base/exprs.exp: Add h8300 xfails.
7230 * gdb.base/funcargs.exp: Likewise.
7231 * gdb.base/nodebug.exp: Likewise.
7232 * gdb.base/printcmds.exp: Likewise.
7233 * gdb.base/ptype.exp: Likewise.
7234 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7235 h8300 xfails.
beb998c6 7236 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7237 on the h8300.
7238 * gdb.base/funcargs.c: Explicitly make last constant argument to
7239 call_after_alloca_subr an unsigned long type.
7240 * gdb.base/return.c: Include stdio.h.
7241
7242Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7243
7244 * config/abug.exp: New file for the older Motorola Bug monitor
7245 that runs on the mvme13x series VME boards.
7246 * config/monitor.exp: Use the new config array for target settings
7247 if they exist.
7248
7249Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7250
7251 * sim-gdb.exp: Make the SH simulator allocate less space when
7252 it is targeted.
7253
7254Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7255
7256 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7257 test.
7258
7259Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7260
7261 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7262 "rs6000-*-*" for "list function in include file" when gcc compiled.
7263 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7264 for "p ctable1[120]".
7265 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7266 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7267 Remove setup_xfail for "rs6000-*-*" for
7268 "print 'scope0.c'::filelocal before run".
7269 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7270 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7271 since some compilers don't allow both options to be given
7272 on the same command line. Create object file and move it.
beb998c6 7273
c906108c
SS
7274Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7275
7276 * gdb.base/corefile.exp: Always regenerate the core file, since
7277 we always regenerate the coremaker program. Detect special case
7278 where registers cannot be read from core file.
beb998c6 7279
c906108c
SS
7280Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7281
7282 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7283 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7284 * gdb.c++/templates.exp: Only match on basename of file since
7285 some formats like xcoff don't encode directory information.
7286 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7287 and rs6000 AIX xcoff targets.
7288 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7289 * configure: Regenerate.
7290 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7291 here, rather than in distclean.
beb998c6 7292
c906108c
SS
7293Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7294
7295 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7296 defined, and use it to compile the test case with -O2. The
7297 native compilation still uses no optimization.
7298 * gdb.base/mips_pro.c: Remove inline assembly code since
7299 it is compiled PIC by default, which results in assembler
7300 warnings that make the testsuite think the compilation
7301 was unsuccessful.
7302
7303Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7304
7305 * gdb.c++/misc.exp: Add note to message for
7306 "print s.a for foo struct" that this is a known gcc 2.7.2
7307 and earlier bug.
7308
7309Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7310
7311 * gdb.base/break.exp: Fix pattern for matching "Delete all
7312 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7313 setup_xfail for deleting all breakpoints test. Fix various
7314 timeout messages to include "(timeout)".
7315 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7316 for "p t_float_values2(3.14159,float_val2)".
7317 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7318 for "continue to call2g" when gcc compiled.
7319 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7320 "up to foo in langs.exp", "show language at foo in langs.exp",
7321 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7322 and "show language at fsub in langs.exp".
7323 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7324 "list line 1 in include file", "list message for lines past EOF",
7325 "list function in include file", "list list0.h:foo", and
7326 "list filename:function; nonexistant function".
7327 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7328 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7329 and "ptype t_char_array" to be for native cc only.
beb998c6 7330
c906108c
SS
7331Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7332
beb998c6 7333 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7334 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7335 "print func2::coremaker_local", and "backtrace in corefile.exp".
7336
7337Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7338
7339 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7340 "bt in signals.exp". This problem only appears when running
7341 the testsuite, and then only intermittently.
7342
7343Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7344
7345 * gdb.base/return.exp (return_tests): Differentiate between
7346 two tests of continuing.
7347
7348Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7349
7350 * */Makefile.in (maintainer-clean): Remove config.log.
7351 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7352 * gdb.c++/Makefile.in (PROGS): Add inherit.
7353 (clean): Remove *.ci.
7354
7355Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7356
7357 * gdb.c++/misc.cc: Add test code from Mike Stump.
7358 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7359
7360Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7361
7362 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7363 to "alpha-*-osf2*" and add comment.
7364 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7365 setup_xfail for "step over execarg initialization" and
7366 "step over corearg initialization".
7367 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7368 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7369 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7370 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7371 "print func2::coremaker_local", and "backtrace in corefile.exp".
7372 * gdb.base/signals.exp: Build and source signals.ci.
7373 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7374 to be for gcc only.
7375 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7376
c906108c
SS
7377Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7378
7379 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7380 Feb 3 procfs.c change.
7381
7382Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7383
7384 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7385
7386Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7387
7388 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7389 from dejagnu's apparent default of 10 seconds, which gives random
7390 results when running the tests over NFS on moderately loaded systems.
7391 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7392
7393Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7394
7395 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7396 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7397 result reports.
7398
7399Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7400
7401 * configure.in (CY_AC_PATH_TCLH): Remove.
7402 * configure: Regenerate.
7403
7404Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7405
7406 * gdb.c++/Makefile.in (clean): Add missing '{'.
7407
7408Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7409
7410 * lib/gdb.exp: Provide a default value for noinferior.
7411
7412 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7413 Load libgloss.exp.
7414
7415Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7416
7417 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7418 the executable, not the .o to run the tests from.
7419
7420Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7421
7422 * gdb.base/break.exp: Don't test for program exit or exit status
7423 if $noresults if nonzero.
7424 * gdb.base/langs.exp: Likewise.
7425 * gdb.base/watchpoint.exp: Likewise.
7426
7427 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7428 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7429 trying to compile the testcase.
7430
7431Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7432
7433 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7434 * gdb.base/signals.exp (continue to handler): Likewise.
7435
7436Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7437
7438 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7439
7440 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7441
7442Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7443
7444 * gdb.base/corefile.exp: Recognize "not found" as failure
7445 when trying to determine if a core file was generated.
7446 If no core file was generate the first time, try again without
7447 the ulimit -c to work around braindamaged shells.
7448
7449Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7450
7451 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7452 [] tests with "test" and enclose string in quotes.
7453 * gdb.stabs/configure: Rebuild
beb998c6 7454
c906108c
SS
7455Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7456
7457 Changes in sync with expect:
7458 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7459 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7460 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7461 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7462 argument to AC_REQUIRE.
7463 * configure: Regenerated.
7464
7465Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7466
7467 * gdb.base/corefile.exp: When generating a core, discard any
7468 error messages about ulimit not found and the "core dumped"
7469 message from the shell that runs the coredumper.
7470
7471Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7472
7473 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7474
7475 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7476 which sed script to run. Expect failure for v_comb test
7477 on PA targets too.
beb998c6 7478
c906108c
SS
7479Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7480
7481 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7482 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7483
7484Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7485
7486 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7487 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7488 "sparc-sun-solaris*" xfails for "p v_comb".
7489 * lib/gdb.exp (default_gdb_start): Fix typo.
7490 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7491 messages to not include the full program name that caused
7492 the core dump since some systems (such as solaris) apparently
7493 truncate this path to about 80 characters.
7494 When generating a core file first try increasing the core file
7495 size limit to unlimited since some systems may default it to
7496 zero, and it is harmless to try it. Move the test for failing
7497 to generate a core file to where it will actually get executed.
7498 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7499 new gdb result from g++ debug info improvements and make old
7500 pattern obsolescent. Also account for size_t differences
7501 (may be int or long).
7502 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7503 initialization before function call is placed in the delay slot
7504 and thus appears to be skipped over by commands such as "next".
7505
7506Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7507
7508 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7509
7510Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7511
7512 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7513 input source file; fix code to compile test to deal with this
7514 convention.
7515 * gdb.c++/*.exp: Likewise.
7516
7517Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7518
7519 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7520 "bt in signals.exp".
7521
7522Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7523
7524 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7525 "step over execarg initialization" and
7526 "step over corearg initialization".
7527
7528Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7529
7530 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7531 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7532
7533Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7534
7535 From Rob Savoye (rob@poseidon.cygnus.com)
7536 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7537 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7538 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7539 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7540 configure.in}: Major reworking for autoconfig.
7541 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7542 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7543 New files.
7544 * config/unix-gdb.exp: Make GDB global.
7545 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7546 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7547 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7548 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7549 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7550 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7551 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7552 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7553 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7554 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7555 pr-8136.exp, result.exp, string.exp, tuples.exp},
7556 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7557 to returns as necessary, arrange for test to compile own testcase
7558 executable.
7559 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7560
c906108c
SS
7561Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7562
7563 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7564 clear_xfail at end of test which might not call either pass or fail.
7565 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7566 "backtrace through signal handler".
7567
7568Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7569
7570 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7571 continuing from a job control stop signal.
7572 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7573
7574Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7575
7576 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7577 * gdb.base/corefile.exp: Likewise.
7578 * gdb.base/funcargs.exp: Likewise.
7579
7580Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7581
7582 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7583 * config/monitor.exp: Add support for setting baud rate.
7584
7585Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7586
7587 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7588 i*86-*-linux* xfails for "backtrace through signal handler".
7589 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7590 "print func2::coremaker_local".
7591 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7592 alpha-dec-osf2* xfail for
7593 "delete all breakpoints when none".
7594
7595Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7596
7597 * gdb.base/break.exp: Change test that deletes all breakpoints
7598 when no user breakpoints are installed. A post 4.15 change
7599 causes gdb to no longer prompt in this case.
7600
7601Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7602
7603 * gdb.base/return.exp (return_tests): Change xfail for test
7604 "correct value returned double test" to stop xfailing at
7605 Solaris 2.5. Apparently the bug has been fixed.
7606
7607Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7608
7609 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7610 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7611
7612Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7613
7614 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7615 * gdb.disasm/hppa.s: Corresponding changes.
7616
7617Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7618
7619 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7620 makefile fragment.
7621 * config/mt-hpux: Deleted.
7622
7623Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7624
beb998c6 7625 * Many files: When warning about suppressed tests due to a
c906108c
SS
7626 nonexistant test binary, avoid incrementing the warning count.
7627
7628Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7629
7630 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7631
c906108c
SS
7632Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7633
7634 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7635 "sparc-*-solaris2*".
7636
7637Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7638
7639 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7640 Add global and local variables and initialize them.
7641 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7642 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7643 extracts the file name and terminating signal from the core file.
7644 * TODO: Remove note about tests for correct mapping of corefile.
7645 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7646 from optimizing it away.
7647 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7648 handles common blocks.
7649
7650Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7651
7652 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7653 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7654
7655Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7656
7657 * Makefile.in (maintainer-clean): New target, synonym for
7658 realclean.
7659 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7660 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7661 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7662 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7663 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7664 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7665
7666Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7667
7668 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7669 xfails when not gcc compiled for "print foo::funclocal".
7670 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7671 "print foo::funclocal at foo",
7672 "print 'scope1.c'::foo::funclocal at foo",
7673 "print foo::funclocal_bss at foo",
7674 "print 'scope1.c'::foo::funclocal_bss at foo",
7675 "print foo::funclocal_ro at foo",
7676 "print 'scope1.c'::foo::funclocal_ro at foo",
7677 "print bar::funclocal at foo" and
7678 "print 'scope1.c'::bar::funclocal at foo".
7679 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7680 gcc compiled for "print foo::funclocal at bar".
7681 Expand all messages to ensure that they identify that
7682 the test is at bar().
7683 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7684 gcc compiled for:
7685 "ptype on opaque struct pointer (statically)",
7686 "ptype on opaque struct tagname (statically)",
7687 "ptype on opaque struct pointer (dynamically) 1",
7688 "ptype on opaque struct tagname (dynamically) 1",
7689 "ptype on opaque struct pointer (dynamically) 2" and
7690 "ptype on opaque struct tagname (dynamically) 2
7691 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7692 gcc compiled for:
7693 "p datalocal"
7694 "whatis datalocal",
7695 "ptype datalocal",
7696 "p bsslocal",
7697 "whatis bsslocal", and
7698 "ptype bsslocal".
7699 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7700 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7701 when not gcc compiled.
7702 * gdb.base/funcargs.exp (float_and_integral_args): Add
7703 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7704 compiled.
7705 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7706 "backtrace from call6a" when not gcc compiled.
7707 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7708 "backtrace from call7a" when not gcc compiled.
7709 * gdb.base/callfuncs.exp (do_function_calls):
7710 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7711 "p t_char_array_values(char_array_val2,char_array_val1)",
7712 "p t_char_array_values(char_array_val1,char_array_val2)",
7713 "p t_char_array_values("carray 1","carray 2")",
7714 "p t_char_array_values("carray 1",char_array_val2)",
7715 "p t_char_array_values(char_array_val1,"carray 2")",
7716 "p sum_args(1,{2})",
7717 "p sum_args(2,{2,3})",
7718 "p sum_args(3,{2,3,4})",
7719 "p sum_args(4,{2,3,4,5})"
7720 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7721 "backtrace in corefile.exp" when not gcc compiled.
7722
7723Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7724
7725 * gdb.base/signals.exp: Rewrite `handle all print' test as
7726 a procedure. Accept blanks or TABs as whitespace, increase
7727 timeout and expect input buffer size for the large output
7728 from the command. Remove "i*86-*-bsdi2.0" xfail.
7729
7730Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7731
7732 * gdb.base/setvar.exp: Add new testcases for truncation when
7733 assigning invalid values to bitfields.
7734
7735Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7736
beb998c6 7737 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7738 mips-sgi-irix* xfail for
7739 "call inferior func with struct - returns char *"
7740 and fix test so that an optional (unsigned char *) cast is
7741 accepted in the result.
7742
7743Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7744
7745 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7746 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7747 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7748 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7749 that accidentally got checked in.
7750
7751Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7752
beb998c6 7753 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7754 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7755 compiled test.
7756 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7757 Add mips-sgi-irix5* xfail for not gcc compiled.
7758 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7759 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7760 "p top", "whatis top", "p middle", and "whatis middle".
7761 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7762 "whatis signed char" for not gcc compiled.
7763 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7764 "set variable signed char=-1 (-1)" and
7765 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7766 * gdb.base/funcargs.exp (float_and_integral_args):
7767 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7768 Add mips-sgi-irix* xfail when not gcc compiled for
7769 "continue to call2b".
7770 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7771 "continue to call2g".
7772 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7773 "backtrace from call6a"
7774 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7775 "backtrace from call7k".
7776 Add mips-sgi-irix5* xfail when not gcc compiled for
7777 "backtrace from call7a".
7778 (localvars_after_alloca): Fix gdb_test cmds for
7779 "print * after runto ...".
7780 Remove rs6000-*-* xfails for
7781 "print i after runto localvars_after_alloca" and
7782 "print l after runto localvars_after_alloca"
7783 for all compilers.
7784 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7785 when not compiled with gcc, for:
7786 "print signed char == (minus)",
7787 "print signed char != (minus)",
7788 "print signed char < (minus)",
7789 "print signed char > (minus)".
7790 * gdb.base/callfuncs.exp (do_function_calls):
7791 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7792 "call inferior func with struct - returns char *".
beb998c6 7793 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7794 "correct value returned double test" to include Solaris 2.4.
7795 * gdb.base/funcargs.exp (float_and_integral_args):
7796 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7797
c906108c
SS
7798Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7799
7800 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7801 enumeration bitfields if compiling with GNU C.
7802 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7803 to empty' prompt.
7804
7805Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7806
7807 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7808 test for PRO targets.
7809
7810 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7811 breakpoints in the inferior at any given time by making
7812 two groups of breakpoints for call2*, call6* and call7*
7813 tests.
7814
7815Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7816
7817 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7818 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7819 from optimizing it away.
7820 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7821 "call inferior func with struct".
7822
7823Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7824
7825 * configure.in: Only configure gdb.chill for particular targets.
7826
7827Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7828
7829 * gdb.base/Makefile.in: Add action to .c.o transformation
7830 rule that generates a .ci file for each .o file and remove
7831 explicit .c.o rules except for callfuncs.o.
7832 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7833 generates a .ci file for each .o file and remove explicit
7834 .cc.o rules.
7835 (clean): Remove *.tmp *.ci files.
7836 (EXECUTABLES): Remove templ-info.exp.
7837 * gdb.base/compiler.c: New file.
7838 * gdb.c++/compiler.cc: New file
7839 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7840 Change rs6000-*-* xfail for
7841 "print 'scope0.c'::filelocal_ro" and
7842 "print 'scope1.c'::filelocal" and
7843 "print 'scope1.c'::filelocal_bss" and
7844 "print 'scope1.c'::filelocal_ro" and
7845 "print 'scope1.c'::foo::funclocal" and
7846 "print 'scope1.c'::foo::funclocal_ro" and
7847 "print 'scope1.c'::bar::funclocal" and
7848 "print 'scope0.c'::filelocal_ro" and
7849 "print 'scope1.c'::filelocal at foo" and
7850 "print 'scope1.c'::filelocal_bss at foo" and
7851 "print 'scope1.c'::filelocal_ro at foo" and
7852 "print 'scope1.c'::foo::funclocal at foo" and
7853 "print 'scope1.c'::foo::funclocal_bss at foo" and
7854 "print 'scope1.c'::foo::funclocal_ro at foo" and
7855 "print 'scope1.c'::bar::funclocal at foo" and
7856 "print 'scope0.c'::filelocal_ro" and
7857 "print 'scope1.c'::filelocal" and
7858 "print 'scope1.c'::filelocal_bss" and
7859 "print 'scope1.c'::filelocal_ro" and
7860 "print 'scope1.c'::foo::funclocal" and
7861 "print 'scope1.c'::foo::funclocal_bss" and
7862 "print 'scope1.c'::foo::funclocal_ro" and
7863 "print 'scope1.c'::bar::funclocal" and
7864 "print 'scope1.c'::bar::funclocal_bss"
7865 to only be xfail'd when not compiled with gcc.
beb998c6 7866 Add rs6000-*-* xfail for
c906108c
SS
7867 "print 'scope0.c'::filelocal_bss before run"
7868 when compiled with gcc.
7869 (test_at_main): Add rs6000-*-* xfail for
7870 "print filelocal_ro in test_at_main"
7871 when compiled with gcc.
7872 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7873 Add rs6000-*-aix* xfail for
c906108c
SS
7874 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7875 "ptype t_char_array", not compiled with gcc.
7876 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7877 xfail for "list foo (in include file)" when gcc compiled.
7878 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7879 (integral_args): Add rs6000-*-* xfail for
7880 "run to call0a" if not compiled with gcc.
7881 (unsigned_integral_args): Add rs6000-*-* xfail for
7882 "run to call1a" if not compiled with gcc.
7883 (float_and_integral_args): Add rs6000-*-* xfail for
7884 "run to call2a" if not compiled with gcc and for
7885 "continue to call2b" for any compiler.
7886 Add rs6000-*-* xfail to
7887 "print f1 after run to call2a" for gcc compiled.
7888 (discard_and_shuffle): Add rs6000-*-* xfail for
7889 "run to call6a".
7890 (shuffle_round_robin): Add rs6000-*-* xfail for
7891 "backtrace from call7a" if not compiled with gcc.
7892 Add rs6000-*-* xfail for
7893 "backtrace from call7b" if compiled with gcc.
7894 (call_after_alloca): Add rs6000-*-* xfail for
7895 "print c in call_after_alloca" and
7896 "print s in call_after_alloca" and
7897 "backtrace from call_after_alloca_subr"
7898 if not compiled with gcc.
7899 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7900 "print c in localvars_in_indirect_call" and
7901 "print c in localvars_in_indirect_call" and
7902 "backtrace in indirectly called function" and
7903 "stepping into indirectly called function"
7904 if not compiled with gcc.
7905 (localvars_after_alloca): Add rs6000-*-* xfail for
7906 "print c after runto localvars_after_alloca" and
7907 "print s after runto localvars_after_alloca" and
7908 "print i after runto localvars_after_alloca" and
7909 "print l after runto localvars_after_alloca"
7910 for all compilers.
7911 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7912 than whatis-info.exp.
7913 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7914 than opaque-info.exp.
7915 Setup rs6000-*-* xfail for
beb998c6 7916 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7917 "ptype on opaque struct pointer (dynamically)" when
7918 not compiled with gcc.
7919 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7920 rather than callf-info.exp.
7921 (do_function_calls): Add clear_xfail for rs6000-*-* for
7922 "p t_float_values2(3.14159,float_val2)". Seems to work
7923 fine there, both with xlc and gcc. Need to find out what
7924 it is doing right and fix other platforms.
7925 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7926 "call inferior func with struct - returns int",
7927 "call inferior func with struct - returns long",
7928 "call inferior func with struct - returns float",
7929 "call inferior func with struct - returns double",
7930 "call inferior func with struct - returns char *",
7931 but only if not gcc compiled (presumes xlc compiled).
7932 Change rs6000-*-* xfails for
7933 "call inferior func with struct - returns char" and
7934 " call inferior func with struct - returns short" to only
7935 xfail if not using gcc.
7936 (clean mostlyclean): Remove *.ci and *.tmp files.
7937 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7938 than templ-info.exp.
7939 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7940 Add rs6000-*-* xfail for "up to foo in langs.exp"
7941 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7942 when not gcc compiled.
beb998c6 7943
c906108c
SS
7944Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7945
7946 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7947 * gdb.base/corefile.exp: Likewise.
7948 * gdb.base/list.exp: Likewise.
7949 * gdb.base/scope.exp: Likewise.
7950 * gdb.base/siganls.exp: Likewise.
7951
7952 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7953 compiler output.
7954 * gdb.base/whatis.exp: Likewise.
7955
7956Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7957
7958 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7959 failure (opcode table has been fixed to match reality).
7960
7961Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7962
7963 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7964 "call inferior func with struct - returns char",
7965 "call inferior func with struct - returns short"
7966
7967 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7968 "print 'scope0.c'::filelocal at main",
7969 "print 'scope0.c'::filelocal_bss in test_at_main",
7970 "print 'scope0.c'::filelocal at foo",
7971 "print 'scope0.c'::filelocal_bss in test_at_foo",
7972 "print 'scope0.c'::filelocal at bar",
7973 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7974
c906108c
SS
7975 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7976 in source file 1". This bug seems to have been fixed with both
7977 gcc and native cc (was native assembler bug?).
7978
7979Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7980
7981 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7982 "backtrace through signal handler" to "i*86-*-sysv4*".
7983 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7984 continue" case. Add "known SVR4 bug" to fail message.
7985 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7986 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7987 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7988 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7989 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7990 "up to foo in langs.exp", "show language at foo in
7991 langs.exp", "up to cppsub_ in langs.exp", "show
7992 language at cppsub_ in langs.exp", "up to fsub in
7993 langs.exp", and "show language at fsub in langs.exp".
7994 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7995 "bactrace in corefile.exp".
7996 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7997 "call inferior function with struct - returns float" and
7998 "call inferior function with struct - returns double".
beb998c6 7999
c906108c
SS
8000Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8001
8002 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8003 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8004 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8005 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8006
8007Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8008
8009 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8010 (or overriden) "CHILL" macro rather then bare "gcc".
8011 Also look for ../../gcc/xgcc since that is what we will
8012 actually need, not "Makefile". Remove following assignment
8013 of CHILL to CHILL_FOR_TARGET because that results in
8014 recursive definition.
8015
8016Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8017
8018 * gdb.base/corefile.exp: Change xfail for backtrace in
8019 corefile.exp from linuxaout to all linux.
8020 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8021 cases where we miss the breakpoint at the signal handler
8022 for some reason. Setup xfail for linuxoldld/linuxaout and
8023 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8024 hitting SIGURG breakpoint.
8025 * gdb.base/signals.exp: Setup xfail for "next" acting like
8026 continue to add linuxoldld. Setup xfail for all linux for
8027 "next to handler in signals_tests_1", "backtrace in
8028 signals_tests_1", "continue to func1", "pass SIGUSR1",
8029 and continue to handler".
8030
8031Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8032
8033 * Update all FSF addresses except those in COPYING* files.
8034
8035Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8036
8037 * gdb.base/a2-run.exp: Change messages to be more explicit about
8038 the status of args, and quote binfile in results.
8039
8040Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8041
8042 * gdb.base/callfuncs.exp: Add tests for passing structs to
8043 inferior functions and return various types.
8044 * gdb.base/callfuncs.c: Add functions to receive a struct
8045 and return a member of the struct, in various types.
8046
8047Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8048
8049 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8050
8051Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8052
8053 * config/vxworks29k.exp: New file, sources vxworks.exp.
8054
8055Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8056
8057 * config/gdbremote.exp: New file. Testing framework using
8058 gdbserver.
8059
8060Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8061
8062 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8063 "call function when asleep" and "send end of file".
8064 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8065 for "backtrace in corefile.exp".
8066 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8067 for "backtrace through signal handler".
8068 * gdb.base/corefile.exp: Make sure we actually generate a core file
8069 before trying the core tests. Some systems allow the user to suppress
8070 generation of core files and default to that (linux for example).
8071 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8072 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8073
8074Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8075
8076 * gdb.threads: New directory with some crude multi-threaded
8077 gdb tests (step.exp and step2.exp).
8078 * config/mt-lynx (STEP_EXECUTABLE): Define.
8079 (THREADFLAGS): Define.
8080
8081Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8082
8083 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8084
8085 * gdb.base/signals.exp: Disable whole file for lynx until
8086 further notice.
8087
8088 * gdb.base/signals.exp: xfail test where "next" acts like
8089 "continue" for lynx.
8090
8091 * gdb.base/interrupt.exp: xfail test for calling function while
8092 inferior is asleep for lynx.
8093
8094 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8095 than one cr-lf after each command.
8096
8097Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8098
8099 * configure.in: Reinstate setting of stabsdirs variable, fix
8100 typo in setting up configdirs for native builds.
8101
8102 * gdb.base/return.exp: Fix typo in return double test.
8103 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8104 compiler from optimizing them away.
8105
8106Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8107
8108 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8109 sequences to be echo'd by gdb when using gdb_test.
8110 * gdb.chill/chexp.exp: Likewise.
8111 * gdb.fortran/exprs.exp: Likewise
8112
8113Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8114
8115 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8116 after the inferior gdb has started.
8117
8118 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8119 after each command.
8120 * gdb.base/funcargs.exp: Likewise.
8121 * gdb.base/gdbvars.exp: Likewise.
8122 * gdb.base/interrupt.exp: Likewise.
8123 * gdb.base/list.exp: Likewise.
8124 * gdb.base/watchpoint.exp: Likewise.
8125 * gdb.c++/demangle.exp: Likewise.
8126 * gdb.c++/inherit.exp: Likewise.
8127 * gdb.chill/chexp.exp: Likewise.
8128 * gdb.fortran/exprs.exp: Likewise.
8129
8130 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8131 test if we can't handle IO to/from the inferior.
8132
8133 * gdb.c++/misc.exp: Always check for a program already being
8134 started after sending a "run" command to gdb.
8135
8136 * gdb.base/twice.exp: Start with a fresh gdb.
8137
8138 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8139 only depend on gdb's expression code, not the chill runtime.
8140
8141 * gdb.base/return.c: Put return values into variables so we
8142 can have gdb print them rather than depending on the program
8143 to print them.
8144 * gdb.base/return.exp: Corresponding changes.
8145
8146 * lib/gdb.exp: Provide default value for noinferiorio.
8147 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8148 the inferior.
8149
8150 * gdb.base/break.exp: Always check for a program already being
8151 started after sending a "run" command to gdb.
8152 (text_next_with_recursion): Don't check the output from the
8153 program's printf statement. Instead just make sure the program
8154 exited.
8155
8156 * gdb.base/commands.exp: Protect tests which need arguments with
8157 $noargs conditionals.
8158
8159Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8160
8161 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8162 of structure member arrays to match gdb/valops.c:value_addr change.
8163
8164Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8165
8166 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8167 cases.
8168
8169Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8170
8171 * configure.in (configdirs): Remove gdb.chill from default list
8172 of subdirs and then add it back in only if doing a native build.
8173 The current chill compiler does not yet work in any cross build.
8174 * Revert all signal changes from Jul 6.
8175 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8176 for sh-hms targets, allowing these tests to link, with no other
8177 changes. Testing is suppressed by setting "nosignals" in site.exp.
8178
8179Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8180
8181 * configure.in (signaldirs): Define and add to configdirs for all
8182 targets except some specific ones that are known to not support signals.
8183 Also clean up formatting.
8184 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8185 (signals, sigall): Remove rules to build.
8186 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8187 Moved to new gdb.signals directory.
8188 * gdb.signals: New test directory.
8189 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8190 signals.c signals.exp}: New or moved files.
8191
8192Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8193
8194 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8195
8196Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8197
8198 * gdb.base/return.exp: Xfail `return double' test failure
8199 on at least Solaris 2.3 and handle future/past versions on
8200 a case by case basis as appropriate. Also update message
8201 to include i*86 failures.
8202
8203Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8204
8205 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8206
8207 * lib/gdb.exp: Fix comment which erroneously identified
8208 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8209 gdb_file_cmd not gdb_load).
8210 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8211
8212 * gdb.base/setvar.exp: Make test names consistent between pass and
8213 fail cases. Use gdb_test more.
8214
8215Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8216
8217 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8218
8219Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8220
8221 * gdb.base/help.exp: Fix expected help string for `show commands'.
8222
8223Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8224
8225 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8226
8227 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8228 of a text section.
8229
8230Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8231
8232 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8233 that loop eventually terminates. Fix Connection refused logic so
8234 that testsuite will expire nicely.
8235
8236Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8237
8238 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8239 config/rom68k.exp: New tcl glue for the appropriate monitors.
8240 These all just end up calling monitor.exp.
8241 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8242 refused' by retrying. Cleanup some timeout issues.
8243 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8244 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8245 callers don't have to set/restore global timeout variable.
8246
8247 * The following set of changes centralizes management of the global
8248 timeout variable. This way, it can be set in one target dependent
8249 place instead of dozens of places scattered throughout the test suite.
8250 If you need to lengthen a timeout, then you should either set timeout
8251 in one of the config/{target}.exp files, or multiply it by a factor.
8252 Setting it to an absolute value is always going to lose for some
8253 targets.
8254 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8255 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8256 * gdb.base/funcargs.exp: Don't set timeout.
8257 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8258 * gdb.base/printcmds.exp (test_print_string_constants
8259 test_print_array_constants): Don't set timeout.
8260 * gdb.base/ptype.exp: Don't set timeout.
8261 * gdb.base/recurse.exp: Don't set timeout.
8262 * gdb.base/return.exp: Don't set timeout.
8263 * gdb.base/watchpoint.exp: Don't set timeout.
8264 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8265 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8266
8267Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8268
8269 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8270
8271Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8272
8273 * lib/gdb.exp: Disable chill tests for irix5.
8274
8275Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8276
8277 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8278 each test pass or fail.
8279
8280Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8281
8282 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8283 xlc not gcc.
8284
8285Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8286
8287 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8288
8289Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8290
8291 * config/est.exp: Fix copyright and comments. Remove dead code.
8292 Use targetname, serialport and baud variables instead of fixed
8293 constants.
8294 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8295 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8296
8297Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8298
8299 * gdb.base/watchpoint.exp: Don't run
8300 test_watchpoint_triggered_in_syscall for sunos.
8301
8302Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8303
8304 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8305 they don't seem to exist. Do include stdio.h.
8306
8307Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8308
8309 * gdb.base/a1-selftest.exp: Add alpha xfail.
8310
8311Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8312
8313 * gdb.base/watchpoint.c (main): Prompt before calling read().
8314 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8315 Revise accordingly. Remove cruft about sending "123" several
8316 times, until it gets noticed. Clean up the "print buf[0]" stuff
8317 so that it passes or fails, and waits for prompts in the usual way.
8318
8319Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8320
8321 * gdb.base/recurse.exp: Fix comment.
8322
8323 * TODO: Remove item about printing variables in nodebug.exp. Add
8324 item about enabling tests which are only run on some targets.
8325
8326 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8327 fail, make test names unique, use new gdb_test convention
8328 regarding pattern, use gdb_test more, etc.).
8329
8330 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8331 fail, make test names unique, etc.).
8332
8333Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8334
8335 * gdb.base/nodebug.c: Change return type of top and middle to
8336 short.
8337 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8338 are fixed by the recent mdebugread.c changes. Allow `short ()'
8339 as type for top and middle.
8340
8341Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8342
8343 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8344 nearly as I can tell, the whole thing was an accident in Stu's
8345 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8346 to replace a send/expect pair with gdb_test, but ended up only
8347 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8348 of 30 Mar 1995 took care of it, but left this vestigial comment
8349 which I am now nuking.
8350
8351Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8352
8353 * gdb.base/break.exp: Look for different line number for
8354 breakpoint at main depending on usestubs.
8355
8356Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8357
8358 * gdb.base/list.exp: Adjust some alternate expect patterns to
8359 match recent list0.c change. Add alternate expect pattern for
8360 output from `list default lines around main' for optimizing
8361 compilers.
8362
8363Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8364
8365 * lib/gdb.exp: If nosignals is not set, set it to 0.
8366
8367Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8368
8369 * config/slite-gdb.exp: Responds to load symbol table prompt.
8370 * gdb.base/break.exp: Adjust line number, fix rerun.
8371 * gdb.base/langs0.c: Add #ifdef usestubs.
8372
8373Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8374
8375 * gdb.base/list.exp: Adjust line contents after adding new lines in
8376 list0.c. Also fix a syntax error.
8377
8378 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8379 * gdb.base/break.exp: ditto.
8380 * gdb.base/list.exp: ditto.
8381 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8382 * gdb.base/run.c: ditto.
8383 * gdb.base/list0.c: ditto.
8384 * gdb.base/funcargs.c: ditto.
8385
8386Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8387
8388 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8389 $targetname, $serialport and $baud instead of hardwired variables.
8390 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8391 target doesn't support signals.
8392
8393Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8394
8395 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8396
8397Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8398
8399 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8400 Don't rely on the value of an auto variable before it has been
8401 initialized. Use gdb_test more.
8402
8403Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8404
8405 * lib/gdb.exp (default_gdb_version): A version number must start
8406 with a digit, but other than that contains all characters up to
8407 the first whitespace character.
8408
8409Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8410
8411 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8412
8413Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8414
8415 * gdb.c++/*.exp: Warn if executable does not exist. The original
8416 reason for skipping the warning was that configure.in sometimes
8417 intentionally skipped building the executables but the tcl code
8418 had no way of knowing. That (a) was always bogus with respect to
8419 error handling, (b) is no longer true (right now there is no way
8420 to skip C++ tests).
8421
8422 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8423
8424Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8425
8426 * gdb.base/list.exp: Add expect patterns for output from
8427 SunPRO compiled executables.
8428 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8429 types.
8430
8431Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8432
8433 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8434 number (we are already testing that the correct source line text
8435 gets printed).
8436
8437 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8438 that is what is intended, but something needed to be done to get
8439 sunos4 native working again.
8440
8441 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8442
8443 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8444 apparently went with a (very) old xfail.
8445
8446Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8447
8448 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8449 runto_main is a proc in gdb.exp that will do 'step' for target use
8450 stubs.
8451 * gdb.base/exprs.exp: ditto.
8452 * gdb.base/interrupt.exp: ditto.
8453 * gdb.base/opaque.exp: ditto.
8454 * gdb.base/printcmds.exp: ditto.
8455 * gdb.base/ptype.exp: ditto.
8456 * gdb.base/scope.exp: ditto.
8457 * gdb.base/setvar.exp: ditto.
8458 * gdb.base/signals.exp: ditto.
8459 * gdb.base/twice.exp: ditto.
8460 * gdb.c++/classes.exp: ditto.
8461 * gdb.c++/inherit.exp: ditto.
8462 * gdb.c++/templates.exp: ditto.
8463 * gdb.base/break.exp: no run and hit main for stubs. Change line
8464 numbers for breakpoints and info breakpoint.
8465 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8466 breakpoint().
8467 * gdb.base/callfuncs.c: ditto.
8468 * gdb.base/exprs: ditto.
8469 * gdb.base/interrupt.c: ditto.
8470 * gdb.base/opaque0.c: ditto.
8471 * gdb.base/printcmds.c: ditto.
8472 * gdb.base/ptype.c: ditto.
8473 * gdb.base/scope0.c: ditto.
8474 * gdb.base/setvar.c: ditto.
8475 * gdb.base/signals.c: ditto.
8476 * gdb.base/twice.c: ditto.
8477 * gdb.c++/misc.cc: ditto.
8478 * gdb.c++/templates.cc: ditto.
8479
8480Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8481
8482 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8483
8484 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8485 somewhere between `read' and `main.c'. I'm pretty sure the
8486 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8487 and it isn't particularly useful.
8488
8489 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8490
8491Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8492
8493 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8494
8495Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8496
8497 * config/mt-slite: add LIBS and -nostdlib.
8498 * config/slite-gdb.exp: add this new file to support sparclite target.
8499
8500Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8501
8502 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8503
8504 * gdb.base/a2-run.exp: Change argument to istarget from
8505 "*-*-vxworks" to "*-*-vxworks*".
8506 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8507
8508Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8509
8510 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8511 will not runto main but do a 'step' to step out of breakpoint().
8512 * config/mt-slite: add -Dusestubs.
8513
8514Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8515
8516 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8517 instead of just @.
8518
8519 * gdb.base/signals.exp: Add test for "handle all print".
8520 * TODO: Remove "handle all print". Also remove item about
8521 checking copyright date (I don't like the idea of a spurious FAIL
8522 based on when we run the tests).
8523
8524 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8525 for SunOS4 (reason for failure not investigated). Remove
8526 redundant test for $binfile.
8527
8528 * gdb.base/nodebug.c (array_index): Call malloc.
8529
8530 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8531
8532Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8533
8534 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8535 conventions and slightly simplify the matching regexp.
8536
8537Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8538
8539 * gdb.base/break.exp: Update gdb_test invocation to use new
8540 convention.
8541
8542 * lib/gdb.exp: If noargs is not set, set it to 0.
8543
8544 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8545 tests unique.
8546
8547 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8548
8549Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8550
8551 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8552 one argument of type "<non-float parameter>".
8553
8554Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8555
8556 * config/rom68k.exp: New file to support Motorola IDP board.
8557 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8558 * gdb.base/break.c: Change things around so that this program
8559 doesn't depend upon args. This is necessary to make remote
8560 targets work (in general, they can't take args).
8561 * gdb.base/break.exp: Don't try to send args to program. Don't
8562 expect output. Also, replace lots of code with gdb_test.
8563
8564Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8565
8566 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8567 printing of '\'' (which is what the comment says we are testing,
8568 even though we were not), not '''.
8569 (test_integer_literals_rejected): Test that printing ''' is an error.
8570
8571 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8572 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8573 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8574 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8575 Use gdb_test not test_print_accept.
8576 * lib/gdb.exp: Remove test_print_accept.
8577
8578 * gdb.base/signals.exp (signal_tests_1): Make pass message
8579 consistent with fail message.
8580
8581 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8582 unsigned char; the bug (PR 1821) is fixed.
8583
8584 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8585
8586 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8587 successful tests--makes xfailing them work right.
8588
8589Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8590
8591 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8592 only \r\n, not .*. The test can pass .* as the last thing in
8593 $pattern if that is what it wants. In addition to providing this
8594 flexibility, this change should speed up pattern matching in cases
8595 where the pattern already ended with .* (there were a number of
8596 them). This change also helps catch bad patterns--in the old
8597 scheme the typo "char \*" instead of "char \\*" would pass. Now
8598 it is caught.
8599 * Many .exp files: Update callers.
8600
8601 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8602 clearer and does not spuriously match multiple ('s. Likewise for
8603 ) and *.
8604
8605 * gdb.base/nodebug.exp: Test ability to call a function and pass
8606 it a string (even with no debugging info).
8607
8608 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8609 "p '\'", which is the same as "p ''" once tcl gets done with
8610 quoting, to "p '\\'", which I suspect is what is intended (one
8611 backslash gets sent to GDB).
8612
8613 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8614
8615Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8616
8617 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8618 1817) was fixed literally years ago.
8619
8620Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8621
8622 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8623 test, it causes stepping out of call_after_alloca_subr with
8624 optimizing compilers.
8625 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8626 fails.
8627
8628 * gdb.c++/templates.exp: Source templ-info.exp only if
8629 the templates executable exists.
8630
8631 * gdb.c++/misc.cc (class Contains_static_instance,
8632 class Contains_nested_static_instance),
8633 gdb.c++/classes.exp (test_static_members): Test printing of
8634 a class that contains a static instance of the class.
8635
8636Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8637
8638 * gdb.base/langs2.c (cppsub_): Don't prototype.
8639 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8640 only, I believe).
8641
8642Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8643
8644 * lib/gdb.exp (skip_chill_tests): New procedure.
8645
8646 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8647
8648Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8649
8650 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8651 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8652
8653Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8654
8655 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8656
8657 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8658 disassemble 8, not 16, instructions for part 4.
8659
8660 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8661 support the latter anymore.
8662
8663 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8664 -DNO_PROTOTYPES.
8665 * gdb.base/callfuncs.c: Control use of prototypes based on
8666 NO_PROTOTYPES, not __STDC__.
8667 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8668 t_float_values2 tests if prototypes in use.
8669
8670 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8671 t_double_values): When checking differences against DELTA, check
8672 that difference is within the range (-DELTA,DELTA), not just
8673 (-infinity,DELTA).
8674
8675Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8676
8677 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8678 'file' command firts, then 'target', then 'load', this is due to gdb
8679 target set up.
8680 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8681
8682Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8683
8684 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8685 FP load/store variants.
8686 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8687
8688Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8689
8690 * gdb.base/term.exp: Do not give a warning if not native, it is
8691 not an abnormal condition.
8692
8693Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8694
8695 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8696 t_char_array".
8697
8698Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8699
8700 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8701 are getting the version number.
8702
8703 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8704 if not native, it is not an abnormal condition.
8705
8706Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8707
8708 * lib/gdb.exp: Just use "file exists", rather than undocumented
8709 dejagnu procedure "findfile".
8710
8711Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8712
8713 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8714 (LDFLAGS): Set to -Xlinker -Ur.
8715
8716 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8717 Removed, these values are set by lib/gdb.exp.
8718
8719 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8720
8721Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8722
8723 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8724 of replicating gdb startup code.
8725
8726 * config/mt-vxworks (LDFLAGS): Set to -r.
8727 (CFLAGS_FOR_TARGET): Removed.
8728
8729 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8730 (gdb) and gdb for vxworks uses (vxgdb).
8731
8732 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8733 executable is not in the tree and host != target, use sed and
8734 program_transform_name to determine the gdb name used by the
8735 target.
8736
8737 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8738 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8739
8740Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8741
8742 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8743 floats, chars, and shorts where there are ANSI-style function
8744 definitions.
8745
8746 * gdb.base/langs.exp, gdb.base/langs*: New test.
8747 * gdb.base/Makefile.in: Build it.
8748 * TODO: Remove item about checking that C names don't get C++
8749 demangling applied; this test tests it.
8750
8751Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8752
8753 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8754 went with the const70 xfail. The xfail went away a year ago.
8755
8756 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8757
8758 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8759 for hp300.
8760
8761 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8762
8763 * gdb.base/a1-selftest.exp: Don't run on hp300.
8764
8765Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8766
8767 * Makefile.in (site.exp): Set host_alias and target_alias as well
8768 as host_triplet and target_triplet.
8769
8770Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8771
8772 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8773
8774 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8775 places as other ecoff systems).
8776
8777 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8778 ultrix.
8779
8780Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8781
8782 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8783 remove them.
8784 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8785 variable and "variable" in addition to "data variable".
8786 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8787
8788 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8789 2.
8790 * gdb.base/list1.c (long_line): Add additional statement at start
8791 of function.
8792 * gdb.base/list.exp (test_forward_search): Update line number to
8793 reflect new statement.
8794
8795Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8796
8797 * gdb.base/signals.exp: Reinitialize searched source directories
8798 after gdb_start call.
8799
8800Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8801
8802 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8803 * gdb.stabs/Makefile.in: Likewise.
8804
8805 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8806 change. Instead split the tests into smaller pieces.
8807 * gdb.disasm/hppa.s: Corresponding changes.
8808
8809Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8810
8811 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8812 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8813
8814 * gdb.base/funcargs.exp: Modify many tests so that every test
8815 either passes or fails. Make some test names unique.
8816
8817Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8818
8819 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8820 Call stty to set interrupt character.
8821
8822 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8823 for HP assembler versus GNU assembler based on actual behavior of
8824 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8825
8826 * TODO: Suggest a few more stepping tests.
8827
8828Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8829
8830 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8831 restart GDB for h8300 after a continue.
8832 (return): Add pattern to match a29k-udi behavior.
8833 * gdb.base/nodebug.exp: Remove obsolete comment.
8834 * gdb.base/regs.exp: New file, testing of register displays.
8835 * gdb.base/return.exp: Fix typo in reference to $objdir.
8836 * gdb.base/whatis.exp: Always start with a fresh GDB.
8837
8838Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8839
8840 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8841 higher, these tests generate a lot of output.
8842
8843Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8844
8845 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8846 code following the catch silently ignored some errors; without the
8847 catch they should be thrown like any other tcl error. Also, the
8848 catch used "" instead of {} which meant all the callers who wanted
8849 to include one of the characters "[]$ had to quote it an extra time.
8850 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8851 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8852 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8853 Remove extra quoting.
8854
8855Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8856
8857 * gdb.base/commands.exp: Make test names unique; every test either
8858 passes or fails. Update some comments.
8859
8860 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8861
8862Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8863
8864 The following fixes a FAIL caused by the fact that the alpha stabs
8865 configuration didn't use the ".if alpha" code in weird.def.
8866 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8867 bit pointer, so the 32 bit version works even on the alpha.
8868 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8869 Remove the stuff which allowed us to have separate versions for
8870 alpha and everything else.
8871
8872 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8873 regexp which "info func operator\[\](" is supposed to match. Fix
8874 string to send to GDB. Note that GDB still doesn't work right. Add a
8875 new test for "info func .perator\[\](" which GDB does handle correctly.
8876
8877 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8878
8879Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8880
8881 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8882 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8883 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8884 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8885 it makes the tests harder to understand and confuses test-o-matic.
8886 The preferred style is that each test provides a PASS or a FAIL,
8887 and has a unique message (e.g. "continue #54" not just "continue")
8888 which is the same for the pass and the fail.
8889 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8890 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8891 to lib/gdb.exp.
8892 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8893 prt_accept which was basically the same thing. Likewise for
8894 test_print_reject and prt_reject.
8895 * lib/gdb.exp (test_print_reject): Add some more error message
8896 patterns to match from the former printcmds.exp (prt_reject).
8897 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8898 One defect of the passcount stuff is that some of it failed to
8899 report XPASS where appropriate.
8900 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8901 stuff before and after arg in expected pattern.
8902 (test_paddr_operator_functions): Re-do test without print_addr_of;
8903 this is the only test which seems to want extra stuff there.
8904
8905Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8906
8907 * gdb.base/nodebug.exp: Update new tests to reflect improved
8908 wording of gdb output.
8909
8910 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8911 and "ptype" work on variables in files compiled without -g.
8912 Replaces commented out "maint print msymbol" tests.
8913
8914Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8915
8916 * gdb.base/setvar.c (dummy): Call malloc.
8917
8918 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8919 losing with the irix4 sed.
8920
8921 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8922 ALRM" on irix4.
8923
8924Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8925
8926 * TODO: Remove items about corefile.exp testing new exec-file and
8927 backtrace; both are now done. Add items about printing enums.
8928
8929Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8930
8931 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8932 "get signal $thissig" test fails.
8933
8934 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8935
8936Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8937
8938 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8939 compiler warning with dec alpha compiler.
8940
8941 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8942 extra \n from gdb_test call (this explains why the prompt test
8943 that I removed yesterday was there).
8944 (user_defined_command_test): Remove extra \n and prompt test.
8945
8946 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8947 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8948 doesn't exist.
8949 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8950 Also remove alpha workaround, which turns out to be because
8951 SIGABRT == SIGLOST.
8952
8953 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8954
8955 * gdb.base/help.exp: Don't test "help show".
8956
8957Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8958
8959 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8960 "set print address" is on.
8961 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8962 pass prompt to gdb_test; gdb_test already looks for the prompt.
8963
8964 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8965
8966 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8967 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8968 was to make sure that gdb can read a core file. But (a) the "read
8969 the corefile" part didn't make it to a1-selftest.exp, we just
8970 delete the corefile after creating it, and (b) we test reading
8971 corefiles in corefile.exp anyway. Also, this test left around a
8972 xgdb process on Solaris.
8973
8974 * gdb.base/corefile.exp: Also test backtrace.
8975
8976Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8977
8978 * gdb.base/commands.exp: Test a simple user defined command with
8979 arguments and if/while statements; verify the full user command is
8980 printed by "show user".
8981
8982 * gdb.base/commands.exp: Test if/while commands as part of a
8983 breakpoint command list; verify they appear in breakpoint
8984 information.
8985
8986Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8987
8988 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8989 than by dividing by zero.
8990
8991Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8992
8993 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8994 performing an inferior call with watchpoints enabled.
8995 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8996 call.
8997
8998Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8999
9000 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9001 of "file" command.
9002
9003 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9004 Add additional pattern for when "int operator int(void);" appears
9005 in a different order.
9006
9007Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9008
9009 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9010
9011 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9012 and "signal" with ".*".
9013
9014Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9015
9016 * TODO: Add note about "handle all nostop".
9017
9018 * gdb.base/{sigall.c, sigall.exp}: New test.
9019 * gdb.base/Makefile.in: Add it.
9020
9021Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9022
9023 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9024 when invoking GDB, suppresses any windowing interface.
9025
9026Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9027
9028 * config/sim-gdb: New file, simulator testing support.
9029
9030Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9031
9032 * gdb.base/interrupt.exp: Test calling func1 twice.
9033
9034Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9035
9036 * gdb.base/list.exp (test_forward_search): Set timeout higher
9037 when we'll be getting lots of output from gdb.
9038
9039 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9040 "init_malloc" to after the expect statement. Run it if that
9041 regexp is taken, but also for two others which happen if source
9042 cannot be found.
9043
9044Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9045
9046 * gdb.base/printcmds.exp: New test, for printing register before
9047 program is running.
9048
9049Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9050
9051 * gdb.base/list.exp: Correct some alternate expect patterns
9052 to reflect changes in list1.c.
9053
9054Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9055
9056 * TODO: Add item regarding large frames.
9057
9058 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9059
9060 * TODO: Remove item about enabling return.exp; it
9061 is enabled. Suggest a few more "return" tests.
9062
9063Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9064
9065 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9066 anonymous unions.
9067
9068Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9069
9070 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9071 and pr-5646.o, so "make" is the same as "make all", not "make
9072 pr-4975.o".
9073
9074Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9075
9076 * gdb.base/list.exp: Adjust expectations to reflect changes in
9077 list1.c.
9078 (test_forward_search): New test proc.
9079 * gdb.base/list1.c (long_line): New function, has long source line.
9080
9081Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9082
9083 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9084 additional line of code that was added.
9085
9086Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9087
9088 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9089 tests so as not to overflow expect's input buffers.
9090 * gdb.disasm/hppa.exp: Corresponding changes.
9091
9092Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9093
9094 Beginnings of template debugging tests.
9095 * gdb.c++/templ-info.cc: New file to test for template
9096 debugging capability of the compiler.
9097 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9098 templ-info.cc.
9099 * gdb.c++/templates.cc: Add explicit template instantiations
9100 to enable compiling with -fno-implicit-templates. Add destructor
9101 and 'value' method to T5 class for template tests.
9102 * gdb.c++/templates.exp: Add testcases for printing of template
9103 types, setting breakpoints on template methods and calling a
beb998c6 9104 template method.
c906108c
SS
9105
9106Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9107
9108 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9109 branch target since some assemblers (gas-2.5) may emit a
9110 relocation for the branch instead of resolving it in the
9111 assembler.
9112
9113Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9114
9115 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9116 through signal handler.
9117
9118Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9119
9120 * configure.in (*-*-netware): Use config/mt-netware.
9121
9122 * config/mt-netware: New file.
9123 * config/mt-i386-netware: Removed, separate configs for different
9124 netware architectures are no longer needed now that we have
9125 --with-headers.
9126
9127Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9128
9129 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9130 by the recent changes to use ANSI C arithmetic conversions.
9131
9132Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9133
9134 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9135 bug involving using inferior_pid to figure out whether to select a
9136 frame.
9137
9138Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9139
9140 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9141 match the current disassembler output.
9142
9143Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9144
9145 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9146 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9147 types, expect "int" as type of integer values (for now).
9148
9149Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9150
9151 * gdb.base/commands.exp: New tests for if/while commands.
9152
9153Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9154
9155 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9156 by .*, since hex values have different syntax in Chill mode.
9157
9158Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9159
9160 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9161 linefeed from expect pattern for repeated types with indices > 9.
9162
9163Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9164
9165 First part of Fortran test suite.
9166 * gdb.fortran: New directory.
9167 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9168
9169Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9170
9171 * gdb.base/default.exp: Update expect pattern for load command
9172 without arguments.
9173
9174Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9175
9176 * configure.in: Change i386 to i[345]86.
9177 * gdb.base/configure.in: Likewise.
9178 * gdb.c++/configure.in: Likewise.
9179 * gdb.chill/configure.in: Likewise.
9180
9181Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9182
9183 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9184 patterns, since that is not a valid context for comments.
9185
9186Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9187
9188 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9189 repeated types and repeated types with indices > 9.
9190
9191Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9192
9193 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9194 2417; old bug has been fixed.
9195
9196Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9197
9198 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9199 send the newline ourselves instead of assuming gdb_test will do
9200 so when passed an empty input string.
9201
9202 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9203 stabs testcode.
9204
9205Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9206
9207 * lib/gdb.exp (gdb_test): Don't send anything if the first
9208 argument is an empty string. This makes cases where we want to
9209 match output that is already in expect's buffers (for example,
9210 matching a breakpoint after gdb_run_cmd has been called) work
9211 reliably.
9212
9213Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9214
9215 * config/netware.exp: New file.
9216
9217Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9218
9219 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9220 the -B and -L prefixes so we can find the debugging stub.
9221
9222 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9223 there and we are using the gcc from the tree.
9224
9225 * gdb.base/types.c: Removed.
9226
9227 * gdb.base/configure.in: Look for makefile fragments in ../config.
9228 Recognize i386-*-netware.
9229 * gdb.c++/configure.in: Likewise.
9230
9231Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9232
9233 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9234 the correct TCL syntax.
9235
9236Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9237
9238 * gdb.base/opaque.exp: use runto instead of messing around with
9239 breakpoints. Simplify by using gdb_test.
9240
9241 * gdb.base/bitfields.exp: restart between tests on netware targets
9242 because breakpoints aren't relocated after target death. Run
9243 processes to completion.
9244
9245 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9246
9247Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9248
9249 * Makefile.in: Remove extra tabs that confuse some versions
9250 of "make". Use the newly built gdb to test with by default,
9251 rather than the first one in the tester's search path.
9252
9253Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9254
9255 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9256
9257 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9258 condition help.
9259
9260Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9261
9262 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9263
9264 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9265 running.
9266 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9267 * gdb.base/funcargs.exp: Likewise.
9268
9269 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9270 * gdb.base/funcargs.exp: Likewise.
9271
9272 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9273 message is "".
9274
9275Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9276
9277 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9278 return,signals,twice}.exp: Handle non-existant binaries
9279 consistantly.
9280
9281 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9282 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9283 might testing a cross development system.
9284
9285Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9286
9287 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9288 runtest script is relative to ${srcdir}, not ${rootdir}.
9289
9290Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9291
9292 * gdb.base/signals.exp: Allow for optionality of breakpoint
9293 address.
9294
9295Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9296
9297 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9298
9299Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9300
9301 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9302 for size_t definition.
9303 * gdb.c++/templates.cc: Likewise
9304
9305 * config/mt-i386-netware: New file.
9306
9307 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9308 defined.
9309
9310 * gdb.base/Makefile.in: Added support for systems that name core
9311 files by appending "core" to the program name.
9312 * gdb.base/a1-selftest.exp: Likewise.
9313
9314Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9315
9316 * gdb.base/return.exp: Add comment and message for `return double'
9317 test failure on Sparc Solaris.
9318
9319Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9320
9321 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9322
9323Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9324
9325 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9326 from optimizing them away.
9327 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9328 patterns to include default constructors and assignment operators,
9329 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9330 character in the output of the virtual base pointer.
9331
9332Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9333
9334 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9335 expression match in print_addr_of to avoid unintented matches.
9336 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9337 versions up to 2.5.8.
9338
9339Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9340
9341 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9342 included file to run under newer versions of expect.
9343 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9344 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9345 Remove xfail for the virtual table of BDDHookV.
9346
9347Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9348
9349 * lib/gdb.exp (string_to_regexp): Set a default result.
9350 (default_gdb_start): Fix misleading message.
9351
9352Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9353
9354 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9355 Remove all CC, etc definitions.
9356 * config/mt-hpux: New file.
9357 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9358 (CFLAGS, LDFLAGS): Define.
9359 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9360
9361 * Makefile.in (site.exp): Don't insert host_os, etc.
9362 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9363 (distclean): Check existence of subdir.
9364 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9365 * gdb.base/Makefile.in: General cleanup and simplification.
9366 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9367 to build executables. Use default rule to build .o files.
9368 (EXPECT, RUNTEST, CC): Fix relative pathname.
9369 (site.exp): Don't insert host_os, etc.
9370 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9371 and/or SIGUSR1 defined.
9372 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9373 * gdb.c++/Makefile.in: General cleanup and simplification.
9374 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9375 (CFLAGS): Remove.
9376 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9377
9378Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9379
9380 * gdb.base/recurse.exp: Misc changes to get tests running again
9381 after Kung's changes to the watchpoint code.
9382 * gdb.base/watchpoint.exp: Likewise.
9383
9384Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9385
9386 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9387
9388Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9389
9390 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9391 * lib/gdb.exp (default_gdb_start): Define.
9392 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9393 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9394 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9395 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9396 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9397 Don't call gdb_target_udi in between tests.
9398
9399Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9400
9401 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9402 (which was basically just a local version of the same thing). In
9403 addition to avoiding duplication, gdb_test_exact is faster.
9404 * lib/gdb.exp (gdb_test_exact): Fix typo.
9405
9406 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9407 don't give an error.
9408
9409 * gdb.base/term.exp: Call delete_breakpoints before starting.
9410
9411 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9412 (t10): Add comment.
9413
9414Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9415
9416 Reorganization of the GDB Test Suite.
9417
9418 * gdb.base: New directory, contains all the basic tests.
9419 * gdb.c++: New directory, tests specific to C++.
9420 * gdb.chill: New directory, tests specific to Chill.
9421 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9422 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9423 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9424 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9425 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9426 t30-31 to chill).
9427 * */gdbme.*: Rename to match appropriate expect scripts.
9428 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9429 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9430 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9431 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9432 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9433 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9434 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9435 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9436 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9437 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9438 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9439 gdb.c++/virtfunc.cc: New names of C++ files.
9440 * gdb.chill/chillvars.ch: New name of Chill file.
9441 * gdb.base/configure.in, gdb.c++/configure.in,
9442 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9443 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9444 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9445 * configure.in (configdirs): Update to reflect directory changes.
9446 (target_abbrev): No longer define for any configuration.
9447 * Makefile.in: Cosmetic improvements to header comments.
9448
9449Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9450
9451 Various changes to gdb.t31:
9452
9453 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9454 * gdbme.ch: Make all key-words and predefineds be upper-case.
9455 * chillvars.exp: Expect key-words and predefinds in upper-case.
9456
9457 * chillvars.exp: Use gdb_test_exact many places.
9458 Change expected output for arrays (which now includes index labels).
9459
9460 * pr-5020.exp, gdme.ch (module PR_5020):
9461 New test, for PR-5020.
9462
9463Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9464
9465 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9466 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9467
9468Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9469
9470 * Makefile.in: Fix bit-rot in definitions of CHILL,
9471 CHILL_FOR_TARGET and Chill_LIB.
9472 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9473 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9474 CHILL, and CHILL_LIB.
9475
9476Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9477
9478 * Revert the previous changes. Please see Rob's directory
9479 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9480
9481Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9482
9483 * Makefile.in, configure.in, config/mips-gdb.exp,
9484 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9485 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9486 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9487 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9488 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9489 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9490 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9491 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9492 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9493 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9494 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9495 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9496 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9497 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9498 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9499 changes from 94Q1.
9500
9501Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9502
9503 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9504 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9505 Rob's new testing fragments.
9506
9507Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9508
9509 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9510 lib/gdb.exp: Replace error proc calls with perror.
9511
9512Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9513
9514 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9515 version also, match on casted version strings, and match on
9516 gdb startup case where the line numbers might be messed up.
9517
9518Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9519
9520 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9521 (CFLAGS): Delete it from here.
9522
9523Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9524
9525 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9526
9527Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9528
9529 * Makefile.in (RUNTEST): Default to just "runtest".
9530
9531Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9532
9533 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9534 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9535 the code has been restructured.
9536
9537Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9538
9539 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9540 \n, not just one of each.
9541
9542 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9543 /bin/cc gives a warning if you do.
9544
9545Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9546
beb998c6 9547 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9548 __t10ListS_link1ZUiRCUiPT0
9549
9550Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9551
9552 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9553 on local variables in recursive functions.
9554
9555 * gdb.t07/Makefile.in: Build the new test.
9556
9557Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9558
9559 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9560 directly. Instead compare the return values from actual calls.
9561
9562Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9563
9564 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9565
9566Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9567
9568 * From Peter Schauer with minor modifications.
9569 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9570 stops in mid-line in the caller. Add xfail for returning a float
9571 value on X86 targets.
9572
9573Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9574
9575 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9576 to avoid expect lossage.
9577 (fmem_LRbug_tests): Likewise.
9578 * gdb.disasm/hppa.s: Corresponding changes.
9579
9580 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9581 conditions to work with latest dejagnu/expect.
9582
9583 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9584 expected to fail on the PA.
9585 (backtrace in call with trampolines): Explicitly require main
9586 to be frame #1 (no trampolines should show up in backtrace).
9587
9588 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9589 "continue -expect".
9590 * gdb.t06/break.exp: Likewise.
9591 * gdb.t07/watchpoint.exp: Likewise.
9592 * gdb.t13/bitfields.exp: Likewise.
9593 * gdb.t15/{funcargs,return}.exp: Likewise.
9594 * gdb.stabs/weird.exp: Likewise.
9595 * config/{mips,udi}-gdb.exp: Likewise.
9596
9597 * hppa.sed: Enclose comments within a sed command to avoid
9598 losing with the old OSF1 sed.
9599
9600Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9601
9602 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9603 sequent dynix.
9604 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9605 * gdb.t15/funcargs.exp: Conditionally step again to really
9606 finish from marker_call_with_trampolines. Handle the case where
9607 the first step from within call_with_trampolines already steps
9608 us back to main.
9609 * gdb.t15/gdbme.c: Add comment to closing brace of
9610 call_with_trampolines for funcargs.exp.
9611
9612Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9613
beb998c6 9614 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9615 Fix typo(s).
9616
9617Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9618
9619 * gdb.t07/gdbme.c: More code for watchpoint testing.
9620
9621 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9622 "Hardware watchpoint" throughout file.
9623 (test_watchpoint_triggered_in_syscall): New test.
9624 (test_complex_watchpoint): New test.
9625
9626Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9627
9628 * gdbme.c (call_with_trampolines): New function to try and step
9629 into. Tests trampoline problems on the PA.
9630
9631 * funcargs.exp (localvars_in_indirect_call): No longer expect
9632 stepping into indirect call to fail on PAs.
9633 (test_stepping_over_trampolines): New test.
9634
9635Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9636
9637 * TODO: Add suggestions for static member function tests, and
9638 completion tests.
9639
9640Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9641
9642 * TODO: Add suggestions for "p/a" tests.
9643
9644 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9645 (default_gdb_exit): Replace all the hair with sending "quit" to
9646 the process with a simple close.
9647
9648Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9649
9650 * TODO: Add suggestions for shared library tests.
9651
9652Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9653
9654 * TODO: Add suggestions for x/s tests.
9655
9656Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9657
9658 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9659 "enable once", and "enable breakpoints once" with ".*".
9660
9661Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9662
9663 * TODO: Add suggestions about structure passing tests.
9664
9665Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9666
9667 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9668 the primary1 test, use work around if __GNUC__ < 2.
9669 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9670 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9671 Test for bad output rather than waiting for timeout. Issue
9672 second continue only if first continue failed.
9673
9674Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9675
9676 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9677 operator[] test with gdb_test because the old code didn't seem to
9678 be getting the quoting right with the new dejagnu.
9679
9680Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9681
9682 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9683 one from the path.
9684 * Makefile.in: Use a fresh expect if there is one, use runtest
9685 from the src tree if there is one.
beb998c6 9686
c906108c
SS
9687Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9688
9689 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9690 next over recursive call. Revise the tests from that point on
9691 (which had been skipped) to match GDB's actual (correct) output.
9692
9693 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9694 with next over a breakpoint whose condition is false.
9695
9696 * gdb.t00/help.exp: Comment out "help set print" tests just like
9697 (and for same reason as) "help set" test.
9698
9699Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9700
9701 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9702 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9703
9704Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9705
9706 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9707 necessary gdb_target_udi.
9708
9709 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9710
9711 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9712 1838 and 2417; they are fixed.
9713
9714 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9715 gdb.t03/ptype.exp (ptype structure, ptype union):
9716 Remove xfails; the test is looser than when the xfails were added.
9717
9718 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9719 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9720
9721 * gdb.t01/run.exp: Only run shell test if isnative.
9722
9723 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9724 since "run" automatically loads if necessary. Call gdb_target_udi
9725 after the "file" since "file" kills any execution target.
9726
9727 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9728 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9729 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9730 argument for UDI.
9731
9732Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9733
9734 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9735
9736 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9737
9738Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9739
9740 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9741 properly quoting regexps. This makes the second argument to
9742 demangle a fixed string, which matches the callers, instead of a
9743 shell-style pattern which is what the previous implementation
9744 used. Update some of the callers.
9745
9746Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9747
9748 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9749 (comib_nullified_tests): Fix typo.
9750 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9751 strings. No longer expected to fail.
9752
9753 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9754 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9755 strings. No longer expected to fail.
9756
9757 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9758 string. No longer expected to fail.
9759
9760Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9761
9762 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9763 No longer expected to fail.
9764
9765 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9766 string. No longer expected to fail.
9767
9768Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9769
9770 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9771 only in the names (I probably got most of them). I was even
9772 generous with some which differed in underscores in names, and
9773 probably missed a few, and I *still* was able to remove almost a
9774 third of the file with almost no impact on testsuite coverage.
9775
9776Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9777
9778 * gdb.t00/default.exp: Match udi_attach error message as well as
9779 the one from child_attach.
9780
9781 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9782
9783 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9784
9785 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9786 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9787
9788 * Move test with enums and partial symbols back to
9789 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9790 Reverts the change of 26 May 93. Per today's change to
9791 stabs.texinfo, the behavior that weird.exp was expecting was
9792 unreasonable; what is important is that the compiler+gdb get
9793 things right, which happens with a recent gcc. Also fix the test
9794 to deal with native compilers which put out the stab gdb can't
9795 deal with.
9796
9797Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9798
9799 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9800 in the names. The main thing these accomplish is to slow things down.
9801 Many more such duplicates surely remain.
9802
9803 * gdb.t00/help.exp: Comment out "help support" test just like
9804 (and for same reason as) "help set" test.
9805
9806Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9807
9808 * gdb.t06/break.exp: Remove setup_xfails for
9809 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9810 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9811 about known bug in gcc to include up through 2.5.8.
9812 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9813 well as "_vb$".
9814 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9815 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9816 with latest gcc and gdb.
9817 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9818 well as "_vb$".
9819
9820Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9821
9822 * configure.in (hppa*-*-*): Also configure and build stabs-only
9823 tests.
9824
9825Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9826
9827 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9828 * gdb.t10/configure.in (hppa*-*-*): Use it.
9829
9830Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9831
9832 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9833
9834Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9835
9836 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9837 versions prior to 1.13.5.
9838
9839Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9840
9841 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9842 the prompt is at the start of a line.
9843
9844Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9845
9846 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9847 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9848 in the copr tests now.
9849 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9850 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9851 expected to fail.
9852
9853Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9854
9855 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9856 gdb.t31/chillvars.exp, lib/gdb.exp:
9857 Tweak to run under either version of expect.
9858 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9859 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9860 * gdb.t11/list.exp: Remove extraneous whitespace.
9861
9862Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9863
9864 * gdb.t16/printcmds.exp (test_print_strings): Accept
9865 "(unsigned char *) " before the string.
9866
9867 * TODO: Add notes about printing of fancy types and GDB expressions.
9868
9869Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9870
9871 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9872 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9873 if doing mips-idt-ecoff.
c906108c
SS
9874
9875Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9876
9877 * Most .exp files: Tweak to run under either version of expect.
9878
9879Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9880
9881 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9882 xfails; I'm not sure why they are failing, but not because of PR 1806.
9883
9884Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9885
9886 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9887 defined in lib/gdb.exp.
9888
9889Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9890
9891 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9892 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9893 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9894 have to be typeless.
9895
9896Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9897
9898 * TODO: Add suggestion for copyright year test.
9899
9900Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9901
9902 * configure.in (*-*-lynxos*): Add stabs tests.
9903
9904Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9905
9906 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9907 so insert a tab before any assembler directive in column zero.
9908
9909 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9910 stores.
9911 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9912 stores.
9913 (fpu_short_memory_tests): Likewise.
9914
9915Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9916
9917 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9918 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9919 .stabs directives in comments.
9920
9921Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9922
9923 * TODO: New file, describing tests we could write.
9924 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9925
9926Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9927
9928 * gdb.t06/signals.exp: Add kludge to force re-sync.
9929
9930 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9931 to xgdb instead of gdb, get out of gdb.
9932
9933Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9934
9935 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9936 for info.
9937
9938Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9939
9940 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9941 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9942 * gdb.stabs/hppa.sed: New sed script for the PA.
9943
9944Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9945
9946 * gdb.stabs: Re-write weird.def and configuration to use sed
9947 instead of cpp. sed is portable and POSIX; cpp is neither.
9948
9949Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9950
9951 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9952
9953Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9954
9955 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9956
9957Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9958
9959 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9960 "_vb$".
9961 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9962 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9963
9964Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9965
9966 * lib/gdb.exp: Comment out code which depends on non-existent
9967 `transform' procedure.
9968
9969Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9970
9971 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9972 * lib/gdb.exp: Transform tool name.
9973 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9974 1.1's new error handling system.
9975
9976Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9977
9978 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9979
9980Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9981
9982 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9983 They made pattern matching so slow that timeouts happened on
9984 heavily loaded systems. Now any output from "show print" which
9985 gets us back to the GDB prompt is a PASS.
9986
9987Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9988
9989 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9990
9991Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9992
9993 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9994
9995 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9996 It is not from PR 3220.
9997
9998Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9999
10000 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10001 just started failing because they depended on the order the
10002 subcommands are presented, or exact docstring text. This kind of
10003 test is a pain and has minimal benefit.
10004
10005Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10006
10007 * gdb.t09/corefile.exp: At end of test, use "core" command with
10008 no arguments.
10009
10010Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10011
10012 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10013 17}/Makefile.in: Make it possible to run the testsuite with Sun
10014 make and CC = cross gcc by adding explicit build rules for .o
10015 files.
10016
10017Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10018
10019 * gdb.t15/funcargs.exp: Don't put comments on same line as
10020 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10021
c906108c
SS
10022Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10023
10024 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10025
10026Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10027
10028 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10029 * gdb.t20/inherit.exp: remove three dumplicate entries.
10030
10031Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10032
10033 * gdb.t06/break.exp: For "next over recursive call", fail on any
10034 incorrect output, not just on "factorial (value=2)".
10035
10036Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10037
10038 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10039 working now. Add an xfail if accesing a bss variable causes
10040 a memory error if the target is not yet run.
10041
10042Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10043
10044 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10045 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10046 name of __st* demangling (2 strings). Did Kung really get the
10047 more than 95 others right without testing them?
10048
10049Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10050
10051 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10052
10053Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10054
10055 * configure.in (configdirs): Add gdb.disasm
10056 * gdb.disasm: New directory for GDB disassembler tests.
10057 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10058
10059Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10060
10061 * gdb.t00/help.exp: Don't test "help set".
10062
10063 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10064 from within expect statements. None of these happen anymore and
10065 they cause regressions to be silently unnoticed.
10066
10067 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10068 messages) about known failures with gcc cygnus-2.4.5-930417.
10069
10070 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10071 comp-info.exp so it gets built if it doesn't exist.
10072
10073 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10074 it is no longer used.
10075 * gdb.t13/comp-info.c: Removed.
10076
10077Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10078
10079 * gdb.t06/signals.exp: Add xfail for sun3.
10080
10081Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10082
10083 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10084 relevant because ^C doesn't get sent but failure can be reproduced
10085 interactively).
10086
10087Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10088
10089 * gdb.stabs/alpha.mt: New configuration file for alpha.
10090 * gdb.stabs/configure.in: Use it.
10091 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10092 sharing with alpha.mt, redefine long to word via preprocessor.
10093 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10094 for alpha.
10095 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10096 native cc.
10097 * gdb.t00/teststrategy.exp: Change expect string so that we
10098 consume the `(xgdb)' from the command echo and from the gdb prompt.
10099 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10100 gdb currently compares all values as long, so this failure probably
10101 applies to any configuration where LONGEST is bigger than a target int.
10102 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10103 with gcc.
10104 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10105 to handle opaque pointers, gcc is.
10106 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10107 as first argument. Include <sys/types.h> and change all operator
10108 new definitions to use size_t.
10109 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10110 now that we use size_t.
10111
10112Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10113
10114 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10115 a long or float array cast all array members to the same type.
10116 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10117 with 64 bit longs.
10118 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10119 on alpha.
10120 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10121
10122Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10123
10124 * gdb.t24 (demangle.exp): Constructors of templates have names like
10125 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10126 section 14.6 of the ARM.
10127
10128 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10129 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10130 accomplish little and slow down the testsuite.
10131
10132 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10133 Accept spaces various places.
10134
10135Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10136
10137 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10138 with watchpoint enabled.
10139
10140 * Makefile.in: Remove definition of CC and remove the second
10141 definition of CXX (the "CXX = gcc" one remains). These definitions
10142 were causing backquotes to be expanded within backquotes, which
10143 doesn't work.
10144
10145Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10146
10147 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10148
10149Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10150
10151 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10152 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10153 by mips cc and contains no stabs entries.
10154
10155Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10156
10157 * config/vx-gdb.exp: Use fake device to load files rather than
10158 NFS.
10159 * lib/gdb.exp: New proc to do "file" command.
10160 * config/unix-gdb.exp: Use new "file" proc.
10161
10162Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10163
10164 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10165 Rework board rebooting slightly.
10166 (gdb_exit): Don't exit from the remote shell; there isn't one.
10167 * gdb.stabs/weird.exp: If a program is being debugged already,
10168 kill it.
10169 * gdb.t04/setvar.exp: Stop and restart gdb.
10170 * gdb.t05/expr.exp: Likewise.
10171 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10172 restart gdb and reload the program.
10173 * gdb.t08/opaque.exp: Likewise.
10174 * gdb.t12/scope.exp: Likewise.
10175 * gdb.t13/bitfields.exp: Likewise.
10176 * gdb.t15/funcargs.exp: Likewise.
10177 * gdb.t20/classes.exp: Likewise.
10178 * gdb.t03/ptype.exp: Increase timeout.
10179 * gdb.t16/printcmds.exp (test_print_string_constants,
10180 test_print_array_constants): Likewise.
10181 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10182 * gdb.t20/classes.exp (do_tests): Likewise.
10183 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10184
10185Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10186
10187 * gdb.stabs: Renamed *wierd* to *weird*.
10188
10189Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10190
10191 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10192 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10193
10194Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10195
10196 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10197 (do_tests): Remove xfail for whatis on one_var and two_var.
10198
10199Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10200
10201 * Makefile.in: Made cross building work better by adding
10202 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10203
10204Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10205
10206 * gdb.t15/{return.c,return.exp,Makefile.in}:
10207 New test, currently commented out.
10208
10209Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10210
10211 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10212 still running and removes the leftover named socket so GDb can do
10213 clean restarts.
10214
10215Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10216
10217 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10218 console, not GDB.
10219 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10220 cross testing works better with "make check"
10221 * config/unix-gdb: Use default procedures for exit and version.
10222 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10223 with the newest VxWorks.
10224
10225Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10226
10227 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10228 old form.
10229
10230 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10231 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10232
10233 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10234
10235 * config/unix-gdb.exp: Remove this version of gdb_exit
10236 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10237 Rob says he'll look at it when he gets back to testing boards.
10238
10239Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10240
10241 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10242 an expected fail for certain ptype commands.
10243
10244 * gdb.t20/classes.exp: Update expected results of "ptype class
10245 Base1" to account for the constructor that now appears in the type.
10246
10247Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10248
10249 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10250 disappeared from list.
10251 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10252 "alldone" proc with call to cleanup and exit.
10253 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10254 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10255 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10256 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10257 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10258 "alldone" proc with simple returns that suppress remaining
10259 tests. The alldone proc went away many months ago.
10260
10261Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10262
10263 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10264
10265 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10266
10267Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10268
10269 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10270 as vax gdb will display them.
10271
10272Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10273
10274 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10275 optimizers.
10276
10277 * scope.exp: Change "bad value for localval" messages so each one
10278 is unique.
10279
10280 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10281 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10282
10283 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10284
10285Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10286
10287 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10288 doesn't exist (due to optimization).
10289
10290Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10291
10292 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10293 contains \r because the filename is long.
10294
10295 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10296 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10297
10298Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10299
10300 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10301 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10302 Ultrix.
10303 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10304 int tests.
10305 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10306
10307Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10308
10309 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10310
10311 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10312 to match does not match the passing case but still matches the
c906108c
SS
10313 failing case.
10314
10315Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10316
10317 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10318
10319Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10320
10321 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10322 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10323 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10324 Remove various versions of gdb_exit.
10325 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10326 gdb_exit.
10327 * config/unix-gdb.exp: gdb_exit remains here, and should override
10328 the generic version, since it's doing a lot of wierd stuff that
10329 the other versions aren't. FIXME, fold it in, or abandon this
10330 version.
10331
10332Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10333
10334 * gdb.t24/demangle.exp: Add tests for PR 3220.
10335
10336Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10337
10338 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10339
10340Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10341
10342 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10343 "i386-*-*". Works for i486 as well.
10344
10345 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10346 bug, and expand domain of xfail to all SVR4 systems, since the
10347 actual problem is likely to be in generic SVR4 /proc support.
10348
10349Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10350
10351 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10352
10353Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10354
10355 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10356 xfails for other systems. Match a missing 'Continuing.' as an
10357 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10358
10359 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10360 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10361 Only issue warning for missing executables if -all option is used.
10362
10363 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10364 file if -all option is used. It's like an unpredictable XFAIL.
10365
10366Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10367
10368 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10369 for dynamically linked binaries.
10370
10371 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10372
10373Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10374
10375 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10376 to state that this is a known bug in old versions of g++.
10377
10378Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10379
10380 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10381 while waiting for `Continuing'.
10382
10383Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10384
10385 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10386 in text, data, and bss.
10387 * gdb.t10/nodebug.c: Add local and global test variables for
10388 initialized and uninitialized data.
10389
10390Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10391
10392 * config/unix-gdb.exp (gdb_exit): Add "wait".
10393
10394Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10395
10396 * gdb.t06/signals.exp: xfail the continue from the handler for all
10397 targets.
10398
10399 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10400 function with watchpoints enabled, the i386 call dummy starts with
10401 a call.
10402
10403 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10404 386 bsd names its corefiles.
10405
10406Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10407
10408 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10409 compilers don't grok it.
10410 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10411 with small octal ints rather than character constants, which
10412 are signed and might not fit if first promoted to int.
10413
10414Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10415
10416 * gdb.t09/Makefile.in (clean): Remove corefile.
10417
10418Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10419
10420 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10421
10422Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10423 and Jim Kingdon (kingdon@cygnus.com)
10424
10425 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10426 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10427 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10428
10429Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10430
10431 * gdb.t17/interrupt.exp: Add xfail for hppa.
10432
10433Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10434
10435 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10436 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10437 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10438 to determine signed-ness of bitfields and use the result to setup
10439 the xfail.
10440 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10441 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10442 call line is reached if necessary.
10443
10444Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10445
10446 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10447
10448Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10449
10450 * gdb.t06/break.exp: Also test `clear' command.
10451
10452Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10453
10454 * gdb.t00/teststrategy.exp: Remove extra quote.
10455
10456 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10457 watchpoint enabled to be for all non-68k machines.
10458
10459 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10460
10461Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10462
10463 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10464 targets use aout.mt instead of ecoff.mt as gas understands
10465 standard aout format.
10466
10467Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10468
10469 * lib/gdb.exp (runto): Don't insist that function we are running to
10470 was compiled with -g.
10471
10472 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10473
10474 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10475 to get back into the read system call.
10476 Accept leading newline in case where we woke it up.
10477
10478Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10479
10480 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10481 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10482 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10483 enable ecoff configuration.
10484
10485Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10486
10487 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10488
10489Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10490
10491 * gdb.t16/printcmds.exp: Add another printf test.
10492
10493Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10494
10495 * configure.in: If configured -with-stabs on any target, add
10496 stabsdirs to configdirs.
10497
10498Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10499
10500 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10501 fun" so pattern does not match the command itself.
10502
10503Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10504
10505 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10506
10507Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10508
10509 * gdb.t17/interrupt.exp: Test for more things.
10510
10511Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10512
10513 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10514 compiler arranges the code and line numbers.
10515
10516 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10517
10518Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10519
10520 * gdb.t00/help.exp: Increase expect input buffer size.
10521
10522Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10523
10524 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10525
10526 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10527
10528 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10529
10530 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10531 [0-9]*, not just [0-9].
10532
10533Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10534
10535 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10536
10537 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10538
10539Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10540
10541 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10542
10543Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10544
10545 * gdb.t06/signals.c: Add xfails for sun3.
10546
10547 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10548
10549 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10550 test_stepping tests.
10551
10552Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10553
10554 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10555
10556 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10557
10558 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10559 rather than actually putting it through cpp twice.
10560
10561 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10562
10563Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10564
10565 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10566 no longer needed.
10567
10568Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10569
10570 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10571
10572 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10573 C++ features prints as "struct", make it a pass, not an xfail.
10574
10575Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10576
10577 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10578 Don't require VA to print as "class" rather than "struct".
10579
10580Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10581
10582 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10583
10584Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10585
10586 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10587
10588Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10589
10590 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10591 order.
10592
10593Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10594
10595 * gdb.t16/printcmds.exp: Add printf tests.
10596
10597 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10598
10599 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10600
10601Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10602
10603 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10604 pass counts, to counteract any existing or future setup_xfails.
10605
10606Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10607
10608 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10609 {BEGIN,END}_COMMON for common block instead of STAB.
10610 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10611
10612 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10613 intp_var should be N_GSYM not N_LSYM.
10614 wierd-aout.S: Use a label for the value of the N_SO.
10615 wierd.def: Remove all backslashes.
10616 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10617
10618Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10619
10620 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10621 get the expected next to inheritance3.
10622
10623Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10624
10625 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10626 now that gcc-2.4 gets it right.
10627
10628Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10629
10630 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10631
10632 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10633 generating comp-info.exp which works for cross-compilation.
10634
10635Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10636
10637 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10638 "*-*-sysv4.*".
10639
10640Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10641
10642 * gdb.t01/run.exp: Start with a fresh gdb.
10643 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10644 SVR4.x.
10645
10646Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10647
10648 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10649 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10650 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10651 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10652 things to remove.
10653
10654Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10655
10656 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10657 test cases from bug reports.
10658
10659Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10660
10661 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10662 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10663 avoid spurious xfails.
10664 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10665 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10666 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10667
10668Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10669
10670 * gdb.t00/teststrategy.exp: Rework to provide more useful
10671 description of each test, fix problem with systems that define
10672 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10673 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10674 results for "next over recursive call" so timeouts aren't taken
10675 by error.
10676
10677Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10678
10679 * gdb.t12/scope.exp: Test printing of variables before run.
10680
10681 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10682 printed in wrong order due to sorting.
10683
10684Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10685
10686 * gdb.t00/teststrategy.exp: Fix expected results for printing
10687 user entered string constant. Is array of char, prints with no
10688 address.
10689
10690 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10691 commands.
10692 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10693 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10694 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10695 of struct of char arrays.
10696 * gdb.t00/radix.exp: New tests for radix commands.
10697
10698Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10699
10700 * gdb.t16/printcmd.exp: Print a variable before running program
10701 (with xfail for AIX).
10702
10703Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10704
10705 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10706
10707 * gdb.t16/printcmd.exp: Don't print variables before running program.
10708
10709 * gdb.t06/break.exp: Don't require envp argument to main.
10710
10711 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10712
10713 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10714 Add xfails for rs6000.
10715
10716 * gdb.t02/whatis.exp: Change other tests not to re-test something
10717 we already tested.
10718
10719 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10720 each type used has a variable of that type.
10721
10722Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10723
10724 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10725
10726Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10727
10728 * configure.in: change srctrigger to be a file, not a directory
10729
10730Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10731
10732 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10733
10734 * gdb.t11/list.exp: Fixed a couple of typos.
10735
10736Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10737
10738 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10739 is fixed and PR is closed.
10740 * gdb.t16 (gdbme.c): Add simple test string variable.
10741 * gdb.t16 (printcmds.exp): Add tests with simple test string
10742 variable, primarily for boundaries on "set print elements".
10743
10744Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10745
10746 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10747 Make leading 0's optional and don't expect a tab in the middle
10748 of the number.
10749
10750 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10751
10752 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10753 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10754 don't end command passed to gdb_test with newline.
10755
10756 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10757 signed keyword away, don't expect signed bitfields to be signed.
10758
10759 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10760 printing with only as many 1's as are in the field as well as printing
10761 with 32 1's (see comment).
10762
10763Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10764
10765 * gdb.t00/default.exp: Start with a fresh gdb.
10766 * configure.in (configdirs): Remove gdb.t31 until the chill
10767 compiler works again. It no longer is able to find chillrt0
10768 since it isn't in libchill.a anymore.
10769 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10770 wierd.o, make more modular.
10771 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10772 spurious newlines that caused problems.
10773
10774Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10775
10776 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10777 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10778 gdb.stabs/wierd.{exp,def}: Many new tests.
10779
10780 * gdb.t00/default.exp: update info line for new message.
10781
10782 * gdb.t02/{whatis.exp,gdbme.c}:
10783 Test that "char *" doesn't print as "caddr_t".
10784
10785Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10786
10787 * gdb.t00/help.exp: Use .* in place of some help messages which
10788 just changed.
10789 gdb.t00/default.exp: Update "info frame" test for new message.
10790 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10791 Remove some xfails
10792
10793Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10794
10795 * gdb.t03/{gdbme.c,ptype.exp}:
10796 Add tests for typedef'd struct and union without tags.
10797 Also check "whatis" on a variable of a typedef'd enum without a tag.
10798
10799 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10800 PRMS 1823; the bug still exists but isn't reproduced by this test
10801 anymore), and remove rs6000 XFAIL (the bug is fixed).
10802
10803 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10804 duplicated from whatis.exp. For those that are left, accept
10805 "long", "long int", or "int" for long variables (whatis.exp already
10806 has an XFAIL for "int", so no need to fail it here).
10807
10808 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10809 Deal with GCC's names for types now that GDB uses the compiler's names.
10810
10811 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10812 setup_xfail's for sunos4. If we #defined the signed keyword away,
10813 don't expect GDB to know that char it is signed.
10814
10815 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10816
10817Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10818
10819 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10820 should work on any system, regardless of debugging format.
10821 * gdb.t21/demangle.exp: Move to gdb.t24.
10822 * gdb.t24/demangle.exp: Move from gdb.t21.
10823 * gdb.t24/{Makefile.in, configure.in}: New files.
10824
10825Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10826
10827 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10828 * gdb.stabs: New directory.
10829
10830Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10831
10832 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10833 not just "Quit anyway?".
10834
10835Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10836
10837 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10838 that all setup_xfails are immediately followed by clear_xfails.
10839
10840Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10841
10842 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10843 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10844 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10845 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10846 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10847 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10848 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10849 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10850 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10851 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10852 gdb.t31/chillvars.exp, lib/gdb.exp:
10853 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10854 bug-gdb@prep.ai.mit.edu.
10855
10856Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10857
10858 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10859 with 0.0, not integer 0.
10860
10861Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10862
10863 * gdb.t06/break.exp: Update for "Kill the program" message change.
10864
10865Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10866
10867 * Makefile.in (GDBFLAGS): Set to -nx.
10868 * Makefile.in (site.exp): Use GDBFLAGS.
10869
10870Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10871
10872 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10873 Makefiles.
10874 (check): depend on just-check.
10875 (just-check): added so that tests can be run without a noop
10876 build pass.
10877
10878Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10879
10880 Switch to using configure's configdirs.
10881 * Makefile.in (Makefile): add configure.in dependency.
10882 (SUBDIRS): removed redundant assignment.
10883 * configure.in: switch subdirs assignment to configdirs.
10884 * gdb.t*/configure.in: new files.
10885
10886Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10887
10888 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10889 works.
10890
10891Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10892
10893 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10894 in explicit rules. Apparently this is not supported by some makes.
10895
10896Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10897
10898 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10899
10900Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10901
10902 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10903 disappeared.
10904
10905Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10906
10907 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10908
10909Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10910
10911 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10912 watchpoint problem that is now fixed.
10913 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10914 uninitialized convenience variables.
10915 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10916 structures.
10917
10918Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10919
10920 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10921 which causes expect to get out of sync with gdb on long output
10922 from help set.
10923 * gdb.t09/corefile.exp: Make expected pattern for core file
10924 failing signal and frame output format less sun specific.
10925
10926Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10927
10928 * gdb.t31/chillvars.exp: Add and remove initial dummy
10929 breakpoint, so that symbol table is forced in.
10930 (Needed at least on Sunos4, though it seems not SVR4.)
10931 * gdb.t31/chillvars.exp: Update for changed output format.
10932
10933Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10934
10935 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10936
10937Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10938
10939 * Makefile.in: Added --srcdir when invoking runtest, removed the
10940 need for a local config file. (optional now)
10941
10942Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10943
10944 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10945 failure count used to force early termination. Add some more
10946 expected failures for gnu style demangling.
10947
10948Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10949
10950 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10951 pmi variable from gdb.t20/gdbme to get optimized away.
10952 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10953 Check for written corefile upon timeout _and_ eof.
10954
10955Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10956
10957 * config/unix-gdb.exp: Add missing return 0.
10958
10959Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10960
10961 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10962 test termination.
10963
10964Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10965
10966 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10967 disappeared.
10968
10969Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10970
10971 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10972 time as i860 support works.
10973
beb998c6 10974 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10975 "backtrace 100\r" rather than just "backtrace\r", to match last
10976 change.
10977
10978Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10979
10980 * config/udi-gdb.exp (gdb_exit): Remove close command.
10981 (gdb_target_udi): New procedure to set the UDI target.
10982 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10983 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10984 Added waits for prompts after several question responses. Added
10985 some more responses used by a29k-amd-udi-gdb.
10986 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10987 pass different arguments, restart UDI connection after program
10988 completion.
10989 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10990 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10991 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10992 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10993 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10994 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10995 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10996 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10997 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10998 after program completion.
10999 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11000 compiled with a SELECT_VECS setting.
11001 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11002 infinite recursion.
11003
11004 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11005 Added checks for COFF results, and made them expected failures for
11006 all targets. It would be better to make them expected failures
11007 for COFF targets only.
11008
11009Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11010
11011 * Makefile.in: add null dvi target, don't bother to recurse
11012 through test directories for info and install-info; rename
11013 $(datadir) to be dejagnu instead of deja-gnu
11014
11015Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11016
11017 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11018 compiler to coredump.
11019 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11020 code.
11021
11022Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11023
11024 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11025 coredump.
11026 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11027 code.
11028
11029Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11030
11031 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11032 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11033 which in a shell. Deletes xgdb when done.
11034 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11035 Tests the return from the "set height" or "set width" commands.
11036 Added a few return codes where needed.
11037
11038Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11039
11040 * Makefile.in (SUBDIRS): Add gdb.t17.
11041 * configure.in (subdirs): Add gdb.t17.
11042 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11043 files to test gdb's calling of functions in the inferior with
11044 the correct arguments and gdb's ability to retrieve any
11045 result returned.
11046
11047Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11048
11049 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11050 may be called after gdb goes away. Previous versions of expect
11051 needed these to avoid file descriptor leaks, but they cause
11052 errors with the current revision of expect.
11053 * gdb.t00/gdbvars.exp: Use -re on expected output after
11054 setting sevenbit-strings.
11055 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11056 to set sevenbit-strings consistent across tests.
11057 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11058 set sevenbit-strings consistent across tests.
11059
11060Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11061
11062 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11063 expected output to match current "expect" expectations.
11064
11065Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11066
11067 * gdb.t00/default.exp: Change expected output for default "source"
11068 command, to match new gdb behavior which requires a filename to
11069 source.
11070
11071Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11072
11073 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11074 expected fail for i486-*-* that misses the marker2 function.
11075 * gdb.t10/crossload.exp (bfddefault): Allow successful
11076 recognition of a format to pass even if no symbols are found.
11077 Explicitly catch failures where the format is not recognized
11078 or is ambiguous, and add the reason to the fail message.
11079 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11080 the cause is and invalid target and add reason to failure message.
11081 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11082 elf32-i386, elf32-sparc, and elf32-i860.
11083 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11084 Set up expected failure for 'filename'::variable scope resolution,
11085 which is now apparently broken on all targets.
11086 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11087 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11088 gdb.t23/templates.exp: Change failure for missing binfile into
11089 just a warning.
11090 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11091 references.
11092
11093Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11094
11095 * gdb.t00/default.exp: Add expected output for default "source"
11096 command, to match new gdb behavior.
11097 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11098
11099Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11100
11101 * config/*-gdb.exp: returns an error, rather than exiting on
11102 internal errors.
11103
11104Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11105
11106 * gdb.t03/gdbme.c: Add pointer to struct variable.
11107 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11108 referencing struct members.
11109
11110Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11111
11112 * configure.in (mips-idt-ecoff): New target.
11113 * config/mips-gdb.exp: New file for remote board using MIPS remote
11114 debugging protocol.
11115
11116 * Redid configuration scheme. Removed gdb.t*/configure.in.
11117 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11118 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11119 distclean targets. Built executables via .o files. Adjusted
11120 tests to account for source files in $(srcdir) rather than
11121 $(objdir).
11122 * lib/gdb.exp (runto): Don't expect () after the function name,
11123 because it may have arguments.
11124
11125Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11126
11127 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11128 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11129 expected failures for mips-idt-* and mips-sgi-*.
11130 * gdb.t00/default.exp (attach): Kill process if requested.
11131 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11132 that does not read core files.
11133 * gdb.t01/run.exp: Removed checks for exit status code.
11134 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11135 it is linked in.
11136 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11137 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11138 appropriate, rather than doing it by hand.
11139 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11140 execution.
11141 * gdb.t10/crossload.exp: Kill existing program if needed.
11142 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11143 appropriate, rather than doing it by hand. Always increase
11144 timeout for this test, not just for VxWorks.
11145
11146Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11147
11148 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11149 of Chill STRUCT types and STRUCT values.
11150 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11151 than "char".
11152 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11153 struct2): New struct definitions and initializations to test
c906108c
SS
11154 simple Chill STRUCT types.
11155
11156Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11157
11158 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11159 the null byte at the end of strings.
11160 * gdb.t00/default.exp: Make show version insensitive to copyright
11161 date.
11162 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11163 to avoid dependencies on target char signedness.
11164 * gdb.t16/printcmds.exp: Update expected results for explicitly
11165 unsigned char.
11166 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11167 now work.
11168 * gdb.t21/demangle.exp: Add many more patterns for template
11169 demangling, most of them being expected failures.
11170 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11171 string we are matching for, to match on the whole string.
11172 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11173 and fix a whole bunch that had incorrect expected output but were
11174 passing anyway because of the bug in "proc demangle".
11175 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11176 type.
11177 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11178
11179Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11180
11181 * gdb/testsuite: made modifications to testcases, etc., to allow
11182 them to work properly given the reorganization of deja-gnu and the
11183 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11184
11185Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11186
11187 * gdb/testsuite: Initial creation of gdb/testsuite.
11188 Migrated dejagnu testcases and support files for testing nm to
11189 gdb/testsuite from deja-gnu. These files were moved "as is"
11190 with no modifications. This migration is part of a major overhaul
11191 of dejagnu. The modifications to these testcases, etc., which
11192 will allow them to work with the new version of dejagnu will be
11193 made in a future update.
11194\f
11195Local Variables:
ef043731 11196mode: change-log
c906108c
SS
11197left-margin: 8
11198fill-column: 74
11199version-control: never
11200End: