]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
eca3e36b
MC
12004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.base/cvexpr.c: Be type-safe with function pointers and
4 data pointers.
5
f8d4bac4
MC
62004-01-06 Michael Chastain <mec.gnu@mindspring.com>
7
8 * gdb.cp/m-static.exp: Compile one source file at a time.
9 Delete unused call to get_compiler_info.
10
9b4e0f94
MC
112004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12
13 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
14 * gdb.base/call-rt-st.exp: Likewise.
15 * gdb.base/nodebug.exp: Likewise.
16 * gdb.base/volatile.exp: Likewise.
17 * gdb.cp/ref-types.exp: Likewise.
18 * gdb.cp/templates.exp: Likewise.
19
023c1024
MK
202004-01-05 Mark Kettenis <kettenis@gnu.org>
21
22 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
23
19703c4a
MC
242004-01-05 Michael Chastain <mec.gnu@mindspring.com>
25
26 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
27 hppa*-hp-hpux*.
28
18b67037
MK
292004-01-04 Mark Kettenis <kettenis@gnu.org>
30
ba6219c8
MK
31 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
32 x86_64-*-*.
33
18b67037
MK
34 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
35 sparc64-*-* and sparc*-solaris2*.
36
1bfbbb9d
MK
372004-01-04 Mark Kettenis <kettenis@gnu.org>
38
39 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
40 return ${tests}" test. The ${tests} already mentions the
41 filename.
42
06846494
MC
432004-01-02 Michael Chastain <mec.gnu@mindspring.com>
44
45 * gdb.cp/local.exp: Accept gcc abi 2.
46
3b0cb202
MC
472004-01-02 Michael Chastain <mec.gnu@mindspring.com>
48
49 * gdb.cp/templates.exp: Accept gcc abi 2.
50
0643ec3f
MC
512004-01-02 Michael Chastain <mec.gnu@mindspring.com>
52
53 * lib/compiler.cc: Remove supports_template_debugging.
54 * gdb.cp/templates.exp: Do not test supports_template_debugging.
55
d231d0b1
MC
562004-01-01 Michael Chastain <mec.gnu@mindspring.com>
57
58 * gdb.cp/namespace.exp: Accept gcc abi 2.
59
44ffb27c
MC
602004-01-01 Michael Chastain <mec.gnu@mindspring.com>
61
62 * gdb.cp/method.exp: Accept gcc abi 2.
63
184ad485
MC
642004-01-01 Michael Chastain <mec.gnu@mindspring.com>
65
66 * gdb.cp/classes.exp: Generate identical results as old version.
67 * gdb.cp/derivation.exp: Likewise.
68 * gdb.cp/overload.exp: Likewise.
69 * gdb.cp/virtfunc.exp: Likewise.
70
116f09e7
MC
712004-01-01 Michael Chastain <mec.gnu@mindspring.com>
72
73 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
74 mysterious bug with sourceware version of expect.
75
b1379776
MC
762004-01-01 Michael Chastain <mec.gnu@mindspring.com>
77
78 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
79 current versions of gcc, including gcc abi 2. Remove gratuitous
80 restart of test program. Use gdb_test_multiple and gdb_test for
81 all tests. Add patterns to xfail missing "const" in "const char *"
82 and kfail PR gdb/1155.
83
6b7a4c0e
MC
842004-01-01 Michael Chastain <mec.gnu@mindspring.com>
85
86 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
87 current versions of gcc, including gcc abi 2. Remove gratuitous
88 restart of test program. Use gdb_test_multiple and gdb_test for
89 all tests. Add patterns to kfail PR gdb/1498.
90
51615d72
MC
912003-12-31 Michael Chastain <mec.gnu@mindspring.com>
92
93 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
94 current versions of gcc, including gcc abi 2. Use "breakpoint"
95 and "continue" instead of restarting the target program. Use
96 gdb_test_multiple and gdb_test for all tests.
97
7b79a9d7
MK
982004-01-01 Mark Kettenis <kettenis@gnu.org>
99
100 * gdb.asm/asm-source.exp: Update copyright year. Link statically
101 for *-*-solaris2*.
102
1cd3489f
MC
1032003-12-31 Michael Chastain <mec.gnu@mindspring.com>
104
105 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
106 current versions of gcc, including gcc abi 2. Use "breakpoint"
107 and "continue" instead of restarting the target program several
108 times. Use gdb_test_multiple and gdb_test for all tests.
109
850742db
MC
1102003-12-18 Michael Chastain <mec.gnu@mindspring.com>
111
112 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
113 source files.
114
eb4bbda8
MC
1152003-12-16 Michael Chastain <mec.gnu@mindspring.com>
116
117 * gdb.base/environ.exp: Handle compiling test case from multiple
118 source files.
119
e42c7771
MC
1202003-12-16 Michael Chastain <mec.gnu@mindspring.com>
121
122 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
123
80e4b428
JB
1242003-12-17 Jim Blandy <jimb@redhat.com>
125
5f06973a
JB
126 * gdb.base/freebpcmd.c: Add copyright notice.
127
80e4b428
JB
128 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
129
0ab84fb7
MC
1302003-12-16 Michael Chastain <mec.gnu@mindspring.com>
131
132 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
133
1b3bb3d0
JB
1342003-12-13 Jim Blandy <jimb@redhat.com>
135
136 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
137
3a4c9371
KB
1382003-12-12 Kevin Buettner <kevinb@redhat.com>
139
140 * gdb.asm/frv.inc: New file.
141 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
142
a1dea79a
FF
1432003-12-09 Fred Fish <fnf@redhat.com>
144
145 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
146 functions to break1.c and leave prototypes behind. Add more
147 "set breakpoint NN here" comments.
148 * gdb.base/break1.c: New file.
149
150 * gdb.base/break.exp: Handle compiling test case from multiple
151 source files and change source file references as needed.
152 * gdb.base/completion.exp: Ditto.
153 * gdb.base/condbreak.exp: Ditto.
154 * gdb.base/define.exp: Ditto.
155 * gdb.base/ena-dis-br.exp: Ditto.
156 * gdb.base/info-proc.exp: Ditto.
157 * gdb.base/maint.exp: Ditto.
158 * gdb.base/until.exp: Ditto.
159
160 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
161 hardcoded line numbers.
162 * gdb.base/define.exp: Ditto.
163 * gdb.base/ena-dis-br.exp: Ditto.
164 * gdb.base/maint.exp: Ditto.
165 * gdb.base/until.exp: Ditto.
166
167 * gdb.base/completion.exp: Use "break1" for completion tests since
168 "break" is no longer a unique prefix.
169
5266b69c
AC
1702003-12-06 Andrew Cagney <cagney@redhat.com>
171
172 * gdb.base/structs.exp (test_struct_returns): When applicable, set
173 "return_value_unimplemented". When an unimplemented struct return
174 architecture, report incorrect values as a KFAIL
175
374451f0
MC
1762003-12-05 Michael Chastain <mec.gnu@mindspring.com>
177
178 * gdb.cp/rtti.exp: Accept new wording of warning from
179 cp_lookup_rtti_type.
180
ba9b20a7
MC
1812003-12-05 Michael Chastain <mec.gnu@mindspring.com>
182
183 Partial fix for PR testsuite/1456.
184 * gdb.base/scope.exp (test_at_main): Replace references to
185 gcc_compiled with calls to test_compiler_info.
186 (test_at_foo): Likewise.
187 (test_at_bar): Likewise.
188
b74b6d0b
MC
1892003-12-04 Michael Chastain <mec.gnu@mindspring.com>
190
191 Partial fix for PR testsuite/1456.
192 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
193 to test_compiler_info.
194
ccfa3402
MC
1952003-12-03 Michael Chastain <mec.gnu@mindspring.com>
196
197 * gdb.base/so-impl-ld.exp: Update copyright notice.
198
f6246aba
MC
1992003-12-02 Michael Chastain <mec.gnu@mindspring.com>
200
201 Partial fix for PR testsuite/1456.
202 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
203 to test_compiler_info.
204
13ae734a
MC
2052003-11-28 Michael Chastain <mec.gnu@mindspring.com>
206
207 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
208 from current versions of gdb. Clean up regular expressions.
209 Delete redundant timeout case.
210
d8e1cdee
MC
2112003-11-28 Michael Chastain <mec.gnu@mindspring.com>
212
213 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
214 from current versions of gdb. Clean up regular expressions.
215 Delete redundant timeout case.
216
96457b64
MC
2172003-12-01 Michael Chastain <mec.gnu@mindspring.com>
218
219 Partial fix for PR testsuite/1456.
220 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
221 gcc_compiled with call to test_compiler_info.
222
f35309fc
MC
2232003-11-30 Michael Chastain <mec.gnu@mindspring.com>
224
225 Partial fix for PR testsuite/1456.
226 * gdb.base/list.exp (test_list_function): Delete unused declaration
227 of gcc_compiled.
228
d7afdf9b
MC
2292003-11-29 Michael Chastain <mec.gnu@mindspring.com>
230
231 Partial fix for PR testsuite/1456.
232 * gdb.base/complex.exp: Replace reference to gcc_compiled with
233 call to test_compiler_info.
234
71507b56
MK
2352003-11-29 Mark Kettenis <kettenis@gnu.org>
236
237 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
238 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
239 it to create the appropriate note.inc.
240 * gdb.asm/asmsrc1.s: Include "note.inc".
241 * gdb.asm/netbsd.inc: New file.
242 * gdb.asm/empty.inc: New file.
243
f81f93f7
MC
2442003-11-28 Michael Chastain <mec.gnu@mindspring.com>
245
246 Partial fix for PR testsuite/1456.
247 * gdb.base/constvars.exp: Replace references to gcc_compiled with
248 calls to test_compiler_info.
249
9a77938e
MC
2502003-11-27 Michael Chastain <mec.gnu@mindspring.com>
251
252 Partial fix for PR testsuite/1456.
253 * gdb.base/volatile.exp: Replace references to gcc_compiled with
254 calls to test_compiler_info.
255
e8367dc7
MK
2562003-11-27 Mark Kettenis <kettenis@gnu.org>
257
258 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
259 pattern for the KFAILs.
260
526c61ee
AF
2612003-11-25 Adam Fedor <fedor@gnu.org>
262
263 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
264 * gdb.objc/objcdecode.m: New file.
265
28f2d600
AF
2662003-11-25 Adam Fedor <fedor@gnu.org>
267
268 * gdb.objc/nondebug.exp: Test for PR objc/1236.
269 * gdb.objc/nondebug.m: New file.
270
a3895cee
BE
2712003-11-26 Ben Elliston <bje@wasabisystems.com>
272
273 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
274 NetBSD as it does on FreeBSD. Modelled on a similar change by
275 Mark Kettenis on 2003-05-30.
276 (link-flags): Set to "--entry _start" regardless of target.
277 Special linker flags are to be appended to $link-flags.
278 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
279
c9f2c8a3
MC
2802003-11-25 Michael Chastain <mec.gnu@mindspring.com>
281
282 * gdb.cp/method.exp: Accept output of new demangler.
283
15a0587a 2842003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
285
286 * gdb/class2.exp: New file.
287 * gdb/class2.cc: New file.
288
3c00b570
MC
2892003-11-25 Michael Chastain <mec.gnu@mindspring.com>
290
291 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
292 of new demangler.
293
7027acc7
MK
2942003-11-23 Mark Kettenis <kettenis@gnu.org>
295
296 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
297 of gdb_test "run".
298
b0e1598a
MK
2992003-11-23 Mark Kettenis <kettenis@gnu.org>
300
301 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
302 "continue" into "run".
303
4d9eda44
MC
3042003-11-23 Michael Chastain <mec.gnu@mindspring.com>
305
306 Partial fix for PR testsuite/1456.
307 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
308 call to test_compiler_info.
309 * gdb.cp/ctti.exp: Likewise.
310 * gdb.cp/derivation.exp: Likewise.
311 * gdb.cp/member-ptr.exp: Likewise.
312 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
313 reference to gcc_compiled.
314
3152003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
316
317 Fix PR testsuite/1463.
318 * gdb.base/structs.exp (start_structs_test): Call
319 get_debug_format before using the debug format.
320
d422fe19
AC
3212003-11-22 Andrew Cagney <cagney@redhat.com>
322
323 * lib/gdb.exp (gdb_test_multiple): Add simple example.
324 * gdb.base/structs.exp: Use gdb_test_multiple.
325
039cf96d
AC
3262003-11-20 Andrew Cagney <cagney@redhat.com>
327
6882279b
AC
328 * gdb.base/structs.exp: Handle and recover from internal errors.
329 Replace "foo${n}" with "foo<n>" in test messages.
330
e53890ae
AC
331 * gdb.base/structs.exp: Update copyright. Rewrite.
332 * gdb.base/structs.c: Update copyright. Rewrite.
333
2b211c59
AC
334 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
335 resync count exceeded.
336
039cf96d
AC
337 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
338 from the internal error.
339 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
340 Original from Jim Blandy.
341 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 342
eac98b22
AC
3432003-11-19 Andrew Cagney <cagney@redhat.com>
344
345 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
346 KFAIL.
347
67455b2a
MK
3482003-11-17 Mark Kettenis <kettenis@gnu.org>
349
350 New testcase for PR backtrace/1435.
351 * gdb.arch/i386-unwind.exp: New file.
352 * gdb.arch/i386-unwind.c: New file.
353
853d6e5b
AC
3542003-11-17 Andrew Cagney <cagney@redhat.com>
355
356 * lib/gdb.exp (compiler_info): New global.
357 (test_compiler_info): New function.
358 (get_compiler_info): Set compiler_info.
359 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
360 "compiler_info" to gcc-<major>-<minor>.
361
38cf6e11
MC
3622003-11-15 Michael Chastain <mec.gnu@mindspring.com>
363
364 * gdb.trace/configure: Remove.
365
a50d3602
EZ
3662003-11-13 Elena Zannoni <ezannoni@redhat.com>
367
368 * gdb.base/break.c: Add comments to aid finding line numbers for
369 breakpoints.
370 * gdb.base/break.exp: Remove all references to explicit line
371 numbers.
372
d9407aaa
NC
3732003-11-11 Nick Clifton <nickc@redhat.com>
374
375 * gdb.base/shreloc.exp: Do not run for targets which do not
376 support shared objects.
377
db488fc1
CV
3782003-11-10 Corinna Vinschen <vinschen@redhat.com>
379
380 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
381 Don't run tests if nofileio flag is given.
382
6a90a18e
EZ
3832003-11-07 Elena Zannoni <ezannoni@redhat.com>
384
385 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
386 as well as 'Watchpoint'.
387
0b915e9c
EZ
3882003-11-06 Elena Zannoni <ezannoni@redhat.com>
389
390 Reported by Jim Ingham <jingham@apple.com>:
391 * gdb.base/annota1.exp: Match at least one occurrence of the
392 signal handler annotation.
393
d7e4b55f
EZ
3942003-11-06 Elena Zannoni <ezannoni@redhat.com>
395
396 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
397 as well as 'Watchpoint'.
398
2fe4e8d0
MC
3992003-11-05 Michael Chastain <mec@shout.net>
400
401 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
402
6ef88553
KW
4032003-11-03 Kris Warkentin <kewarken@qnx.com>
404
405 * gdb.arch/gdb1291.c: New test file.
406 * gdb.arch/gdb1291.exp: New test script.
407 * gdb.arch/gdb1431.c: New test file.
408 * gdb.arch/gdb1431.exp: New test script.
409
ae7dc4d8
MC
4102003-10-22 Michael Chastain <mec@shout.net>
411
412 * gdb.mi/pthreads.c: Add copyright notice.
413
c39d7427
MC
4142003-10-22 Michael Chastain <mec@shout.net>
415
416 * gdb.threads/pthreads.c: Add copyright notice.
417
8b7d96c1
MC
4182003-10-20 Michael Chastain <mec@shout.net>
419
420 * gdb.base/gdb1056.exp: New test script.
421
d1d69fdd
DJ
4222003-10-13 Daniel Jacobowitz <drow@mvista.com>
423
424 * gdb.threads/killed.exp: Use gdb_run_cmd.
425
7d605576
DJ
4262003-10-13 Daniel Jacobowitz <drow@mvista.com>
427
428 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
429 create a core file.
430 * gdb.threads/gcore-thread.exp: Likewise.
431
618ec112
CV
4322003-10-13 Corinna Vinschen <vinschen@redhat.com>
433
434 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
435 type, based on char type.
436 (struct bit_flags_short_t): New bitfield type, based on short type.
437 (init_bit_flags_char): New fuction.
438 (init_bit_flags_short): Ditto.
439 (print_bit_flags_char): Ditto.
440 (print_bit_flags_short): Ditto.
441 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
442
9367a73c
MC
4432003-10-11 Michael Chastain <mec@shout.net>
444
445 * gdb.base/call-rt-st.exp: Update copyright year.
446
1decf120
KI
4472003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
448
449 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
450 * gdb.disasm/sh3.s: Ditto.
451
5445b2ae
DJ
4522003-10-07 Daniel Jacobowitz <drow@mvista.com>
453
454 * gdb.threads/switch-threads.exp: New test.
455 * gdb.threads/switch-threads.c: New source file.
456
aec24853
CV
4572003-10-07 Corinna Vinschen <vinschen@redhat.com>
458
459 * gdb.base/ending-run.exp: Add sh specific case.
460
adc7428d
AC
4612003-10-06 Andrew Cagney <cagney@redhat.com>
462
463 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
464 * gdb.disasm/mn10200.exp: Delete obsolete file.
465
c9d37158
DJ
4662003-09-29 Daniel Jacobowitz <drow@mvista.com>
467
468 * ChangeLog: Correct an entry command.exp -> commands.exp.
469 * gdb.base/commands.exp (bp_deleted_in_command_test)
470 (temporary_breakpoint_commands): Check noargs.
471
79c2c32d
DC
4722003-09-25 David Carlton <carlton@kealia.com>
473
474 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
475 of some print tests, where appropriate. Add tests for C::D::cd,
476 E::ce, F::cXfX, G::XgX.
477 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
478
594e6d67
RE
4792003-09-25 Richard Earnshaw <rearnsha@arm.com>
480
481 * lib/java.exp (java_init): Import target_alias before using it.
482
10f0d451
DC
4832003-09-25 David Carlton <carlton@kealia.com>
484
485 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
486
274bcba0
EZ
4872003-09-23 Elena Zannoni <ezannoni@redhat.com>
488
489 * gdb.base/selftest.exp: Accomodate more instruction reordering
490 weirdness.
491
cdbf20f7
MC
4922003-09-17 Michael Chastain <mec@shout.net>
493
494 * gdb.cp/gdb1355.exp: New file.
495 * gdb.cp/gdb1355.c: New file.
496
71e06f80
CV
4972003-09-15 Corinna Vinschen <vinschen@redhat.com>
498
499 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
500 * gdb.asm/sh.inc: New file.
501
5c4e30ca
DC
5022003-09-11 David Carlton <carlton@kealia.com>
503
bd45b7af
DC
504 * gdb.cp/namespace.exp: Add tests for namespace types.
505 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
506 (test_namespace): New.
507
1c199746
EZ
5082003-09-11 Elena Zannoni <ezannoni@redhat.com>
509
510 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 511 * gdb.stabs/weird.exp: Ditto.
1c199746 512
04ed252f
MC
5132003-09-08 Michael Chastain <mec@shout.net>
514
515 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
516
d8a2d9e7
MC
5172003-09-07 Michael Chastain <mec@shout.net>
518
519 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
520 'parse error'.
521
161afb24
MK
5222003-09-07 Mark Kettenis <m.kettenis@osp.nl>
523
524 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
525
49f2741a
MC
5262003-08-30 Michael Chastain <mec@shout.net>
527
528 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
529 * gdb.gdb/observer.exp: Ditto.
530 * gdb.gdb/xfullpath.exp: Ditto.
531
8afa723e
MK
5322003-08-29 Mark Kettenis <kettenis@gnu.org>
533
534 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
535 *-*-*bsd*.
536
f31dfe3b
JJ
5372003-08-28 Jeff Johnston <jjohnstn@redhat.com>
538
539 * gdb.base/dump.exp: Skip for ia64.
540
4630e498
JJ
5412003-08-25 Jeff Johnston <jjohnstn@redhat.com>
542
543 * gdb.asm/asm-source.exp: Add ia64 support.
544 * gdb.asm/ia64.inc: New file.
545
1105b7ef
MC
5462003-08-22 Michael Chastain <mec@shout.net>
547
548 * gdb.cp: New directory.
549 * gdb.cp/*: Copy from gdb.c++/*.
550 * gdb.c++/*: Remove.
551 * Makefile.in: Change gdb.c++ to gdb.cp.
552 * configure.in: Ditto.
553 * configure: Regnerate.
554
c945b932
MK
5552003-08-18 Mark Kettenis <kettenis@gnu.org>
556
557 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
558 * gdb.arch/i386-prologue.c (gdb1338): Add function.
559
2b66634b
DJ
5602003-08-17 Daniel Jacobowitz <drow@mvista.com>
561
562 * mi-var-display.exp (-var-list-children weird): Accept function
563 pointers with argument types.
564 * mi1-var-display.exp (-var-list-children weird): Likewise.
565 * mi2-var-display.exp (-var-list-children weird): Likewise.
566
a356f73b
DJ
5672003-08-17 Daniel Jacobowitz <drow@mvista.com>
568
569 * gdb.base/annota3.exp: Add missing newline.
570
483417b8
MC
5712003-08-06 Michael Chastain <mec@shout.net>
572
573 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
574
c99c59c3
MS
5752003-08-12 Michael Snyder <msnyder@redhat.com>
576
577 * gdb.base/float.exp: Add test for SH.
578
55ed7501
MK
5792003-08-10 Mark Kettenis <kettenis@gnu.org>
580
581 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
582
1a371f2e
EZ
5832003-08-07 Elena Zannoni <ezannoni@redhat.com>
584
585 * gdb.base/completion.exp: Remove reduntant completion test
586 on filename.
587
e0f353ce
EZ
5882003-08-07 Elena Zannoni <ezannoni@redhat.com>
589
590 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
591 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
592 gdb.trace/save-trace.exp: Make sure that full pathnames are
593 escaped correctly.
594
5710a1af
EZ
5952003-08-07 Elena Zannoni <ezannoni@redhat.com>
596
597 * configure.in: Don't generate config.h from config.hin.
598 * configure: Regenerate.
599 * config.hin: Remove file.
600 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
601 * gdb.threads/pthreads.c: Ditto.
602
dcd81ce9
DJ
6032003-08-07 Daniel Jacobowitz <drow@mvista.com>
604
605 From Kei Sakamoto <sakamoto.kei@renesas.com>:
606 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
607 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
608 Replace ld24 with seth/add3.
609
6009d884
AC
6102003-08-02 Andrew Cagney <cagney@redhat.com>
611
612 * gdb.base/annota3.exp: New file.
613 * gdb.base/annota3.c: New file.
614 * gdb.c++/annota3.exp: New file.
615 * gdb.c++/annota3.cc: New file.
616
51514e06
MC
6172003-07-29 Michael Chastain <mec@shout.net>
618
619 * gdb.threads/tls.c (spin): Check errno only if sem_wait
620 actually failed.
621 (do_pass): Likewise.
622 * gdb.threads/tls.exp: Always initialize no_of_threads.
623
4ee6625b
DJ
6242003-07-27 Daniel Jacobowitz <drow@mvista.com>
625
626 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
627 pattern.
628 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
629 * gdb.threads/tls.exp: Recognize one case of the host library not
630 supporting TLS.
631
225f2bf6
AC
6322003-07-27 Andrew Cagney <cagney@redhat.com>
633
634 * gdb.base/fileio.exp: Use SH when running commands using
635 remote_exec.
636
bcb27c9f
DJ
6372003-07-24 Daniel Jacobowitz <drow@mvista.com>
638
639 From Kei Sakamoto <sakamoto.kei@renesas.com>:
640 * gdb.base/relocate.c (dummy): New padding array.
641
3d67be83
MS
6422003-07-22 Michael Snyder <msnyder@redhat.com>
643
644 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
645
646 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
647 patterns to be more general, accepting old and new output.
648 Some output chars (such as '+') also must be quoted.
649 Some addresses are displayed numerically instead of
650 symbolically.
651
57ba3b85
MS
6522003-07-23 Michael Snyder <msnyder@redhat.com>
653
686d097c
MS
654 * gdb.base/return2.exp: Don't test long-long return.
655
57ba3b85
MS
656 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
657 * gdb.disasm/t01_mov.exp: Ditto.
658 * gdb.disasm/t02_mova.s: Ditto.
659 * gdb.disasm/t02_mova.exp: Ditto.
660 * gdb.disasm/t03_add.s: Ditto.
661 * gdb.disasm/t03_add.exp: Ditto.
662 * gdb.disasm/t04_sub.s: Ditto.
663 * gdb.disasm/t04_sub.exp: Ditto.
664 * gdb.disasm/t05_cmp.s: Ditto.
665 * gdb.disasm/t05_cmp.exp: Ditto.
666 * gdb.disasm/t06_ari2.s: Ditto.
667 * gdb.disasm/t06_ari2.exp: Ditto.
668 * gdb.disasm/t07_ari3.s: Ditto.
669 * gdb.disasm/t07_ari3.exp: Ditto.
670 * gdb.disasm/t08_or.s: Ditto.
671 * gdb.disasm/t08_or.exp: Ditto.
672 * gdb.disasm/t09_xor.s: Ditto.
673 * gdb.disasm/t09_xor.exp: Ditto.
674 * gdb.disasm/t10_and.s: Ditto.
675 * gdb.disasm/t10_and.exp: Ditto.
676 * gdb.disasm/t11_logs.s: Ditto.
677 * gdb.disasm/t11_logs.exp: Ditto.
678 * gdb.disasm/t12_bit.s: Ditto.
679 * gdb.disasm/t12_bit.exp: Ditto.
680 * gdb.disasm/t13_otr.s: Ditto.
681 * gdb.disasm/t13_otr.exp: Ditto.
682
e00759ef
EZ
6832003-07-22 Elena Zannoni <ezannoni@redhat.com>
684
685 * gdb.threads/tls.exp :Add kfail for 'info address' case.
686
8bc2021f
EZ
6872003-07-22 Elena Zannoni <ezannoni@redhat.com>
688
689 * gdb.threads/tls.c : New file.
690 * gdb.threads/tls.exp : New file.
691 * gdb.threads/tls-main.c : New file.
692 * gdb.threads/tls-shared.c : New file.
693 * gdb.threads/tls-shared.exp : New file.
694
89320c4c
AS
6952003-07-22 Andreas Schwab <schwab@suse.de>
696
697 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
698
180dea7c
AS
6992003-07-20 Andreas Schwab <schwab@suse.de>
700
701 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
702 due to insn reordering.
703
0714963c
AC
7042003-07-15 Andrew Cagney <cagney@redhat.com>
705
706 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
707
98a23b3f
MC
7082003-07-15 Michael Chastain <mec@shout.net>
709
710 * gdb.base/gdb1250.exp: New file.
711 * gdb.base/gdb1250.c: New file.
712
27e417a2
ML
7132003-07-09 Michal Ludvig <mludvig@suse.cz>
714
715 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
716 expansion of size_t to 'unsigned long', not only to 'unsigned'.
717
8bc2021f
EZ
7182003-07-09 Elena Zannoni <ezannoni@redhat.com>
719
720 * gdb.threads/tls.c: New file.
721 * gdb.threads/tls.exp: New file.
722 * gdb.threads/tls-main.c: New file.
723 * gdb.threads/tls-shared.c: New file.
724 * gdb.threads/tls-shared.exp: New file.
725
d99968dc
EZ
7262003-07-09 Elena Zannoni <ezannoni@redhat.com>
727
728 * gdb.base/annota1.exp: Make sure that we properly escape the
729 full path of the source file. Xfail more permissive patterns,
730 due to a compiler debug info problem.
731
83876b3b
AS
7322003-07-07 Andreas Schwab <schwab@suse.de>
733
2705e972
AS
734 * gdb.asm/m68k.inc: New file.
735 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
736
83876b3b
AS
737 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
738 arguments"): Also match negative number.
739
740 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
741
3a871b37
DJ
7422003-07-03 Daniel Jacobowitz <drow@mvista.com>
743
744 * gdb.base/store.c (charest): New typedef.
745 (add_char): Rename to add_charest, update.
746 (wack_char): Rename to wack_charest, update types. Return l + r
747 to keep r live across the call.
748 (wack_short, wack_int, wack_long, wack_longest, wack_float)
749 (wack_double, wack_doublest): Return l + r to keep r live across
750 the call.
751 * gdb.base/store.exp: Accomodate store.c changes.
752
b2a7f303
DC
7532003-06-30 David Carlton <carlton@kealia.com>
754
755 * gdb.c++/maint.exp (test_invalid_name): New.
756 (test_first_component): Add tests for invalid names.
757
3c6cb4a1
MC
7582003-06-29 Michael Chastain <mec@shout.net>
759
760 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
761 output of '<VTT for class>' for virtual base classes.
762
f1c2644b
DJ
7632003-06-29 Daniel Jacobowitz <drow@mvista.com>
764
765 * gdb.base/completion.exp: Tab-complete "complet" instead of
766 "compl".
767 * gdb.base/complex.exp, gdb.base/complex.c: New files.
768
18080350
DJ
7692003-06-29 Daniel Jacobowitz <drow@mvista.com>
770
771 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
772 * gdb.base/volatile.exp: Likewise.
773
f56973f8
DJ
7742003-06-29 Daniel Jacobowitz <drow@mvista.com>
775
776 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
777 gdb/1265.
778
7792003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
780 Daniel Jacobowitz <drow@mvista.com>
781
782 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
783 initial line count of 'captured_main' from 26 to 32.
784 (test_with_self): Allow xmalloc call to be interleaved with the
785 preceding two lines.
786
e766d4d6
JB
7872003-06-24 Joel Brobecker <brobecker@gnat.com>
788
789 * gdb.base/bang.exp: New testcase.
790
f125c9a4
JB
7912003-06-23 Joel Brobecker <brobecker@gnat.com>
792
793 * gdb.base/langs.exp: Add some tests for the "minimal" language
794 support.
795
6e25beaf
EZ
7962003-06-23 Elena Zannoni <ezannoni@redhat.com>
797
798 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
799 the testcase.
800
2f816dda
DJ
8012003-06-22 Daniel Jacobowitz <drow@mvista.com>
802
803 * gdb.base/relocate.exp: Test add-symbol-file with a variable
804 offset.
805
db5a5748
DJ
8062003-06-22 Daniel Jacobowitz <drow@mvista.com>
807
808 * gdb.c++/pr-1210.cc: New file.
809 * gdb.c++/pr-1210.exp: New file.
810
1df0c130
DJ
8112003-06-21 Daniel Jacobowitz <drow@mvista.com>
812
813 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
814 000-exec-continue.
815
a92feac0
MK
8162003-06-15 Mark Kettenis <kettenis@gnu.org>
817
818 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
819 on *-*-*bsd* instead of *-*-freebsd*.
820
81a58f5b
AC
8212003-06-14 Andrew Cagney <cagney@redhat.com>
822
823 * gdb.base/store.exp: Test longest and doublest. Test all
824 parameters. Weaken return statement match.
825 * gdb.base/store.c: Add longest and doublest - aka long long and
826 long double functions. Put all parameters into local register
827 variables. Use negative values.
828
b257a0d3
AC
8292003-06-14 Andrew Cagney <cagney@redhat.com>
830
831 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
832 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
833 exit status.
834 * gdb.base/fileio.exp: Disable target when nointerrupts and
835 noinferiorio, instead of limiting it to remote. Use remote_exec
836 instead of system.
837
21c38304
JJ
8382003-06-12 Jeff Johnston <jjohnstn@redhat.com>
839
840 * gdb.base/float.exp: Add ia64 support.
841
1bcdb424
CV
8422003-06-12 Corinna Vinschen <vinschen@redhat.com>
843
844 * gdb.base/fileio.exp: Run only on remote targets.
845
6aeb981f
CV
8462003-06-10 Corinna Vinschen <vinschen@redhat.com>
847
848 * gdb.base/fileio.c: New file, testing File-I/O.
849 * gdb.base/fileio.exp: Ditto.
850
53df362e
RG
8512003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
852
853 * gdb.base/shreloc.exp: New file, check symbol values obtained from
854 shared objects after relocation at load time (gdb PR/1132).
855 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
856 as above, part of the shared object relocation test.
857
ffee1b46
MK
8582003-06-08 Mark Kettenis <kettenis@gnu.org>
859
b5ca3722
MK
860 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
861 fully filled history list.
862 * gdb.base/gdb_history: New file.
863
03ed860d
MK
864 * gdb.base/signals.exp: XFAIL "continue to func1" on
865 i*86-*-freebsd*.
866
ffee1b46
MK
867 * gdb.base/attach.exp: When trying to attach to a nonexistent
868 process, make it possible to specify the PID based on the target,
869 and do so for *-*-freebsd*.
870
d80dbb52
RH
8712003-06-02 Richard Henderson <rth@redhat.com>
872
873 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
874
6dd77b81
RH
8752003-06-02 Richard Henderson <rth@redhat.com>
876
877 * gdb.base/selftest.exp: Next over lim_at_start initialization.
878
f6347e16
RH
8792003-06-02 Richard Henderson <rth@redhat.com>
880
881 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
882
2c161407
DJ
8832003-06-01 Daniel Jacobowitz <drow@mvista.com>
884
885 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
886 of globalvar.
887
572eb746
MK
8882003-06-01 Mark Kettenis <kettenis@gnu.org>
889
890 * gdb.asm/asm-source.exp: Check for memory read errors in
891 disassembler test on *BSD too.
892
9e9617a5
RH
8932003-06-01 Richard Henderson <rth@redhat.com>
894
895 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
896 for .frame.
897 (gdbasm_call): Lose ldgp.
898 (gdbasm_startup): Add frame information.
899 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
900
7b34ad4e
MK
9012003-05-31 Mark Kettenis <kettenis@gnu.org>
902
903 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
904 i?86-*-*.
905
10059fdf
MK
9062003-05-30 Mark Kettenis <kettenis@gnu.org>
907
908 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
909 FreeBSD.
910
acf4b816
RH
9112003-05-29 Richard Henderson <rth@redhat.com>
912
913 * gdb.asm/alpha.inc: New file.
914 * gdb.asm/asm-source.exp: Use it.
915
e9ecd949
JB
9162003-05-29 Jim Blandy <jimb@redhat.com>
917
918 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
919 'core.PID'.
920
e3e5a4f3
JB
9212003-05-22 Jim Blandy <jimb@redhat.com>
922
923 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
924 backtrace.
925
72fe3d25
DC
9262003-05-20 David Carlton <carlton@math.stanford.edu>
927
928 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
929 this time.
930
58da2eb2
DC
9312003-05-19 David Carlton <carlton@bactrian.org>
932
933 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
934 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
935
1fcb5155
DC
9362003-05-19 David Carlton <carlton@bactrian.org>
937
938 * gdb.c++/namespace.exp: Add namespace scope and anonymous
939 namespace tests.
940 Bump copyright date.
941 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
942 (main): Call C::D::marker2.
943 * gdb.c++/namespace1.cc: New file.
944
85e85163
JJ
9452003-05-14 Jeff Johnston <jjohnstn@redhat.com>
946
947 Roland McGrath <roland@redhat.com>
948 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
949 there is no manager thread.
950
a25fbfec
JJ
9512003-05-08 Jeff Johnston <jjohnstn@redhat.com>
952
953 * gdb.threads/schedlock.exp: Remove assumption that all threads
954 will run in a particular small time slice. Also ensure we break
955 in one of the child threads rather than the main thread.
956
be375bae
JB
9572003-05-07 Jim Blandy <jimb@redhat.com>
958
09bf6082
JB
959 Add support for assembly source testing on the s390x.
960 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
961 architecture.
962 * gdb.asm/s390x.inc: New file.
963
be375bae
JB
964 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
965 succession of 'if' statements.
966
00905d52
AC
9672003-05-05 Andrew Cagney <cagney@redhat.com>
968
969 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
970
b1e29e33
AC
9712003-05-05 Andrew Cagney <cagney@redhat.com>
972
973 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
974 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
975
e33d66ec
EZ
9762003-05-02 Elena Zannoni <ezannoni@redhat.com>
977
978 * gdb.base/charset.exp: Update based on new behavior of set/show
979 charset commands.
980
2b6fd0d8
AC
9812003-05-01 Andrew Cagney <cagney@redhat.com>
982
983 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
984 variable do not give memory errors.
985
130cacce
AF
9862003-04-30 Adam Fedor <fedor@gnu.org>
987
988 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
989 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
990 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
991 gdb.objc/basicclass.m: : New files
992
993 * lib/gdb.exp (gdb_compile_objc): New procedure.
994
bea71854
DJ
9952003-04-27 Daniel Jacobowitz <drow@mvista.com>
996
997 * gdb.base/signals.exp: Make backtrace tests more specific.
998
0f20eeea
DC
9992003-04-23 David Carlton <carlton@bactrian.org>
1000
1001 * gdb.c++/maint.exp (test_first_component): Add tests for
1002 'operator' in more locations.
1003
c8c4d8dc
KB
10042003-04-16 Kevin Buettner <kevinb@redhat.com>
1005
1006 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1007
3fe60e3c
EZ
10082003-04-16 Elena Zannoni <ezannoni@redhat.com>
1009
1010 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1011 func marke' instead. Update test name.
1012
9219021c
DC
10132003-04-15 David Carlton <carlton@math.stanford.edu>
1014
1015 * gdb.c++/maint.exp: New file.
1016
5dd55bdd
EZ
10172003-04-14 Elena Zannoni <ezannoni@redhat.com>
1018
1019 * gdb.threads/schedlock.c: Change type of thread function argument
1020 to long, to avoid warnings on 64-bit platforms.
1021
00890572
EZ
10222003-04-14 Elena Zannoni <ezannoni@redhat.com>
1023
1024 * gdb.base/attach.exp: Add new message from ptrace in case of
1025 attaching to nonexistent process.
1026
93201743
JB
10272003-04-11 Jim Blandy <jimb@redhat.com>
1028
1029 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1030 gdb.c++/userdef.cc: Place comments on the lines to which the
1031 marker function might return.
1032 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1033 gdb.c++/userdef.exp: Look for those comments to check that we've
1034 returned to the right place, instead of checking line numbers.
1035
2a11c64d
EZ
10362003-04-11 Elena Zannoni <ezannoni@redhat.com>
1037
1038 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1039 match on sourcefile name, instead of directory name.
1040
68ab8fc5
EZ
10412003-04-10 Elena Zannoni <ezannoni@redhat.com>
1042
1043 * gdb.base/completion.exp: Use string_to_regexp to match the
1044 working directory name.
1045
5624293a
JB
10462003-04-09 Jim Blandy <jimb@redhat.com>
1047
1048 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1049 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1050 after an inferior function call, report the failure, but allow the
1051 test to continue.
1052
f1f02ee4
SC
10532003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1054
1055 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1056 with -DPROTOTYPES.
1057
6eb79af0
SC
10582003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1059
1060 * gdb.base/break.exp: Revert last patch.
1061
8dfb4cf0
SC
10622003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1063
1064 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1065 with -DPROTOTYPES.
1066
ed4c619a
AC
10672003-04-02 Andrew Cagney <cagney@redhat.com>
1068
1069 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1070 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1071 matching directories by the name breakpoint.
1072 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1073 Make "continue to marker1" consistent.
1074 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1075 message consistent.
1076 * lib/gdb.exp: Put "the program is no longer running", and "the
1077 program exited" in parenthesis.
1078 * lib/mi-support.exp: Ditto.
1079
4e35d5f0
BR
10802003-04-02 Bob Rossi <bob_rossi@cox.net>
1081
1082 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1083
71900fe8
AC
10842003-03-29 Andrew Cagney <cagney@redhat.com>
1085
1086 * gdb.base/sizeof.c (main): Print the value of '\377'.
1087 * gdb.base/sizeof.exp: Check the sign of '\377'.
1088
c0655a16
MC
10892003-03-27 Michael Chastain <mec@shout.net>
1090
1091 * gdb.base/gdb1090.exp: New file.
1092 * gdb.base/gdb1090.cc: New file.
1093
5b2a3989
JB
10942003-03-27 J. Brobecker <brobecker@gnat.com>
1095
1096 * gdb.gdb/observer.exp: New regression test.
1097
79876890
MC
10982003-03-27 Michael Chastain <mec@shout.net>
1099
1100 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1101 * gdb.base/ptype.exp: Likewise.
1102
6eac95e3
CV
11032003-03-27 Corinna Vinschen <vinschen@redhat.com>
1104
1105 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1106
e8c71839
MC
11072003-03-26 Michael Chastain <mec@shout.net>
1108
1109 * gdb.base/ptype.exp: Actually use some typedef'd types.
1110
71b10041
SC
11112003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1112
1113 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1114 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1115
2512cf80
CV
11162003-03-20 Corinna Vinschen <vinschen@redhat.com>
1117
1118 * gdb.base/default.exp: Fix regular expression.
1119
0d195a4f
CV
11202003-03-20 Corinna Vinschen <vinschen@redhat.com>
1121
1122 * gdb.base/args.exp: Fix regular expression.
1123
8a2dbca8
CV
11242003-03-20 Corinna Vinschen <vinschen@redhat.com>
1125
1126 * gdb.base/help.exp: Allow Win32 child process.
1127
bf028682
CV
11282003-03-20 Corinna Vinschen <vinschen@redhat.com>
1129
1130 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1131 when stepping out of main().
1132
182dbe85
CV
11332003-03-20 Corinna Vinschen <vinschen@redhat.com>
1134
1135 * gdb.base/default.exp: Check for win32 specific message when calling
1136 "run" without executable.
1137
d67a6ba5
CV
11382003-03-20 Corinna Vinschen <vinschen@redhat.com>
1139
1140 * gdb.base/args.exp: Expect .exe in output.
1141
a955b5bb
CV
11422003-03-20 Corinna Vinschen <vinschen@redhat.com>
1143
1144 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1145 Cygwin native.
1146
bf6bad4b
AC
11472003-03-17 Andrew Cagney <cagney@redhat.com>
1148
1149 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1150 vector registes.
1151 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1152 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1153
293e9a31
DC
11542003-03-17 David Carlton <carlton@math.stanford.edu>
1155
1156 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1157 test, for PR breakpoints/38.
1158 Call test_watchpoint_and_breakpoint.
1159 * gdb.base/watchpoint.c (func3): New function.
1160 (main): Call func3.
1161
5330f2db
DC
11622003-03-04 David Carlton <carlton@math.stanford.edu>
1163
1164 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1165 Garply<Garply<char> >:: garply".
1166 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1167 with respect to PR c++/1111; note also PR c++/1113.
1168 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1169 respect to PR c++/1062.
1170 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1171
6ece72da
DC
11722003-03-03 David Carlton <carlton@math.stanford.edu>
1173
1174 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1175 with respect to PR c++/57.
1176 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1177 c++/826.
1178 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1179 respect to PR c++/57.
1180
85ca1584
DC
11812003-03-03 David Carlton <carlton@math.stanford.edu>
1182
1183 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1184 respect to PR c++/33 into FAILs.
1185
98e9c5b8
MC
11862003-03-03 Michael Chastain <mec@shout.net>
1187
7bedbf27
MC
1188 * configure.in: Update copyright years.
1189
11902003-03-03 Michael Chastain <mec@shout.net>
1191
1192 * Makefile.in: Update copyright years.
98e9c5b8 1193
f683e100
DC
11942003-02-28 David Carlton <carlton@math.stanford.edu>
1195
1196 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1197 print class instead of struct and/or superfluous protection
1198 specifiers, as long as the resulting output is equivalent to the
1199 source code.
1200 Delete FIXME from end of messages on tests that don't need
1201 fixing.
1202
a9e0cf2c
DC
12032003-02-28 David Carlton <carlton@math.stanford.edu>
1204
1205 * gdb.c++/templates.exp (do_tests): Allow const in the two
1206 Foo<volatile char *>::foo tests.
1207
e8d359df
MS
12082003-02-27 Michael Snyder <msnyder@redhat.com>
1209
1210 * gdb.base/restore.c (main): Return zero, so exit code
1211 will be consistant.
1212
0b71dc91
DC
12132003-02-26 David Carlton <carlton@math.stanford.edu>
1214
1215 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1216 char *>::foo" test with respect to PR c++/33. Create a new test
1217 which is identical to that one except that it doesn't put the
1218 space between the "char" and the "*"; KFAIL it, too.
1219
dd14ab43
DC
12202003-02-26 David Carlton <carlton@math.stanford.edu>
1221
1222 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1223 template types into either PASSes or KFAILs (corresponding to PR
1224 c++/57). Tweak indentation. Update copyright.
1225
1146c7f1
SC
12262003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1227
1228 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1229
74641dfb
MC
12302003-02-13 Michael Chastain <mec@shout.net>
1231
1232 * gdb.base/exprs.exp: Remove i960 remnants.
1233 * gdb.base/funcargs.exp: Likewise.
1234 * gdb.base/list.exp: Likewise.
1235 * gdb.base/ptype.exp: Likewise.
1236
559cd2d0
DC
12372003-02-14 David Carlton <carlton@math.stanford.edu>
1238
1239 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1240 pEe->D::vg()" from XFAIL to KFAIL.
1241
c4f90d87
JM
12422003-02-13 Jason Molenda (jmolenda@apple.com)
1243
1244 * gdb.base/maint.exp: Update maint print statistics regexp to include
1245 new entries.
1246
cbc4d97c
MC
12472003-02-13 Michael Chastain <mec@shout.net>
1248
1249 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1250
40f235b7
MC
12512003-02-12 Michael Chastain <mec@shout.net>
1252
1253 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1254 * gdb.c++/inherit.exp: Likewise.
1255 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1256 * gdb.c++/templates.exp: Likewise.
1257 * gdb.c++/virtfunc.exp: Likewise.
1258
c56716b0
JM
12592003-02-06 Jason Molenda (jason-cl@molenda.com)
1260
1261 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1262 why the code is written that way.
1263
070afcf8
MC
12642003-02-05 Michael Chastain <mec@shout.net>
1265
1266 * gdb.base/dump.exp: Add missing copyright line.
1267
5d0331e5
JM
12682003-02-05 Jason Molenda (jason-cl@molenda.com)
1269
f7ae6d3e 1270 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1271 at the beginning so the breakpoint doesn't get set on the loop.
1272
92851186
MC
12732003-02-05 Michael Chastain <mec@shout.net>
1274
1275 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1276 output for configurations with gcc 2.95.3.
1277
cbf1e085
AC
12782003-02-05 Keith Seitz <keiths@redhat.com>
1279 Andrew Cagney <ac131313@redhat.com>
1280
1281 * gdb.mi/mi-cli.exp: New file.
1282
29518e1e
MC
12832003-02-04 Michael Chastain <mec@shout.net>
1284
1285 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1286 Call perror and then continue.
1287
5af1d5f3
MC
12882003-02-03 Michael Chastain <mec@shout.net>
1289
1290 * gdb.c++/pr-1023.cc: New file.
1291 * gdb.c++/pr-1023.exp: New file.
1292
6b549786
JB
12932003-02-05 Jim Blandy <jimb@redhat.com>
1294
1295 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1296 it's local to foobar. Check for it there, and check that it's not
1297 present in main.
1298 * gdb.c++/local.cc (marker2): New function.
1299 (foobar): Call marker1.
1300 (main): Call marker2 instead of marker1.
1301
67f16606
AC
13022003-02-04 Andrew Cagney <ac131313@redhat.com>
1303
1304 * gdb.disasm/mn10200.exp: Obsolete file.
1305 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1306 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1307 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1308
1c5cb38e
DC
13092003-02-04 David Carlton <carlton@math.stanford.edu>
1310
1311 * gdb.c++/overload.exp: Test intToChar(1).
1312 * gdb.c++/overload.cc (intToChar): New.
1313 (main): Call intToChar.
1314
d1fe6965
DC
13152003-02-03 David Carlton <carlton@math.stanford.edu>
1316
1317 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1318 'might_kfail' arg.
1319 KFAIL some of the continue_to_bp_overloaded calls, according to
1320 PR c++/1025.
1321
9ba61c5d
MC
13222003-02-01 Michael Chastain <mec@shout.net>
1323
1324 * gdb.base/advance.c (marker1): New marker function.
1325 * gdb.base/advance.exp: When the 'advance' command lands on the
1326 return breakpoint, it can legitimately stop on either the
1327 current line or the next line. Accommodate both outcomes.
1328 * gdb.base/until.exp: Likewise.
1329
e7494ffb
AC
13302003-02-02 Andrew Cagney <ac131313@redhat.com>
1331
1332 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1333 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1334 now a list, not a tuple.
1335 * gdb.mi/mi-var-display.exp: Ditto.
1336 * gdb.mi/gdb792.exp: Ditto.
1337
075559bc
AC
13382003-02-01 Andrew Cagney <ac131313@redhat.com>
1339
1340 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1341 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1342 stack backtraces.
1343 * gdb.mi/mi-syn-frame.c: Part of same.
1344
2bd4c7b1
MK
13452003-02-01 Mark Kettenis <kettenis@gnu.org>
1346
1347 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1348 gdb.mi/mi1-pthreads.exp: Return instead of calling
1349 gdb_suppress_entire_file.
1350
eabd8992
MS
13512003-02-01 Mark Salter <msalter@redhat.com>
1352
1353 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1354
71469e2f
MS
13552003-01-31 Mark Salter <msalter@redhat.com>
1356
1357 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1358 Support empty arg.
1359
38a94d44
MC
13602003-01-30 Michael Chastain <mec@shout.net>
1361
1362 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1363 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1364 has been fixed in gdb/readline on 2003-01-09.
1365
19ea9e73
MS
13662003-01-29 Michael Snyder <msnyder@redhat.com>
1367
e8d359df
MS
1368 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1369 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1370 * gdb.base/args.exp: Skip if target does not support args passing.
1371
2307bd6a
DJ
13722003-01-22 Daniel Jacobowitz <drow@mvista.com>
1373
19ea9e73 1374 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1375 gdb_test. Accept a list of expect arguments as the third
1376 parameter.
1377 (gdb_test): Use it.
1378
f2dd3617
EZ
13792003-01-20 Elena Zannoni <ezannoni@redhat.com>
1380
1381 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1382 allow for different test tree configurations. Update some
1383 tescases accordingly.
1384 * gdb.arch/altivec-regs.exp: Ditto.
1385 * gdb.asm/asm-source.exp: Ditto.
1386 * gdb.base/advance.exp: Ditto.
1387 * gdb.base/display.exp: Ditto.
1388 * gdb.base/long_long.exp: Ditto.
1389 * gdb.base/mips_pro.exp: Ditto.
1390 * gdb.base/overlays.exp: Ditto.
1391 * gdb.base/relocate.exp: Ditto.
1392 * gdb.base/setshow.exp: Ditto.
1393 * gdb.base/step-line.exp: Ditto.
1394 * gdb.base/step-test.exp: Ditto.
1395 * gdb.base/until.exp: Ditto.
1396 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1397
c71cdefd
DC
13982003-01-17 David Carlton <carlton@math.stanford.edu>
1399
1400 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1401 corresponding to PR c++/945.
1402 Update copyright.
1403
fdba05d7
DC
14042003-01-17 David Carlton <carlton@math.stanford.edu>
1405
1406 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1407 corresponding to PR c++/68.
1408
14092003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1410
1411 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1412 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1413 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1414
c362c33a
EZ
14152003-01-15 Elena Zannoni <ezannoni@redhat.com>
1416
0fbc361c
EZ
1417 * gdb.base/break.exp: Fix change of default location, because of
1418 removal of until tests.
1419 * gdb.base/help.exp: Update test for new 'until' help message.
1420 Add test for help on 'advance'.
c362c33a
EZ
1421 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1422
dabf8a35
MK
14232003-01-15 Mark Kettenis <kettenis@gnu.org>
1424
1425 * gdb.base/default.exp: Adapt "info float" test for recent changes
1426 to that command. Add test for "info vector".
1427 * gdb.base/float.exp: New file. Add test for "info float" that
1428 resembles the old test in gdb.base/default.exp.
1429
a1769aca
DC
14302003-01-15 David Carlton <carlton@math.stanford.edu>
1431
1432 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1433
82025e13
EZ
14342003-01-15 Elena Zannoni <ezannoni@redhat.com>
1435
1436 * gdb.base/break.exp: Move the tests of until command from here...
1437 * gdb.base/until.exp: ... to here. New file. Add other tests.
1438 * gdb.base/advance.c: New file.
1439 * gdb.base/advance.exp: New file.
1440
8f9ab801
EZ
14412003-01-14 Elena Zannoni <ezannoni@redhat.com>
1442
1443 * gdb.base/args.c: New file.
1444 * gdb.base/args.exp: New file.
1445
9ae66589
DJ
14462003-01-14 Daniel Jacobowitz <drow@mvista.com>
1447
1448 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1449
8d77e5c3
DJ
14502003-01-14 Daniel Jacobowitz <drow@mvista.com>
1451
1452 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1453
12d2f0a1
DJ
14542003-01-14 Daniel Jacobowitz <drow@mvista.com>
1455
1456 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1457 dates.
1458
6ca37014
DJ
14592003-01-13 Daniel Jacobowitz <drow@mvista.com>
1460
1461 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1462
b0023472
DJ
14632003-01-13 Daniel Jacobowitz <drow@mvista.com>
1464
1465 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1466 (ptype &*"foo").
1467 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1468
d6abaea5
DJ
14692002-01-13 Daniel Jacobowitz <drow@mvista.com>
1470
1471 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1472 * gdb.mi/mi1-console.exp: Likewise.
1473
dfd536a7
DJ
14742002-01-13 Daniel Jacobowitz <drow@mvista.com>
1475
1476 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1477 * gdb.mi/mi1-console.exp: Likewise.
1478
a1fb14a2
DJ
14792003-01-13 Daniel Jacobowitz <drow@mvista.com>
1480
1481 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1482
c4cf40b7
DJ
14832003-01-09 Daniel Jacobowitz <drow@mvista.com>
1484
1485 * gdb.base/detach.exp: New test.
1486
696d5a5b
DJ
14872003-01-09 Daniel Jacobowitz <drow@mvista.com>
1488
1489 * Makefile.in (ALL_SUBDIRS): New variable.
1490 (subdirs, clean, distclean): Use it.
1491 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1492 regenerating Makefile, since it is generated from the top level.
1493 * gdb.asm/Makefile.in: Likewise.
1494 * gdb.base/Makefile.in: Likewise.
1495 * gdb.c++/Makefile.in: Likewise.
1496 * gdb.disasm/Makefile.in: Likewise.
1497 * gdb.java/Makefile.in: Likewise.
1498 * gdb.mi/Makefile.in: Likewise.
1499 * gdb.threads/Makefile.in: Likewise.
1500 * gdb.trace/Makefile.in: Likewise.
1501
754533e4
DC
15022003-01-09 David Carlton <carlton@math.stanford.edu>
1503
1504 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1505 Add copyright year 2003.
1506
d8b3e9ee
MC
15072003-01-06 Michael Chastain <mec@shout.net>
1508
1509 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1510 When selecting a thread, 'line' and 'file' are optional.
1511 * gdb.mi/mi1-pthreads.exp: Likewise.
1512
8e9e0fe6
AS
15132003-01-06 Andreas Schwab <schwab@suse.de>
1514
1515 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1516 failures.
1517
b5ab8ff3
DJ
15182003-01-04 Daniel Jacobowitz <drow@mvista.com>
1519
1520 Fix PR gdb/844
1521 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1522 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1523
1524 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1525 instead of calling gdb_suppress_entire_file.
1526 * gdb.threads/print-threads.exp: Likewise.
1527 * gdb.threads/schedlock.exp: Likewise.
1528
1529 * gdb.threads/killed.exp: Return instead of calling
1530 gdb_suppress_entire_file.
1531 * gdb.threads/linux-dp.exp: Likewise.
1532 * gdb.threads/pthreads.exp: Likewise.
1533
1e698235
DJ
15342003-01-04 Daniel Jacobowitz <drow@mvista.com>
1535
1536 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1537 stabs.
1538 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1539 * gdb.base/whatis.exp: Always allow (void) after function names.
1540
147ff08c
DJ
15412003-01-04 Daniel Jacobowitz <drow@mvista.com>
1542
1543 * gdb.c++/casts.exp: Correct regexp.
1544
dc62bfc2
MK
15452003-01-04 Mark Kettenis <kettenis@gnu.org>
1546
1547 * configure.in: Call AC_CONFIG_HEADER. Don't call
1548 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1549 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1550 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1551 aforementioned directories in the AC_OUPUT call.
1552 * config.hin: New file.
1553 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1554 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1555 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1556 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1557 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1558 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1559 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1560 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1561 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1562 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1563 gdb.threads/configure.in, gdb.threads/configure,
1564 gdb.threads/config.in, gdb.trace/configure.in,
1565 gdb.trace/configure: Removed.
1566
77afa639
MC
15672003-01-03 Michael Chastain <mec@shout.net>
1568
1569 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1570 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1571
7634bb6e
DJ
15722003-01-03 Daniel Jacobowitz <drow@mvista.com>
1573
1574 * gdb.base/store.exp: Fix regular expressions.
1575
b39c905e
MK
15762002-12-28 Mark Kettenis <kettenis@gnu.org>
1577
1578 * configure.in: Rewrite.
1579 * configure: Regenerated.
1580
0a8551dd
DC
15812003-01-03 David Carlton <carlton@math.stanford.edu>
1582
1583 * gdb.base/psymtab.exp: New file.
1584 * gdb.base/psymtab1.c: Ditto.
1585 * gdb.base/psymtab2.c: Ditto.
1586
c60b7188
AF
15872002-12-23 Adam Fedor <fedor@gnu.org>
1588
1589 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1590
ee73db83
DC
15912002-12-23 David Carlton <carlton@math.stanford.edu>
1592
1593 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1594 and current_directory initialization.
1595
d6c1774e
JB
15962002-12-22 Jim Blandy <jimb@redhat.com>
1597
f0a847b8
JB
1598 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1599 rather than as part of the output file name.
1600
d6c1774e
JB
1601 * gdb.base/attach.exp: There's no need to copy the test program to
1602 /tmp; that was only ever necessary on HP/UX, and this test is
1603 entirely disabled there anyway.
1604
f0708dbb
JB
16052002-12-21 Jim Blandy <jimb@redhat.com>
1606
4c2acfea
JB
1607 * gdb.c++/psmang.exp: Doc fix.
1608
f0708dbb
JB
1609 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1610 test.
1611
9579e000
DC
16122002-12-20 David Carlton <carlton@math.stanford.edu>
1613
1614 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1615
d1810171
MC
16162002-12-18 Michael Chastain <mec@shout.net>
1617
1618 * gdb.c++/annota2.exp: Add copyright year 2002.
1619
76565097
DC
16202002-12-17 David Carlton <carlton@math.stanford.edu>
1621
1622 * gdb.c++/try_catch.cc: Add marker comments.
1623 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1624 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1625 * gdb.c++/m-static.cc: Ditto.
1626 * gdb.c++/m-static1.cc: Ditto.
1627 * gdb.c++/try_catch.cc: Ditto.
1628
da81390b
JJ
16292002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1630
1631 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1632 to see whether we are using the new -environment-directory
1633 command which resets via -r or the old version of the command
1634 which may prompt the user. Part of fix for gdb/741.
1635
b304d130
AC
16362002-12-13 Andrew Cagney <ac131313@redhat.com>
1637
1638 * gdb.fortran/types.exp: Update obsolete comment.
1639 * gdb.fortran/exprs.exp: Ditto.
1640 * lib/gdb.exp: Delete obsolete code.
1641 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1642 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1643 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1644 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1645 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1646 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1647 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1648 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1649 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1650 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1651 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1652 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1653 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1654 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1655 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1656 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1657 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1658 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1659 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1660 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1661 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1662 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1663 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1664 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1665 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1666 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1667 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1668 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1669 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1670 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1671 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1672 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1673 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1674 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1675 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1676 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1677 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1678
a23b6e6a
DC
16792002-12-11 David Carlton <carlton@math.stanford.edu>
1680
1681 * gdb.c++/m-data.exp: Add test for members that shadow global
1682 variables: see PR gdb/804.
1683 * gdb.c++/m-data.cc: Ditto.
1684
6604731b
DJ
16852002-12-10 Daniel Jacobowitz <drow@mvista.com>
1686
1687 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1688
de46ecd7
DC
16892002-12-06 David Carlton <carlton@math.stanford.edu>
1690
1691 * gdb.base/store.c: Don't declare functions static.
1692
27e829d0
AC
16932002-12-04 Andrew Cagney <ac131313@redhat.com>
1694
1695 * gdb.base/store.exp, gdb.base/store.c: New files.
1696
92806416
DJ
16972002-12-03 Daniel Jacobowitz <drow@mvista.com>
1698
1699 * gdb.base/selftest.exp: Update for current gdb.
1700
3bcbaac5
DJ
17012002-12-03 Daniel Jacobowitz <drow@mvista.com>
1702
1703 * gdb.base/maint.exp: Only dump symbols from one source file
1704 or objfile.
1705
f4f00b1f
DJ
17062002-12-03 Daniel Jacobowitz <drow@mvista.com>
1707
1708 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1709 function call.
1710
f1c8a949
JB
17112002-11-25 Jim Blandy <jimb@redhat.com>
1712
1713 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1714 function appearing in error message.
1715
9e297a97
DJ
17162002-11-21 Daniel Jacobowitz <drow@mvista.com>
1717
1718 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1719
1f312e79
JJ
17202002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1721
1722 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1723 for mi1 and current mi is in correct format. New mi startup message
1724 should be in mi console format. This is part of fix for PR gdb/604.
1725
83c31e7d
FN
17262002-09-18 Fernando Nasser <fnasser@redhat.com>
1727
1728 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1729 which explicitly prints the zero offset as "+0".
1730
322b3f65
DJ
17312002-10-22 Daniel Jacobowitz <drow@mvista.com>
1732
1733 * gdb.threads/schedlock.c (args): Make unsigned.
1734
17352002-10-21 Daniel Jacobowitz <drow@mvista.com>
1736
1737 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1738 numbers. Allow "foo2|selected stack frame".
1739 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1740 * gdb.asm/asmsrc2.s: Likewise.
1741 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1742 comments.
1743 * gdb.asm/mips.inc: New file.
1744
5e2fe5b8
AF
17452002-10-18 Adam Fedor <fedor@gnu.org>
1746
1747 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1748 * gdb.base/help.exp: Likewise.
1749
abe1a5d0
KB
17502002-10-17 Kevin Buettner <kevinb@redhat.com>
1751
1752 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1753 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1754
10abb1d4
JB
17552002-10-02 Jim Blandy <jimb@redhat.com>
1756
1757 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1758
1f609b42
AC
17592002-10-01 Andrew Cagney <ac131313@redhat.com>
1760
1761 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1762 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1763 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1764 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1765 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1766 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1767 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1768
0aee02e4
AC
17692002-09-29 Andrew Cagney <ac131313@redhat.com>
1770
1771 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1772 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1773 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1774 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1775 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1776 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1777 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1778
6fde09ad
KB
17792002-09-27 Kevin Buettner <kevinb@redhat.com>
1780
1781 * gdb.base/annota1.exp (info break): Make directory components of
1782 path optional since not all compilers emit this debug information.
1783
1784 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1785 step ends up stepping out of the function instead of stopping on
1786 the epilogue.
1787
9e8aab75
KS
17882002-09-26 Keith Seitz <keiths@redhat.com>
1789
1790 * lib/insight-support.exp (gdbtk_start): Figure out where
1791 the insight executable is based on where gdb is. Use this
1792 executable to start insight instead of gdb.
1793
e36180d7
AC
17942002-09-25 Andrew Cagney <cagney@redhat.com>
1795
1796 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1797
9dd34b2b
AC
17982002-09-24 Andrew Cagney <ac131313@redhat.com>
1799
1800 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1801 test_isolated_complaints.
1802 (test_empty_complaint): New function.
1803 (test_empty_complaints): New function. Check no output when no
1804 complaints.
1805
dea97812
KB
18062002-09-19 Jim Blandy <jimb@redhat.com>
1807
1808 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1809
54951bd7
AC
18102002-09-19 Andrew Cagney <ac131313@redhat.com>
1811
1812 * gdb.gdb/complaints.exp: New file.
1813
dec43320
AC
18142002-09-18 Andrew Cagney <ac131313@redhat.com>
1815
1816 * gdb.base/maint.exp: Check `help maint internal-warning'.
1817
e70d6e3f
DC
18182002-09-18 David Carlton <carlton@math.stanford.edu>
1819
1820 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1821 numbers, and replace them by a single breakpoint after the
1822 constructors are all finished.
1823 Add test 4.
1824 * gdb.c++/m-static.cc: Add test 4.
1825 * gdb.c++/m-static.h: New file.
1826 * gdb.c++/m-static1.cc: New file.
1827
1828 * gdb.c++/printmethod.exp: New file.
1829 * gdb.c++/printmethod.cc: New file.
1830
1831 * gdb.c++/pr-574.exp: New file.
1832 * gdb.c++/pr-574.cc: New file.
1833
afb5c968
CV
18342002-09-18 Corinna Vinschen <vinschen@redhat.com>
1835
1836 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1837 embedded targets which never actually exit.
1838
31e45dee
FN
18392002-09-18 Fernando Nasser <fnasser@redhat.com>
1840
1841 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1842 "don't step after run" as unresolved or unsupported, instead of xfail.
1843
a283c5a1
CV
18442002-09-18 Corinna Vinschen <vinschen@redhat.com>
1845
1846 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1847 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1848 Add newline to expected string in "step out of main (status wrapper)"
1849 case.
1850
11350d2a
CV
18512002-09-18 Corinna Vinschen <vinschen@redhat.com>
1852
1853 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1854 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1855
0deec7d6
TT
18562002-09-17 Tom Tromey <tromey@redhat.com>
1857
1858 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1859 \000, not \0, in double-quoted string.
1860
b2b4a1b5
CV
18612002-09-14 Corinna Vinschen <vinschen@redhat.com>
1862
c9d37158 1863 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
1864 string after running the commands execution on breakpoint tests.
1865
1c56143a
CV
18662002-09-13 Corinna Vinschen <vinschen@redhat.com>
1867
1868 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1869
37f8da45
JB
18702002-09-12 Joel Brobecker <brobecker@gnat.com>
1871
1872 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1873
08b468e0
KS
18742002-09-10 Keith Seitz <keiths@redhat.com>
1875
1876 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1877 runto proc.
1878 (mi_run_to_main): Use mi_runto.
1879 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1880
dc360f58
KS
18812002-09-10 Keith Seitz <keiths@redhat.com>
1882
1883 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1884 regexp for stopping at main. Could have multiple event notifications.
1885 Don't assume that main was declared with no parameters.
1886 (mi_next): Use mi_step_to.
1887 (mi_step): Use mi_next_to.
1888
ce3abcfb
CV
18892002-09-09 Corinna Vinschen <vinschen@redhat.com>
1890
1891 * gdb.base/default.exp: Fix expected string in `info float' test.
1892
d1f5b980
BE
18932002-09-09 Ben Elliston <bje@redhat.com>
1894
1895 * config/mips.exp: Update comments.
1896 * config/mips-idt.exp: Likewise.
1897 * config/nind.exp: Likewise.
1898 * config/slite.exp: Likewise.
1899 * config/sparclet.exp: Likewise.
1900 * config/udi.exp: Likewise.
1901 * config/vx.exp: Likewise.
1902 * config/vxworks29k.exp: Likewise.
1903
2f71430b
JB
19042002-09-05 Jim Blandy <jimb@redhat.com>
1905
1906 * gdb.threads/killed.exp: Fix test failure message.
1907
7ddebc7e
KS
19082002-09-04 Keith Seitz <keiths@redhat.com>
1909
1910 * lib/mi-support.exp: Update copyright.
1911 (mi_gdb_test): Increase the priority of the expected pattern
1912 so that it matches gdb_test.
1913
0ae67eb3
KS
19142002-09-03 Keith Seitz <keiths@redhat.com>
1915
1916 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1917 Use integer comparison instead of string comparison for testing
1918 whether binary was built.
1919
38fc42c8
JB
19202002-09-03 Jim Blandy <jimb@redhat.com>
1921
1922 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1923
b6ff0e81
JB
19242002-08-29 Jim Blandy <jimb@redhat.com>
1925
1926 * gdb.threads/pthreads.exp: Move the portable thread compilation
1927 code into a function in lib/gdb.exp, and call that from here.
1928 * lib/gdb.exp (gdb_compile_pthreads): New function.
1929
07c98896
KS
19302002-08-29 Keith Seitz <keiths@redhat.com>
1931
1932 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1933 expect_out so that callers can get at it.
1934
0312286c
DJ
19352002-08-23 Daniel Jacobowitz <drow@mvista.com>
1936
1937 * gdb.threads/print-threads.c: New file.
1938 * gdb.threads/print-threads.exp: New file.
1939 * gdb.threads/schedlock.c: New file.
1940 * gdb.threads/schedlock.exp: New file.
1941
dd039bc4
EZ
19422002-08-22 Elena Zannoni <ezannoni@redhat.com>
1943
1944 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1945 not altivec.c.
1946
1f36144c
MK
19472002-08-17 Mark Kettenis <kettenis@gnu.org>
1948
1949 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1950 targets. The problem should be fixed now.
1951
16057ec7 19522002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1953
1954 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1955 2002-07-24 change that removes final dots from error messages.
1956
3c1499ad
TT
19572002-08-13 Tom Tromey <tromey@redhat.com>
1958
1959 * gdb.base/readline.exp: New file.
1960
a20ce2c3
AC
19612002-08-01 Andrew Cagney <ac131313@redhat.com>
1962
1963 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1964 supress message.
1965
db034ac5
AC
19662002-08-01 Andrew Cagney <cagney@redhat.com>
1967
1968 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1969 CHILL_FOR_TARGET and CHILL_LIB.
1970 * configure.in (configdirs): Remove gdb.chill.
1971 * configure: Regenerate.
1972 * lib/gdb.exp: Obsolete references to chill.
1973 * gdb.fortran/types.exp: Ditto.
1974 * gdb.fortran/exprs.exp: Ditto.
1975
3e000b18
KB
19762002-07-30 Kevin Buettner <kevinb@redhat.com>
1977
1978 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1979 set Irix-specific compile and link flags.
1980
28f4966b
KB
19812002-07-29 Kevin Buettner <kevinb@redhat.com>
1982
1983 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1984 source files. The ``-o'' option doesn't work with the ``-E'' option
1985 when using the Irix compiler.
1986
46c0d5a6
DJ
19872002-07-19 Daniel Jacobowitz <drow@mvista.com>
1988
1989 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1990 Improve support for reusing an exec file. Copy exec file
1991 to target, and run gdbserver on the target instead of on the host.
1992
eecf4bed
JB
19932002-07-18 Jim Blandy <jimb@redhat.com>
1994
0f815cdf
JB
1995 * gdb.base/ending-run.exp: Don't expect to see the program end in
1996 some orderly fashion when we're running on a real stand-alone
1997 board.
1998
eecf4bed
JB
1999 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2000 targets that don't support interrupts.
2001
52d309e4
JB
20022002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2003
2004 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2005 systems.
2006 Move comments in expect statements to inside the actions, so that they
2007 don't get matched against.
2008
ff683d9e
MK
20092002-07-10 Mark Kettenis <kettenis@gnu.org>
2010
2011 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2012 function when asleep" test.
2013
b5356753
AC
20142002-07-10 Andrew Cagney <ac131313@redhat.com>
2015
2016 * gdb.base/page.exp: Rewrite to handle problems with very long
2017 `info set' output. Update copyright.
2018
6aa4d13a
AC
20192002-06-26 Andrew Cagney <ac131313@redhat.com>
2020
2021 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2022 gdb.threads-hp.
2023 * gdb.hp/configure: Regenerate.
2024 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2025 * gdb.hp/gdb.threads-hp/configure: Delete file.
2026 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2027
8cf8c2b8
AC
20282002-06-22 Andrew Cagney <ac131313@redhat.com>
2029
2030 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2031 setlocale, bindtextdomain and textdomain.
2032
6827a8f8
JB
20332002-06-11 Jim Blandy <jimb@redhat.com>
2034
919d772c
JB
2035 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2036 preprocessor macro information is present.
2037
6827a8f8
JB
2038 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2039 tests.
2040
c15b0d21
MS
20412002-06-06 Michael Snyder <msnyder@redhat.com>
2042
c5984d70
MS
2043 * gdb.base/overlays.exp: Record addresses of overlay
2044 functions in TCL variables rather than in GDB variables,
2045 to avoid having GDB convert them to pointers (with loss
2046 of information).
2047
99a8512b
MS
2048 * gdb.base/d10v.ld: Merge in several years worth of
2049 default linker script changes.
c15b0d21
MS
2050 * gdb.base/long_long.exp: Add check for sizeof (long double).
2051
be26fe0d
ML
20522002-06-06 Michal Ludvig <mludvig@suse.cz>
2053
2054 * gdb.asm/asm-source.exp: Add x86-64 target.
2055 * gdb.asm/x86_64.inc: New.
2056
258093ca 20572002-05-30 Michael Chastain <mec@shout.net>
258093ca 2058
4b3153f1 2059 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2060 * gdb.c++/m-static.cc: New file.
2061 * gdb.c++/m-static.exp: New file.
2062
241264c6
MS
20632002-05-28 Michael Snyder <msnyder@redhat.com>
2064
2065 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2066 precision.
2067
9bba8c8f 20682002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2069
4b3153f1 2070 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2071 * gdb.c++/m-data.cc: New file.
2072 * gdb.c++/m-data.exp: New file.
2073
20742002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2075
4b3153f1 2076 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2077 * gdb.c++/try_catch.cc: New file.
2078 * gdb.c++/try_catch.exp: New file.
2079
def1b996
MC
20802002-05-27 Michael Chastain <mec@shout.net>
2081
2082 * gdb.c++/local.exp: Accept more nested types in output.
2083
522ba268
MC
20842002-05-26 Michael Chastain <mec@shout.net>
2085
2086 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2087
277254ba
MS
20882002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2089
2090 * lib/gdb.exp (gdb_wrapper_init): Just because
2091 gdb_wrapper_file exists, this does not mean that the file
2092 should not be rebuilt. That is what gdb_wrapper_initialized
2093 is for.
2094 (default_gdb_init): Reset gdb_wrapper_initialized.
2095
b61a8733
MS
20962002-05-23 Michael Snyder <msnyder@redhat.com>
2097
5bdb6d01
MS
2098 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2099 the precision of the floating point test results.
2100 * gdb.base/call-rt-st.exp: Ditto.
2101
b61a8733
MS
2102 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2103 * gdb.base/call-rt-st.exp: Ditto.
2104
56f6e910
MC
21052002-05-19 Michael Chastain <mec@shout.net>
2106
2107 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2108
ad0b0016
EZ
21092002-05-19 Elena Zannoni <ezannoni@redhat.com>
2110
2111 * configure.in (configdirs): Add gdb.arch.
2112 * configure: Regenerate.
2113
f617d2b6
JB
21142002-05-17 Jim Blandy <jimb@redhat.com>
2115
2116 * gdb.base/completion.exp: Recognize the more detailed error
2117 messages produced by the macro expander's lexical analyzer.
2118
eac2a696
EZ
21192002-05-14 Elena Zannoni <ezannoni@redhat.com>
2120
2121 * gdb.arch/altivec-abi.c: New file.
2122 * gdb.arch/altivec-abi.exp: New file.
2123 * gdb.arch/altivec-regs.c: New file.
2124 * gdb.arch/altivec-regs.exp: New file.
2125
2fdde8f8
DJ
21262002-05-14 Daniel Jacobowitz <drow@mvista.com>
2127
2128 * gdb.base/maint.exp (maint print type): Update for new type
2129 structure.
eac2a696 2130
e31f1a7c
EZ
21312002-05-14 Elena Zannoni <ezannoni@redhat.com>
2132
2133 * gdb.arch: New directory.
2134 * gdb.arch/configure.in: New file.
2135 * gdb.arch/configure: New file.
2136 * gdb.arch/Makefile.in: New file.
2137
db589741
CV
21382002-05-13 Corinna Vinschen <vinschen@redhat.com>
2139
2140 * gdb.asm/asm-source.exp: Add v850 as supported target.
2141 * gdb.asm/v850.inc: New file.
2142
8ce2a7dc
DJ
21432002-05-13 Daniel Jacobowitz <drow@mvista.com>
2144
2145 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2146
df763c7f
DJ
21472002-05-12 Daniel Jacobowitz <drow@mvista.com>
2148
2149 * gdb.base/break.exp: Check 'break "marker2"'.
2150
377daeed
MS
21512002-05-10 Michael Snyder <msnyder@redhat.com>
2152
2153 * gdb.base/long_long.exp: Fix typo.
2154
c4b7bc2b
JB
21552002-05-10 Jim Blandy <jimb@redhat.com>
2156
ecac9a4e
JB
2157 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2158 a bug.
2159
c4b7bc2b
JB
2160 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2161 Recognize more detailed error message produced by the macro
2162 expander's lexical analyzer.
2163 * lib/gdb.exp (test_print_reject): Same.
2164
e71019a1
MK
21652002-05-09 Mark Kettenis <kettenis@gnu.org>
2166
2167 * gdb.c++/method.exp: Fix typo.
2168
fedfc8e6
MS
21692002-05-08 Michael Snyder <msnyder@redhat.com>
2170
166a1957
MS
2171 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2172 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2173 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2174 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2175 Add iftarget clause for strongarm.
2176
f1c47eb2
MS
21772002-05-06 Michael Snyder <msnyder@redhat.com>
2178
cb9a9d3e
MS
2179 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2180 (gdb_continue_to_end): Accept output from status wrapper.
2181 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2182 Clean up fail messages to match pass messages.
2183
f1c47eb2
MS
2184 Enable the "needs_status_wrapper" testsuite feature.
2185 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2186 (gdb_compile): Conditionally call gdb_wrapper_init.
2187 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2188 * gdb.c++/method.exp: Recognize output from status wrapper.
2189
6079c749
BE
21902002-05-06 Ben Elliston <bje@redhat.com>
2191From Graydon Hoare <graydon@redhat.com>
2192
2193 * config/sid.exp: Include support for "rawsid" protocol.
2194
188baff3
JB
21952002-05-03 Jim Blandy <jimb@redhat.com>
2196
2197 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2198 * gdb.c++/hang3.C: New file.
2199
b9c07f0f
AC
22002002-05-04 Andrew Cagney <ac131313@redhat.com>
2201
2202 * gdb.base/default.exp: Remove obsolete code.
2203 * gdb.c++/misc.exp: Ditto. Update copyright.
2204 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2205 * gdb.base/whatis.exp: Ditto. Update copyright.
2206 * gdb.base/scope.exp: Ditto. Update copyright.
2207 * gdb.base/ptype.exp: Ditto. Update copyright.
2208 * gdb.base/printcmds.exp: Ditto. Update copyright.
2209 * gdb.base/opaque.exp: Ditto. Update copyright.
2210 * gdb.base/list.exp: Ditto.
2211 * gdb.base/funcargs.exp: Ditto. Update copyright.
2212 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2213 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2214 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2215 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2216 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2217 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2218
5c7a0397
MS
22192002-05-02 Michael Snyder <msnyder@redhat.com>
2220
d6dcc264 2221 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2222 * gdb.base/long_long.exp: Add xscale target.
2223 * gdb.base/default.exp: Add xscale target.
2224
eb7f1c48
JB
22252002-05-01 Jim Blandy <jimb@redhat.com>
2226
2227 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2228 gdb.c++/hang.exp: New test.
2229
a6befae8
FF
22302002-05-01 Fred Fish <fnf@redhat.com>
2231
2232 * gdb.base/completion.exp: Handle completions of "./Make" for
2233 more than one completion possibility, as is the case when we
2234 build and test in the source tree.
2235
0a310277
AG
22362002-04-29 Anthony Green <green@redhat.com>
2237
2238 * gdb.java/jmisc1.exp: New file.
2239 * gdb.java/jmisc2.exp: New file.
2240
6ff9af88
DJ
22412002-04-24 Daniel Jacobowitz <drow@mvista.com>
2242
2243 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2244
96b3d632
EZ
22452002-04-23 Elena Zannoni <ezannoni@redhat.com>
2246
2247 * gdb.base/help.exp: Change 'help status' to allow for target
2248 dependent output differences.
2249
5019bb54
MC
22502002-04-22 Michael Chastain <mec@shout.net>
2251
2252 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2253
a805a116
MC
22542002-04-22 Michael Chastain <mec@shout.net>
2255
2256 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2257
a1706bfd
DM
22582002-04-17 David S. Miller <davem@redhat.com>
2259
2260 * gdb.asm/sparc64.inc: New file.
2261 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2262
a73a20a2
EZ
22632002-04-19 Elena Zannoni <ezannoni@redhat.com>
2264
2265 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2266 instruction file directly into the build tree. Clean up at end of
2267 test.
2268
ba678339
DM
22692002-04-18 David S. Miller <davem@redhat.com>
2270
2271 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2272 handle 64-bit platforms correctly.
2273 * gdb.base/maint.exp: Likewise.
2274
b03399da
KB
22752002-04-18 Kevin Buettner <kevinb@redhat.com>
2276
2277 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2278 ``-fpic'' when compiling files comprising a shared library, but
2279 it does need additional linker flags in order to find shared
2280 libraries at run time.
2281
e2004992
KB
22822002-04-18 Kevin Buettner <kevinb@redhat.com>
2283
2284 * gdb.base/cvexpr.c (use): New function.
2285 (main): Invoke use() on all global variables to prevent
2286 some linkers from deleting these otherwise unused symbols.
2287
d8937120
MC
22882002-04-17 Michael Chastain <mec@shout.net>
2289From David S. Miller <davem@redhat.com>
2290
2291 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2292 handle 64-bit platforms correctly.
2293
ffd61a58
MS
22942002-04-12 Michael Snyder <msnyder@redhat.com>
2295From Jim Blandy <jimb@redhat.com>
2296 * gdb.base/foo.c (foox): Remove section attribute; the linker
2297 script can handle this instead.
2298 * gdb.base/bar.c (barx): Same.
2299 * gdb.base/baz.c (bazx): Same.
2300 * gdb.base/grbx.c (grbxx): Same.
2301
2302 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2303 manager doesn't automatically unmap overlays unnecessarily.
2304
6b8426a6
MH
23052002-04-10 Martin M. Hunt <hunt@redhat.com>
2306
2307 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2308 stepping out of main.
2309
34af4875
MC
23102002-04-09 Michael Chastain <mec@shout.net>
2311
2312 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2313 scope so that the nested scope tests will make sense.
2314 * gdb.c++/local.exp: Write patterns that actually work with gcc
2315 (the HP patterns "were never known to work with gcc").
2316 Keep the old aCC patterns too.
2317
2d1676a0
DJ
23182002-04-09 Daniel Jacobowitz <drow@mvista.com>
2319
2320 * gdb.base/attach.exp: Correct target board test.
2321
3a63e3f9
MC
23222002-04-08 Michael Chastain <mec@shout.net>
2323
2324 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2325 in a const method. Add some xfail and fail cases for configurations
2326 that do not emit the "const ...".
2327
f18dabd2
MC
23282002-04-07 Michael Chastain <mec@shout.net>
2329
2330 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2331 Accept "A * const" and "const A * const" as type of "this".
2332 Fix spelling of getFunky throughout. Make messages uniform.
2333
0fcddd82
EZ
23342002-04-07 Elena Zannoni <ezannoni@redhat.com>
2335
2336 Work around for PR gdb/285:
2337 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2338
16a8534a
EZ
23392002-04-07 Elena Zannoni <ezannoni@redhat.com>
2340
2341 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2342 instructions file at run time instead of configure time.
2343 Sometimes we run the test in a directory that is not the one we
2344 configured in.
2345 * gdb.asm/configure.in: Delete creation of symlink.
2346 * gdb.asm/configure: Regenerate.
2347
24181d81
JB
23482002-04-05 J. Brobecker <brobecker@gnat.com>
2349
2350 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2351 xfullpath () function.
2352
7cdb7107
DJ
23532002-04-04 Daniel Jacobowitz <drow@mvista.com>
2354
2355 * gdb.asm/Makefile.in: Correct dependencies.
2356
2357 * gdb.asm/powerpc.inc: New file.
2358 * gdb.asm/asm-source.exp: Add PowerPC.
2359 * gdb.asm/configure.in: Likewise.
2360 * gdb.asm/configure: Regenerated.
2361
a7d17088
DJ
23622002-04-04 Daniel Jacobowitz <drow@mvista.com>
2363
2364 * gdb.base/relocate.exp: New file.
2365 * gdb.base/relocate.c: New file.
2366
cd721503
FF
23672002-04-04 Fred Fish <fnf@redhat.com>
2368
2369 * gdb.base/step-test.exp: Update comment regarding stopping in
2370 memcpy/bcopy calls inserted as part of the compiler runtime.
2371
b22ad7a7
MS
23722002-04-04 Michael Snyder <msnyder@redhat.com>
2373
2374 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2375
5f279fa6
DJ
23762002-04-03 Daniel Jacobowitz <drow@mvista.com>
2377
2378 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2379 (gdb_expect): Remove $notransfer hack.
2380
dd0fd3ce
DJ
23812002-04-02 Daniel Jacobowitz <drow@mvista.com>
2382
2383 * gdb.c++/classes.exp ("calling method for small class"): Match
2384 updated register output.
2385
1e50cda1
DJ
23862002-03-30 Daniel Jacobowitz <drow@mvista.com>
2387
2388 Fix PR gdb/452
2389 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2390 when finished. Make gdb_file_cmd send "exec-file" when
2391 appropriate.
2392
24015922
DJ
23932002-03-30 Daniel Jacobowitz <drow@mvista.com>
2394
2395 * gdb.base/attach.exp: Remove extra setup_xfail.
2396
dd7dfd64
MS
23972002-03-26 Michael Snyder <msnyder@redhat.com>
2398
2399 * gdb.base/default.exp: Add tests for dump, append, and restore.
2400 * gdb.base/help.exp: Add tests for dump, append, and restore.
2401 * gdb.base/dump.exp: New file, test dump, append and restore.
2402 * gdb.base/dump.c: New file.
2403
48b2f8d7
MS
24042002-03-27 Michael Snyder <msnyder@redhat.com>
2405
2406 * gdb.base/help.exp: Modify expect strings to reflect
2407 clean-ups in help messages.
2408
05b4d525
FF
24092002-03-26 Fred Fish <fnf@redhat.com>
2410
2411 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2412 have debugging info for those functions and the compiler uses them
2413 internally to copy structs around.
2414
d7679631
FF
24152002-03-26 Fred Fish <fnf@redhat.com>
2416
2417 * gdb.base/list.exp: Revert the change made yesterday and add note
2418 about why we don't list the default lines for remote targets.
2419
523ac3f9
MS
24202002-03-25 Michael Snyder <msnyder@redhat.com>
2421
2422 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2423
754b2b8d
FF
24242002-03-25 Fred Fish <fnf@redhat.com>
2425
2426 * gdb.base/list.exp: This test works on remote targets so remove
2427 the short circuit for remote targets. Update copyright.
2428
33c3e192
FF
24292002-03-25 Fred Fish <fnf@redhat.com>
2430
2431 * gdb.base/attach.exp: Fix logic error that was suppressing this
2432 test for all non hppa*-*-hpux* targets, instead of the hp target.
2433 Move comments closer to the suppression point. Also now need to
2434 check that we are running natively.
2435
d43e73ee
MS
24362002-03-22 Michael Snyder <msnyder@redhat.com>
2437
882c8f02
MS
2438 * gdb.base/default.exp: Add test for gcore. Update copyright.
2439 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2440
04c12f60
FF
24412002-03-06 Fred Fish <fnf@redhat.com>
2442
2443 * gdb.base/funcargs.c: Remove extraneous ';' character.
2444 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2445
b43df995
MC
24462002-03-04 Michael Chastain <mec@shout.net>
2447
2448 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2449 accommodate gcc v3 function signature.
2450 * gdb.mi/mi0-var-cmd-exp: Ditto.
2451
92362027
AC
24522002-02-24 Andrew Cagney <ac131313@redhat.com>
2453
2454 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2455 ``GNU/Linux'' or ``Linux kernel''
2456 * testsuite/gdb.threads/pthreads.c: Ditto.
2457
258ad32d
MC
24582002-02-24 Michael Chastain <mec@shout.net>
2459
2460 * gdb.threads/pthreads.c (thread1): Add a return statement.
2461 (thread2): Likewise.
2462 (foo): Likewise.
2463
04c3b3d4
MC
24642002-02-23 Michael Chastain <mec@shout.net>
2465
2466 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2467 to placate gcc.
2468
5a2a0a20
MC
24692002-02-23 Michael Chastain <mec@shout.net>
2470
2471 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2472 test "ptype bint". The test passes on all my stabs configurations.
2473
a640f7fc
JB
24742002-02-21 Jim Blandy <jimb@redhat.com>
2475
27924826
JB
2476 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2477 filename at a time, and watch for the ones we want to see.
2478
a640f7fc
JB
2479 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2480 types of pointers to prototyped functions.
2481
edcc8c75
AC
24822002-02-20 Andrew Cagney <ac131313@redhat.com>
2483
2484 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2485 signed, unsigned and straight char.
2486 (padding_char, padding_short, padding_int, padding_long,
2487 padding_long_long, padding_float, padding_double,
2488 padding_long_double): New global variables.
2489 (fill, fill_structs): New functions.
2490
2491 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2492 for correctly sized writes. Update copyright.
2493 (get_valueof): New procedure.
2494 (get_sizeof): Call get_valueof.
2495 (check_valueof): New procedure.
2496 (check_padding): New procedure.
2497
ac57ea44
MC
24982002-02-20 Michael Chastain <mec@shout.net>
2499
2500 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2501 to setup_xfail. Document some of the remaining calls.
2502
7a10c941
MC
25032002-02-18 Michael Chastain <mec@shout.net>
2504
2505 * gdb.c++/userdef.exp: Update copyright year.
2506
fb8acdcc
DJ
25072002-02-18 Daniel Jacobowitz <drow@mvista.com>
2508
2509 * gdb.c++/userdef.exp: Test overloaded operators properly.
2510 Remove xfails.
2511
fda6ae12
MS
25122002-02-14 Michael Snyder <msnyder@redhat.com>
2513
2514 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2515
676a0442
DJ
25162002-02-14 Daniel Jacobowitz <drow@mvista.com>
2517
2518 * gdb.base/a2-run.exp: Check for a remote target properly.
2519 * gdb.base/annota1.exp: Likewise.
2520 * gdb.base/list.exp: Likewise.
2521 * gdb.base/reread.exp: Likewise.
2522 * gdb.base/scope.exp: Likewise.
2523 * gdb.base/shlib-call.exp: Likewise.
2524 * gdb.base/term.exp: Likewise.
2525 * gdb.c++/annota2.exp: Likewise.
2526
78b4f468
RE
25272002-02-13 Richard Earnshaw <rearnsha@arm.com>
2528
2529 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2530
9a81ba51
MC
25312002-02-10 Michael Chastain <mec@shout.net>
2532
2533 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2534 (call_after_alloca): Ditto.
2535
004af6c7
DJ
25362002-02-10 Daniel Jacobowitz <drow@mvista.com>
2537
2538 * gdb.base/ending-run.exp: Guard "cont" test with
2539 gdb_skip_stdio_test.
2540
37225f62
JB
25412002-02-06 Jim Blandy <jimb@redhat.com>
2542
2543 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2544 from here...
2545 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2546 To here. Disable this test on non-HP platforms. Add big comment.
2547
fe6fdd96
MS
25482002-02-04 Michael Snyder <msnyder@redhat.com>
2549
2550 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2551 other than d10v and m32r.
2552
036fad3f
RE
25532002-02-02 Richard Earnshaw <rearnsha@arm.com>
2554
2555 * gdb.base/default.exp: Rewrite test patterns to reduce time
2556 taken to match them.
2557
7148ab62
DJ
25582002-01-30 Daniel Jacobowitz <drow@mvista.com>
2559
2560 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2561 Allow a start function above main.
2562 * gdb.threads/linux-dp.exp: Fix copyright date.
2563
396cc255
DJ
25642002-01-30 Daniel Jacobowitz <drow@mvista.com>
2565
2566 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2567 (check_philosopher_stack): Check for manager thread before checking
2568 for a just-starting thread.
2569
f038d31b
DJ
25702002-01-30 Daniel Jacobowitz <drow@mvista.com>
2571
2572 From Neil Booth <neil@daikokuya.demon.co.uk>:
2573 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2574 warnings.
2575
b3ff9d9a
FF
25762002-01-21 Fred Fish <fnf@redhat.com>
2577
2578 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2579 not caller.
2580
39ad761d
JB
25812002-01-21 Jim Blandy <jimb@redhat.com>
2582
2583 * gdb.base/reread.exp: Check that GDB properly re-reads the
2584 executable file when it changes while no inferior is running.
2585
aaf320fa
FF
25862002-01-21 Fred Fish <fnf@redhat.com>
2587
2588 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2589 optionally accept the "shlib events" variation.
2590
808a31f5
JB
25912002-01-21 Jim Blandy <jimb@redhat.com>
2592
2593 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2594 call `fflush' after every `printf', so that the output is produced
2595 at predictable points, regardless of whatever buffering does (or
2596 doesn't) take place.
2597 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2598 at different points.
2599
4420d5e2
DJ
26002002-01-20 Daniel Jacobowitz <drow@mvista.com>
2601
2602 * gdb.c++/inherit.exp: Update copyright years.
2603 * gdb.c++/method.exp: Likewise.
2604
3e36a0f4
DJ
26052002-01-20 Daniel Jacobowitz <drow@mvista.com>
2606
2607 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2608 artificial methods/arguments.
2609 * gdb.c++/derivation.exp: Likewise.
2610 * gdb.c++/inherit.exp: Likewise.
2611 * gdb.c++/method.exp: Likewise.
2612 * gdb.c++/virtfunc.exp: Likewise.
2613
b4ceaee6
AC
26142002-01-18 Andrew Cagney <ac131313@redhat.com>
2615
2616 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2617 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2618 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2619 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2620 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2621 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2622
ecace851
JB
26232002-01-17 Jim Blandy <jimb@redhat.com>
2624
2625 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2626 anchoring the pattern matching the entry point symbol's name.
2627
375fc983
AC
26282002-01-17 Andrew Cagney <ac131313@redhat.com>
2629
2630 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2631 continue/quit query. Update copyright.
2632
fe6fdd96
MS
26332002-01-14 Michael Snyder <msnyder@redhat.com>
2634
2635 * gdb.base/gcore.exp: Remove extra debugging output.
2636
e017c81f
DJ
26372002-01-13 Daniel Jacobowitz <drow@mvista.com>
2638
2639 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2640 for slightly dubious v2 mangled string.
2641
37ab3bf8
DJ
26422002-01-13 Daniel Jacobowitz <drow@mvista.com>
2643
2644 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2645
1bc05c3a 26462002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2647
1bc05c3a 2648 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2649
1bc05c3a
JM
2650 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2651 constructors.
2652 * gdb.c++/derivation.exp: Likewise.
2653 * gdb.c++/templates.exp: Likewise.
2654 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2655
1bc05c3a
JM
26562002-01-10 Michael Snyder <msnyder@redhat.com>
2657
2658 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2659
a911c360
MS
26602002-01-08 Michael Snyder <msnyder@redhat.com>
2661
2662 * gdb.base/gcore.exp: New test for generate-core-file command.
2663 * gdb.base/gcore.c: Testcase for above.
2664 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2665
ea2119ec
JM
26662002-01-08 Jason Merrill <jason@redhat.com>
2667
2668 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2669
68203136
FF
26702002-01-07 Fred Fish <fnf@redhat.com>
2671
2672 * gdb.c++/overload.exp: Remove unconditional xfails for:
2673 print foo_instance1.overloadargs(1)
2674 print foo_instance1.overloadargs(1, 2)
2675 print foo_instance1.overloadargs(1, 2, 3)
2676 print foo_instance1.overloadargs(1, 2, 3, 4)
2677 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2678 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2679 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2680 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2681 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2682 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2683 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2684 print foo_instance1.overload1arg()
2685 print foo_instance1.overload1arg((char)arg2)
2686 print foo_instance1.overload1arg((signed char)arg3)
2687 print foo_instance1.overload1arg((unsigned char)arg4)
2688 print foo_instance1.overload1arg((int)arg7)
2689 print foo_instance1.overload1arg((unsigned int)arg8)
2690 print foo_instance1.overload1arg((float)arg11)
2691 print foo_instance1.overload1arg((double)arg12)
2692
21b9b5b1
MS
26932002-01-07 Michael Snyder <msnyder@redhat.com>
2694
2695 * gdb.base/huge.exp: New test. Print a very large target data object.
2696 (skip_huge_test): New test variable. Define if you want to skip this
2697 test. The test reads an 8 megabyte data object from the target, so it
2698 might be very time consuming on remote targets with a slow connection.
2699 * gdb.base/huge.c: New file. Test case for above.
2700
725f922e
FF
27012002-01-07 Fred Fish <fnf@redhat.com>
2702
2703 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2704 g_instance.bfoo, and g_instance.cfoo.
2705
634d57ec
JL
2706Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2707
f286b2c3
JL
2708 * gdb.base/break.c (multi_line_if_conditional): New function.
2709 (multi_ilne_while_conditional): Likewise.
2710 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2711 IF or WHILE condition puts the breakpoint at the start of
2712 the condition.
2713
634d57ec
JL
2714 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2715 hppa*-*-hpux* expected failure.
2716 * gdb.base/structs.exp (do_function_calls): Similarly.
2717
2718 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2719 watchpoints.
2720
9fbfe2dc
AC
27212002-01-06 Andrew Cagney <ac131313@redhat.com>
2722
2723 Fix PR gdb/66.
2724 * gdb.base/structs.exp: Replace skip for a29k with skip for
2725 gdb,cannot_call_functions.
2726 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2727 * gdb.base/callfuncs.exp: Ditto.
2728 * gdb.base/call-rt-st.exp: Ditto.
2729 * gdb.base/call-strs.exp: Ditto.
2730 * gdb.base/callfwmall.exp: Ditto.
2731 * gdb.base/scope.exp: Obsolete xfail a29k.
2732 * gdb.c++/misc.exp: Ditto.
2733 * gdb.c++/cplusfuncs.exp: Ditto.
2734 * gdb.base/ptype.exp: Ditto.
2735 * gdb.base/printcmds.exp: Ditto.
2736 * gdb.base/opaque.exp: Ditto.
2737 * gdb.base/list.exp: Ditto.
2738 * gdb.base/funcargs.exp: Ditto.
2739 * gdb.base/default.exp: Ditto.
2740
8ddad156
MS
27412002-01-04 Michael Snyder <msnyder@redhat.com>
2742
ca4976a6 2743 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2744 * gdb.base/maint.exp: Add tests for maint info sections options.
2745
1b074332
JL
2746Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2747
2748 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2749
7d159115
CV
27502001-12-20 Corinna Vinschen <vinschen@redhat.com>
2751
2752 * gdb.asm/arm.inc: New file.
2753 * gdb.asm/asm-source.exp: Add arm targets.
2754 * gdb.asm/configure.in: Ditto.
2755 * gdb.asm/configure: Recreated from configure.in.
2756
8fb87725
JL
2757Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2758
afabe08c
JL
2759 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2760 with HP's compiler.
2761 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2762 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2763 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2764 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2765
2766 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2767 either HP's compilers or GCC.
2768
db521deb
JL
2769 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2770 a SIGBUS or SIGSEGV.
2771
2772 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2773
2774 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2775 can be compiled with either HP's compiler or GCC.
2776
cfa88ab7
JL
2777 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2778 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2779 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2780
ca344dff
JL
2781 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2782 to match current gdb output. Update due to using auto-solib-limit
2783 for limiting instead of overloading auto-solib-add.
2784 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2785 test program.
2786
3f3c6e55 2787 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2788 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2789 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2790 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2791 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2792 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2793 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2794 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2795 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2796 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2797 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2798 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2799 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2800
8fb87725
JL
2801 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2802 a SIGTRAP to the inferior.
2803
cf599fa7
CV
28042001-12-19 Corinna Vinschen <vinschen@redhat.com>
2805
2806 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2807 Substitute call to target_link by call to gdb_compile.
2808
2cd045cd
JL
2809Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2810
2811 * gdb.base/break.exp: Fix HP specific search string when testing
2812 backtracing in a called function.
2813
2814 * gdb.base/constvars.exp: Only set lang to C++ if we're
2815 compiling the test with HP's compilers.
2816 * gdb.base/volatile.exp: Similarly.
2817
99ebe9ac
JB
28182001-12-19 Jim Blandy <jimb@redhat.com>
2819
2820 * gdb.base/printcmds.exp: Expect the null character to be printed
2821 as '\0', and the '\013' to be printed as '\v'.
2822 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2823 * gdb.base/setvar.exp: Same.
2824
b9891b29
JB
28252001-12-17 Jim Blandy <jimb@redhat.com>
2826
0eba65ab
JB
2827 * gdb.base/completion.exp: Rather than completing very long
2828 filenames, which can make the readline library produce output we
2829 don't recognize, cd to the directory first, and then complete
2830 using nice, short relative paths.
2831
6970b5b1
JB
2832 * gdb.base/completion.exp: On some systems, there is, in fact, a
2833 variable named `b' in scope, since GDB treats all static
2834 variables as being in scope. So use `no_var_named_this'
2835 instead of `b'.
2836
b9891b29
JB
2837 * gdb.base/corefile.exp: Recognize the message saying that GDB
2838 can't find the core file's registers as a failure.
2839
e6ccd35f
JSC
28402001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2841
2842 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2843 test expect string more specific.
2844
105ba819
CV
28452001-12-13 Corinna Vinschen <vinschen@redhat.com>
2846
2847 * gdb.asm/asm-source.exp: Add support for xstormy16.
2848 * gdb.asm/configure.in: Ditto.
2849 * gdb.asm/configure: Rebuild.
2850 * gdb.asm/xstormy16.inc: New file.
2851
e9e79dd9
FF
28522001-12-10 Fred Fish <fnf@redhat.com>
2853
2854 * gdb.base/maint.exp: Update to match changes in type dumping code.
2855
347dc97d
JB
28562001-12-10 Jim Blandy <jimb@redhat.com>
2857
2858 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2859 matching the entry point symbol's name at the beginning of the
2860 line.
2861
5178b9d6
DJ
28622001-12-07 Daniel Jacobowitz <drow@mvista.com>
2863
2864 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2865 gdb.c++/inherit.exp, gdb.c++/method.exp,
2866 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2867 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2868 and class layout support.
2869
af890c52
DJ
28702001-12-07 Daniel Jacobowitz <drow@mvista.com>
2871
2872 * gdb.c++/classes.exp: Add test for static member function.
2873 * gdb.c++/misc.cc: Add class with static member function.
2874
7a345fb3
JB
28752001-12-07 Jim Blandy <jimb@redhat.com>
2876
f2e54a80 2877 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2878 those tests as `unsupported'.
2879 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2880 Rewrite subsequent tests to use it.
2881
2882 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2883 those tests as `unsupported'.
2884 * gdb.base/structs.exp (call_struct_func): New function.
2885 (do_function_calls): Use call_struct_func to call the functions
2886 returning structs.
2887
0bc69509
JB
2888 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2889 whether functions are prototyped or not, so we can't possibly pass
2890 arguments to t_float_values2 properly.
2891
7a345fb3
JB
2892 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2893 value of `timeout' for targets other than the mips*tx39-*.
2894
edb6ede1
MS
28952001-12-06 Michael Snyder <msnyder@redhat.com>
2896
2897 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2898 and detect whether the start symbol has a leading underscore.
2899
2d842f13
JB
29002001-12-04 Jim Blandy <jimb@redhat.com>
2901
2902 * gdb.base/completion.exp: Clarify indentation.
2903
68550daf
JB
29042001-12-03 Jim Blandy <jimb@redhat.com>
2905
2906 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2907 variables on the S/390, not `.word'.
2908
cd5195a8
JB
29092001-11-30 Jim Blandy <jimb@redhat.com>
2910
2911 Add assembly-source tests for s390-ibm-linux.
2912 * gdb.asm/s390.inc: New file.
2913 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2914 the S/390 architecture.
2915 * gdb.asm/configure: Regenerated.
2916
ca9efc90
MS
29172001-11-30 Michael Snyder <msnyder@redhat.com>
2918
2919 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2920 next, info source, info sources, info line, global and static
2921 variables, and static functions.
2922 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2923 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2924 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2925 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2926 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2927 (gdbasm_leave): Restore frame pointer.
2928 (gdbasm_startup): Copy stack set-up from crt0.S.
2929
d0e66976
FN
29302001-11-26 Fernando Nasser <fnasser@redhat.com>
2931
2932 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2933 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2934 to a local (non-static) variable. Copy tstruct.a to a static buffer
2935 and return a pointer to that buffer.
2936 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2937
e2334072
MK
29382001-11-24 Mark Kettenis <kettenis@gnu.org>
2939
2940 * gdb.asm/configure.in: Fix recognition of ix86 target.
2941 * gdb.asm/configure: Regenerate.
2942
756caa3d
MS
29432001-11-21 Michael Snyder <msnyder@redhat.com>
2944
2945 * gdb.asm/sparc.inc: New file.
2946 * gdb.asm/asm-source.exp: Recognize sparc target.
2947 * gdb.asm/configure.in: Recognize sparc target.
2948 * gdb.asm/configure: Regenerate.
2949
9a4d72d5
MS
29502001-11-21 Michael Snyder <msnyder@redhat.com>
2951
2952 * gdb.asm/m32r.inc: New file.
2953 * gdb.asm/asm-source.exp: Recognize m32r target.
2954 * gdb.asm/configure.in: Recognize m32r target.
2955 * gdb.asm/configure: Regenerate.
2956
a773d1cd
MS
29572001-11-20 Michael Snyder <msnyder@redhat.com>
2958
017ac23d
MS
2959 * gdb.asm/i386.inc: New file.
2960 * gdb.asm/asm-source.exp: Recognize ix86 target.
2961 * gdb.asm/configure.in: Recognize ix86 target.
2962 * gdb.asm/configure: Regenerate.
2963
a773d1cd
MS
2964 * gdb.c++/namespace.exp: Fix quotes in output messages.
2965
bb632afb
MS
29662001-11-14 Michael Snyder <msnyder@redhat.com>
2967
25d559ca 2968 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2969 qualifier in a type cast expression, to designate an address
2970 in the instruction space (Harvard architecture).
2971
4749e309
MS
29722001-11-13 Michael Snyder <msnyder@redhat.com>
2973
2974 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2975 Tests for expressions using 'const' and 'volatile'.
2976
25050984
CV
29772001-11-13 Corinna Vinschen <vinschen@redhat.com>
2978
2979 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2980
1902c51f
DJ
29812001-11-12 Daniel Jacobowitz <drow@mvista.com>
2982
2983 * lib/mi-support.exp (mi_run_to_helper): Move comments
2984 outside of gdb_expect.
2985
dcf95b47
DJ
29862001-11-11 Daniel Jacobowitz <drow@mvista.com>
2987
2988 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2989 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2990 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2991 mi0_run_to): New functions.
2992 * gdb.mi/mi-simplerun.exp: Use them.
2993 * gdb.mi/mi0-simplerun.exp: Likewise.
2994 * gdb.mi/mi-var-cmd.exp: Likewise.
2995 * gdb.mi/mi0-var-cmd.exp: Likewise.
2996
45b074e1
AC
29972001-11-10 Andrew Cagney <ac131313@redhat.com>
2998
2999 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3000 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3001
bf50d346
AC
30022001-11-09 Andrew Cagney <ac131313@redhat.com>
3003
3004 * gdb.base/restore.exp: Include $expected value in restored test
3005 message.
3006
9383332c
AC
30072001-11-09 Andrew Cagney <ac131313@redhat.com>
3008
3009 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3010 implemented.
3011
db62520a
MS
30122001-11-08 Michael Snyder <msnyder@redhat.com>
3013
3014 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3015 Add pass/fail message for stop at breakpoint in call dummy function.
3016
b5703437
MS
30172001-11-07 Michael Snyder <msnyder@redhat.com>
3018
760f6330
MS
3019 * gdb.c++/templates.exp (test_template_breakpoints):
3020 If we get an overload menu, but it does not match what
3021 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3022 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3023 making the whitespace optional. Argument for "new" may be
3024 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3025 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3026 making the whitespace optional. Also replace "(void) with
3027 "((void|)), making the keyword "void" optional.
63f50499
MS
3028 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3029 making the whitespace optional. Also replace "(void) with
3030 "((void|)), making the keyword "void" optional.
3bf40917
MS
3031 * gdb.base/callfuncs.c (t_float_values): This function must
3032 _not_ be prototyped, and the following function (t_float_values2)
3033 must be prototyped (if the compiler supports it), so that GDB
3034 can be tested against both cases. Usually one case involves
3035 promotion of float to double, while the other does not.
3036 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3037 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3038 includes a stack frame for "start".
3039
c8ab4e6d
JB
30402001-11-05 Jim Blandy <jimb@redhat.com>
3041
3042 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3043 pointers are 32 bits long, and that offsets of relocs are always
3044 stored in the data (REL-style), and not in the reloc entry itself
3045 (RELA-style).
3046 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3047 stabs.
3048
3f08ced9
MS
30492001-11-01 Michael Snyder <msnyder@redhat.com>
3050
3051 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3052 and regular expression operators by using quoting.
3053
cbfa24cd
MS
30542001-10-31 Michael Snyder <msnyder@redhat.com>
3055
3056 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3057 depending on what the symbol table contains.
3058 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3059 the output of the ptype command. Similarly, accept both "const &"
3060 and "const&".
3061
aaa68313
CV
30622001-10-31 Corinna Vinschen <vinschen@redhat.com>
3063
3064 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3065 symbol `STORAGE' to allow to choose the storage class of
3066 the local datastructures.
3067 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3068 compiler directive.
3069
91740388
MS
30702001-10-30 Michael Snyder <msnyder@redhat.com>
3071
3072 * gdb.base/jump.exp: Allow it to run for all targets.
3073
1b7c05e7
CV
30742001-10-29 Corinna Vinschen <vinschen@redhat.com>
3075
3076 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3077 with new double_array size.
3078 (main): Change storage class of all local variables to static.
3079 Reduce size of double_array to 9.
3080 * gdb.base/call-ar-st.exp: Increase timeout value.
3081 Change expected output for double array to match new size in
3082 call-ar-st.c.
3083
36a22261
CV
30842001-10-29 Corinna Vinschen <vinschen@redhat.com>
3085
3086 * gdb.base/ending-run.exp: Create identical output when passing
3087 `step to end of run' case. Add regular expression branch satisfying
3088 Stormy16 target.
3089
92b8ae91
MK
30902001-10-28 Mark Kettenis <kettenis@gnu.org>
3091
3092 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3093 that we catch the expected failure under Linux/x86.
3094
cb135b83
OF
30952001-10-29 Orjan Friberg <orjanf@axis.com>
3096
3097 * gdb.base/setvar.exp: Escape curly braces.
3098 * gdb.stabs/weird.exp: Ditto.
3099
6884aa54
DJ
31002001-10-27 Daniel Jacobowitz <drow@mvista.com>
3101
3102 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3103 * gdm.mi/mi0-hack-cli.exp: Likewise.
3104
0398c9aa
AC
31052001-10-25 Andrew Cagney <ac131313@redhat.com>
3106
3107 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3108 messages.
3109
d20bf2e8
AC
31102001-10-21 Andrew Cagney <ac131313@redhat.com>
3111
3112 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3113 checking MI enabled.
3114
03dd63aa
CV
31152001-10-09 Corinna Vinschen <vinschen@redhat.com>
3116
3117 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3118
1d9d99f3
FCE
31192001-10-04 Frank Ch. Eigler <fche@redhat.com>
3120
3121 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3122 if gdb child process crashes, just signal an error.
3123
838ae6c4
JB
31242001-10-02 Jim Blandy <jimb@redhat.com>
3125
3126 * lib/gdb.exp (test_xfail_format): Simplify.
3127
3128 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3129 front of the variable name `format'. Simplify `if'.
3130
8f0cbc1c
DJ
31312001-10-01 Daniel Jacobowitz <drow@mvista.com>
3132
3133 * gdb.threads/pthreads.exp: Wait for output and delay
3134 before sending ^C.
3135
1f08dafd
DJ
31362001-10-01 Daniel Jacobowitz <drow@mvista.com>
3137
3138 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3139 some incorrect output instead of timing out.
3140 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3141
674f90ff
CV
31422001-09-28 Corinna Vinschen <vinschen@redhat.com>
3143
3144 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3145 check to allow additional `int'.
3146
9b284272
DJ
31472001-09-27 Daniel Jacobowitz <drow@mvista.com>
3148
3149 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3150 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3151
b55a4771
MS
31522001-09-27 Michael Snyder <msnyder@redhat.com>
3153
3154 * lib/gdb.exp (test_debug_format): New proc.
3155 (setup_xfail_format): Use new proc test_debug_format.
3156 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3157 proc; use new service proc test_debug_format.
3158 Replace all other "gcc_compiled" tests with this test.
3159 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3160 proc; use new service proc test_debug_format.
3161 Replace all other "gcc_compiled" tests with this test.
3162
31632001-09-27 Michael Snyder <msnyder@redhat.com>
3164
3165 * gdb.base/cvexpr.exp: New file.
3166 * gdb.base/cvexpr.c: New file
3167 Test for expressions using const and volatile keywords.
3168
4e6667ac
CV
31692001-09-26 Corinna Vinschen <vinschen@redhat.com>
3170
3171 * gdb.base/constvars.exp: Check for different orders of keywords
3172 and additional "int" strings in output.
3173
4f337972
AC
31742001-09-22 Andrew Cagney <ac131313@redhat.com>
3175
3176 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3177 responses from "help maint".
3178
2015650d
FCE
31792001-09-19 Frank Ch. Eigler <fche@redhat.com>
3180
3181 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3182 to localhost:NNN instead of :NNN, in case Xvfb is listening
3183 only on TCP.
3184
f3bcedc1
CV
31852001-09-19 Corinna Vinschen <vinschen@redhat.com>
3186
3187 * gdb.base/recurse.exp: When checking leaving the watchpoint
3188 scope, recognize when gdb is in function's epilogue and pass.
3189
6b819c92
KS
31902001-09-18 Keith Seitz <keiths@redhat.com>
3191
3192 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3193 support for running tests against sid targets.
3194 (gdbtk_done): Ditto.
3195
a10c9419
CV
31962001-09-18 Corinna Vinschen <vinschen@redhat.com>
3197
3198 * gdb.base/ending-run.c (main): Set stdout buffersize
3199 to the same reasonable value for any target.
3200 * gdb.base/ending-run.exp: Add a regular expression
3201 to make testsuite happy on Sanyo Stormy16 target.
3202
739d0d99
CV
32032001-09-17 Corinna Vinschen <vinschen@redhat.com>
3204
3205 * gdb.base/display.c (do_loops): Add float variable `f'.
3206 Increment f in loop.
3207 * gdb.base/display.exp: Increment timeout by 60 seconds.
3208 Change float display test to use variable `f'.
3209
1b8947f0
JB
32102001-09-17 Jim Blandy <jimb@redhat.com>
3211
3212 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3213 overflowing the limited breakpoint tables on some ROM monitors
3214 (like the ROM68K).
3215
9890ac81
FCE
32162001-09-15 Frank Ch. Eigler <fche@redhat.com>
3217
3218 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3219 the "-ac" (disable access control) flag.
3220
6db765ea
JH
32212001-08-30 Jeff Holcomb <jeffh@redhat.com>
3222
3223 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3224 ints.
3225
4c32cc04
KS
32262001-08-30 Keith Seitz <keiths@redhat.com>
3227
3228 * lib/gdb.exp: Move all insight-related functionality into
3229 separate file.
3230 * lib/insight-support.exp: New file.
3231
8d6e6f81
FCE
32322001-08-29 Frank Ch. Eigler <fche@redhat.com>
3233
3234 * config/sid.exp (sid_start): Never set sid verbosity; disable
3235 expect_background {} that consumed its stdout; tolerate </dev/null.
3236 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3237
6a90e1d0
AC
32382001-08-18 Andrew Cagney <ac131313@redhat.com>
3239
3240 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3241 CLI jump command to start it.
3242 (mi_run_to_main): Fail immediatly when unexpected output.
3243
1759b3c3
AC
32442001-08-18 Andrew Cagney <ac131313@redhat.com>
3245
3246 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3247 beginning of function. Fix PR gdb/191.
3248
61d11d80
FCE
32492001-08-16 Frank Ch. Eigler <fche@redhat.com>
3250
3251 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3252 what to force sid endianness to.
3253
942a4df2
KS
32542001-08-15 Keith Seitz <keiths@redhat.com>
3255
3256 * lib/gdb.exp (gdbtk_start): Don't set environment
3257 variables for TCL_LIBRARY and friends. Insight will
3258 now figure these out for itself.
3259
0521c418
MS
32602001-08-02 Michael Snyder <msnyder@redhat.com>
3261
3262 * gdb.base/completion.exp: Remove the symbol "a64l" from
3263 the expect string; this is target-specific, and not related
3264 to what is being tested.
3265
74a9a58a
DB
32662001-08-02 Dave Brolley <brolley@redhat.com>
3267
3268 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3269
c70819fa
MS
32702001-07-25 Michael Snyder <msnyder@redhat.com>
3271
c2b8fa57
MS
3272 * gdb.base/consecutive.exp: New file. Test stepping over
3273 breakpoints on consecutive instructions.
3274 * gdb.base/consecutive.c: New file.
3275
c70819fa
MS
3276 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3277 curly braces in regular expressions.
3278
2b1a1355
MS
32792001-07-25 Michael Snyder <msnyder@redhat.com>
3280
3281 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3282 legitimate output from stepping out of main.
3283
413eca6f
KS
32842001-07-22 Keith Seitz <keiths@redhat.com>
3285
3286 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3287 the empty string, do not run the tests.
3288
7e5a9322
SC
32892001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3290
3291 * gdb.base/long_long.exp: Detect size of pointer. Take into
3292 account 2-byte pointers when testing for p/a results.
3293
de58f10f
SC
32942001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3295
3296 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3297 and defined to 1K for m68hc11.
3298 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3299 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3300 (sizeof_random_data): New variable to tell the size of the data table;
3301 don't test past this size; always run to main.
3302
d6f5fea1
SC
33032001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3304
3305 * gdb.base/return2.exp: return of long long and double fails for
3306 68HC11; don't execute these tests on that platform.
3307 * gdb.base/return.exp: Return of a double fails for 68hc11.
3308
c477543d
SC
33092001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3310
3311 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3312 tests that print a float.
3313 * call-rt-st.exp: Likewise.
3314
63cf1c79
MK
33152001-07-12 Mark Kettenis <kettenis@gnu.org>
3316
3317 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3318 running this test on Linux.
3319
112f9ab5
MC
33202001-06-24 Michael Chastain <chastain@redhat.com>
3321
3322 * gdb.base/arithmet.exp: Remove some tests to make all test names
3323 unique.
3324
4970cb0f
MS
33252001-07-03 Michael Snyder <msnyder@redhat.com>
3326
3327 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3328 the output of the ptype command.
3329
d85da69f
MS
33302001-07-02 Michael Snyder <msnyder@redhat.com>
3331
4c8a82de
MS
3332 * gdb.base/completion.exp: Don't assume that break.c is the only
3333 source file that may contain functions named "marker".
d85da69f
MS
3334 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3335
8afc772b
AC
33362001-06-28 Andrew Cagney <ac131313@redhat.com>
3337
3338 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3339 of files to delete.
3340
3341 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3342 * gdb.disasm/h8300s.exp: New file.
3343 gdb.disasm/h8300s.s: Likewise.
3344
cff22675
AC
33452001-06-27 Andrew Cagney <ac131313@redhat.com>
3346
3347 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3348 empty breakpoint tables.
3349
68c81b54
AC
33502001-06-25 Andrew Cagney <ac131313@redhat.com>
3351
3352 * lib/mi-support.exp: Update args=... part of stop-reason
3353 patterns. Accept either a list or a tuple.
3354
2dd62704
AC
33552001-06-23 Andrew Cagney <ac131313@redhat.com>
3356
3357 * lib/mi-support.exp: Remove local emacs variable defining
3358 change-log-default-name.
3359
b4127474
MC
33602001-06-22 Michael Chastain <chastain@redhat.com>
3361
3362 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3363 This is operationally compatible with the previous version.
3364
8dbfb380
JB
33652001-06-13 Jim Blandy <jimb@redhat.com>
3366
3367 * lib/gdb.exp (gdb_test): Doc fix.
3368
f2d8c86d
MC
33692001-06-10 Michael Chastain <chastain@redhat.com>
3370
3371 * gdb.base/exprs.exp: Remove a duplicate test.
3372
81564d34
JB
33732001-06-06 Jim Blandy <jimb@redhat.com>
3374
3375 * gdb.base/return2.exp (main): Use values to test float and double
3376 returns that are not NaN's, to avoid being confused by IEEE
3377 comparison rules.
3378
da55addb
MS
33792001-06-04 Michael Snyder <msnyder@redhat.com>
3380
3381 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3382 non-zero if control_c fails. Terminate the test on failure,
3383 rather than wait for 12 more tests to time out.
3384
42c65987
JB
33852001-06-06 Jim Blandy <jimb@redhat.com>
3386
b18bced9
JB
3387 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3388 Don't forget to match the GDB prompt.
3389
42c65987
JB
3390 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3391
5b41e5f0
JB
33922001-06-04 Jim Blandy <jimb@redhat.com>
3393
3394 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3395 command.
3396
015e046f
KB
33972001-05-31 Kevin Buettner <kevinb@redhat.com>
3398
3399 * gdb.base/annota1.exp (info break): Match four or more spaces
3400 after "Address".
3401
fb1ffbbe
MC
34022001-05-31 Michael Chastain <chastain@redhat.com>
3403
3404 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3405 (dm_type_int_star): Likewise.
3406 (dm_type_long_star): Likewise.
3407 (dm_type_void_star): Likewise.
3408
5ea2a32c
KB
34092001-05-29 Kevin Buettner <kevinb@redhat.com>
3410
3411 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3412 to a known value in order to get consistent results regardless
3413 of the setting of INPUTRC or the presence or contents of .inputrc.
3414
ae23c492
MS
34152001-05-24 Michael Snyder <msnyder@redhat.com>
3416
ac55707e
MS
3417 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3418 Don't require that the main thread and the manager thread are the
3419 first in the list.
3420
ae23c492
MS
3421 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3422 debugging. If test fails, issue an "unsupported" not a "fail".
3423
400071f1
JB
34242001-05-24 Jim Blandy <jimb@redhat.com>
3425
3426 Don't assume that short is shorter than int.
3427 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3428 assume that shorts are smaller than ints. On a 16-bit machine,
3429 this isn't true.
3430 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3431 an int, is not equal to ~0 stored in an unsigned char. This tests
3432 the same thing that the previous test meant to, but works on
3433 16-bit machines, too.
3434 ("print unsigned char != (~0)"): Same test, complemented.
3435
0816a3e5
MS
34362001-05-24 Michael Snyder <msnyder@redhat.com>
3437
3438 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3439 test for (full_coverage == 0). This makes the test run faster,
3440 and prevents dejagnu getting out of step.
3441
f6dc23a9
KB
34422001-05-23 Kevin Buettner <kevinb@redhat.com>
3443
3444 * gdb.base/finish.exp (finish_void): Revise pattern for
3445 stopping on the call statement to not permit stopping at
3446 the start of the instructions comprising the call sequence.
3447
7dbd117d
MC
34482001-05-19 Michael Chastain <chastain@redhat.com>
3449
3450 * gdb.base/callfuncs.exp: Make all test names unique.
3451 * gdb.base/commands.exp: Make all test names unique.
3452 * gdb.base/condbreak.exp: Make all test names unique.
3453 * gdb.base/dbx.exp: Make all test names unique.
3454 * gdb.base/default.exp: Make all test names unique.
3455 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3456 and TIMEOUT messages to their corresponding PASS message.
3457 * gdb.base/ending-run.exp: Make all test names unique.
3458 * gdb.base/long_long.exp: Remove duplicate test.
3459
6b0b0a9e
KB
34602001-05-21 Kevin Buettner <kevinb@redhat.com>
3461
3462 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3463 stop on the call statement as well as the statement after the
3464 call.
3465
2caa35cb
MS
34662001-05-21 Michael Snyder <msnyder@redhat.com>
3467
3468 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3469
40713331
EZ
34702001-05-10 Elena Zannoni <ezannoni@redhat.com>
3471
3472 * gdb.base/completion.exp: Revamp test. Make it execute on all
3473 platforms.
3474
c2c1be8d
EZ
34752001-05-10 Elena Zannoni <ezannoni@redhat.com>
3476
2c9cd303
EZ
3477 * config/gdbserver.exp (gdb_load): Handle the case
3478 in which the arguments to gdbserver are given in the
3479 baseboard configuration file.
3480 Also handle the case in which the server needs to do a
3481 load.
3482
9671de48
KS
34832001-05-07 Keith Seitz <keiths@cygnus.com>
3484
3485 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3486 set up the display for testing.
3487 (gdbtk_start): Convert all paths to paths that tcl will like.
3488 Export target information to environment.
3489 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3490 necessary.
3491 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3492 (to_tcl_path): New proc to convert a given pathname into
3493 a path acceptible as an argument to a tcl command.
3494 (_gdbtk_export_target_info): New proc to export target info
3495 into the environment for gdbtk testing.
3496 (gdbtk_done): New proc to signal end-of-test.
3497
5a360f47
JB
34982001-05-06 Jim Blandy <jimb@redhat.com>
3499
3500 * restore.c: Make the code of caller0 correspond to its comment.
3501
66c756c6
MS
35022001-05-03 Michael Snyder <msnyder@redhat.com>
3503
3504 * config/sid.exp (gdb_target_sid): Check for error messages.
3505 On error or timeout, don't make expect exit (which will terminate
3506 all subsequent tests); instead just make gdb exit.
3507 (gdb_load): Check for error messages. On error or timeout,
3508 return a negative value.
3509
a966fde5
JB
35102001-04-24 Jim Blandy <jimb@redhat.com>
3511
851c18e0
JB
3512 * gdb.c++/templates.exp: If we see the prompt for the overload
3513 list, but we haven't recognized any of the longer patterns,
3514 arrange for this test to fail, not hang.
3515
a966fde5
JB
3516 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3517 variations.
3518
db144853
MC
35192001-04-22 Michael Chastain <chastain@redhat.com>
3520
3521 * gdb.c++/local.exp: Use the 'runto' library function.
3522 * gdb.c++/namespace.exp: Likewise.
3523 * gdb.c++/overload.exp: Likewise.
3524
3207ec21
KB
35252001-03-26 Kevin Buettner <kevinb@redhat.com>
3526
3527 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3528 * gdb.base/step-line.exp: New file. Test step/next in presence of
3529 #line directives.
3530 * gdb.base/step-line.c: New file. Test program for the above.
3531 * gdb.base/step-line.inp: New file. We pretend that this file has
3532 been transformed by some other tool into step-line.c.
3533
13b57657
JB
35342001-03-21 Jim Blandy <jimb@redhat.com>
3535
3536 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3537 unmangled operator names.
3538
754cbe1c
JB
35392001-03-20 Jim Blandy <jimb@redhat.com>
3540
3541 * gdb.threads/linux-dp.exp: Recognize an additional message
3542 generated by GDB when it doesn't understand how to debug threads
3543 on the target system.
3544
177495c9
AC
35452001-03-19 Andrew Cagney <ac131313@redhat.com>
3546
3547 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3548
f266096b
MC
35492001-03-12 Michael Chastain <chastain@redhat.com>
3550
3551 * gdb.c++/derivation.exp: Use the 'runto' library function.
3552
cac3c2ff
MC
35532001-03-12 Michael Chastain <chastain@redhat.com>
3554
3555 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3556
b6c11a24
MC
35572001-02-24 Michael Chastain <chastain@redhat.com>
3558
3559 * gdb.c++/ref-types.exp: Change handwritten code to library
3560 function 'runto'.
3561
6bae5bce
OF
35622001-03-16 Orjan Friberg <orjanf@axis.com>
3563
3564 * gdb.base/signals.exp: Set count to 0 explicitly.
3565
0015fd9a
MS
35662001-03-15 Mark Salter <msalter@redhat.com>
3567
3568 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3569 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3570 (gdb_load): Add support for additional target_info: gdb_download_size
3571 and gdb_load_timeout.
0015fd9a 3572
fc33412a
DT
3573Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3574
3575 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3576 file -- to prevent failing when the compile fails but we have no
3577 intention of running the tests anyway.
3578
3579 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3580 tests if set.
3581
3582 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3583 integers.
3584
3585 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3586 * gdb.c++/namespace.exp: Ditto.
3587
115f06de
OF
35882001-03-07 Orjan Friberg <orjanf@axis.com>
3589
3590 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3591 * gdb.base/pointers.exp: Relax pattern match of decimals.
3592
b6ba6518
KB
35932001-03-06 Kevin Buettner <kevinb@redhat.com>
3594
3595 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3596 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3597 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3598 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3599 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3600 config/sh.exp, config/sid.exp, config/slite.exp,
3601 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3602 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3603 config/vxworks.exp, config/vxworks29k.exp,
3604 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3605 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3606 gdb.base/arithmet.exp, gdb.base/assign.exp,
3607 gdb.base/async.exp, gdb.base/attach.exp,
3608 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3609 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3610 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3611 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3612 gdb.base/commands.exp, gdb.base/completion.exp,
3613 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3614 gdb.base/constvars.exp, gdb.base/corefile.exp,
3615 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3616 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3617 gdb.base/ending-run.exp, gdb.base/environ.exp,
3618 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3619 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3620 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3621 gdb.base/funcargs.exp, gdb.base/help.exp,
3622 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3623 gdb.base/logical.exp, gdb.base/long_long.exp,
3624 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3625 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3626 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3627 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3628 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3629 gdb.base/regs.exp, gdb.base/relational.exp,
3630 gdb.base/remote.exp, gdb.base/reread.exp,
3631 gdb.base/restore.exp, gdb.base/return2.exp,
3632 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3633 gdb.base/selftest.exp, gdb.base/setshow.exp,
3634 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3635 gdb.base/sigall.exp, gdb.base/signals.exp,
3636 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3637 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3638 gdb.base/step-test.exp, gdb.base/structs.c,
3639 gdb.base/structs.exp, gdb.base/structs2.exp,
3640 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3641 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3642 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3643 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3644 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3645 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3646 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3647 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3648 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3649 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3650 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3651 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3652 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3653 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3654 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3655 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3656 gdb.trace/circ.exp, gdb.trace/collection.exp,
3657 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3658 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3659 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3660 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3661 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3662 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3663 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3664 notices.
3665
dc96c6c7 36662001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3667
3668 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3669 first arg is int not float.
3670
dc96c6c7 36712001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3672
3673 * gdb.base/reread.exp: Unsupported for non-native targets;
3674 doesn't work for remote debugging.
3675
9b0c4aeb
FN
36762001-02-19 Fernando Nasser <fnasser@redhat.com>
3677
3678 From Drew Moseley <dmoseley@redhat.com>
3679 * gdb.base/ending-run.exp: Properly handle the BSP state when
3680 stepping past the end of main.
3681
02aa71d5
MC
36822001-02-19 John Moore <jmoore@redhat.com>
3683
3684 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3685 Converted HPUX fix for non-expected items following multiple
3686 step commands into general solution for all platforms.
3687
1fa449a4
MC
36882001-02-18 Michael Chastain <chastain@redhat.com>
3689
3690 * gdb.c++/classes.exp (do_tests): Change runto statements
3691 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3692 statements demangler agnostic.
3693 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3694 (gdb_virtfunc_restart): Likewise.
3695
b2f9ec70
MC
36962001-02-14 Michael Chastain <chastain@redhat.com>
3697
3698 * gdb.c++/inherit.exp (do_tests): Change runto statements
3699 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3700 statements demangler agnostic.
3701
cf74b8ca
AC
3702Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3703
3704 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3705 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3706 before calling common_routine 15 times'' tests.
3707
99f78f56
MC
37082001-02-11 Michael Chastain <chastain@redhat.com>
3709
3710 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3711 Helps the test script figure out which demangler is in use.
3712 (dm_type_foo_ref): Ditto.
3713 (dm_type_int_star): Ditto.
3714 (dm_type_long_star): Ditto.
3715 (dm_type_unsigned_int): Ditto.
3716 (dm_type_void): Ditto.
3717 (dm_type_void_star): Ditto.
99707966 3718 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3719 Probe the gdb demangler and set variables to accommodate
3720 formatting differences.
3721 (info_func_regexp): New function. Same as info_func, but
3722 matches against a regexp.
3723 (info_func): Match against a literal string.
3724 (print_addr_2): New function. Match against a literal string,
3725 which can be different from the input to gdb.
3726 (print_addr): Simply call print_addr_2 with the same argument twice.
3727 (test_lookup_operator_functions): Use demangler formatting variables.
3728 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3729 the tests in the same order as the C++ class declaration.
3730 (test_paddr_operator_functions): Ditto.
3731 (test_paddr_overloaded_functions): Ditto.
3732 (test_paddr_hairy_functions): Use demangler formatting variables.
3733 Add reference to gdb/19 for related tests.
3734 (do_tests): Call probe_demangler.
3735
1de8f023
KB
37362001-01-30 Kevin Buettner <kevinb@redhat.com>
3737
3738 * gdb.c++/templates.cc (printf): Remove unused function definition.
3739
ca3f91ed
MS
37402001-01-26 Felix Lee <flee@redhat.com>
3741
3742 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3743
37442001-01-25 matthew green <mrg@redhat.com>
3745
3746 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3747 up sid.
3748 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3749
37502001-01-25 matthew green <mrg@redhat.com>
3751
3752 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3753 Deprecate $sid_spawn_id.
3754 (sid_exit): Remove code necessary only for `spawn.'
3755
37562001-01-25 matthew green <mrg@redhat.com>
3757
3758 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3759
fb18ec4a
MC
37602001-01-28 Michael Chastain <chastain@redhat.com>
3761
3762 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3763 to call when tests fail. It takes gdb out of the overloaded
3764 function choice menu back to the main prompt, so that the test
3765 program stays synchronized.
3766 (set_bp_overloaded): New proc to collect all the common
3767 code for setting a breakpoint on an overloaded name. Calls
3768 take_gdb_out_of_choice_menu when needed.
3769 (menu_overload1arg): New variable to collect the repeated
3770 instances of the expected menu for an overloaded name. Change
3771 the regular expression to handle changes in g++ type encoding:
3772 "void" can be either "void" or "", and "unsigned int" can be
3773 either "unsigned int" or "unsigned".
3774 (continue_to_bp_overloaded): Change regular expressions to handle
3775 changes in g++ type encoding.
3776 (no proc): Call take_gdb_out_of_choice_menu when needed.
3777 Remove redundant calls to "info break". Accept either "canceled"
3778 or "cancelled". Change regular expressions in "info break"
3779 calls to handle changes in g++ type encoding. Give all tests
3780 unique strings.
3781
9c646a6e
BE
37822001-01-17 Ben Elliston <bje@redhat.com>
3783
3784 * config/sid.exp: New file.
3785
9549d9c1
AC
3786Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3787
3788 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3789
dc96c6c7 37902000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3791
3792 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3793 Add a RE to accept a non-ascii char if one is ever presented.
3794
b4df4f68
FN
37952000-12-20 Fernando Nasser <fnasser@redhat.com>
3796
297dd0fd 3797 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3798
dc96c6c7 37992000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3800
3801 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3802 in regexp. One '\' does not suffice on Linux.
3803
4a7bddb6
MC
38042000-12-09 Michael Chastain <chastain@redhat.com>
3805
3806 * gdb.base/break.exp (test_clear_command): Use a marker function
3807 rather than 'main' for the test function. Also move this
3808 test to an execution point where the marker function names are
3809 guaranteed to be bound to functions. (Executing tests after a
3810 'finish' from main runs into name conflicts with local names
3811 in __libc_start_main).
3812
dc96c6c7 38132000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3814
3815 * gdb.base/finish.exp: New test for gdb's "finish" command.
3816 * gdb.base/return2.exp: New test for gdb's "return" command.
3817 * gdb.base/return2.c: New source file for above.
3818
dc96c6c7 38192000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3820
3821 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3822 * gdb.base/miscexprs.exp: Ditto.
3823 * gdb.base/pointers.exp: Ditto.
3824 * gdb.c++/derivation.exp: Ditto.
3825 * gdb.c++/local.exp: Ditto.
3826 * gdb.c++/namespace.exp: Ditto.
3827 * gdb.c++/overload.exp: Ditto.
3828 * gdb.c++/ref-types.exp: Ditto.
3829
dc96c6c7 38302000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3831
3832 * gdb.base/constvars.exp: Test result of "up" command.
3833 * gdb.base/miscexprs.exp: Ditto.
3834 * gdb.base/pointers.exp: Ditto.
3835 * gdb.base/scope.exp: Ditto.
3836 * gdb.c++/derivation.exp: Ditto.
3837 * gdb.c++/local.exp: Ditto.
3838 * gdb.c++/namespace.exp: Ditto.
3839 * gdb.c++/overload.exp: Ditto.
3840 * gdb.c++/ref-types.exp: Ditto.
3841
44097287
FN
38422000-11-22 Michael Chastain <chastain@redhat.com>
3843
3844 * mips_pro.exp: Accept either "middle -> top -> main" or
3845 "middle -> main" in the backtrace, because gcc can optimize
3846 tail calls to jumps. Remove setup_xfail for the hppa case.
3847 Add a comment with the original warning messages from PR 3016,
3848 which was filed in 1993, to preserve them for posterity.
3849
9d2e1bab
ND
38502000-11-17 Nick Duffek <nsd@redhat.com>
3851
3852 * lib/gdb.exp (gdb_test): Override timeout with board info.
3853
1aca8eb7
ND
38542000-11-17 Nick Duffek <nsd@redhat.com>
3855
3856 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3857 the second kill and detach messages.
3858
93076499
ND
38592000-11-17 Nick Duffek <nsd@redhat.com>
3860
3861 * configure.in: Add AC_EXEEXT.
3862 * configure: Regenerate.
3863 * Makefile.in (just-check): Export EXEEXT.
3864 * lib/gdb.exp ($EXEEXT): Import from environment.
3865 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3866 expect "maint dump-me" on Cygwin.
3867 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3868 $EXEEXT.
3869
30e87cd3
ND
38702000-11-17 Nick Duffek <nsd@redhat.com>
3871
3872 * gdb.base/break.exp: Test backtrace and finish from called
3873 function on all platforms, not just HP-UX.
3874
dc96c6c7 38752000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3876
3877 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3878 code from gdb_target_monitor, so it can be used independantly
3879 for gdbserver. Also comment out an unnecessary PUTS.
3880
dc96c6c7 38812000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3882
3883 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3884 * gdb.base/corefile.exp: Expect the message "Program is being
3885 debugged already" when we send the "corefile" command, since
3886 the preceeding gdb_load may have connected gdb to a remote target.
3887 * gdb.base/display.exp: Disable hardware watchpoints if new
3888 board info variable "no_hardware_watchpoints" is true.
3889 Replace single-letter commands with more readable ones.
3890 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3891 if new board info variable "no_hardware_watchpoints" is true.
3892 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3893 to see if stdio (printf) testing is possible.
3894 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3895 board info variable "no_hardware_watchpoints" is true. Use new
3896 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3897
39124dea
FN
38982000-11-13 Fernando Nasser <fnasser@redhat.com>
3899
3900 From Orjan Friberg <orjanf@axis.com>:
3901 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3902 in array print pattern match.
3903
a9e2e984
FN
39042000-11-09 Fernando Nasser <fnasser@redhat.com>
3905
3906 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3907 spelling "cancelled" to U.S. spelling "canceled" to match changes
3908 made to gdb.
3909 * gdb.c++/ovldbreak.exp: Ditto.
3910
c7db355b
PS
39112000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3912
3913 * gdb.base/callfuncs.c (main): Moved to end of file, call
3914 t_double_values to initialize the FPU before inferior calls are made.
3915 * gdb.base/callfuncs.exp: Test for register preservation after calling
3916 inferior functions. Add tests for continuining, finishing and
3917 returning from a stop in a call dummy.
3918
dc96c6c7 39192000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3920
3921 * gdb.base/commands.exp: Break up long lines, and re-indent.
3922
dc96c6c7 39232000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3924
3925 * config/gdbserver.exp: Rewritten from the ground up, to make it
3926 compatible with the current dejagnu tree, and to make it work with
3927 the new "gdbserver" in libremote.
3928
dc96c6c7 39292000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3930
3931 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3932 * gdb.base/varargs.exp: Skip entire test if no printf support.
3933 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3934 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3935
dc96c6c7 39362000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3937
3938 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3939 no floating point support.
3940 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3941 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3942 * gdb.base/call-rt-st.exp: Ditto.
3943 * gdb.base/call-strs.exp: Ditto.
3944
bac5fc66
JG
39452000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3946
3947 * gdb.base/sizeof.c: include <stdio.h>.
3948
3949 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3950 'finish', otherwise uncaptured gdb_prompt would potentially
3951 throw remaining test points out of sync.
3952
b22a6027
SB
39532000-07-26 Scott Bambrough <scottb@netwinder.org>
3954
3955 * gdb.base/recurse.exp: Run tests for all targets.
3956 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3957 gnu-oldld case on ARM.
3958 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3959 for ARM targets.
3960
d8231941
AG
3961Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3962
3963 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3964 * gdb.java/configure: Rebuild.
3965
8caabe69
AG
3966Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3967
3968 * gdb.java/jv-exp.exp: New file.
3969
9d273ca3
AG
3970Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3971
3972 * configure: Rebuilt.
3973 * configure.in (configdirs): Add gdb.java.
3974 * gdb.java/jmisc.java: New file.
3975 * gdb.java/jmisc.exp: New file.
3976 * gdb.java/Makefile.in: New file.
3977 * gdb.java/configure: Rebuilt.
3978 * gdb.java/configure.in: New file.
3979 * lib/java.exp: New file.
3980
4f823a66
AC
3981Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3982
3983 * gdb.base/exprs.exp: Test casts to a pointer including over and
3984 underflow.
3985
2391e11d
AC
3986Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3987
3988 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3989 and the compilers sizes.
3990
54602222
ND
39912000-07-09 Nick Duffek <nsd@redhat.com>
3992
3993 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3994 (use_methods): New function.
3995 (main): Call use_methods().
3996 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3997 (do_tests): Call test_method_param_class.
3998
2bec0572
ND
39992000-07-09 Nick Duffek <nsd@redhat.com>
4000
4001 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4002 spelling.
4003 (test_enums): New procedure. Move enum tests from end of script
4004 to here. Set breakpoint on function name instead of line number.
4005 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4006 (enums2): New marker function.
4007 (enums1): New function.
4008 (main): Call enums1(). Move enum tests to enums1().
4009
78492fde
AC
4010Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4011
4012 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4013 compile/link program. Update line numbers.
4014 * gdb.asm/d10v.inc: Define ``startup''.
4015 * gdb.asm/asmsrc1.s: Add definition of _start.
4016
49a2cef8
AC
4017Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4018
4019 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4020
3e6c8688
EZ
40212000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4022
4023 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4024 of 'help maint print' command.
4025
9ff5cbe9
AC
4026Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4027
4028 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4029 they use gdb_expect_list.
4030
17c579bd
AC
4031Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4032
4033 * gdb.base/commands.exp: Use ``set remote
4034 memory-read-packet-size'' instead of ``set endian big'' to test
4035 long commands.
4036
e6d71bf3
DB
40372000-06-03 Daniel Berlin <dan@cgsoftware.com>
4038
4039 * gdb.c++/templates.exp (do_tests): Make all of these work under
4040 g++, and stop skipping them.
4041
4042 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4043 work under g++.
4044
e5f9ba7b
MS
4045 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4046 initialization.
4047
dc96c6c7 40482000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4049
4050 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4051 the regular expression: accept an (almost) arbitrary sequence of
4052 "frames-invalid" and "breakpoints-invalid" messages both before
4053 and after the "starting" message.
4054
dc96c6c7 40552000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4056
4057 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4058
dc96c6c7 40592000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4060
4061 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4062 Relax the regular expression a little, make it pass on Solaris 8.
4063
8216cda9
KB
40642000-05-12 Kevin Buettner <kevinb@redhat.com>
4065
4066 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4067 a call, do not require that gdb stop on the line after the call.
4068 Instead, it is permissible for gdb to stop on the line of the
4069 call itself.
4070
1a570b2f
MS
40712000-05-12 Michael Snyder <msnyder@.cygnus.com>
4072
4073 * gdb.base/break.exp (bp on small function, optimized file):
4074 Add a second pass pattern. The behavior differs here between stabs
4075 and dwarf for one-line functions. Stabs preserves two line symbols
4076 (one before the prologue and one after) with the same line number,
4077 but dwarf regards these as duplicates and discards one of them.
4078 Therefore the address after the prologue (where the breakpoint is)
4079 has no exactly matching line symbol, and GDB reports the breakpoint
4080 as if it were in the middle of a line rather than at the beginning.
4081
dc96c6c7 40822000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4083
4084 * gdb.base/interrupt.exp: Make "pass" message say "send"
4085 rather than "send_gdb" (for consistancy).
4086
7d418785
AC
4087Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4088
4089 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4090 * gdb.c++/templates.cc: Properly check for GCC version number.
4091 * lib/compiler.cc: Likewise
4092
dc96c6c7 40932000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4094
4095 * gdb.base/break.exp: When compiled with -O2 optimization,
4096 gdb may not stop at the first line of main, due to code motion.
4097
dc96c6c7 40982000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4099
4100 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4101 This test depends on parsing the printf output from the target.
4102 Since the sparclet stub doesn't do stdio, this will never work.
4103 * gdb.base/call-rt-st.exp: ditto.
4104 * gdb.base/call-strs: ditto.
4105
dc96c6c7 41062000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4107
4108 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4109
4110 * gdb.base/ending-run.exp: After connecting to a remote target,
4111 but before running, the target will appear to be in a random
4112 location. Specify both a file and a line for breakpoints.
4113 Also, the function that calls main may be called 'init'
4114 rather than 'start'.
4115
a5a51225
EZ
41162000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4117
4118 * gdb.base/help.exp: Update output for add-symbol-file command.
4119
7930cc7c
FN
41202000-04-10 Fernando Nasser <fnasser@cygnus.com>
4121
4122 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4123 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4124
23e37ab1
C
41252000-04-07 J.T. Conklin <jtc@redback.com>
4126
e93c542c
C
4127 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4128
23e37ab1
C
4129 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4130
591b8fa3
PDM
4131Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4132
4133 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4134 values that can be represented exactly.
4135 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4136 above change, and to not check against the directory part of the source
4137 file name.
4138 (step into print_long_arg_list): Likewise.
4139 (print print_small_structs from print_long_arg_list): Likewise.
4140 (print print_long_arg_list): Likewise.
4141
7a495180
EZ
41422000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4143
30b53638 4144 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4145
beb998c6
AC
4146Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4147
4148 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4149
1c689132
DB
41502000-03-25 Daniel Berlin <dan@cgsoftware.com>
4151
4152 * gdb.base/commands.exp (deprecated_command_test): Add test for
4153 deprecate with no arguments.
4154
c1790a9d
JL
41552000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4156
4157 * gdb.base/break.exp: Add new test for setting breakpoints on
4158 optimized code so we can test breakpoints work even when function
4159 prologues may be optimized away
4160
003ba290
FN
41612000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4162
4163 From David Whedon <dwhedon@gordian.com>
4164 * gdb.base/commands.exp : Added command deprecator tests.
4165
6837a0a2
DB
41662000-03-22 Daniel Berlin <dan@cgsoftware.com>
4167
4168 * gdb.base/help.exp: Added test for new apropos command.
4169
b9593231
KB
41702000-03-21 Kevin Buettner <kevinb@redhat.com>
4171
4172 * gdb.base/pointers.c (usevar): New function.
4173 (main): Make sure that global variables v_int_pointer2, rptr,
4174 and y are all referenced someplace in the program by calling
4175 usevar() on them. [Some linkers delete symbols which are
4176 never referenced. The space remains, but there's no way to
4177 get a (symbolic) handle on the variable from the debugger.]
4178
751a959b
EZ
41792000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4180
4181 * gdb.base/printcmds.c: Add typedeffed arrays.
4182
4183 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4184 procedure to test arrays that are typedef'd.
4185
73a93a32
JI
41862000-03-13 James Ingham <jingham@leda.cygnus.com>
4187
4188 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4189 the library directories.
73a93a32 4190
fb40c209
AC
4191Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4192
4193 * configure.in (configdirs): Add sub directory gdb.mi.
4194 * configure: Re-generate.
4195
4196 * gdb.mi: New directory.
beb998c6 4197
ee4dd2c9
AC
41982000-02-25 Scott Bambrough <scottb@netwinder.org>
4199
4200 * gdb.base/long_long.exp: Correct test suite failure when printing
4201 a long long value as a double on ARM platforms.
4202
70f0cc22
JB
42032000-02-16 Jim Blandy <jimb@redhat.com>
4204
4205 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4206 default source file is set properly before running this test.
4207
853819b8
EZ
42082000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4209
4210 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4211 gdbtk/library directory, not in gdbtcl2.
4212
dfcd3bfb
JM
42132000-02-04 Jim Blandy <jimb@redhat.com>
4214
4215 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4216 backslash from regexp pattern.
4217
4218 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4219 procedure. Use it to run all the "continue to bp overloaded"
4220 tests. Note that this changes the names of the tests slightly.
4221 If the breakpoint hit message includes a hex PC value, because
4222 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4223 from the real source code, still consider that a pass.
4224
4225 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4226 XFAIL here if the breakpoint message contains a hex address. Note
4227 similar change on 1999-11-02.
4228
4229 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4230
4231 * gdb.base/ptype.exp: Establish a default source file before
4232 calling get_debug_format.
4233
42342000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4235
4236 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4237
8b93c638
JM
42382000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4239
4240 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4241 of successive stepi commands -- while in the prologue we should see
4242 the function entry bracket.
4243
42442000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4245
4246 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4247 reach __change_mode() when stepping through the end of main().
4248
c5394b80
JM
42492000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4250
4251 * gdb.base/default.exp: Fix expected pattern.
4252 * gdb.base/help.exp: Same.
4253
0d06e24b
JM
42542000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4255
4256 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4257 Don't use xfail's because that affects only the following test.
beb998c6 4258
0d06e24b
JM
4259 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4260 solaris or linux.
4261
4262 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4263
dc96c6c7 42642000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4265
beb998c6 4266 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4267 "A syntax error" rather than "A parse error". Accept both.
4268
42692000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4270
4271 * gdb.base/default.exp: Remove OS dependent string from "target
4272 remote" test.
4273 * gdb.base/help.exp: Same for "help target remote" test.
4274
c3f6f71d
JM
42752000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4276
4277 From Jim Kingdon <kingdon@redhat.com>:
4278
4279 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4280 prompt (cleanup rather than necessity, but still might keep output
4281 from spilling to next test).
4282
42832000-01-02 Fred Fish <fnf@cygnus.com>
4284
4285 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4286 AIX, which defines them in <sys/types.h>.
4287
ed9a39eb 42881999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4289
ed9a39eb
JM
4290 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4291 float" test.
4292
42931999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4294
ed9a39eb 4295 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4296
4297 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4298 outermost frame disallowed".
4299
43001999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4301
4302 * gdb.base/setvar.exp: New tests for setting the value of a struct
4303 with a constant list.
4304
43051999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4306
4307 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4308 require the user to type a cast before setting the value of a struct.
4309
de57eccd
JM
43101999-12-06 Jim Blandy <jimb@cygnus.com>
4311
4312 * gdb.base/default.exp: Expect the new 'info float' command on
4313 all i386 platforms.
4314
4315 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4316 LinuxThreads libraries that don't support debugging.
4317
c2d11a7d
JM
4318Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4319
4320 * gdb.base/remote.c: Fill the buffer with truely random data.
4321 Change the buffer type to ``unsigned char'' to simplify size
4322 arithmetic.
4323
4324 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4325 stub only handles 400-1 byte packets. Verify that the download
4326 worked.
4327
43281999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4329
4330 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4331 tests, using UNRESOLVED for the untested cases. Also, does not wait
4332 for a timeout if the prompt was received before a recognizable pattern.
4333
43341999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4335
4336 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4337
43381999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4339
4340 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4341 watchpoints.
4342
43431999-11-24 Jason Merrill <jason@casey.cygnus.com>
4344
4345 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4346
4347 * gdb.c++/local.exp: Be more flexible in recognizing local class
4348 name mangling. Don't allow horribly truncated method names.
4349 * gdb.c++/derivation.exp: Expect protected inheritance.
4350 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4351 * gdb.c++/virtfunc.exp: Likewise.
4352 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4353 when printing a nested enum.
4354
43551999-11-22 Jim Blandy <jimb@cygnus.com>
4356
4357 * gdb.base/step-test.exp: Properly await GDB's response to setting
4358 a breakpoint on the call to large_struct_by_value.
4359
4360 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4361 just because we have debug info for the `start' function.
4362
43631999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4364
4365 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4366 "Unknown signal" messages, which indicate (on LinuxThreads) that
4367 GDB doesn't know how to debug threads on this system. This is
4368 better than hanging while philosopher 0 dumps chatter into gdb.log.
4369
43701999-11-18 Tom Tromey <tromey@cygnus.com>
4371
4372 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4373
43741999-11-18 Fred Fish <fnf@cygnus.com>
4375
4376 * gdb.base/coremaker2.c: Add sample program for generating
4377 cores that is more self contained than coremaker.c. Eventually
4378 I'll add more code to this and tie it into the testsuite.
4379
4ce44c66
JM
43801999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4381
4382 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4383
43841999-11-10 Jimmy Guo <guo@cup.hp.com>
4385
4386 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4387 from $srcdir/lib/.
4388 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4389 and gdb.c++/.
4390
4391 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4392
beb998c6 4393 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4394 'continue with watch' test point.
4395
43961999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4397
4398 Merged from p2linux-990323-branch:
beb998c6 4399
4ce44c66
JM
4400 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4401
11cf8741
JM
4402Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4403
4404 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4405 {limit,fixed}''. Test ``set download-write-size''.
4406
4407Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4408
4409 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4410 gdb_expect_list.
4411
4412Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4413
4414 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4415
44161999-11-03 Mark Salter <msalter@cygnus.com>
4417
4418 * gdb.base/break.exp: Fix "stub continue" pattern.
4419
44201999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4421
4422 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4423
44241999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4425
4426 * gdb.base/display.exp ("finish"): Add timeout clause.
4427
4428 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4429 plain prompt clause, so this doesn't have to time out in order to
4430 fail.
4431
4432 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4433 breakpoint hit messages include an address.
4434
4435 * gdb.base/display.exp: Don't forget to escape parens in regular
4436 expressions. Unix regexp notatation sucks.
4437
44381999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4439
4440 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4441 order for 'signalled' message.
4442
5c44784c
JM
44431999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4444
4445 From Jimmy Guo <guo@cup.hp.com>:
4446 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4447 * gdb.base/annota1.c: Add code for tests to work with.
4448
44491999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4450
4451 * gdb.base/remote.exp: New test for remote downloading settings.
4452 * gdb.base/remote.c: New file with large .data.
4453
917317f4
JM
44541999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4455
4456 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4457 for LinuxThreads support, merged from the Code Fusion branch.
4458
4459Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4460
4461 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4462 containing exp_continue into a while within an expect. Don't
4463 attempt a start more than three times. Check return value from
4464 gdb_load.
beb998c6 4465
2df3850c
JM
4466Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4467
4468 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4469 a pass case.
4470
2acceee2
JM
44711999-10-01 Kevin Buettner <kevinb@cygnus.com>
4472
4473 * gdb.base/break.c (main): Added a statement that we can step
4474 off of.
4475 * gdb.base/break.exp: Added tests for setting a breakpoint
4476 at an offset and stepping onto a breakpoint.
4477
44781999-10-01 Fred Fish <fnf@cygnus.com>
4479
beb998c6 4480 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4481 gdb output.
4482
c2c6d25f
JM
44831999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4484
4485 * gdb.base/break.exp: Code locations are in hex, don't forget!
4486 (For HP-UX.)
4487
44881999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4489
4490 * condbreak.exp: Use break.c as test program.
4491 * condbreak.c: Remove, redundant with break.c.
4492
44931999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4494
4495 * config/monitor.exp (gdb_target_monitor): Disable X- and
4496 Z-packets if the target needs it.
4497
44981999-09-13 James Ingham <jingham@leda.cygnus.com>
4499
4500 * gdb.c++/overload.exp: Added tests for listing overloaded
4501 functions with function pointers in the arg, explicitly calling
4502 out the version you want.
4503
cff3e48b
JM
45041999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4505
4506 * long_long.exp: Add variations of test cases that work for
4507 targets with 16-bit ints and 32-bit doubles.
4508
d4f3574e
SS
45091999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4510
4511 * break.c (main): Compare a possibly-uninitialized argc with an
4512 unlikely value that fits in 16 bits.
4513
45141999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4515
4516 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4517 0xfeeb, don't want negative numbers if ints are 16 bits.
4518
4519 * lib/gdb.exp (skip_cplus_tests): New proc.
4520 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4521 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4522 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4523 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4524 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4525 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4526 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4527 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4528
4529 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4530
4531Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4532
4533 * gdb.base/corefile.exp (up): Allow a parameter to appear
4534 in the frame that we're going up to.
4535
4536 From Jim Blandy <jimb@cygnus.com>:
4537
4538 * gdb.base/default.exp (info float): Expect some output now.
4539
4540 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4541 returning floating-point values to fail on the x86.
4542 * gdb.base/callfwmall.exp (do_function_calls): Same.
4543
4544 * gdb.base/list.exp (test_listsize): Correct expectations for
4545 listing line 1 with listsize 2. Also, listing a single line
4546 works now, as does listing three lines. [Kevin's note: There
4547 were a number of other cases fixed too where the expectations
4548 differed...]
4549
45501999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4551
4552 * gdb.base/selftest.exp: Add case for when version prints as
4553 constant string instead of char pointer.
4554
104c1213
JM
45551999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4556
4557 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4558 stepping out of main.
4559
4560 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4561 G++ used.
4562
4563 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4564 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4565
4566 * gdb.c++/ovldbreak.exp: Update match string in test that
4567 includes a warning of multiple breakpoints.
4568
45691999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4570
4571 * gdb.base/display.exp: Improve precision of step-after-finish
4572 added yesterday.
4573
4574 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4575 test.
4576
4577 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4578 configs when using G++, not just hppa*.
4579
45801999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4581
4582 * gdb.base/async.c: New file.
4583 * gdb.base/async.exp: New file.
4584
4585Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4586
4587 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4588 PA64.
4589
53a5351d
JM
4590Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4591
104c1213
JM
4592 * gdb.base/display.exp: "finish" can leave us mid-line on many
4593 targets, deal with it. Add a small constant to main, instead of
4594 1000 since main+1000 may not be a valid address in the target.
4595
53a5351d
JM
4596 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4597 on hpux11.
4598
4599 * gdb.base/attach.exp: Handle another hpux11 error message variant
4600 when attaching to a process that does not exist.
4601
46021999-08-19 J.T. Conklin <jtc@redback.com>
4603
4604 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4605 characters in 'continue to 1241' test.
4606
46071999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4608
4609 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4610 stop in print_long_arg_list, define and use a whitespace
4611 variable in print_small_structs test, add an XFAIL for Solaris.
4612 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4613 interested enough to fix.
4614
7be570e7
JM
46151999-08-13 Keith Seitz <keiths@cygnus.com>
4616
4617 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4618 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4619 proc knows about targets other than the natives.
4620 (test_assign): Use "gdb_run_cmd" to "run" the target.
4621 Check that we've actually hit the breakpoint at main.
4622 When we attempt to assign a value to a local variable, check
4623 that the variable is in the current scope, i.e., don't use
4624 a test with an empty result.
4625
4626Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4627
4628 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4629 command.
4630
46311999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4632
4633 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4634 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4635 gdb.compat, gdb.threads-hp.
4636 gdb.hp/configure, gdb.hp/configure.in: New files.
4637 gdb.hp/Makefile.in: Recurse into new subdirs.
4638 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4639 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4640 in object files.
4641 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4642
96baa820
JM
46431999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4644
4645 * gdb.base/display.exp: Help expect by putting a newline in the
4646 funky printf, remove a bogus p/a test.
4647
46481999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4649
4650 * gdb.base/display.exp: Make sure that when we say 'run', we are
4651 connected to the target. This is necessary when running not
4652 natively.
4653
46541999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4655
4656 * gdb.base/step-test.exp: Removed some extraneous messages.
4657
4658 * gdb.base/long_long.exp: Don't run memory examination tests
4659 on little-endian targets (they will need a different set of
4660 results to match).
4661
46621999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4663
4664 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4665 until somebody decides to fix GDB.
4666
4667 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4668 constant as "ULL".
4669 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4670 matches for a couple x/2 commands.
4671
a0b3c4fd
JM
46721999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4673
4674 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4675 by merging in ref-types2 tests.
4676 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4677
4678 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4679 * gdb.c++/Makefile.in: Add standard actions.
4680 (EXECUTABLES): Rename from PROGS, update list.
4681 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4682 from gdb.hp.
4683 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4684 foo and bar locals.
4685 * gdb.c++/anon-union.exp: Fix tests to match.
4686 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4687 expect matches to handle output variations.
4688 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4689 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4690 output, add HP alternatives for new and delete prints.
4691 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4692 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4693 * gdb.c++/demangle.exp: Use $style when reporting failure.
4694 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4695 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4696 match alternatives.
4697 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4698 compilers.
4699 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4700 * gdb.c++/method.exp: Add match alternatives.
4701 * gdb.c++/misc.cc: Add bool types.
4702 * gdb.c++/misc.exp: Add tests for bool types.
4703 * gdb.c++/overload.exp: Add xfails.
4704 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4705 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4706 add some more template parameter tests (only for HP currently).
4707 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4708 * gdb.c++/virtfunc.cc: Add return type and value for main.
4709 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4710 match alternatives.
beb998c6 4711
a0b3c4fd
JM
47121999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4713
4714 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4715
47161999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4717
4718 * gdb.base/signals.exp: Don't expect getting a backtrace from
4719 within a signal handler to fail on Linux.
4720
47211999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4722
4723 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4724 * lib/gdb.exp: Remove some gratuitious semicolons.
4725 (delete_breakpoints): Increase timeout.
4726 (gdb_expect): Add -notransfer option.
4727 (gdb_test): Use -notransfer option.
4728 (get_compiler_info): Add f77 case.
4729 (get_compiler): New proc, split out from gdb_preprocess, add f77
4730 case.
4731 (gdb_preprocess): Call get_compiler.
4732
4733 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4734 * gdb.base/attach.exp, gdb.base/display.exp,
4735 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4736 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4737 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4738 third arg to gdb_test.
4739 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4740 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4741 HP-UX xfails, add others.
4742 * gdb.base/completion.exp: Reflect name change of self-test.
4743 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4744 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4745 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4746 HP failure number.
4747 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4748 useless HP-UX 10.30 references.
4749 * gdb.base/maint.exp: Loosen matches.
4750 * gdb.base/pointers.c (main): Declare more_code.
4751 * gdb.base/pointers.exp: Match on output of a `next'.
4752 * gdb.base/structs.c: Add prototypes.
4753 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4754 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4755
47561999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4757
4758 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4759 command.
4760
47611999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4762
4763 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4764 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4765
4766 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4767 debug info. Deal with lack of signal hanlder info in stack.
4768
4769 From Jim Kingdon <kingdon@redhat.com>:
4770 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4771
5a2468f5
JM
47721999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4773
4774 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4775 gdb.base/foll-vfork.exp: Don't run for crosses.
4776
adf40b2e
JM
4777Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4778
4779 * gdb.base/configure.in: Check for gdbvars.exp instead of
4780 a1-selftest.exp.
4781 * gdb.base/configure: Re-generate.
4782
47831999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4784
4785 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4786 in trying to run first and name is too long.
4787
4788 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4789 pointers2.c and pointers2.exp, respectively.
4790 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4791 doschk happier.
4792
43e526b9
JM
47931999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4794
4795 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4796 callfuncs2.c and callfuncs2.exp.
4797
4798 * gdb.base/list.exp: Remove mistaken xfails.
4799 * gdb.base/list0.h: Add optional prototypes.
4800
9846de1b
JM
4801Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4802
4803 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4804 calling malloc.
4805 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4806 * ptype.exp: Move test for get_debug_format to before its first
4807 use.
4808
48091999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4810
4811 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4812 * gdb.base/annota2.cc, annota2.exp: Move from here.
4813 * gdb.c++/annota2.cc, annota2.exp: To here.
4814 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4815
43ff13b4
JM
4816Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4817
4818 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4819 a consistent format.
4820
085dd6e6
JM
48211999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4822
4823 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4824 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4825 HP compilers, also set the globals $true and $false.
4826
4827 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4828 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4829 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4830 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4831 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4832 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4833 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4834 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4835 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4836 whatis.c} Add C++ compatible function definitions and return
4837 types, add includes for library functions.
4838 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4839 * gdb.base/step-test.c (myglob): Rename from glob.
4840 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4841 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4842 files, move here from gdb.hp.
4843 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4844 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4845 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4846 Adjust line numbers in regexps.
4847
4848 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4849 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4850 instead of 0/1.
4851
4852 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4853 foll-vfork.exp: New files, move here from gdb.hp.
4854 * gdb.base/page.exp: New file, test of pagination command.
4855
4856 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4857 recursion test.
4858 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4859
4860 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4861 gdb.base/solib.exp: Fix compiler invocation process.
4862
4863 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4864 HP-UX 11, turn off overload resolution explicitly.
4865 * gdb.base/commands.exp: Set argument list explicitly, add
4866 watchpoint test.
4867 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4868 them work.
4869 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4870 expressions properly.
4871 * gdb.base/corefile.exp: Loosen the match slightly.
4872 * gdb.base/default.exp: Allow "Error accessing memory" message
4873 also.
4874 * gdb.base/display.exp: Skip over x/0 j if PA64.
4875 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4876 * gdb.base/interrupt.exp: Ditto.
4877 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4878 in use.
4879 * gdb.base/list.exp: Add xfails for HP-UX.
4880 * gdb.base/long_long.exp: Refine some of the numeric matches.
4881 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4882 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4883 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4884 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4885 * gdb.base/ptype.exp: Succeed on more varieties of output.
4886 * gdb.base/scope.exp: Add xfails for HP-UX.
4887 * gdb.base/sect-cmd.exp: Add more cases.
4888 * gdb.base/setvar.exp: Add xfails for HP-UX.
4889 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4890 * gdb.base/signals.exp: Match on void symbolically.
4891 * gdb.base/step-test.exp: Add case for PA64.
4892 * gdb.base/term.exp: Add exit and restart.
4893 * gdb.base/twice.exp: Clean up after self.
4894 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4895 * gdb.base/whatis.exp: Allow more ways to pass tests.
4896
4897 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4898 no longer useful.
4899
4900Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4901
4902 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4903 list of patterns.
4904 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4905 print_double_array(double_array)", "continuing to breakpoint
4906 1018", "print print_double_array(array_d)" and "continuing to
4907 1034" tests.
beb998c6 4908
085dd6e6
JM
49091999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4910
4911 * Makefile.in: Add empty html and install-html targets.
4912
49131999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4914
4915 * config/mt-*: Remove, these haven't been used since 1996.
4916
49171999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4918
4919 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4920 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4921 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4922
9e0b60a8
JM
49231999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4924
4925 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4926 simpler match case for the ptype of the big class.
4927
49281999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4929
4930 * gdb.exp: Fix test for gdb_prompt existence.
4931
49321999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4933
4934 * gdb.exp (gdb_test): Add fail after calls to perror.
4935
49361999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4937
4938 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4939
49401999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4941
4942 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4943
0f71a2f6
JM
4944Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4945
4946 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4947 malloc() is linked in.
4948
49491999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4950
4951 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4952 step at end.
4953
4954 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4955
49561999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4957
4958 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4959
cce74817
JM
4960Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4961
4962 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4963 * gdb.base/mips_pro.exp: Likewise.
4964
49651999-06-02 Keith Seitz <keiths@cygnus.com>
4966
4967 * gdb.c++/templates.cc: Change all "new" operators to throw
4968 an exception.
4969 * gdb.c++/cplusfuncs.cc: Likewise.
4970
4971 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4972
4973Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4974
4975 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4976 * gdb.base/ending-run.exp: When stepping out of main, accept a
4977 step into an arbitrary assembler file.
4978
392a587b
JM
49791999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4980
beb998c6 4981 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4982 "breakpoint-invalid" to be printed.
beb998c6 4983 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4984 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4985 * gdb.base/annota2.cc: Initialize a.x to 0.
4986
9e086581
JM
49871999-05-17 Keith Seitz <keiths@cygnus.com>
4988
4989 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4990 when "skip_float_tests" set.
4991 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4992 "print print_ten_doubles", and "step into print_long_arg_list".
4993 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4994 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4995 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4996 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4997 "skip_float_tests" is set.
4998 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4999 when "skip_float_tests" set.
beb998c6 5000
cd0fc7c3
SS
50011999-05-06 Keith Seitz <keiths@cygnus.com>
5002
5003 * gdb.base/annota2.cc: Include stdio.h.
5004
5005Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5006
5007 * gdb.base/crossload.exp: Remove, this has been disabled ever
5008 since BFD stopped including all targets, and cross-GDB gets
5009 plenty of testing anyway.
5010 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5011 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5012 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5013 * gdb.base/README: Remove, was doc for this.
5014 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5015 needed.
5016
b83266a0
SS
50171999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5018
5019 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5020 output.
5021
5022 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5023 * gdb.base/annota2.exp: New file. More annotation tests.
5024 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5025 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5026
50271999-04-23 Angela Marie Thomas <angela@cygnus.com>
5028
5029 * config/cfdbug.exp: New file.
5030
7a292a7a
SS
50311999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5032
5033 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5034 Marcus Daniel's and Dale Hawkins's demangler crashes.
5035
5036 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5037 test_lucid_style_demangling, test_arm_style_demangling,
5038 test_hp_style_demangling): Try Tom Tromey's core-dumping
5039 identifier under each demangling style.
5040
50411999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5042
5043 * gdb.c++/demangle.exp: Include the current demangling style
5044 in all test names.
5045 (current_demangling_style): New global variable.
5046 (set_demangling_style, test_demangling_core, test_demangling,
5047 test_demangling_exact): New functions.
5048 (test_gnu_style_demangling, test_lucid_style_demangling,
5049 test_arm_style_demangling, test_hp_style_demangling): Use those,
5050 instead of calling gdb_test and gdb_test_exact directly.
5051 (catch_demangling_errors): New function, which reports errors
5052 signalled by the demangling test functions in an orderly way.
5053 (do_tests): Use catch_demangling_errors.
5054
50551999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5056
5057 * gdb.base/signals.exp (test_handle_all_print): Use () for
5058 grouping in expressions, not {}.
5059
5060 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5061 initialized yet.
5062
50631999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5064
5065 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5066 are listed.
5067
50681999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5069
5070 * gdb.stabs/weird.exp: Test for CC being defined before
5071 looking at its value.
5072
50731999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5074
5075 * gdb.base/call-ar-st.exp: Remove stray '#'.
5076 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5077 "short int" and "long int".
5078 * gdb.c++/overload.cc: Cast the string added in the previous
5079 change, to mollify finicky HP compiler.
5080 * gdb.hp/reg-test.exp (testfile): Fix file name.
5081 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5082
7a292a7a
SS
5083 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5084 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5085 alternate form of enum ptype.
5086
c906108c
SS
50871999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5088
7a292a7a
SS
5089 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5090 * gdb.hp/*.exp: Change all to run compiler probe only after
5091 passing skip_hp_tests, so as not to waste time on guaranteed
5092 failure.
5093
c906108c
SS
5094 * gdb.c++/overload.cc: Pass string instead of char addr, always
5095 init ccpfoo.
5096 * gdb.c++/templates.cc: Fix syntax error.
5097
7a292a7a
SS
5098Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5099
5100 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5101 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5102 command.
5103
51041999-03-18 James Ingham <jingham@cygnus.com>
5105
5106 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5107
5108 * gdb.c++/method.exp: It was testing an uninitialized int on the
5109 stack and assuming it was positive.
5110
5111 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5112
5113 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5114 keep it from killing the rest of the tests.
7a292a7a
SS
5115 Use gdb_continue_to_end.
5116
5117 * gdb.base/sigall.exp: use gdb_continue_to_end.
5118
5119 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5120
5121 * gdb.base/display.exp: use runto_main, not run.
5122
beb998c6
AC
5123 * gdb.base/default.exp: Check for the current error message in the
5124 r abbreviation test.
7a292a7a
SS
5125 Add strongarm to the targets that know info float.
5126
beb998c6 5127 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5128 run which doesn't work with monitors.
5129
5130 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5131
5132 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5133
5134 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5135 program. Traps the case (in Cygmon) when the program never really
5136 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5137 more places, so I used my name. Sorry Mark...
5138
5139 * config/monitor.exp (gdb_target_monitor): added another
5140 target_info parameter: remotebinarydownload. This will set the
5141 remotebinarydownload flag if this is causing some boards trouble.
5142
51431999-03-18 Mark Salter <msalter@cygnus.com>
5144
5145 * lib/gdb.exp (continue_to_exit): New function.
5146
5147 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5148 * gdb.base/ending-run.exp: Ditto.
5149 * gdb.base/step-test.exp: Ditto.
5150
51511999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5152
5153 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5154 (suggested by Art Haas <ahaas@neosoft.com>).
5155
51561999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5157
5158 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5159
5160Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5161
5162 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5163 descriptions of types (short unsigned int vs unsigned short, etc).
5164
51651999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5166
5167 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5168 a call to strlen; sometimes we do have sources.
5169
51701999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5171
5172 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5173 character, so GDB won't print garbage after its end.
beb998c6 5174
c906108c
SS
5175 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5176 breakpoint there instead. Sometimes GCC emits memcpy to handle
5177 the large structures being passed by value, so we step into that
5178 instead of sum_array_print, which obscures what we're really testing.
5179 * gdb.base/step-test.exp: However, we do want a test that notices
5180 the bizarre steps into memcpy, so do that here. Add check for
5181 stepping into function calls that pass large structures by value.
5182 ("Is that a noun clause, or are you just happy to see me?")
5183 Remove all references to specific line numbers.
5184 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5185 New type and function.
5186 (main): Call large_struct_by_value, passing it a large struct by value.
5187 * lib/gdb.exp (gdb_get_line_number): New function.
5188
5189 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5190 more portable.
5191
7a292a7a
SS
51921999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5193
c906108c
SS
5194 * lib/gdb.exp: Doc fixes.
5195
7a292a7a
SS
51961999-03-05 Nick Clifton <nickc@cygnus.com>
5197
beb998c6 5198 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5199
52001999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5201
c906108c
SS
5202 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5203 commands. They're not germane to this test, and they don't work
5204 that way on remote targets.
5205
3fc11d3e
JM
52061999-03-01 James Ingham <jingham@cygnus.com>
5207
5208 * Changelog entries merged over from gdb development branch.
5209
3fc11d3e
JM
5210 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5211
5212 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5213 for outputting results of test run.
5214
2d4a1622 5215 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5216
5217 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5218
7a292a7a
SS
52191999-02-25 Felix Lee <flee@cygnus.com>
5220
5221 * lib/gdb.exp (debug_format): initialize
5222
c906108c
SS
52231999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5224
5225 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5226 * gdb.base/call-rt-st.c: Ditto.
5227
c906108c
SS
52281999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5229
5230 * gdb.threads/pthreads.exp (horiz): New variable.
5231 (test_startup): Fix regexps that capture thread numbers.
5232
52331999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5234
5235 * gdb.base/smoke.exp: Disambiguate two test case names (both
5236 called ``print'').
5237
5238Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5239
5240 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5241 compilation.
5242
52431999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5244
5245 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5246 actual output formatting.
5247 * gdb.base/smoke.exp: GDB removes leading 0's.
5248 * gdb.base/volatile.exp: Don't check type of remuneration;
5249 that variable is no longer defined in constvars.c.
5250 * gdb.base/step-test.c (main): Exit with explicit exit code.
5251 * gdb.base/step-test.exp: Remove two nexti checks--they are
5252 not portable.
5253
52541999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5255
5256 * gdb.base/help.exp ("help delete display"): Fix test to match
5257 gdb's output.
5258
5259 * gdb.base/long_long.c (known_types): Initialize values to zero.
5260 * gdb.base/long_long.exp: Step one more line
5261 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5262 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5263 unique test case names.
5264
5265Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5266
beb998c6 5267 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5268
5269 * gdb.c++/method.exp: Add missing close brace.
5270
52711999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5272
5273 * gdb.base/maint.exp: Use 'set height 0' to disable page
5274 prompting, not 'set height 400'.
5275
5276 Fix a bunch of timeouts.
5277 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5278 four separate tests, so expect doesn't take forever to match a ton
5279 of text against a regexp with lots of .* forms.
5280 ("maint print psymbols", "maint print symbols"): Make some of
5281 these greps more selective, so that expect doesn't try to wade
5282 through huge piles of output and time out.
5283
5284 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5285
5286 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5287 tests: one which doesn't expect shlib events to be reported, and
5288 another which does, but is XFAIL for all platforms other than
5289 HP/UX.
5290
5291 * gdb.base/break.exp: Teach the test suite that the `catch
5292 fork', `catch vfork', and `catch exec' commands produce error
5293 messages on platforms that don't provide these features.
5294
5295Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5296
5297 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5298 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5299 (shortening names from solib_threshold.exp etc), won't run on
5300 anything but HP-UX for the foreseeable future.
5301 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5302 reflect move.
5303
5304Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5305
5306 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5307 gdb.trace/Makefile.in (clean): Remove all test executables.
5308
5309Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5310
5311 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5312 successfully re-sets breakpoints in shared libraries.
5313 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5314
5315Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5316
beb998c6
AC
5317 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5318 and compiled w/o GCC.
c906108c
SS
5319
5320 * gdb.hp/watch-cmd.exp: ditto.
5321
5322 * gdb.hp/watch-hp.exp: ditto.
5323
5324 * gdb.hp/xdb1.exp: ditto.
5325
5326 * gdb.hp/xdb2.exp: ditto.
5327
5328 * gdb.hp/dbx.exp: ditto.
5329
5330Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5331
5332 * constvars.c: Remove C++-isms.
5333 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5334 with GCC.
5335
5336Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5337
5338 The following changes are part of the HP merge.
5339
5340 * gdb.base/break.exp: new tests to verify that catchpoints for
5341 fork, vfork, and exec don't trigger inappropriately.
5342
5343 * gdb.base/opaque.exp: compile one file at a time, then link.
5344
5345 * gdb.base/signals.exp: be more restrictive about which hppa
5346 systems receive a setup_xfail. new tests.
5347
5348 * gdb.base/solib_threshold.build: new file.
5349 * gdb.base/solib_threshold.exp: new file.
5350 * gdb.base/solib_threshold.link_opts: new file.
5351 * gdb.base/solib_threshold.mk: new file.
5352 * gdb.base/gen_solib_threshold.c: new file.
5353
5354 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5355 tests. New tests for enums inside classes.
5356
5357 * gdb.c++/compiler.cc: indicate support of template debugging.
5358
5359 * gdb.c++/demangle.exp: run hp style demangling tests.
5360
5361 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5362 tests.
5363
5364 * gdb.c++/misc.cc: changes to support new tests.
5365
5366 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5367 to support new tests.
5368
5369 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5370 gcc, then skip these tests.
5371
5372Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5373
5374 The following files are part of the HP merge; some had longer
5375 names at HP, but have been renamed to be no more than 14
5376 characters in length.
5377
5378 * gdb.hp/ambiguous.cc: new file.
5379 * gdb.hp/ambiguous.exp: new file.
5380 * gdb.hp/attach.exp: new file.
5381 * gdb.hp/attach2.exp: new file.
5382 * gdb.hp/classes-hp.exp: new file.
5383 * gdb.hp/ctti.exp: new file.
5384 * gdb.hp/ctti-add.cc: new file.
5385 * gdb.hp/ctti-add1.cc: new file.
5386 * gdb.hp/ctti-add2.cc: new file.
5387 * gdb.hp/ctti-add3.cc: new file.
5388 * gdb.hp/dbx.exp: new file.
5389 * gdb.hp/exception.cc: new file.
5390 * gdb.hp/exception.exp: new file.
5391 * gdb.hp/foll-exec.c: new file.
5392 * gdb.hp/foll-exec.exp: new file.
5393 * gdb.hp/foll-fork.c: new file.
5394 * gdb.hp/foll-fork.exp: new file.
5395 * gdb.hp/foll-vfork.c: new file.
5396 * gdb.hp/foll-vfork.exp: new file.
5397 * gdb.hp/inherit-hp.exp: new file.
5398 * gdb.hp/more-steps.exp: new file.
5399 * gdb.hp/namespace.cc: new file.
5400 * gdb.hp/namespace.exp: new file.
5401 * gdb.hp/optimize.exp: new file.
5402 * gdb.hp/pxdb.c: new file.
5403 * gdb.hp/pxdb.exp: new file.
5404 * gdb.hp/quicksort.exp: new file.
5405 * gdb.hp/reg-test.exp: new file.
5406 * gdb.hp/reg-test.s: new file.
5407 * gdb.hp/sized-enum.c: new file.
5408 * gdb.hp/sized-enum.exp: new file.
5409 * gdb.hp/start-stop.exp: new file.
5410 * gdb.hp/templ-hp.cc: new file.
5411 * gdb.hp/templ-hp.exp: new file.
5412 * gdb.hp/thr-lib.c: new file.
5413 * gdb.hp/thr-lib.exp: new file.
5414 * gdb.hp/thr-lib.h: new file.
5415 * gdb.hp/thr-liblib.c: new file.
5416 * gdb.hp/virtfun-hp.c: new file.
5417 * gdb.hp/virtfun-hp.exp: new file.
5418 * gdb.hp/watch-cmd.exp: new file.
5419 * gdb.hp/watch-hp.exp: new file.
5420 * gdb.hp/xdb1.exp: new file.
5421 * gdb.hp/xdb2.exp: new file.
5422 * gdb.hp/xdb3.exp: new file.
5423
5424Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5425
5426 The following files are part of the HP merge; some had longer
5427 names at HP, but have been renamed to be no more than 14
5428 characters in length.
5429
5430 * gdb.base/ss.h: new file.
5431 * gdb.base/call-ar-st.c: new file.
5432 * gdb.base/call-ar-st.exp: new file.
5433 * gdb.base/call-rt-st.c: new file.
5434 * gdb.base/call-rt-st-exp: new file.
5435 * gdb.base/call-strs.exp: new file.
5436 * gdb.base/ena-dis-br.exp: new file.
5437 * gdb.base/environ.exp: new file.
5438 * gdb.base/long_long.exp: new file.
5439 * gdb.base/sect-cmd.exp: new file.
5440 * gdb.base/shlib-cl2.exp: new file.
5441 * gdb.base/smoke.exp: new file.
5442 * gdb.base/so-impl-ld.c: new file.
5443 * gdb.base/so-impl-ld.exp: new file.
5444 * gdb.base/so-indr-cl.c: new file.
5445 * gdb.base/so-indr-cl.exp: new file.
5446 * gdb.base/varargs.exp: new file.
5447 * gdb.base/volatile.exp: new file.
5448 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5449 * gdb.base/display.exp: new file.
c906108c
SS
5450 * gdb.c++/derivation.exp: new file.
5451 * gdb.c++/local.exp: new file.
5452 * gdb.c++/member-ptr.exp: new file.
5453 * gdb.c++/overload.exp: new file.
5454 * gdb.c++/ovldbreak.exp: new file.
5455 * gdb.c++/ref-types.exp: new file.
5456 * gdb.c++/ref-types2.exp: new file.
5457 * gdb.c++/userdef.exp: new file.
beb998c6 5458
c906108c
SS
5459Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5460
5461 * gdb.base/default.exp: Reflect wording change in remote.c.
5462
dc96c6c7 5463Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5464
5465 * gdb.base/help.exp: Update to reflect current text.
5466
5467Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5468
5469 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5470 they're stack variables and contain garbage.
5471 * gdb.c++/anon-union.exp: new file.
5472
5473 The following changes were made by David Taylor
5474 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5475 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5476 in changes by HP.
5477
5478 * gdb.base/bitops.exp: new file.
5479 * gdb.base/default.exp: change expected messages for catch and
5480 info catch tests to reflect HP merge changes.
5481 * gdb.base/enable-disable-break.exp
5482 * gdb.base/ending-run.c: new file.
5483 * gdb.base/long_long.c: new file.
5484 * gdb.base/maint.exp: new file.
5485 * gdb.base/pointers2.exp: new file.
5486 * gdb.base/shlib-call2.exp: new file.
5487 * gdb.base/solib.exp: new file.
5488 * gdb.base/step-test.c: new file.
5489 * gdb.c++/anon-union.cc: new file.
5490 * gdb.c++/local.cc: new file.
5491 * gdb.c++/member-pointer.cc: new file.
5492 * gdb.c++/method.cc: new file.
5493 * gdb.c++/ref-types.cc: new file.
5494 * gdb.c++/ref-types2.cc: new file.
5495 * gdb.c++/userdef.cc: new file.
beb998c6 5496
c906108c
SS
5497 * gdb.base/scope.exp: compile one file at a time, then link.
5498 * gdb.base/langs.exp: ditto.
5499 * gdb.base/list.exp: ditto.
beb998c6 5500
c906108c
SS
5501Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5502
5503 The following changes were made by David Taylor
5504 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5505 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5506 in changes by HP.
beb998c6 5507
c906108c
SS
5508 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5509 skip tests. When compiling pass c++ flag to gdb_compile.
5510 * gdb.c++/
beb998c6 5511
c906108c
SS
5512 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5513 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5514 (skip_hp_tests): new function.
5515 (gdb_preprocess): new function.
5516
5517 * configure.in (hpdir): decide whether to configure gdb.hp.
5518 * configure: regenerated.
5519
5520 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5521 to delete on clean.
5522 (EXECUTABLES): update to reflect new additions.
5523 * gdb.base/commands.exp: update message expected.
5524 * gdb.base/default.exp: add copyright notice.
5525 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5526 * gdb.base/help.exp: update messages to reflect current text.
5527 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5528 targets for recurse tests.
5529 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5530 skip this file.
5531
5532 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5533 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5534 compilation.
5535 * gdb.c++/misc.exp: ditto.
5536 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5537 run the tests. tell gdb_compile that it's a c++ compilation.
5538
5539 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5540
c906108c
SS
5541 * gdb.base/all-bin.exp: new file.
5542 * gdb.base/arithmet.exp: new file.
5543 * gdb.base/assign.exp: new file.
5544 * gdb.base/completion.exp: new file.
5545 * gdb.base/cond-expr.exp: new file.
5546 * gdb.base/condbreak.exp: new file.
5547 * gdb.base/define.exp: new file.
5548 * gdb.base/dollar.exp: new file.
5549 * gdb.base/environment.exp: new file.
5550 * gdb.base/eval-skip.exp: new file.
5551 * gdb.base/jump.exp: new file.
5552 * gdb.base/logical.exp: new file.
5553 * gdb.base/pointers.exp: new file.
5554 * gdb.base/relational.exp: new file.
5555 * gdb.base/section_command.exp: new file.
5556 * gdb.base/whatis-expr.exp: new file.
5557
5558 * gdb.base/all-types.c: new file.
5559 * gdb.base/call-array-struct.c: new file.
5560 * gdb.base/call-return-struct.c: new file.
5561 * gdb.base/call-strings.c: new file.
5562 * gdb.base/callfuncs2.c: new file.
5563 * gdb.base/condbreak.c: new file.
5564 * gdb.base/constvars.c: new file.
5565 * gdb.base/display.c: new file.
5566 * gdb.base/int-type.c: new file.
5567 * gdb.base/jump.c: new file.
5568 * gdb.base/miscexprs.c: new file.
5569 * gdb.base/pointers.c: new file.
5570 * gdb.base/pointers2.c: new file.
5571 * gdb.base/shmain.c: new file.
5572 * gdb.base/shr1.c: new file.
5573 * gdb.base/shr2.c: new file.
5574 * gdb.base/solib.c: new file.
5575 * gdb.base/solib1.c: new file.
5576 * gdb.base/solib2.c: new file.
5577 * gdb.base/varargs.c: new file.
5578 * gdb.c++/derivation.cc: new file.
5579 * gdb.c++/overload.cc: new file.
5580 * gdb.c++/ovldbreak.cc: new file.
5581 * gdb.hp/attach.c: new file.
5582 * gdb.hp/attach2.c: new file.
5583 * gdb.hp/average.c: new file.
5584 * gdb.hp/compiler.c: new file.
5585 * gdb.hp/compiler.cc: new file.
5586 * gdb.hp/execd-program.c: new file.
5587 * gdb.hp/follow-exec.c: new file.
5588 * gdb.hp/follow-fork.c: new file.
5589 * gdb.hp/follow-vfork-and-exec.c: new file.
5590 * gdb.hp/misc-hp.cc: new file.
5591 * gdb.hp/more-steps.c: new file.
5592 * gdb.hp/optimize.c: new file.
5593 * gdb.hp/quicksort.c: new file.
5594 * gdb.hp/run-hp.c: new file.
5595 * gdb.hp/start-stop.c: new file.
5596 * gdb.hp/sum.c: new file.
5597 * gdb.hp/templates-hp.cc: new file.
5598 * gdb.hp/thread-local-in-lib.c: new file.
5599 * gdb.hp/thread-local-in-lib.h: new file.
5600 * gdb.hp/thread-local-in-lib.lib.c: new file.
5601 * gdb.hp/vforked-program.c: new file.
5602 * gdb.hp/virtfunc-hp.cc: new file.
5603 * gdb.hp/watchpoint-hp.c: new file.
5604 * gdb.hp/xdb.c: new file.
5605 * gdb.hp/xdb0.c: new file.
5606 * gdb.hp/xdb0.h: new file.
5607 * gdb.hp/xdb1.c: new file.
5608
5609Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5610
5611 The following change was made by Edith Epstein
5612 <eepstein@cygnus.com> as part of a project to merge in changes
5613 originally made by HP; HP did not create ChangeLog entries.
5614
5615 * gdb.c++/demangle.exp: changed the expected output for some
5616 ARM-style mangling -- removed second reference to datatype.
5617 For example, maint demangle __dt__11T1__pt__2_cFv
5618 T1<char>::~T1<char>(void)
5619 becomes,
5620 maint demangle __dt__11T1__pt__2_cFv
5621 T1<char>::~T1(void)
5622
5623 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5624
c906108c
SS
5625Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5626
5627 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5628 * gdb.trace/backtrace.exp: Likewise.
5629 * gdb.trace/circ.exp: Likewise.
5630 * gdb.trace/collection.exp: Likewise.
5631 * gdb.trace/deltrace.exp: Likewise.
5632 * gdb.trace/infotrace.exp: Likewise.
5633 * gdb.trace/limits.exp: Likewise.
5634 * gdb.trace/packetlen.exp: Likewise.
5635 * gdb.trace/passc-dyn.exp: Likewise.
5636 * gdb.trace/passcount.exp: Likewise.
5637 * gdb.trace/report.exp: Likewise.
5638 * gdb.trace/save-trace.exp: Likewise.
5639 * gdb.trace/tfind.exp: Likewise.
5640 * gdb.trace/tracecmd.exp: Likewise.
5641 * gdb.trace/while-dyn.exp: Likewise.
5642 * gdb.trace/while-stepping.exp: Likewise.
5643
56441998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5645
5646 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5647
5648Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5649
5650 From Brendan Kehoe:
5651 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5652 int return types.
5653
5654Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5655
5656 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5657 remote dos host testing right.
5658
5659Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5660
5661 * gdb.base/corefile.exp: remove some xfails.
5662
5663Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5664
5665 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5666 have different timestamps.
5667
5668Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5669
5670 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5671 gdb.base/default.exp: Replace "exec" with "executable".
5672
5673Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5674
5675 * gdb.base/default.exp: Change else if to elseif from previous
5676 delta.
5677
5678Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5679
5680 * gdb.base/default.exp: Add brace missing from previous delta.
5681
5682Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5683
5684 * gdb.base/default.exp: Support test for info float for all
5685 varieties of arm toolchain.
5686
dc96c6c7 5687Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5688
5689 * gdb.trace/*.exp: remove "remote_download" command.
5690
dc96c6c7 5691Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5692
5693 * gdb.trace/*.exp: remove -gdwarf from compile.
5694
5695Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5696
5697 * gdb.trace/configure.in(AC_INIT): typo
5698 * gdb.trace/configure: regenerated
5699
dc96c6c7 5700Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5701
5702 * config/m68k-emc.exp: New file.
5703 * lib/<emc-support.exp trace-support.exp}: New files.
5704 * configure.in: add new test directory gdb.trace.
5705 * gdb.trace/{configure configure.in Makefile.in}: New files.
5706 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5707 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5708 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5709 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5710 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5711 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5712 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5713
dc96c6c7 5714Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5715
5716 * gdb.c++/classes.exp: Change all regular expressions to match
5717 arbitrary combinations of newline/carriage-return, so that they
5718 will work equally well on Unix and Windows.
5719 * gdb.c++/inherit.exp: ditto.
5720 * gdb.c++/virtfunc.exp: ditto.
5721
57221998-08-11 Dawn Perchik <dawn@cygnus.com>
5723
5724 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5725
c2d11a7d
JM
5726Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5727
5728 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5729 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5730 to use a0-a3/d0-d3 as needed.
5731
5732Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5733
5734 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5735 * gdb.disasm/am33.exp: Corresponding changes.
5736
c906108c
SS
57371998-07-11 Felix Lee <flee@cygnus.com>
5738
5739 * gdb.base/callfuncs.exp: add cmp10 test.
5740 * gdb.base/callfuncs.c (cmp10): new function.
5741
5742Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5743
beb998c6 5744 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5745 into two parts to get around a synchronization problem in expect.
5746
3fc11d3e
JM
5747Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5748
5749 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5750
5751 * configure.in: Add options for gdbtk testsuite.
5752
5753 * configure: Regenerate.
5754
5755 * gdb.gdbtk: New directory to hold gdbtk tests.
5756
c906108c
SS
5757Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5758
5759 * gdb.fortran/types.exp: Escape brackets in expect patterns
5760 for test_float_literal_types_accepted tests.
5761 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5762 before run test.
5763
c2d11a7d
JM
5764Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5765
5766 * am33.exp: Just compile, do not link the testcase.
5767 * am33.s: Add ".am33" pseudoop to force am33 mode.
5768
c906108c
SS
57691998-06-25 Felix Lee <flee@cygnus.com>
5770
5771 * gdb.base/setshow.exp: make sure $pc is sane.
5772
5773 * gdb.stabs/weird.exp: split expect patterns properly.
5774
c2d11a7d
JM
5775Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5776
5777 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5778 * gdb.disasm/am33.exp: Run it.
5779
dc96c6c7 5780Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5781
5782 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5783 match processing (and eliminate spurious timeouts when running).
5784
dc96c6c7 5785Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5786
5787 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5788 exception test, but conditionalize it on target [mach | gnu].
5789
dc96c6c7 5790Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5791
5792 * gdb.base/overlays.exp: fixup compile line for linker script.
5793
5794Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5795
5796 * gdb.fortran/types.exp: don't guess at float size.
5797
5798Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5799
5800 * gdb.base/exprs.exp: delete test that depends on int size.
5801
5802Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5803
5804 * config/sim.exp: Removed checks for target triplets.
5805 (gdb_target_sim): Use gdb,target_sim_options.
5806
5807Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5808
5809 * gdb.base/reread.exp: New file.
5810 * gdb.base/reread1.c: New file.
5811 * gdb.base/reread2.c: New file.
5812
5813Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5814
5815 * config/sim.exp: Use 'target sim -sparclite' when running
5816 SPARClite programs.
5817
5818Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5819
5820 * gdb.base/structs2.exp: New file.
5821 * gdb.base/structs2.c: New file.
5822
5823Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5824
5825 * gdb.asm/common.inc: New file.
5826 * gdb.asm/d10v.inc: New file.
5827 * asm-source.exp: Pass -I's to gas to find .inc files.
5828 Update line numbers in expected output.
5829 * asmsrc1.s: Rewrite.
5830 * asmsrc2.s: Rewrite.
5831 * configure.in: Create arch.inc symlink.
5832 * configure: Regenerate.
5833 * Makefile.in (distclean): Delete arch.inc.
5834
5835Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5836
5837 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5838 (t_enum_value2): ditto
5839 (t_enum_value3): ditto
5840 (main): ditto
5841Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5842
5843 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5844 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5845 change.
5846 Use gdb_test instead of send_gdb/gdb_expect sequences.
5847
5848Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5849
5850 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5851 not void.
5852
5853Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5854
5855 * gdb.base/branches.c: Code with lots of loops and
5856 subroutines. Used to test gdbs ability to single step through PC
5857 changes, especially to test mips-tdep.c:mips_next_pc
5858
5859Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5860
5861 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5862 more rigorous EGCS C++ error checking.
5863
5864Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5865
5866 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5867 tests.
c906108c 5868 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5869 function when asleep.
c906108c 5870 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5871 for i*86 Linux and SVR4 signal handling problems.
5872 Remove linux xfail for `next to handler in signals_tests_1', fixed
5873 by recent infrun.c change.
c906108c 5874 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5875 stack backtraces.
c906108c
SS
5876 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5877 target.[ch] change.
5878
5879Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5880
5881 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5882 for a newline from gdb before continuing.
5883 (default_gdb_exit): Just look for y or n.
5884 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5885 it does, fail the rests of the tests in the file.
5886
5887Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5888
5889 * config/cygmon.exp: New file.
5890
5891Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5892
5893 * gdb.base/list.exp: Fix problem with "list default lines around
5894 main" test on remote targets.
5895
5896 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5897 run test on remote targets.
5898
5899Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5900
5901 * gdb.asm: New directory.
5902 * configure.in: Configure it.
5903 * configure: Regenerate.
5904 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5905 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5906
5907Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5908
5909 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5910
dc96c6c7 5911Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5912
c906108c
SS
5913 * gdb.base/overlays (several files): Merge the two overlay
5914 managers into one. Change variables (foox, barx, bazx, grbxx)
5915 back into ints but force them to load in their proper sections.
5916
5917Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5918
5919 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5920 on-chip insn memory and IMAP1 to upper 128k.
5921 (D10VCopy): Handle memory regions crossing 16k boundaries.
5922 (D10VCopy): Transfer data in 32 bit chunks.
5923
5924Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5925
5926 * gdb.base/overlays.c (main): Exit normally when result is
5927 correct.
5928
5929 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5930 map. Include space for printf in .text segment.
5931
5932 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5933 updated d10v memory VMA/LMA map.
5934 (D10VCopy): Call D10VTranslate.
beb998c6 5935
c906108c
SS
5936Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5937
5938 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5939
5940 * gdb.base/bar.c (barx, bar): Change variable to small array so
5941 that it won't be put into the .sdata - small data -
5942 section. Update reference.
5943 * gdb.base/baz.c (bazx, baz): Ditto.
5944 * gdb.base/foo.c (foox, foo): Ditto.
5945 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5946
5947 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5948 to be arrays.
beb998c6 5949
dc96c6c7 5950Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5951
c906108c
SS
5952 * gdb.base/overlays.exp: fix up and get working again.
5953 Add tests for backtraces from an overlay function.
beb998c6 5954
c906108c
SS
5955Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5956
5957 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5958 "calling function with watchpoint enabled".
5959
5960Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5961
5962 * gdb.base/break.exp (test_next_with_recursion): Remove
5963 gdb_suppress_tests for d10v-*-*.
5964 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5965 pending review of whether it is useful or not.
5966
5967Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5968
5969 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5970
5971Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5972
5973 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5974 * config/dve.exp: New file to support Densan boards.
5975
5976Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5977
5978 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5979 reads and BSD.
5980
5981Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5982
5983 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5984 response.
5985
5986 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5987
5988Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5989
5990 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5991 test.
5992
5993 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5994 target_sizeof_long and target_bigendian_p.
5995 (structs_by_value, structs_by_reference): Check values according
5996 to targets word size and endianess.
beb998c6 5997
c906108c
SS
5998Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5999
6000 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6001 output.
6002
6003Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6004
6005 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6006 Update test of set args help to match source change.
6007
6008Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6009
6010 * gdb.base/default.exp: Expect help system output to be in
6011 alphabetical order.
6012 * gdb.base/help.exp: Ditto.
6013
6014Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6015
6016 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6017 "i*86-pc-linux-gnu*".
6018 * gdb.base/interrupt.exp: Ditto.
6019 * gdb.base/corefile.exp: Ditto.
6020
6021 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6022 define vxworks when building the testcase.
6023
6024 * gdb.base/ptype.exp: Fix testnames to be unique.
6025 * gdb.base/radix.exp: Ditto.
6026 * gdb.base/term.exp: Ditto.
6027 * gdb.base/whatis.exp: Ditto.
6028 * gdb.c++/classes.exp: Ditto.
6029
6030Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6031
6032 * gdb.base/callfuncs.exp: Fix indentation.
6033
6034 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6035 suppress_flag has been set.
6036 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6037 target feature.
6038
6039Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6040
6041 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6042 the testcase.
6043
6044 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6045 set_debug_traps() and breakpoint().
6046 * gdb.c++/misc.cc (main): Ditto.
6047 * gdb.c++/templates.cc (main): Ditto.
6048 * gdb.c++/virtfunc.cc (main): Ditto.
6049
6050Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6051
6052 * lib/gdb.exp(gdb_step_for_stub): New function.
6053 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6054 exists, reload the executable and do a "continue" instead of
6055 doing a jump.
6056 (runto_main): Use gdb_step_for_stub.
beb998c6 6057
c906108c
SS
6058 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6059 tests to have unique names.
6060 * gdb.base/callfuncs.exp: Ditto.
6061 * gdb.base/commands.exp: Ditto.
6062 * gdb.base/default.exp: Ditto.
6063 * gdb.base/help.exp: Ditto.
6064 * gdb.base/list.exp: Ditto.
6065 * gdb.base/opaque.exp: Ditto.
6066 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6067 similar tests.
beb998c6 6068
c906108c
SS
6069 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6070 * gdb.c++/cplusfuncs.cc: Ditto.
6071 * gdb.c++/virtfunc.cc: Ditto.
6072
6073 * config/monitor.exp: Keep track of the last file we saw, rather
6074 than trying to get the info from gdb.
6075
6076 * gdb.fortran/types.exp: Move comment to previous line.
6077
6078Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6079
6080 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6081 target mode.
6082
6083Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6084
6085 From Bob Manson:
6086 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6087 string from GDB when it connects.
6088
6089 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6090
6091Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6092
6093 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6094 if we can't get a debug format from GDB (we may be testing an
6095 older GDB). Use a 10 second timeout when checking for the format.
6096
6097 * gdb.stabs/weird.exp: Fix quoting.
6098
6099 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6100
6101Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6102
6103 * config/arm-ice.exp: New file.
6104
6105Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6106
6107 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6108 until it has been modified to work with the new testsuite.
6109
99707966 6110 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6111 testcase won't compile, cause all of the testcases in the file to
6112 fail instead.
6113
6114 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6115 (gdb_clear_suppressed): New procedure.
6116 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6117 it contains a positive value.
6118
6119Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6120
6121 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6122
6123 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6124
6125Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6126
6127 * lib/gdb.exp (setup_xfail_format): New function.
6128 (get_debug_format): New function to get debug format.
6129 (debug_format): New global variable to hold last value set
6130 by get_debug_format.
6131 * gdb.base/list.exp: Call get_debug_format and expect some
6132 tests to fail for DWARF 1 and COFF formats.
6133 * gdb.c++/ptype.exp: Ditto.
6134 * gdb.c++/classes.exp: Ditto.
6135 * gdb.c++/cplusfuncs.exp: Ditto.
6136 * gdb.c++/inherit.exp: Ditto.
6137 * gdb.c++/templates.exp: Ditto.
6138 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6139
c906108c
SS
6140Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6141
6142 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6143 host doesn't have a currently-open connection.
6144
6145 * config/sparclet.exp: Cleanups and fixes to make it generic for
6146 any gdb stub target. Handle cases where gdb doesn't respond when
6147 interrupted in a sane fashion.
6148
6149 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6150 same thing in a totally different way.
6151
6152 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6153 setting "timeout".
6154 (gdb_start): We set the global gdb_prompt variable in
6155 default_gdb_init now.
6156
6157Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6158
6159 * gdb.base/printcmds.exp: Fix "check for floating addition"
6160 regexp to accept results within approx +/- .01 of exact value.
6161 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6162
6163Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6164
6165 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6166 properly.
6167 (gdb_expect): Add optional timeout parameter, and add timeout
6168 value to various calls.
6169 (gdb_suppress_tests): Only give one warning message per group.
6170
6171Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6172
6173 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6174 global variables. Handle getting a value for $timeout more
6175 gracefully.
6176
6177Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6178
6179 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6180 initialize.
6181 (default_gdb_init): New procedure; allow gdb_init to be overridden
6182 by a target configuration file.
6183 (gdb_expect): Pass the timeout to remote_expect.
6184
6185 * config/monitor.exp(gdb_load): Fix typo in regexp.
6186
6187Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6188
6189 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6190
6191Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6192
6193 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6194 here. Call gdb_target_exec before rebooting the target, to make
6195 sure the connection to the target is closed.
6196 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6197 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6198 Also detect "Timeout reading from remote" error.
6199
6200 * config/gdbserver.exp: Pass the executable being loaded to
6201 gdb_target_monitor. Don't call gdb_file_cmd here; let
6202 gdb_target_monitor do it.
6203
6204 * gdb.disasm/hppa.exp: Don't use exec_output.
6205
6206Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6207
6208 * gdb.base/list.exp: If we're debugging a non-native target,
6209 try to set the pc register to point to the start of the
6210 program before doing the first list command.
6211
6212 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6213 test_calls after restarting.
6214
6215 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6216 reloading.
6217
6218 * gdb.base/watchpoint.exp: Fix typo.
6219
6220 * gdb.base/setshow.exp: Check for use_gdb_stub.
6221
6222 * gdb.base/break.exp: Fix continue until exit test for the gdb
6223 stub case.
6224 * gdb.base/langs.exp: Ditto.
6225
6226 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6227 gdb_load_offset. If we weren't given a file to load, figure out
6228 what the current file is and use it.
6229
6230 * config/i386-bozo.exp: New file.
6231
6232Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6233
6234 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6235 feature.
6236
6237 * config/proelf.exp: New entry.
6238
6239Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6240
6241 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6242 of regexps.
6243
6244 * gdb.base/watchpoint.exp: Don't run the test_stepping
6245 tests if gdb can't call functions on the target.
6246
6247 * gdb.base/setshow.exp: Don't run the set prompt tests if
6248 the board has gdb_prompt set.
6249
6250Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6251
6252 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6253 * gdb.base/commands.exp: Likewise.
6254 * gdb.base/setshow.exp: Likewise.
6255
6256Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6257
6258 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6259 feature.
6260
6261 * config/i960.exp: New file.
6262
6263Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6264
6265 * gdb.base/funcargs.exp: Check for gdb,short_int target
6266 feature instead of looking for explicit target triplets.
6267
dc96c6c7 6268Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6269
beb998c6 6270 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6271 "p 123DEADBEEF", to check parse_number.
6272 * top.c: change "to enable to enable" to "to enable" in a couple
6273 of help strings.
6274
6275Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6276
6277 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6278 on the mn10300.
beb998c6 6279
c906108c
SS
6280Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6281
6282 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6283 where the test executable is run with explicit args.
6284 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6285
6286Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6287
6288 * gdb.base/run.c: Use FAKEARGV to build test executable that
6289 does not require a command line arg, since most simulators
6290 don't currently support passing such an arg into the simulated
6291 program.
6292 * gdb.base/commands.exp: Change tests to insert the proper
6293 value as the arg to the first recursive factorial call. Change
6294 compilation line to define FAKEARGV at compile time.
6295
6296Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6297
6298 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6299 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6300 function with watchpoint enabled" test.
6301
6302Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6303
6304 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6305 Don't call gdb_test when the command doesn't return to a gdb prompt.
6306
6307 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6308 "Tests restarted" messages.
6309
6310Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6311
6312 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6313
dc96c6c7 6314Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6315
6316 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6317 for INFO SYMBOL; add help tests for OVERLAY commands.
6318 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6319 add tests for OVERLAY commands
6320 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6321 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6322 * gdb.base/sigall.c: add usestubs code frag
6323 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6324
c906108c
SS
6325Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6326
6327 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6328 failures.
6329 (gdb_stop_suppressing_tests): Note that tests have restarted.
6330
6331Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6332
6333 * config/h8300.exp: New file.
6334
6335Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6336
6337 * gdb.base/setshow.exp: Check for the existence of a
6338 feature, not its value.
6339
6340Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6341
6342 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6343
6344 * gdb.base/scope.exp: It's now init0(), not init().
6345
6346 * gdb.base/scope0.c: For now, change init() to be init0().
6347
6348 * config/monitor.exp: Use gdb_serial in preference to serial
6349 or netport.
6350
6351 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6352 and it's not already set.
6353
6354Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6355
6356 * gdb.base/setshow.exp: Only test the run command if the target
6357 isn't using a stub and if it supports argument passing.
6358
6359Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6360
6361 * config/udi.exp(gdb_start): Make sure UDICONF is set
6362 properly before starting gdb.
6363
6364Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6365
6366 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6367 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6368 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6369
6370Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6371
6372 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6373 specialized code to reboot the board, use remote_reboot instead.
6374
6375 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6376
6377 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6378
6379 * config/monitor.exp: Make sure we disconnect from the target.
6380 Also, try a reboot/reload cycle instead of failing if the
6381 load fails.
6382
6383Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6384
6385 * gdb.base/default.exp: Don't set match_max.
6386 * gdb.base/help.exp: Ditto.
6387 * gdb.base/list.exp: Ditto.
6388 * gdb.base/signals.exp: Ditto.
6389
6390 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6391 set, use remote_ld to download the testcase instead of
6392 the GDB loader.
6393
6394Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6395
6396 * config/vr5000.exp: New file.
6397
6398 * config/monitor.exp(gdb_target_monitor): Add pattern for
6399 "Ending remote" to detect errors in connecting.
6400
6401 * gdb.base/setshow.exp: Add .* within auto language test.
6402
6403 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6404 target feature.
6405
6406 * config/monitor.exp(gdb_load): Check for a failure when loading,
6407 and reboot the board if necessary.
6408
6409 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6410 a set of tests. Remove print.* from the patterns being checked.
6411
6412Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6413
6414 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6415 refer to gdb_spawn_id.
6416
6417 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6418 longer used.
6419 * config/sparclet.exp: Ditto.
6420 * config/sparclet-old.exp: Ditto.
6421 * config/slite.exp: Ditto.
6422 * config/sim.exp: Ditto.
6423 * gdb.base/funcargs.exp: Ditto.
6424
6425 * lib/gdb.exp:Remove references to gdb_spawn_id.
6426 (gdb_expect): Move to remote.exp.
6427
6428Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6429
6430 * config/monitor.exp: Detect the "Couldn't establish connection"
6431 message from GDB.
6432
6433Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6434
6435 * gdb.base/bitfields.exp: Use runto instead of explicit
6436 gdb_run_cmd/gdb_expect sequences.
6437
6438 * gdb.base/break.exp(text_next_with_recursion): Add match for
6439 gdb_expect call.
6440
6441 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6442 We also need to handle the "A program is being debugged already"
6443 prompt from gdb. Use gdb_test to set the baud rate.
6444
6445 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6446 to 20000. Really. I mean it.
6447
6448Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6449
6450 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6451 fails. If suppress_flag is set, skip perror message about not
6452 being able to send to GDB.
6453 (send_gdb): If suppress_flag is set, don't try to send commands to
6454 GDB.
6455 (gdb_expect): If suppress_flag is set, always fail immediately.
6456 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6457 (gdb_init): Call gdb_stop_suppressing_tests.
6458 (default_gdb_exit): Ditto.
6459 (default_gdb_start): Ditto.
6460
6461 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6462 gdb_stop_suppressing_tests as appropriate.
6463 * gdb.base/break.exp: Ditto.
6464 * gdb.base/callfuncs.exp: Ditto.
6465 * gdb.base/commands.exp: Ditto.
6466 * gdb.base/exprs.exp: Ditto.
6467 * gdb.base/funcargs.exp: Ditto.
6468 * gdb.base/list.exp: Ditto.
6469 * gdb.base/recurse.exp: Ditto.
6470 * gdb.base/scope.exp: Ditto.
6471 * gdb.base/structs.exp: Ditto.
6472 * gdb.c++/inherit.exp: Ditto.
6473
6474Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6475
6476 * config/vr4300.exp: New file.
6477
99707966
MC
6478 * gdb.*/*.exp: Call gdb_expect instead of expect.
6479
6480 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6481
6482Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6483
6484 * lib/gdb.exp(gdb_init): New function.
6485
6486 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6487 for each individual variable set.
6488
6489 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6490 name.
6491
6492 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6493
6494 * gdb.base/scope.exp: Use gdb_test.
6495
6496 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6497 aborting; the testsuite driver will do that for us (see
6498 gdb_finish). Also, use gdb_test in a few more places.
6499
6500Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6501
6502 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6503
6504Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6505
6506 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6507 and "add_tests" are not at the same address.
6508
6509Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6510
6511 * gdb.base/ptype.exp: Use gdb_test.
6512
6513Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6514
6515 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6516 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6517 left in. No longer expect them to fail.
6518
6519 * gdb.stabs/*.mt; Deleted, no longer used.
6520 * gdb.stabs/configure.in: Remove references to target makefile
6521 frags.
6522 * gdb.stabs/configure: Rebuilt.
6523
6524 * gdb.disasm/*.mt: Deleted, no longer used.
6525 * gdb.disasm/configure.in: Remove references to target makefile
6526 frags. Use "sh3.s" as the unique filename for this directory.
6527 * gdb.disasm/configure: Rebuilt.
6528
6529 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6530 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6531 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6532
6533Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6534
6535 * config/udi.exp: Use mondfe,name instead of remote_host.
6536
6537Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6538
6539 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6540 a function with a watchpoint enabled on the mn10200.
6541
6542 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6543 before trying to create it!
6544
6545Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6546
6547 * config/vx.exp: Use hostname instead of netport.
6548
6549 * config/vxworks.exp: New file.
6550
6551 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6552
6553 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6554 gdb before assuming everything worked. Send a ^C if a timeout
6555 occurs.
6556
6557 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6558 $gdb_spawn_id directly.
6559 (gdb_run_cmd): Try _start as well as start. Use the target feature
6560 gdb,start_symbol as the symbol to start from when jumping.
6561
6562Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6563
6564 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6565 redundant) test.
6566
6567 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6568 it doesn't lose for 16bit integer systems.
6569
6570Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6571
6572 * gdb.fortran/types.exp: If the target doesn't support "double"
6573 data types, then expect "real" types to only be 4 bytes.
6574
6575 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6576 call tests if the target doesn't support inferior function calls.
6577
6578 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6579 in printf tests.
6580
6581Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6582
6583 * gdb.base/help.exp: Disable "help set", "help show", and
6584 "help support". Simplify regexp for "help stack".
6585
6586 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6587 to 60 seconds. Temporarily set match_max to 15000 around the
6588 "info copying" test.
6589
6590 * gdb.base/nodebug.exp: Don't try to do an inferior function
6591 call if the target doesn't support them.
6592 * gdb.base/printcmds.exp: Likewise.
6593 * gdb.base/setvar.exp: Likewise.
6594 * gdb.base/structs.exp: Likewise.
6595 * gdb.c++/templates.exp: Likewise.
6596 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6597
6598 * gdb.base/recurse.exp: Enable for the mn10200.
6599
6600 * configure.in: Do configure gdb.stabs directory for *-*-elf
6601 targets.
6602 * configure: Rebuilt.
6603
6604 * gdb.base/break.exp: Check for gdb,noresults before testing
6605 exit status and/or results from the target.
6606 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6607 * lib/gdb.exp: Remove old (now bogus) initialization of
6608 noinferior, noargs, noresults and nosignals.
6609
6610Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6611
6612 * config/sh.exp: New file.
6613
6614 * config/slite.exp: Try to connect multiple times to the board
6615 before rebooting. Only send a "monitor run" if need_monitor_run
6616 is set.
6617
6618 * gdb.base/break.exp: Don't do the "stub continue" test if
6619 the target has gdb_stub set.
6620
6621 * gdb.base/callfuncs.exp: Increase the timeout.
6622
6623 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6624 if the target has gdb,noinferiorio set.
6625
6626 * gdb.base/list.exp: Increase match_max to 10000 characters.
6627
6628 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6629
6630 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6631 target.
6632
6633 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6634
6635Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6636
6637 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6638 trying to delete the copy of gdb. Catch the file delete so we
6639 don't die if the delete fails; also, the file should be copied to
6640 the host, not to the build.
6641
6642Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6643
6644 * lib/gdb.exp(gdb_test): Surround the result pattern with
6645 parenthesis in case it contains multiple regexps separated
6646 with |.
6647
6648 * gdb.base/watchpoint.exp: Use gdb_test.
6649 * gdb.base/default.exp: Ditto.
6650
6651Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6652
99707966 6653 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6654
c906108c
SS
6655 * gdb.base/scope.exp: Use gdb_test.
6656 * gdb.c++/classes.exp: Ditto.
6657 * gdb.c++/inherit.exp: Ditto.
6658
6659Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6660
6661 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6662 remote_exec instead.
6663 * gdb.base/corefile.exp: Don't be ridiculous.
6664 * gdb.base/*.c: Add missing stub invocations.
6665
6666Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6667
6668 * config/slite.exp: Miscellaneous fixes.
6669
6670 * lib/gdb.exp: Fix runto.
6671
6672 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6673 the target.
6674
6675 * gdb.base/watchpoint.exp: Fix regexp.
6676
6677 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6678 close and wait commands, as the descriptor may now be
6679 invalid. Always call "remote_close host".
6680
6681Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6682
6683 Major rewrite for testsuite revision.
beb998c6 6684
c906108c
SS
6685 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6686 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6687 instead of relying on spawn_id to always contain a valid
6688 spawn id.
6689 (get_compiler_info): New procedure to build the ${binfile}.ci
6690 file, instead of replicating this in N different places.
6691 (gdb_compile): New procedure.
beb998c6 6692
c906108c
SS
6693 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6694 appropriate arguments) instead of compile. Use gdb_test in a lot
6695 more places. Use send_gdb instead of send. Always run gdb_start
6696 at the start of a testcase, as this is no longer done magically.
6697
6698 config/*-gdb.exp: Rename without the -gdb suffix.
6699
6700 config/mips.exp: Use remote_close instead of exit_remote_shell.
6701 config/monitor.exp: Use target_info instead of looking at
6702 baud, timeout, etc.
6703 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6704
6705Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6706
6707 * gdb.c++/templates.exp (test_ptype_of_templates),
6708 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6709 Update expect patterns for destructors and assignment operators
6710 to match corresponding c-typeprint.c changes.
6711 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6712 to destructor breakpoint test, GDB should be able to set the
6713 destructor breakpoint without specifying arguments.
6714
6715Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6716
6717 * gdb.threads/pthreads.exp: Change result for failure to compile due
6718 to lack of pthreads runtime support from an error to simply an
6719 unsupported test, per dejagnu standards.
6720
6721Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6722
6723 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6724 where GDB exits to reduce pattern match time.
6725 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6726
6727 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6728
dc96c6c7 6729Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6730
6731 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6732 * gdb.base/default.exp: ditto.
6733 * gdb.base/nodebug.exp: ditto.
6734 * gdb.base/printcmds.exp: ditto.
6735 * gdb.base/ptype.exp: ditto.
6736 * gdb.base/setvar.exp: ditto.
6737 * gdb.base/structs.exp: ditto.
6738 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6739
6740Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6741
6742 * configure, */configure: Rebuild with autoconf 2.12.
6743
6744Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6745
6746 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6747 use new i*86-pc-linux*-gnu quads.
6748 * gdb.base/corefile.exp: Ditto.
6749 * gdb.base/signals.exp: Ditto.
6750 * gdb.base/sigall.exp: Ditto.
6751 * gdb.base/interrupt.exp: Ditto.
6752
6753 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6754 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6755 RedHat 4.0.
beb998c6 6756
c906108c
SS
6757 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6758 linux. This allows the test case to at least compile on latest
6759 linux, but still not run due to missing the threads runtime library.
6760
6761Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6762
6763 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6764 directory to search gdb directory. Accept and step over conditional
6765 stack alignment code. Consume $prompt in failure cases.
6766 Reset timeout to $oldtimeout instead of some arbitrary value.
6767 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6768 timeout problems with infinite stack backtraces.
6769 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6770 Accept function parameters for linkfunc member.
6771
6772Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6773
6774 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6775 (CXXFLAGS): Remove, unreferenced.
6776 (B_OPTIONS): Add for -B options and add code to initialize with
6777 previous -B options and also add -B option to pick up cross compiled
6778 runtime.
6779 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6780 doing cross compiles.
6781 (target_alias): Declare global.
6782 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6783 to verify that gcc exists in build tree, and if so set CC to that
6784 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6785
c906108c
SS
6786Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6787
6788 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6789 ptype test for anonymous union. Fixup testcase to match
6790 current gcc debug output.
6791
6792Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6793
6794 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6795 force argument to an unsigned long type.
6796
6797Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6798
6799 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6800 tests and anonymous union print/ptype tests.
6801 * gdb.base/list.exp (test_forward-search): Increase timeout by
6802 5 minutes for the "search extremely long line" case.
6803 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6804 completely optional and that the pass/fail messages use the command as
6805 the message if that third arg is a null string.
6806 (gdb_test_exact): Arrange that a null string pattern means match a
6807 null string output rather than any output, which might include random
6808 errors.
6809 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6810 backtrace test.
6811 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6812 always failing and failure is now exposed by gdb.exp changes.
6813
6814Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6815
6816 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6817 weren't being noted.
6818
6819Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6820
6821 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6822 * gdb.stabs/weird.exp: Remove v_comb xfails.
6823
dc96c6c7 6824Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6825
6826 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6827 list.exp scope.exp watchpoint.exp]
6828 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6829
dc96c6c7 6830Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6831
6832 * config/monitor.exp: Increase download timeout to 1000 seconds.
6833
dc96c6c7 6834Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6835
6836 * config/m32r.exp: Increase timeout to 120 seconds.
6837
6838Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6839
6840 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6841 and accept older ordering as obsolescent gcc or gdb.
6842 * gdb.c++/templates.exp: Ditto.
6843 * gdb.c++/virtfunc.exp: Ditto.
6844
6845Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6846
6847 * gdb.base/coremaker.c: Add code to mmap some data so we
6848 can check that it ends up in the core file.
6849 * gdb.base/corefile.exp: Add test to read mmapped data
6850 from core file.
6851
dc96c6c7 6852Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6853
6854 * config/m32r.exp: New file.
6855
6856Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6857
6858 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6859 that cflags can contains -gstabs, and work correctly for other tests.
6860
dc96c6c7 6861Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6862
6863 * gdb.base/setshow.exp: New file, tests show and set.
6864 * gdb.base/setshow.c: New file, tests show and set.
6865 * gdb.base/help.exp: Add test for help set|show annotate.
6866 * gdb.base/default.exp: Add test for set|show annotate.
6867
6868Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6869
6870 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6871 errors unique.
6872 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6873 explicitly.
6874
6875Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6876
6877 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6878 and width commands. This is done elsewhere.
6879 * (gdb_start): Don't call gdb_start_sim here. That's already
6880 done in gdb_load. This fixes lots of failures in default.exp.
6881
6882Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6883
6884 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6885 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6886 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6887 in the same we we treat other failures (since it may be an expected
6888 condition), rather than as an error.
6889 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6890 old test format.
6891
6892Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6893
6894 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6895 (distclean maintainer-clean realclean): No need to remove files
6896 twice. Nuke the duplicates.
6897 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6898 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6899 Remove config.h along with other config files.
6900
6901Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6902
6903 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6904 "p func1 ()" and note that rests of tests are skipped.
6905 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6906 setup_xfails for "print func2::coremaker_local".
6907 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6908 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6909 affected by the previous run test.
6910 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6911 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6912 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6913 "pass int powerset tuple" and "pass modeless int powerset tuple".
6914 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6915 "real write 4" and "real write 8".
6916 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6917 setup_xfails for "print vs1 after tuple assign 2",
6918 "print \$i after tuple assign 2", and
6919 "print vs2 after tuple assign 2".
6920 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6921 meaningful error message and return -1 so the caller can
6922 suppress further tests and avoid a cascade of errors.
beb998c6 6923
c906108c
SS
6924Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6925
6926 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6927 format for printing version.
6928 * gdb.base/default.exp: Ditto.
6929 * gdb.base/interrupt.exp: Fix problem with cascade of
6930 errors if child process dies while calling a function.
beb998c6 6931
c906108c
SS
6932Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6933
6934 * Makefile.in (VPATH): Add
6935 * Makefile.in (Makefile, config.status): Fix rules so things get
6936 remade when necessary.
6937
6938Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6939
6940 * Makefile.in (just-check): Add path to sibling expect dir
6941 to environment variable specified by RPATH_ENVVAR.
6942
6943Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6944
6945 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6946 (just-check): Add shared library paths for libstdc++, tk,
6947 tcl, bfd, and opcodes to the environment variable specified
6948 in RPATH_ENVVAR.
6949 * configure.in: Add support to recognize --enable-shared flag
6950 and generate correct value for RPATH_ENVVAR.
6951 * configure: Regenerated with autoconf.
6952
6953Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6954
6955 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6956 include all osf versions.
6957 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6958 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6959 when target is linux. When failing to build pthreads test
6960 executable, give more meaningful message.
6961 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6962 arg for pthread_create.
beb998c6 6963
c906108c
SS
6964Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6965
6966 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6967 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6968 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6969 and -lpthreads (everybody else).
6970 (test_startup): Fail gracefully if threads are not supported.
6971 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6972 "p/c array_index("abcdef",2)" when not gcc compiled.
6973 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6974 "print func2::coremaker_local" when not gcc compiled.
6975 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6976 "ptype on opaque struct tagname (statically)",
6977 "ptype on opaque struct tagname (dynamically) 1", and
6978 "ptype on opaque struct tagname (dynamically) 2"
6979 for not compiled with gcc.
6980 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6981 backtrace when compiled with gcc.
beb998c6 6982 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6983 than always return success.
6984
6985Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6986
6987 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6988
6989Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6990
6991 * gdb.base/structs.exp: Undo last change.
6992
6993Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6994
6995 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6996 encapsulate all the steps/nexts done during self test, starting
6997 at main, and makes them less sensitive to optimization issues.
6998 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6999 signal handler" test.
7000 * gdb.threads/pthreads.exp: Only run this for native configs.
7001 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7002 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7003 tests.
7004 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7005 for "runto test_calls(void)" test.
beb998c6 7006
c906108c
SS
7007Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7008
7009 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7010 and don't expect address info in breakpoint confirmations.
7011
7012Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7013
7014 * gdb.base/list.exp (test_forward_search): Increase timeout
7015 temporarily by 60 seconds for searching extremely long line,
7016 and then reset to old value when done. Increase expect input
7017 buffer to 10000.
7018
7019Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7020
7021 * gdb.base/list.exp (test_forward_search): Fix to handle very
7022 long source line without overflowing expect's input buffer.
7023
7024Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7025
7026 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7027 "buffer_full".
7028
7029 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7030 "buffer_full".
7031
7032 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7033 "buffer_full".
7034
7035 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7036 "buffer_full".
7037
7038Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7039
7040 * configure.in (configdirs): Add gdb.threads.
7041 * configure: Regenerated with autoconf.
7042 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7043 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7044 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7045
c906108c
SS
7046Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7047
7048 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7049
7050Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7051
7052 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7053 each signal's status in the output of "handle all print".
7054 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7055 the \r\n sequence that immediately precedes the gdb prompt.
7056 * gdb.base/a1-selftest.exp: Save original timeout and restore
7057 after test.
7058
7059Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7060
7061 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7062 symbol.
7063
7064Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7065
7066 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7067
7068Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7069
7070 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7071 timeout by 60 seconds.
7072
7073Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7074
7075 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7076 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7077 error return.
7078
7079Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7080
7081 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7082 gdb initialization, also report how long dejagnu waited. Restore
7083 old timeout before doing error return. Temporarily increase timeout
7084 by 3 minutes to allow for slow startups over heavy NFS use.
7085
7086Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7087
7088 * lib/gdb.exp: Report timeout value for verbosity level 2.
7089 * config/gdbserver.exp: Ditto.
7090 * config/hppro.exp: Ditto.
7091 * config/mips-gdb.exp: Ditto.
7092 * config/monitor.exp: Ditto.
7093 * config/netware.exp: Ditto.
7094 * config/sim-gdb.exp: Ditto.
7095 * config/slite-gdb.exp: Ditto.
7096 * config/udi-gdb.exp: Ditto.
7097 * config/unix-gdb.exp: Ditto.
7098 * config/vx-gdb.exp: Ditto.
7099 * gdb.base/a1-selftest.exp: Ditto.
7100 * gdb.base/a2-run.exp: Ditto.
7101 * gdb.base/break.exp: Ditto.
7102 * gdb.base/corefile.exp: Ditto.
7103 * gdb.base/list.exp: Ditto.
7104 * gdb.base/recurse.exp: Ditto.
7105 * gdb.base/scope.exp: Ditto.
7106 * gdb.base/signals.exp: Ditto.
7107
7108Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7109
7110 * gdb.threads/Makefile.in (docdir): Removed.
7111
7112Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7113
7114 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7115 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7116 @srcdir@.
beb998c6 7117 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7118 autoconf 2.5 or higher.
7119 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7120
7121Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7122
7123 * configure: Regenerated.
7124 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7125 avoid name clashes with SunOS headers.
7126
7127Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7128
7129 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7130
7131Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7132
7133 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7134 prototype information ends up in the compiler info file.
7135
7136Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7137
7138 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7139 attempting to regenerate it. Eliminate use of a temporary file
7140 and just generate the info file directly. Source it immediately,
7141 for consistency of use.
7142 * gdb.base/corefile.exp: Ditto
7143 * gdb.base/exprs.exp: Ditto.
7144 * gdb.base/funcargs.exp: Ditto.
7145 * gdb.base/langs.exp: Ditto.
7146 * gdb.base/list.exp: Ditto.
7147 * gdb.base/mips_pro.exp: Ditto.
7148 * gdb.base/nodebug.exp: Ditto.
7149 * gdb.base/opaque.exp: Ditto.
7150 * gdb.base/ptype.exp: Ditto.
7151 * gdb.base/scope.exp: Ditto.
7152 * gdb.base/setvar.exp: Ditto.
7153 * gdb.base/signals.exp: Ditto.
7154 * gdb.base/whatis.exp: Ditto.
7155 * gdb.c++/templates.exp: Ditto.
7156 * gdb.c++/virtfunc.exp: Ditto.
7157 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7158 whether or not to add -lstdc++ to the compile command line args.
7159
7160Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7161
7162 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7163 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7164 Increase timeout, a lot of single stepping might be needed if the
7165 target has no hardware watchpoints.
7166
7167Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7168
7169 * gdb.base/break.exp: Ignore compiler warnings when compiling
7170 break.c.
7171 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7172 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7173 from remote-sim.
7174 * gdb.base/exprs.exp: Add h8300 xfails.
7175 * gdb.base/funcargs.exp: Likewise.
7176 * gdb.base/nodebug.exp: Likewise.
7177 * gdb.base/printcmds.exp: Likewise.
7178 * gdb.base/ptype.exp: Likewise.
7179 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7180 h8300 xfails.
beb998c6 7181 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7182 on the h8300.
7183 * gdb.base/funcargs.c: Explicitly make last constant argument to
7184 call_after_alloca_subr an unsigned long type.
7185 * gdb.base/return.c: Include stdio.h.
7186
7187Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7188
7189 * config/abug.exp: New file for the older Motorola Bug monitor
7190 that runs on the mvme13x series VME boards.
7191 * config/monitor.exp: Use the new config array for target settings
7192 if they exist.
7193
7194Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7195
7196 * sim-gdb.exp: Make the SH simulator allocate less space when
7197 it is targeted.
7198
7199Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7200
7201 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7202 test.
7203
7204Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7205
7206 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7207 "rs6000-*-*" for "list function in include file" when gcc compiled.
7208 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7209 for "p ctable1[120]".
7210 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7211 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7212 Remove setup_xfail for "rs6000-*-*" for
7213 "print 'scope0.c'::filelocal before run".
7214 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7215 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7216 since some compilers don't allow both options to be given
7217 on the same command line. Create object file and move it.
beb998c6 7218
c906108c
SS
7219Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7220
7221 * gdb.base/corefile.exp: Always regenerate the core file, since
7222 we always regenerate the coremaker program. Detect special case
7223 where registers cannot be read from core file.
beb998c6 7224
c906108c
SS
7225Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7226
7227 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7228 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7229 * gdb.c++/templates.exp: Only match on basename of file since
7230 some formats like xcoff don't encode directory information.
7231 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7232 and rs6000 AIX xcoff targets.
7233 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7234 * configure: Regenerate.
7235 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7236 here, rather than in distclean.
beb998c6 7237
c906108c
SS
7238Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7239
7240 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7241 defined, and use it to compile the test case with -O2. The
7242 native compilation still uses no optimization.
7243 * gdb.base/mips_pro.c: Remove inline assembly code since
7244 it is compiled PIC by default, which results in assembler
7245 warnings that make the testsuite think the compilation
7246 was unsuccessful.
7247
7248Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7249
7250 * gdb.c++/misc.exp: Add note to message for
7251 "print s.a for foo struct" that this is a known gcc 2.7.2
7252 and earlier bug.
7253
7254Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7255
7256 * gdb.base/break.exp: Fix pattern for matching "Delete all
7257 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7258 setup_xfail for deleting all breakpoints test. Fix various
7259 timeout messages to include "(timeout)".
7260 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7261 for "p t_float_values2(3.14159,float_val2)".
7262 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7263 for "continue to call2g" when gcc compiled.
7264 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7265 "up to foo in langs.exp", "show language at foo in langs.exp",
7266 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7267 and "show language at fsub in langs.exp".
7268 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7269 "list line 1 in include file", "list message for lines past EOF",
7270 "list function in include file", "list list0.h:foo", and
7271 "list filename:function; nonexistant function".
7272 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7273 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7274 and "ptype t_char_array" to be for native cc only.
beb998c6 7275
c906108c
SS
7276Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7277
beb998c6 7278 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7279 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7280 "print func2::coremaker_local", and "backtrace in corefile.exp".
7281
7282Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7283
7284 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7285 "bt in signals.exp". This problem only appears when running
7286 the testsuite, and then only intermittently.
7287
7288Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7289
7290 * gdb.base/return.exp (return_tests): Differentiate between
7291 two tests of continuing.
7292
7293Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7294
7295 * */Makefile.in (maintainer-clean): Remove config.log.
7296 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7297 * gdb.c++/Makefile.in (PROGS): Add inherit.
7298 (clean): Remove *.ci.
7299
7300Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7301
7302 * gdb.c++/misc.cc: Add test code from Mike Stump.
7303 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7304
7305Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7306
7307 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7308 to "alpha-*-osf2*" and add comment.
7309 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7310 setup_xfail for "step over execarg initialization" and
7311 "step over corearg initialization".
7312 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7313 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7314 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7315 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7316 "print func2::coremaker_local", and "backtrace in corefile.exp".
7317 * gdb.base/signals.exp: Build and source signals.ci.
7318 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7319 to be for gcc only.
7320 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7321
c906108c
SS
7322Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7323
7324 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7325 Feb 3 procfs.c change.
7326
7327Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7328
7329 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7330
7331Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7332
7333 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7334 from dejagnu's apparent default of 10 seconds, which gives random
7335 results when running the tests over NFS on moderately loaded systems.
7336 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7337
7338Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7339
7340 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7341 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7342 result reports.
7343
7344Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7345
7346 * configure.in (CY_AC_PATH_TCLH): Remove.
7347 * configure: Regenerate.
7348
7349Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7350
7351 * gdb.c++/Makefile.in (clean): Add missing '{'.
7352
7353Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7354
7355 * lib/gdb.exp: Provide a default value for noinferior.
7356
7357 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7358 Load libgloss.exp.
7359
7360Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7361
7362 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7363 the executable, not the .o to run the tests from.
7364
7365Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7366
7367 * gdb.base/break.exp: Don't test for program exit or exit status
7368 if $noresults if nonzero.
7369 * gdb.base/langs.exp: Likewise.
7370 * gdb.base/watchpoint.exp: Likewise.
7371
7372 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7373 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7374 trying to compile the testcase.
7375
7376Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7377
7378 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7379 * gdb.base/signals.exp (continue to handler): Likewise.
7380
7381Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7382
7383 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7384
7385 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7386
7387Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7388
7389 * gdb.base/corefile.exp: Recognize "not found" as failure
7390 when trying to determine if a core file was generated.
7391 If no core file was generate the first time, try again without
7392 the ulimit -c to work around braindamaged shells.
7393
7394Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7395
7396 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7397 [] tests with "test" and enclose string in quotes.
7398 * gdb.stabs/configure: Rebuild
beb998c6 7399
c906108c
SS
7400Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7401
7402 Changes in sync with expect:
7403 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7404 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7405 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7406 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7407 argument to AC_REQUIRE.
7408 * configure: Regenerated.
7409
7410Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7411
7412 * gdb.base/corefile.exp: When generating a core, discard any
7413 error messages about ulimit not found and the "core dumped"
7414 message from the shell that runs the coredumper.
7415
7416Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7417
7418 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7419
7420 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7421 which sed script to run. Expect failure for v_comb test
7422 on PA targets too.
beb998c6 7423
c906108c
SS
7424Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7425
7426 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7427 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7428
7429Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7430
7431 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7432 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7433 "sparc-sun-solaris*" xfails for "p v_comb".
7434 * lib/gdb.exp (default_gdb_start): Fix typo.
7435 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7436 messages to not include the full program name that caused
7437 the core dump since some systems (such as solaris) apparently
7438 truncate this path to about 80 characters.
7439 When generating a core file first try increasing the core file
7440 size limit to unlimited since some systems may default it to
7441 zero, and it is harmless to try it. Move the test for failing
7442 to generate a core file to where it will actually get executed.
7443 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7444 new gdb result from g++ debug info improvements and make old
7445 pattern obsolescent. Also account for size_t differences
7446 (may be int or long).
7447 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7448 initialization before function call is placed in the delay slot
7449 and thus appears to be skipped over by commands such as "next".
7450
7451Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7452
7453 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7454
7455Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7456
7457 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7458 input source file; fix code to compile test to deal with this
7459 convention.
7460 * gdb.c++/*.exp: Likewise.
7461
7462Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7463
7464 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7465 "bt in signals.exp".
7466
7467Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7468
7469 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7470 "step over execarg initialization" and
7471 "step over corearg initialization".
7472
7473Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7474
7475 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7476 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7477
7478Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7479
7480 From Rob Savoye (rob@poseidon.cygnus.com)
7481 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7482 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7483 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7484 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7485 configure.in}: Major reworking for autoconfig.
7486 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7487 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7488 New files.
7489 * config/unix-gdb.exp: Make GDB global.
7490 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7491 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7492 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7493 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7494 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7495 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7496 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7497 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7498 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7499 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7500 pr-8136.exp, result.exp, string.exp, tuples.exp},
7501 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7502 to returns as necessary, arrange for test to compile own testcase
7503 executable.
7504 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7505
c906108c
SS
7506Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7507
7508 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7509 clear_xfail at end of test which might not call either pass or fail.
7510 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7511 "backtrace through signal handler".
7512
7513Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7514
7515 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7516 continuing from a job control stop signal.
7517 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7518
7519Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7520
7521 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7522 * gdb.base/corefile.exp: Likewise.
7523 * gdb.base/funcargs.exp: Likewise.
7524
7525Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7526
7527 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7528 * config/monitor.exp: Add support for setting baud rate.
7529
7530Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7531
7532 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7533 i*86-*-linux* xfails for "backtrace through signal handler".
7534 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7535 "print func2::coremaker_local".
7536 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7537 alpha-dec-osf2* xfail for
7538 "delete all breakpoints when none".
7539
7540Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7541
7542 * gdb.base/break.exp: Change test that deletes all breakpoints
7543 when no user breakpoints are installed. A post 4.15 change
7544 causes gdb to no longer prompt in this case.
7545
7546Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7547
7548 * gdb.base/return.exp (return_tests): Change xfail for test
7549 "correct value returned double test" to stop xfailing at
7550 Solaris 2.5. Apparently the bug has been fixed.
7551
7552Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7553
7554 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7555 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7556
7557Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7558
7559 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7560 * gdb.disasm/hppa.s: Corresponding changes.
7561
7562Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7563
7564 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7565 makefile fragment.
7566 * config/mt-hpux: Deleted.
7567
7568Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7569
beb998c6 7570 * Many files: When warning about suppressed tests due to a
c906108c
SS
7571 nonexistant test binary, avoid incrementing the warning count.
7572
7573Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7574
7575 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7576
c906108c
SS
7577Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7578
7579 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7580 "sparc-*-solaris2*".
7581
7582Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7583
7584 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7585 Add global and local variables and initialize them.
7586 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7587 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7588 extracts the file name and terminating signal from the core file.
7589 * TODO: Remove note about tests for correct mapping of corefile.
7590 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7591 from optimizing it away.
7592 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7593 handles common blocks.
7594
7595Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7596
7597 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7598 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7599
7600Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7601
7602 * Makefile.in (maintainer-clean): New target, synonym for
7603 realclean.
7604 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7605 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7606 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7607 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7608 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7609 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7610
7611Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7612
7613 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7614 xfails when not gcc compiled for "print foo::funclocal".
7615 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7616 "print foo::funclocal at foo",
7617 "print 'scope1.c'::foo::funclocal at foo",
7618 "print foo::funclocal_bss at foo",
7619 "print 'scope1.c'::foo::funclocal_bss at foo",
7620 "print foo::funclocal_ro at foo",
7621 "print 'scope1.c'::foo::funclocal_ro at foo",
7622 "print bar::funclocal at foo" and
7623 "print 'scope1.c'::bar::funclocal at foo".
7624 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7625 gcc compiled for "print foo::funclocal at bar".
7626 Expand all messages to ensure that they identify that
7627 the test is at bar().
7628 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7629 gcc compiled for:
7630 "ptype on opaque struct pointer (statically)",
7631 "ptype on opaque struct tagname (statically)",
7632 "ptype on opaque struct pointer (dynamically) 1",
7633 "ptype on opaque struct tagname (dynamically) 1",
7634 "ptype on opaque struct pointer (dynamically) 2" and
7635 "ptype on opaque struct tagname (dynamically) 2
7636 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7637 gcc compiled for:
7638 "p datalocal"
7639 "whatis datalocal",
7640 "ptype datalocal",
7641 "p bsslocal",
7642 "whatis bsslocal", and
7643 "ptype bsslocal".
7644 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7645 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7646 when not gcc compiled.
7647 * gdb.base/funcargs.exp (float_and_integral_args): Add
7648 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7649 compiled.
7650 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7651 "backtrace from call6a" when not gcc compiled.
7652 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7653 "backtrace from call7a" when not gcc compiled.
7654 * gdb.base/callfuncs.exp (do_function_calls):
7655 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7656 "p t_char_array_values(char_array_val2,char_array_val1)",
7657 "p t_char_array_values(char_array_val1,char_array_val2)",
7658 "p t_char_array_values("carray 1","carray 2")",
7659 "p t_char_array_values("carray 1",char_array_val2)",
7660 "p t_char_array_values(char_array_val1,"carray 2")",
7661 "p sum_args(1,{2})",
7662 "p sum_args(2,{2,3})",
7663 "p sum_args(3,{2,3,4})",
7664 "p sum_args(4,{2,3,4,5})"
7665 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7666 "backtrace in corefile.exp" when not gcc compiled.
7667
7668Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7669
7670 * gdb.base/signals.exp: Rewrite `handle all print' test as
7671 a procedure. Accept blanks or TABs as whitespace, increase
7672 timeout and expect input buffer size for the large output
7673 from the command. Remove "i*86-*-bsdi2.0" xfail.
7674
7675Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7676
7677 * gdb.base/setvar.exp: Add new testcases for truncation when
7678 assigning invalid values to bitfields.
7679
7680Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7681
beb998c6 7682 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7683 mips-sgi-irix* xfail for
7684 "call inferior func with struct - returns char *"
7685 and fix test so that an optional (unsigned char *) cast is
7686 accepted in the result.
7687
7688Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7689
7690 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7691 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7692 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7693 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7694 that accidentally got checked in.
7695
7696Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7697
beb998c6 7698 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7699 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7700 compiled test.
7701 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7702 Add mips-sgi-irix5* xfail for not gcc compiled.
7703 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7704 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7705 "p top", "whatis top", "p middle", and "whatis middle".
7706 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7707 "whatis signed char" for not gcc compiled.
7708 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7709 "set variable signed char=-1 (-1)" and
7710 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7711 * gdb.base/funcargs.exp (float_and_integral_args):
7712 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7713 Add mips-sgi-irix* xfail when not gcc compiled for
7714 "continue to call2b".
7715 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7716 "continue to call2g".
7717 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7718 "backtrace from call6a"
7719 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7720 "backtrace from call7k".
7721 Add mips-sgi-irix5* xfail when not gcc compiled for
7722 "backtrace from call7a".
7723 (localvars_after_alloca): Fix gdb_test cmds for
7724 "print * after runto ...".
7725 Remove rs6000-*-* xfails for
7726 "print i after runto localvars_after_alloca" and
7727 "print l after runto localvars_after_alloca"
7728 for all compilers.
7729 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7730 when not compiled with gcc, for:
7731 "print signed char == (minus)",
7732 "print signed char != (minus)",
7733 "print signed char < (minus)",
7734 "print signed char > (minus)".
7735 * gdb.base/callfuncs.exp (do_function_calls):
7736 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7737 "call inferior func with struct - returns char *".
beb998c6 7738 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7739 "correct value returned double test" to include Solaris 2.4.
7740 * gdb.base/funcargs.exp (float_and_integral_args):
7741 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7742
c906108c
SS
7743Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7744
7745 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7746 enumeration bitfields if compiling with GNU C.
7747 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7748 to empty' prompt.
7749
7750Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7751
7752 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7753 test for PRO targets.
7754
7755 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7756 breakpoints in the inferior at any given time by making
7757 two groups of breakpoints for call2*, call6* and call7*
7758 tests.
7759
7760Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7761
7762 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7763 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7764 from optimizing it away.
7765 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7766 "call inferior func with struct".
7767
7768Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7769
7770 * configure.in: Only configure gdb.chill for particular targets.
7771
7772Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7773
7774 * gdb.base/Makefile.in: Add action to .c.o transformation
7775 rule that generates a .ci file for each .o file and remove
7776 explicit .c.o rules except for callfuncs.o.
7777 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7778 generates a .ci file for each .o file and remove explicit
7779 .cc.o rules.
7780 (clean): Remove *.tmp *.ci files.
7781 (EXECUTABLES): Remove templ-info.exp.
7782 * gdb.base/compiler.c: New file.
7783 * gdb.c++/compiler.cc: New file
7784 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7785 Change rs6000-*-* xfail for
7786 "print 'scope0.c'::filelocal_ro" and
7787 "print 'scope1.c'::filelocal" and
7788 "print 'scope1.c'::filelocal_bss" and
7789 "print 'scope1.c'::filelocal_ro" and
7790 "print 'scope1.c'::foo::funclocal" and
7791 "print 'scope1.c'::foo::funclocal_ro" and
7792 "print 'scope1.c'::bar::funclocal" and
7793 "print 'scope0.c'::filelocal_ro" and
7794 "print 'scope1.c'::filelocal at foo" and
7795 "print 'scope1.c'::filelocal_bss at foo" and
7796 "print 'scope1.c'::filelocal_ro at foo" and
7797 "print 'scope1.c'::foo::funclocal at foo" and
7798 "print 'scope1.c'::foo::funclocal_bss at foo" and
7799 "print 'scope1.c'::foo::funclocal_ro at foo" and
7800 "print 'scope1.c'::bar::funclocal at foo" and
7801 "print 'scope0.c'::filelocal_ro" and
7802 "print 'scope1.c'::filelocal" and
7803 "print 'scope1.c'::filelocal_bss" and
7804 "print 'scope1.c'::filelocal_ro" and
7805 "print 'scope1.c'::foo::funclocal" and
7806 "print 'scope1.c'::foo::funclocal_bss" and
7807 "print 'scope1.c'::foo::funclocal_ro" and
7808 "print 'scope1.c'::bar::funclocal" and
7809 "print 'scope1.c'::bar::funclocal_bss"
7810 to only be xfail'd when not compiled with gcc.
beb998c6 7811 Add rs6000-*-* xfail for
c906108c
SS
7812 "print 'scope0.c'::filelocal_bss before run"
7813 when compiled with gcc.
7814 (test_at_main): Add rs6000-*-* xfail for
7815 "print filelocal_ro in test_at_main"
7816 when compiled with gcc.
7817 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7818 Add rs6000-*-aix* xfail for
c906108c
SS
7819 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7820 "ptype t_char_array", not compiled with gcc.
7821 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7822 xfail for "list foo (in include file)" when gcc compiled.
7823 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7824 (integral_args): Add rs6000-*-* xfail for
7825 "run to call0a" if not compiled with gcc.
7826 (unsigned_integral_args): Add rs6000-*-* xfail for
7827 "run to call1a" if not compiled with gcc.
7828 (float_and_integral_args): Add rs6000-*-* xfail for
7829 "run to call2a" if not compiled with gcc and for
7830 "continue to call2b" for any compiler.
7831 Add rs6000-*-* xfail to
7832 "print f1 after run to call2a" for gcc compiled.
7833 (discard_and_shuffle): Add rs6000-*-* xfail for
7834 "run to call6a".
7835 (shuffle_round_robin): Add rs6000-*-* xfail for
7836 "backtrace from call7a" if not compiled with gcc.
7837 Add rs6000-*-* xfail for
7838 "backtrace from call7b" if compiled with gcc.
7839 (call_after_alloca): Add rs6000-*-* xfail for
7840 "print c in call_after_alloca" and
7841 "print s in call_after_alloca" and
7842 "backtrace from call_after_alloca_subr"
7843 if not compiled with gcc.
7844 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7845 "print c in localvars_in_indirect_call" and
7846 "print c in localvars_in_indirect_call" and
7847 "backtrace in indirectly called function" and
7848 "stepping into indirectly called function"
7849 if not compiled with gcc.
7850 (localvars_after_alloca): Add rs6000-*-* xfail for
7851 "print c after runto localvars_after_alloca" and
7852 "print s after runto localvars_after_alloca" and
7853 "print i after runto localvars_after_alloca" and
7854 "print l after runto localvars_after_alloca"
7855 for all compilers.
7856 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7857 than whatis-info.exp.
7858 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7859 than opaque-info.exp.
7860 Setup rs6000-*-* xfail for
beb998c6 7861 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7862 "ptype on opaque struct pointer (dynamically)" when
7863 not compiled with gcc.
7864 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7865 rather than callf-info.exp.
7866 (do_function_calls): Add clear_xfail for rs6000-*-* for
7867 "p t_float_values2(3.14159,float_val2)". Seems to work
7868 fine there, both with xlc and gcc. Need to find out what
7869 it is doing right and fix other platforms.
7870 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7871 "call inferior func with struct - returns int",
7872 "call inferior func with struct - returns long",
7873 "call inferior func with struct - returns float",
7874 "call inferior func with struct - returns double",
7875 "call inferior func with struct - returns char *",
7876 but only if not gcc compiled (presumes xlc compiled).
7877 Change rs6000-*-* xfails for
7878 "call inferior func with struct - returns char" and
7879 " call inferior func with struct - returns short" to only
7880 xfail if not using gcc.
7881 (clean mostlyclean): Remove *.ci and *.tmp files.
7882 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7883 than templ-info.exp.
7884 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7885 Add rs6000-*-* xfail for "up to foo in langs.exp"
7886 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7887 when not gcc compiled.
beb998c6 7888
c906108c
SS
7889Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7890
7891 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7892 * gdb.base/corefile.exp: Likewise.
7893 * gdb.base/list.exp: Likewise.
7894 * gdb.base/scope.exp: Likewise.
7895 * gdb.base/siganls.exp: Likewise.
7896
7897 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7898 compiler output.
7899 * gdb.base/whatis.exp: Likewise.
7900
7901Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7902
7903 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7904 failure (opcode table has been fixed to match reality).
7905
7906Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7907
7908 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7909 "call inferior func with struct - returns char",
7910 "call inferior func with struct - returns short"
7911
7912 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7913 "print 'scope0.c'::filelocal at main",
7914 "print 'scope0.c'::filelocal_bss in test_at_main",
7915 "print 'scope0.c'::filelocal at foo",
7916 "print 'scope0.c'::filelocal_bss in test_at_foo",
7917 "print 'scope0.c'::filelocal at bar",
7918 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7919
c906108c
SS
7920 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7921 in source file 1". This bug seems to have been fixed with both
7922 gcc and native cc (was native assembler bug?).
7923
7924Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7925
7926 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7927 "backtrace through signal handler" to "i*86-*-sysv4*".
7928 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7929 continue" case. Add "known SVR4 bug" to fail message.
7930 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7931 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7932 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7933 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7934 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7935 "up to foo in langs.exp", "show language at foo in
7936 langs.exp", "up to cppsub_ in langs.exp", "show
7937 language at cppsub_ in langs.exp", "up to fsub in
7938 langs.exp", and "show language at fsub in langs.exp".
7939 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7940 "bactrace in corefile.exp".
7941 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7942 "call inferior function with struct - returns float" and
7943 "call inferior function with struct - returns double".
beb998c6 7944
c906108c
SS
7945Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7946
7947 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7948 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7949 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7950 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7951
7952Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7953
7954 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7955 (or overriden) "CHILL" macro rather then bare "gcc".
7956 Also look for ../../gcc/xgcc since that is what we will
7957 actually need, not "Makefile". Remove following assignment
7958 of CHILL to CHILL_FOR_TARGET because that results in
7959 recursive definition.
7960
7961Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7962
7963 * gdb.base/corefile.exp: Change xfail for backtrace in
7964 corefile.exp from linuxaout to all linux.
7965 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7966 cases where we miss the breakpoint at the signal handler
7967 for some reason. Setup xfail for linuxoldld/linuxaout and
7968 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7969 hitting SIGURG breakpoint.
7970 * gdb.base/signals.exp: Setup xfail for "next" acting like
7971 continue to add linuxoldld. Setup xfail for all linux for
7972 "next to handler in signals_tests_1", "backtrace in
7973 signals_tests_1", "continue to func1", "pass SIGUSR1",
7974 and continue to handler".
7975
7976Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7977
7978 * Update all FSF addresses except those in COPYING* files.
7979
7980Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7981
7982 * gdb.base/a2-run.exp: Change messages to be more explicit about
7983 the status of args, and quote binfile in results.
7984
7985Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7986
7987 * gdb.base/callfuncs.exp: Add tests for passing structs to
7988 inferior functions and return various types.
7989 * gdb.base/callfuncs.c: Add functions to receive a struct
7990 and return a member of the struct, in various types.
7991
7992Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7993
7994 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7995
7996Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7997
7998 * config/vxworks29k.exp: New file, sources vxworks.exp.
7999
8000Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8001
8002 * config/gdbremote.exp: New file. Testing framework using
8003 gdbserver.
8004
8005Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8006
8007 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8008 "call function when asleep" and "send end of file".
8009 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8010 for "backtrace in corefile.exp".
8011 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8012 for "backtrace through signal handler".
8013 * gdb.base/corefile.exp: Make sure we actually generate a core file
8014 before trying the core tests. Some systems allow the user to suppress
8015 generation of core files and default to that (linux for example).
8016 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8017 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8018
8019Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8020
8021 * gdb.threads: New directory with some crude multi-threaded
8022 gdb tests (step.exp and step2.exp).
8023 * config/mt-lynx (STEP_EXECUTABLE): Define.
8024 (THREADFLAGS): Define.
8025
8026Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8027
8028 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8029
8030 * gdb.base/signals.exp: Disable whole file for lynx until
8031 further notice.
8032
8033 * gdb.base/signals.exp: xfail test where "next" acts like
8034 "continue" for lynx.
8035
8036 * gdb.base/interrupt.exp: xfail test for calling function while
8037 inferior is asleep for lynx.
8038
8039 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8040 than one cr-lf after each command.
8041
8042Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8043
8044 * configure.in: Reinstate setting of stabsdirs variable, fix
8045 typo in setting up configdirs for native builds.
8046
8047 * gdb.base/return.exp: Fix typo in return double test.
8048 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8049 compiler from optimizing them away.
8050
8051Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8052
8053 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8054 sequences to be echo'd by gdb when using gdb_test.
8055 * gdb.chill/chexp.exp: Likewise.
8056 * gdb.fortran/exprs.exp: Likewise
8057
8058Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8059
8060 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8061 after the inferior gdb has started.
8062
8063 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8064 after each command.
8065 * gdb.base/funcargs.exp: Likewise.
8066 * gdb.base/gdbvars.exp: Likewise.
8067 * gdb.base/interrupt.exp: Likewise.
8068 * gdb.base/list.exp: Likewise.
8069 * gdb.base/watchpoint.exp: Likewise.
8070 * gdb.c++/demangle.exp: Likewise.
8071 * gdb.c++/inherit.exp: Likewise.
8072 * gdb.chill/chexp.exp: Likewise.
8073 * gdb.fortran/exprs.exp: Likewise.
8074
8075 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8076 test if we can't handle IO to/from the inferior.
8077
8078 * gdb.c++/misc.exp: Always check for a program already being
8079 started after sending a "run" command to gdb.
8080
8081 * gdb.base/twice.exp: Start with a fresh gdb.
8082
8083 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8084 only depend on gdb's expression code, not the chill runtime.
8085
8086 * gdb.base/return.c: Put return values into variables so we
8087 can have gdb print them rather than depending on the program
8088 to print them.
8089 * gdb.base/return.exp: Corresponding changes.
8090
8091 * lib/gdb.exp: Provide default value for noinferiorio.
8092 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8093 the inferior.
8094
8095 * gdb.base/break.exp: Always check for a program already being
8096 started after sending a "run" command to gdb.
8097 (text_next_with_recursion): Don't check the output from the
8098 program's printf statement. Instead just make sure the program
8099 exited.
8100
8101 * gdb.base/commands.exp: Protect tests which need arguments with
8102 $noargs conditionals.
8103
8104Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8105
8106 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8107 of structure member arrays to match gdb/valops.c:value_addr change.
8108
8109Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8110
8111 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8112 cases.
8113
8114Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8115
8116 * configure.in (configdirs): Remove gdb.chill from default list
8117 of subdirs and then add it back in only if doing a native build.
8118 The current chill compiler does not yet work in any cross build.
8119 * Revert all signal changes from Jul 6.
8120 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8121 for sh-hms targets, allowing these tests to link, with no other
8122 changes. Testing is suppressed by setting "nosignals" in site.exp.
8123
8124Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8125
8126 * configure.in (signaldirs): Define and add to configdirs for all
8127 targets except some specific ones that are known to not support signals.
8128 Also clean up formatting.
8129 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8130 (signals, sigall): Remove rules to build.
8131 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8132 Moved to new gdb.signals directory.
8133 * gdb.signals: New test directory.
8134 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8135 signals.c signals.exp}: New or moved files.
8136
8137Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8138
8139 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8140
8141Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8142
8143 * gdb.base/return.exp: Xfail `return double' test failure
8144 on at least Solaris 2.3 and handle future/past versions on
8145 a case by case basis as appropriate. Also update message
8146 to include i*86 failures.
8147
8148Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8149
8150 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8151
8152 * lib/gdb.exp: Fix comment which erroneously identified
8153 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8154 gdb_file_cmd not gdb_load).
8155 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8156
8157 * gdb.base/setvar.exp: Make test names consistent between pass and
8158 fail cases. Use gdb_test more.
8159
8160Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8161
8162 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8163
8164Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8165
8166 * gdb.base/help.exp: Fix expected help string for `show commands'.
8167
8168Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8169
8170 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8171
8172 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8173 of a text section.
8174
8175Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8176
8177 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8178 that loop eventually terminates. Fix Connection refused logic so
8179 that testsuite will expire nicely.
8180
8181Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8182
8183 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8184 config/rom68k.exp: New tcl glue for the appropriate monitors.
8185 These all just end up calling monitor.exp.
8186 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8187 refused' by retrying. Cleanup some timeout issues.
8188 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8189 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8190 callers don't have to set/restore global timeout variable.
8191
8192 * The following set of changes centralizes management of the global
8193 timeout variable. This way, it can be set in one target dependent
8194 place instead of dozens of places scattered throughout the test suite.
8195 If you need to lengthen a timeout, then you should either set timeout
8196 in one of the config/{target}.exp files, or multiply it by a factor.
8197 Setting it to an absolute value is always going to lose for some
8198 targets.
8199 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8200 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8201 * gdb.base/funcargs.exp: Don't set timeout.
8202 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8203 * gdb.base/printcmds.exp (test_print_string_constants
8204 test_print_array_constants): Don't set timeout.
8205 * gdb.base/ptype.exp: Don't set timeout.
8206 * gdb.base/recurse.exp: Don't set timeout.
8207 * gdb.base/return.exp: Don't set timeout.
8208 * gdb.base/watchpoint.exp: Don't set timeout.
8209 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8210 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8211
8212Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8213
8214 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8215
8216Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8217
8218 * lib/gdb.exp: Disable chill tests for irix5.
8219
8220Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8221
8222 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8223 each test pass or fail.
8224
8225Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8226
8227 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8228 xlc not gcc.
8229
8230Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8231
8232 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8233
8234Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8235
8236 * config/est.exp: Fix copyright and comments. Remove dead code.
8237 Use targetname, serialport and baud variables instead of fixed
8238 constants.
8239 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8240 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8241
8242Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8243
8244 * gdb.base/watchpoint.exp: Don't run
8245 test_watchpoint_triggered_in_syscall for sunos.
8246
8247Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8248
8249 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8250 they don't seem to exist. Do include stdio.h.
8251
8252Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8253
8254 * gdb.base/a1-selftest.exp: Add alpha xfail.
8255
8256Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8257
8258 * gdb.base/watchpoint.c (main): Prompt before calling read().
8259 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8260 Revise accordingly. Remove cruft about sending "123" several
8261 times, until it gets noticed. Clean up the "print buf[0]" stuff
8262 so that it passes or fails, and waits for prompts in the usual way.
8263
8264Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8265
8266 * gdb.base/recurse.exp: Fix comment.
8267
8268 * TODO: Remove item about printing variables in nodebug.exp. Add
8269 item about enabling tests which are only run on some targets.
8270
8271 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8272 fail, make test names unique, use new gdb_test convention
8273 regarding pattern, use gdb_test more, etc.).
8274
8275 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8276 fail, make test names unique, etc.).
8277
8278Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8279
8280 * gdb.base/nodebug.c: Change return type of top and middle to
8281 short.
8282 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8283 are fixed by the recent mdebugread.c changes. Allow `short ()'
8284 as type for top and middle.
8285
8286Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8287
8288 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8289 nearly as I can tell, the whole thing was an accident in Stu's
8290 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8291 to replace a send/expect pair with gdb_test, but ended up only
8292 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8293 of 30 Mar 1995 took care of it, but left this vestigial comment
8294 which I am now nuking.
8295
8296Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8297
8298 * gdb.base/break.exp: Look for different line number for
8299 breakpoint at main depending on usestubs.
8300
8301Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8302
8303 * gdb.base/list.exp: Adjust some alternate expect patterns to
8304 match recent list0.c change. Add alternate expect pattern for
8305 output from `list default lines around main' for optimizing
8306 compilers.
8307
8308Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8309
8310 * lib/gdb.exp: If nosignals is not set, set it to 0.
8311
8312Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8313
8314 * config/slite-gdb.exp: Responds to load symbol table prompt.
8315 * gdb.base/break.exp: Adjust line number, fix rerun.
8316 * gdb.base/langs0.c: Add #ifdef usestubs.
8317
8318Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8319
8320 * gdb.base/list.exp: Adjust line contents after adding new lines in
8321 list0.c. Also fix a syntax error.
8322
8323 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8324 * gdb.base/break.exp: ditto.
8325 * gdb.base/list.exp: ditto.
8326 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8327 * gdb.base/run.c: ditto.
8328 * gdb.base/list0.c: ditto.
8329 * gdb.base/funcargs.c: ditto.
8330
8331Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8332
8333 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8334 $targetname, $serialport and $baud instead of hardwired variables.
8335 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8336 target doesn't support signals.
8337
8338Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8339
8340 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8341
8342Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8343
8344 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8345 Don't rely on the value of an auto variable before it has been
8346 initialized. Use gdb_test more.
8347
8348Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8349
8350 * lib/gdb.exp (default_gdb_version): A version number must start
8351 with a digit, but other than that contains all characters up to
8352 the first whitespace character.
8353
8354Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8355
8356 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8357
8358Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8359
8360 * gdb.c++/*.exp: Warn if executable does not exist. The original
8361 reason for skipping the warning was that configure.in sometimes
8362 intentionally skipped building the executables but the tcl code
8363 had no way of knowing. That (a) was always bogus with respect to
8364 error handling, (b) is no longer true (right now there is no way
8365 to skip C++ tests).
8366
8367 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8368
8369Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8370
8371 * gdb.base/list.exp: Add expect patterns for output from
8372 SunPRO compiled executables.
8373 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8374 types.
8375
8376Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8377
8378 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8379 number (we are already testing that the correct source line text
8380 gets printed).
8381
8382 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8383 that is what is intended, but something needed to be done to get
8384 sunos4 native working again.
8385
8386 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8387
8388 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8389 apparently went with a (very) old xfail.
8390
8391Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8392
8393 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8394 runto_main is a proc in gdb.exp that will do 'step' for target use
8395 stubs.
8396 * gdb.base/exprs.exp: ditto.
8397 * gdb.base/interrupt.exp: ditto.
8398 * gdb.base/opaque.exp: ditto.
8399 * gdb.base/printcmds.exp: ditto.
8400 * gdb.base/ptype.exp: ditto.
8401 * gdb.base/scope.exp: ditto.
8402 * gdb.base/setvar.exp: ditto.
8403 * gdb.base/signals.exp: ditto.
8404 * gdb.base/twice.exp: ditto.
8405 * gdb.c++/classes.exp: ditto.
8406 * gdb.c++/inherit.exp: ditto.
8407 * gdb.c++/templates.exp: ditto.
8408 * gdb.base/break.exp: no run and hit main for stubs. Change line
8409 numbers for breakpoints and info breakpoint.
8410 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8411 breakpoint().
8412 * gdb.base/callfuncs.c: ditto.
8413 * gdb.base/exprs: ditto.
8414 * gdb.base/interrupt.c: ditto.
8415 * gdb.base/opaque0.c: ditto.
8416 * gdb.base/printcmds.c: ditto.
8417 * gdb.base/ptype.c: ditto.
8418 * gdb.base/scope0.c: ditto.
8419 * gdb.base/setvar.c: ditto.
8420 * gdb.base/signals.c: ditto.
8421 * gdb.base/twice.c: ditto.
8422 * gdb.c++/misc.cc: ditto.
8423 * gdb.c++/templates.cc: ditto.
8424
8425Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8426
8427 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8428
8429 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8430 somewhere between `read' and `main.c'. I'm pretty sure the
8431 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8432 and it isn't particularly useful.
8433
8434 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8435
8436Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8437
8438 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8439
8440Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8441
8442 * config/mt-slite: add LIBS and -nostdlib.
8443 * config/slite-gdb.exp: add this new file to support sparclite target.
8444
8445Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8446
8447 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8448
8449 * gdb.base/a2-run.exp: Change argument to istarget from
8450 "*-*-vxworks" to "*-*-vxworks*".
8451 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8452
8453Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8454
8455 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8456 will not runto main but do a 'step' to step out of breakpoint().
8457 * config/mt-slite: add -Dusestubs.
8458
8459Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8460
8461 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8462 instead of just @.
8463
8464 * gdb.base/signals.exp: Add test for "handle all print".
8465 * TODO: Remove "handle all print". Also remove item about
8466 checking copyright date (I don't like the idea of a spurious FAIL
8467 based on when we run the tests).
8468
8469 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8470 for SunOS4 (reason for failure not investigated). Remove
8471 redundant test for $binfile.
8472
8473 * gdb.base/nodebug.c (array_index): Call malloc.
8474
8475 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8476
8477Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8478
8479 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8480 conventions and slightly simplify the matching regexp.
8481
8482Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8483
8484 * gdb.base/break.exp: Update gdb_test invocation to use new
8485 convention.
8486
8487 * lib/gdb.exp: If noargs is not set, set it to 0.
8488
8489 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8490 tests unique.
8491
8492 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8493
8494Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8495
8496 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8497 one argument of type "<non-float parameter>".
8498
8499Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8500
8501 * config/rom68k.exp: New file to support Motorola IDP board.
8502 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8503 * gdb.base/break.c: Change things around so that this program
8504 doesn't depend upon args. This is necessary to make remote
8505 targets work (in general, they can't take args).
8506 * gdb.base/break.exp: Don't try to send args to program. Don't
8507 expect output. Also, replace lots of code with gdb_test.
8508
8509Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8510
8511 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8512 printing of '\'' (which is what the comment says we are testing,
8513 even though we were not), not '''.
8514 (test_integer_literals_rejected): Test that printing ''' is an error.
8515
8516 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8517 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8518 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8519 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8520 Use gdb_test not test_print_accept.
8521 * lib/gdb.exp: Remove test_print_accept.
8522
8523 * gdb.base/signals.exp (signal_tests_1): Make pass message
8524 consistent with fail message.
8525
8526 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8527 unsigned char; the bug (PR 1821) is fixed.
8528
8529 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8530
8531 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8532 successful tests--makes xfailing them work right.
8533
8534Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8535
8536 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8537 only \r\n, not .*. The test can pass .* as the last thing in
8538 $pattern if that is what it wants. In addition to providing this
8539 flexibility, this change should speed up pattern matching in cases
8540 where the pattern already ended with .* (there were a number of
8541 them). This change also helps catch bad patterns--in the old
8542 scheme the typo "char \*" instead of "char \\*" would pass. Now
8543 it is caught.
8544 * Many .exp files: Update callers.
8545
8546 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8547 clearer and does not spuriously match multiple ('s. Likewise for
8548 ) and *.
8549
8550 * gdb.base/nodebug.exp: Test ability to call a function and pass
8551 it a string (even with no debugging info).
8552
8553 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8554 "p '\'", which is the same as "p ''" once tcl gets done with
8555 quoting, to "p '\\'", which I suspect is what is intended (one
8556 backslash gets sent to GDB).
8557
8558 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8559
8560Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8561
8562 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8563 1817) was fixed literally years ago.
8564
8565Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8566
8567 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8568 test, it causes stepping out of call_after_alloca_subr with
8569 optimizing compilers.
8570 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8571 fails.
8572
8573 * gdb.c++/templates.exp: Source templ-info.exp only if
8574 the templates executable exists.
8575
8576 * gdb.c++/misc.cc (class Contains_static_instance,
8577 class Contains_nested_static_instance),
8578 gdb.c++/classes.exp (test_static_members): Test printing of
8579 a class that contains a static instance of the class.
8580
8581Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8582
8583 * gdb.base/langs2.c (cppsub_): Don't prototype.
8584 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8585 only, I believe).
8586
8587Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8588
8589 * lib/gdb.exp (skip_chill_tests): New procedure.
8590
8591 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8592
8593Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8594
8595 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8596 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8597
8598Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8599
8600 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8601
8602 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8603 disassemble 8, not 16, instructions for part 4.
8604
8605 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8606 support the latter anymore.
8607
8608 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8609 -DNO_PROTOTYPES.
8610 * gdb.base/callfuncs.c: Control use of prototypes based on
8611 NO_PROTOTYPES, not __STDC__.
8612 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8613 t_float_values2 tests if prototypes in use.
8614
8615 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8616 t_double_values): When checking differences against DELTA, check
8617 that difference is within the range (-DELTA,DELTA), not just
8618 (-infinity,DELTA).
8619
8620Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8621
8622 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8623 'file' command firts, then 'target', then 'load', this is due to gdb
8624 target set up.
8625 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8626
8627Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8628
8629 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8630 FP load/store variants.
8631 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8632
8633Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8634
8635 * gdb.base/term.exp: Do not give a warning if not native, it is
8636 not an abnormal condition.
8637
8638Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8639
8640 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8641 t_char_array".
8642
8643Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8644
8645 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8646 are getting the version number.
8647
8648 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8649 if not native, it is not an abnormal condition.
8650
8651Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8652
8653 * lib/gdb.exp: Just use "file exists", rather than undocumented
8654 dejagnu procedure "findfile".
8655
8656Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8657
8658 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8659 (LDFLAGS): Set to -Xlinker -Ur.
8660
8661 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8662 Removed, these values are set by lib/gdb.exp.
8663
8664 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8665
8666Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8667
8668 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8669 of replicating gdb startup code.
8670
8671 * config/mt-vxworks (LDFLAGS): Set to -r.
8672 (CFLAGS_FOR_TARGET): Removed.
8673
8674 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8675 (gdb) and gdb for vxworks uses (vxgdb).
8676
8677 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8678 executable is not in the tree and host != target, use sed and
8679 program_transform_name to determine the gdb name used by the
8680 target.
8681
8682 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8683 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8684
8685Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8686
8687 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8688 floats, chars, and shorts where there are ANSI-style function
8689 definitions.
8690
8691 * gdb.base/langs.exp, gdb.base/langs*: New test.
8692 * gdb.base/Makefile.in: Build it.
8693 * TODO: Remove item about checking that C names don't get C++
8694 demangling applied; this test tests it.
8695
8696Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8697
8698 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8699 went with the const70 xfail. The xfail went away a year ago.
8700
8701 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8702
8703 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8704 for hp300.
8705
8706 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8707
8708 * gdb.base/a1-selftest.exp: Don't run on hp300.
8709
8710Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8711
8712 * Makefile.in (site.exp): Set host_alias and target_alias as well
8713 as host_triplet and target_triplet.
8714
8715Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8716
8717 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8718
8719 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8720 places as other ecoff systems).
8721
8722 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8723 ultrix.
8724
8725Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8726
8727 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8728 remove them.
8729 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8730 variable and "variable" in addition to "data variable".
8731 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8732
8733 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8734 2.
8735 * gdb.base/list1.c (long_line): Add additional statement at start
8736 of function.
8737 * gdb.base/list.exp (test_forward_search): Update line number to
8738 reflect new statement.
8739
8740Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8741
8742 * gdb.base/signals.exp: Reinitialize searched source directories
8743 after gdb_start call.
8744
8745Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8746
8747 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8748 * gdb.stabs/Makefile.in: Likewise.
8749
8750 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8751 change. Instead split the tests into smaller pieces.
8752 * gdb.disasm/hppa.s: Corresponding changes.
8753
8754Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8755
8756 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8757 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8758
8759 * gdb.base/funcargs.exp: Modify many tests so that every test
8760 either passes or fails. Make some test names unique.
8761
8762Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8763
8764 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8765 Call stty to set interrupt character.
8766
8767 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8768 for HP assembler versus GNU assembler based on actual behavior of
8769 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8770
8771 * TODO: Suggest a few more stepping tests.
8772
8773Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8774
8775 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8776 restart GDB for h8300 after a continue.
8777 (return): Add pattern to match a29k-udi behavior.
8778 * gdb.base/nodebug.exp: Remove obsolete comment.
8779 * gdb.base/regs.exp: New file, testing of register displays.
8780 * gdb.base/return.exp: Fix typo in reference to $objdir.
8781 * gdb.base/whatis.exp: Always start with a fresh GDB.
8782
8783Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8784
8785 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8786 higher, these tests generate a lot of output.
8787
8788Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8789
8790 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8791 code following the catch silently ignored some errors; without the
8792 catch they should be thrown like any other tcl error. Also, the
8793 catch used "" instead of {} which meant all the callers who wanted
8794 to include one of the characters "[]$ had to quote it an extra time.
8795 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8796 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8797 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8798 Remove extra quoting.
8799
8800Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8801
8802 * gdb.base/commands.exp: Make test names unique; every test either
8803 passes or fails. Update some comments.
8804
8805 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8806
8807Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8808
8809 The following fixes a FAIL caused by the fact that the alpha stabs
8810 configuration didn't use the ".if alpha" code in weird.def.
8811 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8812 bit pointer, so the 32 bit version works even on the alpha.
8813 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8814 Remove the stuff which allowed us to have separate versions for
8815 alpha and everything else.
8816
8817 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8818 regexp which "info func operator\[\](" is supposed to match. Fix
8819 string to send to GDB. Note that GDB still doesn't work right. Add a
8820 new test for "info func .perator\[\](" which GDB does handle correctly.
8821
8822 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8823
8824Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8825
8826 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8827 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8828 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8829 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8830 it makes the tests harder to understand and confuses test-o-matic.
8831 The preferred style is that each test provides a PASS or a FAIL,
8832 and has a unique message (e.g. "continue #54" not just "continue")
8833 which is the same for the pass and the fail.
8834 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8835 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8836 to lib/gdb.exp.
8837 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8838 prt_accept which was basically the same thing. Likewise for
8839 test_print_reject and prt_reject.
8840 * lib/gdb.exp (test_print_reject): Add some more error message
8841 patterns to match from the former printcmds.exp (prt_reject).
8842 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8843 One defect of the passcount stuff is that some of it failed to
8844 report XPASS where appropriate.
8845 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8846 stuff before and after arg in expected pattern.
8847 (test_paddr_operator_functions): Re-do test without print_addr_of;
8848 this is the only test which seems to want extra stuff there.
8849
8850Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8851
8852 * gdb.base/nodebug.exp: Update new tests to reflect improved
8853 wording of gdb output.
8854
8855 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8856 and "ptype" work on variables in files compiled without -g.
8857 Replaces commented out "maint print msymbol" tests.
8858
8859Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8860
8861 * gdb.base/setvar.c (dummy): Call malloc.
8862
8863 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8864 losing with the irix4 sed.
8865
8866 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8867 ALRM" on irix4.
8868
8869Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8870
8871 * TODO: Remove items about corefile.exp testing new exec-file and
8872 backtrace; both are now done. Add items about printing enums.
8873
8874Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8875
8876 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8877 "get signal $thissig" test fails.
8878
8879 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8880
8881Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8882
8883 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8884 compiler warning with dec alpha compiler.
8885
8886 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8887 extra \n from gdb_test call (this explains why the prompt test
8888 that I removed yesterday was there).
8889 (user_defined_command_test): Remove extra \n and prompt test.
8890
8891 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8892 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8893 doesn't exist.
8894 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8895 Also remove alpha workaround, which turns out to be because
8896 SIGABRT == SIGLOST.
8897
8898 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8899
8900 * gdb.base/help.exp: Don't test "help show".
8901
8902Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8903
8904 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8905 "set print address" is on.
8906 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8907 pass prompt to gdb_test; gdb_test already looks for the prompt.
8908
8909 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8910
8911 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8912 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8913 was to make sure that gdb can read a core file. But (a) the "read
8914 the corefile" part didn't make it to a1-selftest.exp, we just
8915 delete the corefile after creating it, and (b) we test reading
8916 corefiles in corefile.exp anyway. Also, this test left around a
8917 xgdb process on Solaris.
8918
8919 * gdb.base/corefile.exp: Also test backtrace.
8920
8921Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8922
8923 * gdb.base/commands.exp: Test a simple user defined command with
8924 arguments and if/while statements; verify the full user command is
8925 printed by "show user".
8926
8927 * gdb.base/commands.exp: Test if/while commands as part of a
8928 breakpoint command list; verify they appear in breakpoint
8929 information.
8930
8931Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8932
8933 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8934 than by dividing by zero.
8935
8936Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8937
8938 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8939 performing an inferior call with watchpoints enabled.
8940 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8941 call.
8942
8943Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8944
8945 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8946 of "file" command.
8947
8948 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8949 Add additional pattern for when "int operator int(void);" appears
8950 in a different order.
8951
8952Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8953
8954 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8955
8956 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8957 and "signal" with ".*".
8958
8959Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8960
8961 * TODO: Add note about "handle all nostop".
8962
8963 * gdb.base/{sigall.c, sigall.exp}: New test.
8964 * gdb.base/Makefile.in: Add it.
8965
8966Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8967
8968 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8969 when invoking GDB, suppresses any windowing interface.
8970
8971Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8972
8973 * config/sim-gdb: New file, simulator testing support.
8974
8975Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8976
8977 * gdb.base/interrupt.exp: Test calling func1 twice.
8978
8979Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8980
8981 * gdb.base/list.exp (test_forward_search): Set timeout higher
8982 when we'll be getting lots of output from gdb.
8983
8984 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8985 "init_malloc" to after the expect statement. Run it if that
8986 regexp is taken, but also for two others which happen if source
8987 cannot be found.
8988
8989Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8990
8991 * gdb.base/printcmds.exp: New test, for printing register before
8992 program is running.
8993
8994Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8995
8996 * gdb.base/list.exp: Correct some alternate expect patterns
8997 to reflect changes in list1.c.
8998
8999Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9000
9001 * TODO: Add item regarding large frames.
9002
9003 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9004
9005 * TODO: Remove item about enabling return.exp; it
9006 is enabled. Suggest a few more "return" tests.
9007
9008Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9009
9010 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9011 anonymous unions.
9012
9013Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9014
9015 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9016 and pr-5646.o, so "make" is the same as "make all", not "make
9017 pr-4975.o".
9018
9019Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9020
9021 * gdb.base/list.exp: Adjust expectations to reflect changes in
9022 list1.c.
9023 (test_forward_search): New test proc.
9024 * gdb.base/list1.c (long_line): New function, has long source line.
9025
9026Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9027
9028 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9029 additional line of code that was added.
9030
9031Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9032
9033 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9034 tests so as not to overflow expect's input buffers.
9035 * gdb.disasm/hppa.exp: Corresponding changes.
9036
9037Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9038
9039 Beginnings of template debugging tests.
9040 * gdb.c++/templ-info.cc: New file to test for template
9041 debugging capability of the compiler.
9042 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9043 templ-info.cc.
9044 * gdb.c++/templates.cc: Add explicit template instantiations
9045 to enable compiling with -fno-implicit-templates. Add destructor
9046 and 'value' method to T5 class for template tests.
9047 * gdb.c++/templates.exp: Add testcases for printing of template
9048 types, setting breakpoints on template methods and calling a
beb998c6 9049 template method.
c906108c
SS
9050
9051Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9052
9053 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9054 branch target since some assemblers (gas-2.5) may emit a
9055 relocation for the branch instead of resolving it in the
9056 assembler.
9057
9058Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9059
9060 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9061 through signal handler.
9062
9063Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9064
9065 * configure.in (*-*-netware): Use config/mt-netware.
9066
9067 * config/mt-netware: New file.
9068 * config/mt-i386-netware: Removed, separate configs for different
9069 netware architectures are no longer needed now that we have
9070 --with-headers.
9071
9072Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9073
9074 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9075 by the recent changes to use ANSI C arithmetic conversions.
9076
9077Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9078
9079 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9080 bug involving using inferior_pid to figure out whether to select a
9081 frame.
9082
9083Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9084
9085 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9086 match the current disassembler output.
9087
9088Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9089
9090 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9091 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9092 types, expect "int" as type of integer values (for now).
9093
9094Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9095
9096 * gdb.base/commands.exp: New tests for if/while commands.
9097
9098Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9099
9100 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9101 by .*, since hex values have different syntax in Chill mode.
9102
9103Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9104
9105 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9106 linefeed from expect pattern for repeated types with indices > 9.
9107
9108Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9109
9110 First part of Fortran test suite.
9111 * gdb.fortran: New directory.
9112 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9113
9114Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9115
9116 * gdb.base/default.exp: Update expect pattern for load command
9117 without arguments.
9118
9119Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9120
9121 * configure.in: Change i386 to i[345]86.
9122 * gdb.base/configure.in: Likewise.
9123 * gdb.c++/configure.in: Likewise.
9124 * gdb.chill/configure.in: Likewise.
9125
9126Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9127
9128 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9129 patterns, since that is not a valid context for comments.
9130
9131Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9132
9133 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9134 repeated types and repeated types with indices > 9.
9135
9136Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9137
9138 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9139 2417; old bug has been fixed.
9140
9141Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9142
9143 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9144 send the newline ourselves instead of assuming gdb_test will do
9145 so when passed an empty input string.
9146
9147 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9148 stabs testcode.
9149
9150Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9151
9152 * lib/gdb.exp (gdb_test): Don't send anything if the first
9153 argument is an empty string. This makes cases where we want to
9154 match output that is already in expect's buffers (for example,
9155 matching a breakpoint after gdb_run_cmd has been called) work
9156 reliably.
9157
9158Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9159
9160 * config/netware.exp: New file.
9161
9162Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9163
9164 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9165 the -B and -L prefixes so we can find the debugging stub.
9166
9167 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9168 there and we are using the gcc from the tree.
9169
9170 * gdb.base/types.c: Removed.
9171
9172 * gdb.base/configure.in: Look for makefile fragments in ../config.
9173 Recognize i386-*-netware.
9174 * gdb.c++/configure.in: Likewise.
9175
9176Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9177
9178 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9179 the correct TCL syntax.
9180
9181Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9182
9183 * gdb.base/opaque.exp: use runto instead of messing around with
9184 breakpoints. Simplify by using gdb_test.
9185
9186 * gdb.base/bitfields.exp: restart between tests on netware targets
9187 because breakpoints aren't relocated after target death. Run
9188 processes to completion.
9189
9190 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9191
9192Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9193
9194 * Makefile.in: Remove extra tabs that confuse some versions
9195 of "make". Use the newly built gdb to test with by default,
9196 rather than the first one in the tester's search path.
9197
9198Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9199
9200 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9201
9202 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9203 condition help.
9204
9205Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9206
9207 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9208
9209 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9210 running.
9211 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9212 * gdb.base/funcargs.exp: Likewise.
9213
9214 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9215 * gdb.base/funcargs.exp: Likewise.
9216
9217 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9218 message is "".
9219
9220Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9221
9222 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9223 return,signals,twice}.exp: Handle non-existant binaries
9224 consistantly.
9225
9226 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9227 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9228 might testing a cross development system.
9229
9230Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9231
9232 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9233 runtest script is relative to ${srcdir}, not ${rootdir}.
9234
9235Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9236
9237 * gdb.base/signals.exp: Allow for optionality of breakpoint
9238 address.
9239
9240Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9241
9242 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9243
9244Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9245
9246 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9247 for size_t definition.
9248 * gdb.c++/templates.cc: Likewise
9249
9250 * config/mt-i386-netware: New file.
9251
9252 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9253 defined.
9254
9255 * gdb.base/Makefile.in: Added support for systems that name core
9256 files by appending "core" to the program name.
9257 * gdb.base/a1-selftest.exp: Likewise.
9258
9259Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9260
9261 * gdb.base/return.exp: Add comment and message for `return double'
9262 test failure on Sparc Solaris.
9263
9264Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9265
9266 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9267
9268Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9269
9270 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9271 from optimizing them away.
9272 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9273 patterns to include default constructors and assignment operators,
9274 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9275 character in the output of the virtual base pointer.
9276
9277Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9278
9279 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9280 expression match in print_addr_of to avoid unintented matches.
9281 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9282 versions up to 2.5.8.
9283
9284Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9285
9286 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9287 included file to run under newer versions of expect.
9288 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9289 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9290 Remove xfail for the virtual table of BDDHookV.
9291
9292Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9293
9294 * lib/gdb.exp (string_to_regexp): Set a default result.
9295 (default_gdb_start): Fix misleading message.
9296
9297Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9298
9299 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9300 Remove all CC, etc definitions.
9301 * config/mt-hpux: New file.
9302 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9303 (CFLAGS, LDFLAGS): Define.
9304 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9305
9306 * Makefile.in (site.exp): Don't insert host_os, etc.
9307 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9308 (distclean): Check existence of subdir.
9309 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9310 * gdb.base/Makefile.in: General cleanup and simplification.
9311 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9312 to build executables. Use default rule to build .o files.
9313 (EXPECT, RUNTEST, CC): Fix relative pathname.
9314 (site.exp): Don't insert host_os, etc.
9315 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9316 and/or SIGUSR1 defined.
9317 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9318 * gdb.c++/Makefile.in: General cleanup and simplification.
9319 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9320 (CFLAGS): Remove.
9321 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9322
9323Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9324
9325 * gdb.base/recurse.exp: Misc changes to get tests running again
9326 after Kung's changes to the watchpoint code.
9327 * gdb.base/watchpoint.exp: Likewise.
9328
9329Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9330
9331 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9332
9333Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9334
9335 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9336 * lib/gdb.exp (default_gdb_start): Define.
9337 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9338 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9339 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9340 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9341 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9342 Don't call gdb_target_udi in between tests.
9343
9344Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9345
9346 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9347 (which was basically just a local version of the same thing). In
9348 addition to avoiding duplication, gdb_test_exact is faster.
9349 * lib/gdb.exp (gdb_test_exact): Fix typo.
9350
9351 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9352 don't give an error.
9353
9354 * gdb.base/term.exp: Call delete_breakpoints before starting.
9355
9356 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9357 (t10): Add comment.
9358
9359Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9360
9361 Reorganization of the GDB Test Suite.
9362
9363 * gdb.base: New directory, contains all the basic tests.
9364 * gdb.c++: New directory, tests specific to C++.
9365 * gdb.chill: New directory, tests specific to Chill.
9366 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9367 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9368 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9369 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9370 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9371 t30-31 to chill).
9372 * */gdbme.*: Rename to match appropriate expect scripts.
9373 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9374 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9375 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9376 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9377 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9378 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9379 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9380 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9381 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9382 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9383 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9384 gdb.c++/virtfunc.cc: New names of C++ files.
9385 * gdb.chill/chillvars.ch: New name of Chill file.
9386 * gdb.base/configure.in, gdb.c++/configure.in,
9387 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9388 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9389 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9390 * configure.in (configdirs): Update to reflect directory changes.
9391 (target_abbrev): No longer define for any configuration.
9392 * Makefile.in: Cosmetic improvements to header comments.
9393
9394Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9395
9396 Various changes to gdb.t31:
9397
9398 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9399 * gdbme.ch: Make all key-words and predefineds be upper-case.
9400 * chillvars.exp: Expect key-words and predefinds in upper-case.
9401
9402 * chillvars.exp: Use gdb_test_exact many places.
9403 Change expected output for arrays (which now includes index labels).
9404
9405 * pr-5020.exp, gdme.ch (module PR_5020):
9406 New test, for PR-5020.
9407
9408Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9409
9410 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9411 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9412
9413Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9414
9415 * Makefile.in: Fix bit-rot in definitions of CHILL,
9416 CHILL_FOR_TARGET and Chill_LIB.
9417 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9418 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9419 CHILL, and CHILL_LIB.
9420
9421Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9422
9423 * Revert the previous changes. Please see Rob's directory
9424 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9425
9426Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9427
9428 * Makefile.in, configure.in, config/mips-gdb.exp,
9429 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9430 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9431 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9432 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9433 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9434 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9435 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9436 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9437 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9438 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9439 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9440 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9441 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9442 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9443 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9444 changes from 94Q1.
9445
9446Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9447
9448 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9449 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9450 Rob's new testing fragments.
9451
9452Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9453
9454 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9455 lib/gdb.exp: Replace error proc calls with perror.
9456
9457Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9458
9459 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9460 version also, match on casted version strings, and match on
9461 gdb startup case where the line numbers might be messed up.
9462
9463Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9464
9465 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9466 (CFLAGS): Delete it from here.
9467
9468Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9469
9470 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9471
9472Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9473
9474 * Makefile.in (RUNTEST): Default to just "runtest".
9475
9476Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9477
9478 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9479 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9480 the code has been restructured.
9481
9482Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9483
9484 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9485 \n, not just one of each.
9486
9487 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9488 /bin/cc gives a warning if you do.
9489
9490Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9491
beb998c6 9492 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9493 __t10ListS_link1ZUiRCUiPT0
9494
9495Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9496
9497 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9498 on local variables in recursive functions.
9499
9500 * gdb.t07/Makefile.in: Build the new test.
9501
9502Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9503
9504 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9505 directly. Instead compare the return values from actual calls.
9506
9507Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9508
9509 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9510
9511Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9512
9513 * From Peter Schauer with minor modifications.
9514 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9515 stops in mid-line in the caller. Add xfail for returning a float
9516 value on X86 targets.
9517
9518Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9519
9520 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9521 to avoid expect lossage.
9522 (fmem_LRbug_tests): Likewise.
9523 * gdb.disasm/hppa.s: Corresponding changes.
9524
9525 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9526 conditions to work with latest dejagnu/expect.
9527
9528 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9529 expected to fail on the PA.
9530 (backtrace in call with trampolines): Explicitly require main
9531 to be frame #1 (no trampolines should show up in backtrace).
9532
9533 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9534 "continue -expect".
9535 * gdb.t06/break.exp: Likewise.
9536 * gdb.t07/watchpoint.exp: Likewise.
9537 * gdb.t13/bitfields.exp: Likewise.
9538 * gdb.t15/{funcargs,return}.exp: Likewise.
9539 * gdb.stabs/weird.exp: Likewise.
9540 * config/{mips,udi}-gdb.exp: Likewise.
9541
9542 * hppa.sed: Enclose comments within a sed command to avoid
9543 losing with the old OSF1 sed.
9544
9545Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9546
9547 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9548 sequent dynix.
9549 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9550 * gdb.t15/funcargs.exp: Conditionally step again to really
9551 finish from marker_call_with_trampolines. Handle the case where
9552 the first step from within call_with_trampolines already steps
9553 us back to main.
9554 * gdb.t15/gdbme.c: Add comment to closing brace of
9555 call_with_trampolines for funcargs.exp.
9556
9557Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9558
beb998c6 9559 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9560 Fix typo(s).
9561
9562Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9563
9564 * gdb.t07/gdbme.c: More code for watchpoint testing.
9565
9566 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9567 "Hardware watchpoint" throughout file.
9568 (test_watchpoint_triggered_in_syscall): New test.
9569 (test_complex_watchpoint): New test.
9570
9571Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9572
9573 * gdbme.c (call_with_trampolines): New function to try and step
9574 into. Tests trampoline problems on the PA.
9575
9576 * funcargs.exp (localvars_in_indirect_call): No longer expect
9577 stepping into indirect call to fail on PAs.
9578 (test_stepping_over_trampolines): New test.
9579
9580Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9581
9582 * TODO: Add suggestions for static member function tests, and
9583 completion tests.
9584
9585Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9586
9587 * TODO: Add suggestions for "p/a" tests.
9588
9589 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9590 (default_gdb_exit): Replace all the hair with sending "quit" to
9591 the process with a simple close.
9592
9593Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9594
9595 * TODO: Add suggestions for shared library tests.
9596
9597Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9598
9599 * TODO: Add suggestions for x/s tests.
9600
9601Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9602
9603 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9604 "enable once", and "enable breakpoints once" with ".*".
9605
9606Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9607
9608 * TODO: Add suggestions about structure passing tests.
9609
9610Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9611
9612 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9613 the primary1 test, use work around if __GNUC__ < 2.
9614 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9615 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9616 Test for bad output rather than waiting for timeout. Issue
9617 second continue only if first continue failed.
9618
9619Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9620
9621 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9622 operator[] test with gdb_test because the old code didn't seem to
9623 be getting the quoting right with the new dejagnu.
9624
9625Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9626
9627 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9628 one from the path.
9629 * Makefile.in: Use a fresh expect if there is one, use runtest
9630 from the src tree if there is one.
beb998c6 9631
c906108c
SS
9632Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9633
9634 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9635 next over recursive call. Revise the tests from that point on
9636 (which had been skipped) to match GDB's actual (correct) output.
9637
9638 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9639 with next over a breakpoint whose condition is false.
9640
9641 * gdb.t00/help.exp: Comment out "help set print" tests just like
9642 (and for same reason as) "help set" test.
9643
9644Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9645
9646 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9647 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9648
9649Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9650
9651 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9652 necessary gdb_target_udi.
9653
9654 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9655
9656 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9657 1838 and 2417; they are fixed.
9658
9659 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9660 gdb.t03/ptype.exp (ptype structure, ptype union):
9661 Remove xfails; the test is looser than when the xfails were added.
9662
9663 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9664 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9665
9666 * gdb.t01/run.exp: Only run shell test if isnative.
9667
9668 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9669 since "run" automatically loads if necessary. Call gdb_target_udi
9670 after the "file" since "file" kills any execution target.
9671
9672 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9673 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9674 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9675 argument for UDI.
9676
9677Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9678
9679 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9680
9681 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9682
9683Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9684
9685 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9686 properly quoting regexps. This makes the second argument to
9687 demangle a fixed string, which matches the callers, instead of a
9688 shell-style pattern which is what the previous implementation
9689 used. Update some of the callers.
9690
9691Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9692
9693 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9694 (comib_nullified_tests): Fix typo.
9695 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9696 strings. No longer expected to fail.
9697
9698 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9699 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9700 strings. No longer expected to fail.
9701
9702 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9703 string. No longer expected to fail.
9704
9705Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9706
9707 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9708 No longer expected to fail.
9709
9710 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9711 string. No longer expected to fail.
9712
9713Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9714
9715 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9716 only in the names (I probably got most of them). I was even
9717 generous with some which differed in underscores in names, and
9718 probably missed a few, and I *still* was able to remove almost a
9719 third of the file with almost no impact on testsuite coverage.
9720
9721Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9722
9723 * gdb.t00/default.exp: Match udi_attach error message as well as
9724 the one from child_attach.
9725
9726 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9727
9728 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9729
9730 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9731 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9732
9733 * Move test with enums and partial symbols back to
9734 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9735 Reverts the change of 26 May 93. Per today's change to
9736 stabs.texinfo, the behavior that weird.exp was expecting was
9737 unreasonable; what is important is that the compiler+gdb get
9738 things right, which happens with a recent gcc. Also fix the test
9739 to deal with native compilers which put out the stab gdb can't
9740 deal with.
9741
9742Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9743
9744 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9745 in the names. The main thing these accomplish is to slow things down.
9746 Many more such duplicates surely remain.
9747
9748 * gdb.t00/help.exp: Comment out "help support" test just like
9749 (and for same reason as) "help set" test.
9750
9751Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9752
9753 * gdb.t06/break.exp: Remove setup_xfails for
9754 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9755 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9756 about known bug in gcc to include up through 2.5.8.
9757 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9758 well as "_vb$".
9759 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9760 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9761 with latest gcc and gdb.
9762 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9763 well as "_vb$".
9764
9765Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9766
9767 * configure.in (hppa*-*-*): Also configure and build stabs-only
9768 tests.
9769
9770Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9771
9772 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9773 * gdb.t10/configure.in (hppa*-*-*): Use it.
9774
9775Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9776
9777 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9778
9779Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9780
9781 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9782 versions prior to 1.13.5.
9783
9784Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9785
9786 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9787 the prompt is at the start of a line.
9788
9789Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9790
9791 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9792 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9793 in the copr tests now.
9794 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9795 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9796 expected to fail.
9797
9798Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9799
9800 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9801 gdb.t31/chillvars.exp, lib/gdb.exp:
9802 Tweak to run under either version of expect.
9803 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9804 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9805 * gdb.t11/list.exp: Remove extraneous whitespace.
9806
9807Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9808
9809 * gdb.t16/printcmds.exp (test_print_strings): Accept
9810 "(unsigned char *) " before the string.
9811
9812 * TODO: Add notes about printing of fancy types and GDB expressions.
9813
9814Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9815
9816 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9817 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9818 if doing mips-idt-ecoff.
c906108c
SS
9819
9820Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9821
9822 * Most .exp files: Tweak to run under either version of expect.
9823
9824Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9825
9826 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9827 xfails; I'm not sure why they are failing, but not because of PR 1806.
9828
9829Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9830
9831 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9832 defined in lib/gdb.exp.
9833
9834Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9835
9836 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9837 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9838 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9839 have to be typeless.
9840
9841Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9842
9843 * TODO: Add suggestion for copyright year test.
9844
9845Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9846
9847 * configure.in (*-*-lynxos*): Add stabs tests.
9848
9849Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9850
9851 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9852 so insert a tab before any assembler directive in column zero.
9853
9854 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9855 stores.
9856 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9857 stores.
9858 (fpu_short_memory_tests): Likewise.
9859
9860Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9861
9862 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9863 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9864 .stabs directives in comments.
9865
9866Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9867
9868 * TODO: New file, describing tests we could write.
9869 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9870
9871Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9872
9873 * gdb.t06/signals.exp: Add kludge to force re-sync.
9874
9875 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9876 to xgdb instead of gdb, get out of gdb.
9877
9878Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9879
9880 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9881 for info.
9882
9883Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9884
9885 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9886 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9887 * gdb.stabs/hppa.sed: New sed script for the PA.
9888
9889Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9890
9891 * gdb.stabs: Re-write weird.def and configuration to use sed
9892 instead of cpp. sed is portable and POSIX; cpp is neither.
9893
9894Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9895
9896 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9897
9898Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9899
9900 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9901
9902Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9903
9904 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9905 "_vb$".
9906 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9907 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9908
9909Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9910
9911 * lib/gdb.exp: Comment out code which depends on non-existent
9912 `transform' procedure.
9913
9914Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9915
9916 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9917 * lib/gdb.exp: Transform tool name.
9918 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9919 1.1's new error handling system.
9920
9921Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9922
9923 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9924
9925Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9926
9927 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9928 They made pattern matching so slow that timeouts happened on
9929 heavily loaded systems. Now any output from "show print" which
9930 gets us back to the GDB prompt is a PASS.
9931
9932Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9933
9934 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9935
9936Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9937
9938 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9939
9940 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9941 It is not from PR 3220.
9942
9943Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9944
9945 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9946 just started failing because they depended on the order the
9947 subcommands are presented, or exact docstring text. This kind of
9948 test is a pain and has minimal benefit.
9949
9950Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9951
9952 * gdb.t09/corefile.exp: At end of test, use "core" command with
9953 no arguments.
9954
9955Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9956
9957 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9958 17}/Makefile.in: Make it possible to run the testsuite with Sun
9959 make and CC = cross gcc by adding explicit build rules for .o
9960 files.
9961
9962Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9963
9964 * gdb.t15/funcargs.exp: Don't put comments on same line as
9965 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9966
c906108c
SS
9967Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9968
9969 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9970
9971Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9972
9973 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9974 * gdb.t20/inherit.exp: remove three dumplicate entries.
9975
9976Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9977
9978 * gdb.t06/break.exp: For "next over recursive call", fail on any
9979 incorrect output, not just on "factorial (value=2)".
9980
9981Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9982
9983 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9984 working now. Add an xfail if accesing a bss variable causes
9985 a memory error if the target is not yet run.
9986
9987Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9988
9989 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9990 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9991 name of __st* demangling (2 strings). Did Kung really get the
9992 more than 95 others right without testing them?
9993
9994Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9995
9996 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9997
9998Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9999
10000 * configure.in (configdirs): Add gdb.disasm
10001 * gdb.disasm: New directory for GDB disassembler tests.
10002 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10003
10004Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10005
10006 * gdb.t00/help.exp: Don't test "help set".
10007
10008 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10009 from within expect statements. None of these happen anymore and
10010 they cause regressions to be silently unnoticed.
10011
10012 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10013 messages) about known failures with gcc cygnus-2.4.5-930417.
10014
10015 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10016 comp-info.exp so it gets built if it doesn't exist.
10017
10018 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10019 it is no longer used.
10020 * gdb.t13/comp-info.c: Removed.
10021
10022Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10023
10024 * gdb.t06/signals.exp: Add xfail for sun3.
10025
10026Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10027
10028 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10029 relevant because ^C doesn't get sent but failure can be reproduced
10030 interactively).
10031
10032Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10033
10034 * gdb.stabs/alpha.mt: New configuration file for alpha.
10035 * gdb.stabs/configure.in: Use it.
10036 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10037 sharing with alpha.mt, redefine long to word via preprocessor.
10038 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10039 for alpha.
10040 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10041 native cc.
10042 * gdb.t00/teststrategy.exp: Change expect string so that we
10043 consume the `(xgdb)' from the command echo and from the gdb prompt.
10044 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10045 gdb currently compares all values as long, so this failure probably
10046 applies to any configuration where LONGEST is bigger than a target int.
10047 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10048 with gcc.
10049 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10050 to handle opaque pointers, gcc is.
10051 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10052 as first argument. Include <sys/types.h> and change all operator
10053 new definitions to use size_t.
10054 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10055 now that we use size_t.
10056
10057Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10058
10059 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10060 a long or float array cast all array members to the same type.
10061 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10062 with 64 bit longs.
10063 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10064 on alpha.
10065 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10066
10067Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10068
10069 * gdb.t24 (demangle.exp): Constructors of templates have names like
10070 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10071 section 14.6 of the ARM.
10072
10073 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10074 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10075 accomplish little and slow down the testsuite.
10076
10077 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10078 Accept spaces various places.
10079
10080Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10081
10082 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10083 with watchpoint enabled.
10084
10085 * Makefile.in: Remove definition of CC and remove the second
10086 definition of CXX (the "CXX = gcc" one remains). These definitions
10087 were causing backquotes to be expanded within backquotes, which
10088 doesn't work.
10089
10090Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10091
10092 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10093
10094Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10095
10096 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10097 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10098 by mips cc and contains no stabs entries.
10099
10100Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10101
10102 * config/vx-gdb.exp: Use fake device to load files rather than
10103 NFS.
10104 * lib/gdb.exp: New proc to do "file" command.
10105 * config/unix-gdb.exp: Use new "file" proc.
10106
10107Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10108
10109 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10110 Rework board rebooting slightly.
10111 (gdb_exit): Don't exit from the remote shell; there isn't one.
10112 * gdb.stabs/weird.exp: If a program is being debugged already,
10113 kill it.
10114 * gdb.t04/setvar.exp: Stop and restart gdb.
10115 * gdb.t05/expr.exp: Likewise.
10116 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10117 restart gdb and reload the program.
10118 * gdb.t08/opaque.exp: Likewise.
10119 * gdb.t12/scope.exp: Likewise.
10120 * gdb.t13/bitfields.exp: Likewise.
10121 * gdb.t15/funcargs.exp: Likewise.
10122 * gdb.t20/classes.exp: Likewise.
10123 * gdb.t03/ptype.exp: Increase timeout.
10124 * gdb.t16/printcmds.exp (test_print_string_constants,
10125 test_print_array_constants): Likewise.
10126 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10127 * gdb.t20/classes.exp (do_tests): Likewise.
10128 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10129
10130Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10131
10132 * gdb.stabs: Renamed *wierd* to *weird*.
10133
10134Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10135
10136 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10137 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10138
10139Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10140
10141 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10142 (do_tests): Remove xfail for whatis on one_var and two_var.
10143
10144Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10145
10146 * Makefile.in: Made cross building work better by adding
10147 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10148
10149Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10150
10151 * gdb.t15/{return.c,return.exp,Makefile.in}:
10152 New test, currently commented out.
10153
10154Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10155
10156 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10157 still running and removes the leftover named socket so GDb can do
10158 clean restarts.
10159
10160Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10161
10162 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10163 console, not GDB.
10164 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10165 cross testing works better with "make check"
10166 * config/unix-gdb: Use default procedures for exit and version.
10167 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10168 with the newest VxWorks.
10169
10170Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10171
10172 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10173 old form.
10174
10175 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10176 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10177
10178 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10179
10180 * config/unix-gdb.exp: Remove this version of gdb_exit
10181 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10182 Rob says he'll look at it when he gets back to testing boards.
10183
10184Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10185
10186 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10187 an expected fail for certain ptype commands.
10188
10189 * gdb.t20/classes.exp: Update expected results of "ptype class
10190 Base1" to account for the constructor that now appears in the type.
10191
10192Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10193
10194 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10195 disappeared from list.
10196 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10197 "alldone" proc with call to cleanup and exit.
10198 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10199 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10200 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10201 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10202 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10203 "alldone" proc with simple returns that suppress remaining
10204 tests. The alldone proc went away many months ago.
10205
10206Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10207
10208 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10209
10210 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10211
10212Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10213
10214 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10215 as vax gdb will display them.
10216
10217Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10218
10219 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10220 optimizers.
10221
10222 * scope.exp: Change "bad value for localval" messages so each one
10223 is unique.
10224
10225 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10226 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10227
10228 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10229
10230Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10231
10232 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10233 doesn't exist (due to optimization).
10234
10235Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10236
10237 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10238 contains \r because the filename is long.
10239
10240 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10241 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10242
10243Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10244
10245 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10246 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10247 Ultrix.
10248 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10249 int tests.
10250 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10251
10252Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10253
10254 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10255
10256 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10257 to match does not match the passing case but still matches the
c906108c
SS
10258 failing case.
10259
10260Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10261
10262 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10263
10264Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10265
10266 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10267 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10268 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10269 Remove various versions of gdb_exit.
10270 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10271 gdb_exit.
10272 * config/unix-gdb.exp: gdb_exit remains here, and should override
10273 the generic version, since it's doing a lot of wierd stuff that
10274 the other versions aren't. FIXME, fold it in, or abandon this
10275 version.
10276
10277Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10278
10279 * gdb.t24/demangle.exp: Add tests for PR 3220.
10280
10281Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10282
10283 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10284
10285Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10286
10287 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10288 "i386-*-*". Works for i486 as well.
10289
10290 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10291 bug, and expand domain of xfail to all SVR4 systems, since the
10292 actual problem is likely to be in generic SVR4 /proc support.
10293
10294Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10295
10296 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10297
10298Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10299
10300 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10301 xfails for other systems. Match a missing 'Continuing.' as an
10302 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10303
10304 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10305 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10306 Only issue warning for missing executables if -all option is used.
10307
10308 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10309 file if -all option is used. It's like an unpredictable XFAIL.
10310
10311Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10312
10313 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10314 for dynamically linked binaries.
10315
10316 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10317
10318Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10319
10320 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10321 to state that this is a known bug in old versions of g++.
10322
10323Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10324
10325 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10326 while waiting for `Continuing'.
10327
10328Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10329
10330 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10331 in text, data, and bss.
10332 * gdb.t10/nodebug.c: Add local and global test variables for
10333 initialized and uninitialized data.
10334
10335Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10336
10337 * config/unix-gdb.exp (gdb_exit): Add "wait".
10338
10339Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10340
10341 * gdb.t06/signals.exp: xfail the continue from the handler for all
10342 targets.
10343
10344 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10345 function with watchpoints enabled, the i386 call dummy starts with
10346 a call.
10347
10348 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10349 386 bsd names its corefiles.
10350
10351Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10352
10353 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10354 compilers don't grok it.
10355 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10356 with small octal ints rather than character constants, which
10357 are signed and might not fit if first promoted to int.
10358
10359Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10360
10361 * gdb.t09/Makefile.in (clean): Remove corefile.
10362
10363Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10364
10365 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10366
10367Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10368 and Jim Kingdon (kingdon@cygnus.com)
10369
10370 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10371 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10372 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10373
10374Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10375
10376 * gdb.t17/interrupt.exp: Add xfail for hppa.
10377
10378Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10379
10380 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10381 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10382 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10383 to determine signed-ness of bitfields and use the result to setup
10384 the xfail.
10385 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10386 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10387 call line is reached if necessary.
10388
10389Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10390
10391 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10392
10393Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10394
10395 * gdb.t06/break.exp: Also test `clear' command.
10396
10397Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10398
10399 * gdb.t00/teststrategy.exp: Remove extra quote.
10400
10401 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10402 watchpoint enabled to be for all non-68k machines.
10403
10404 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10405
10406Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10407
10408 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10409 targets use aout.mt instead of ecoff.mt as gas understands
10410 standard aout format.
10411
10412Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10413
10414 * lib/gdb.exp (runto): Don't insist that function we are running to
10415 was compiled with -g.
10416
10417 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10418
10419 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10420 to get back into the read system call.
10421 Accept leading newline in case where we woke it up.
10422
10423Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10424
10425 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10426 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10427 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10428 enable ecoff configuration.
10429
10430Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10431
10432 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10433
10434Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10435
10436 * gdb.t16/printcmds.exp: Add another printf test.
10437
10438Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10439
10440 * configure.in: If configured -with-stabs on any target, add
10441 stabsdirs to configdirs.
10442
10443Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10444
10445 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10446 fun" so pattern does not match the command itself.
10447
10448Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10449
10450 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10451
10452Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10453
10454 * gdb.t17/interrupt.exp: Test for more things.
10455
10456Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10457
10458 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10459 compiler arranges the code and line numbers.
10460
10461 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10462
10463Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10464
10465 * gdb.t00/help.exp: Increase expect input buffer size.
10466
10467Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10468
10469 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10470
10471 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10472
10473 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10474
10475 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10476 [0-9]*, not just [0-9].
10477
10478Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10479
10480 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10481
10482 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10483
10484Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10485
10486 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10487
10488Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10489
10490 * gdb.t06/signals.c: Add xfails for sun3.
10491
10492 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10493
10494 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10495 test_stepping tests.
10496
10497Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10498
10499 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10500
10501 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10502
10503 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10504 rather than actually putting it through cpp twice.
10505
10506 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10507
10508Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10509
10510 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10511 no longer needed.
10512
10513Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10514
10515 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10516
10517 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10518 C++ features prints as "struct", make it a pass, not an xfail.
10519
10520Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10521
10522 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10523 Don't require VA to print as "class" rather than "struct".
10524
10525Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10526
10527 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10528
10529Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10530
10531 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10532
10533Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10534
10535 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10536 order.
10537
10538Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10539
10540 * gdb.t16/printcmds.exp: Add printf tests.
10541
10542 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10543
10544 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10545
10546Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10547
10548 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10549 pass counts, to counteract any existing or future setup_xfails.
10550
10551Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10552
10553 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10554 {BEGIN,END}_COMMON for common block instead of STAB.
10555 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10556
10557 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10558 intp_var should be N_GSYM not N_LSYM.
10559 wierd-aout.S: Use a label for the value of the N_SO.
10560 wierd.def: Remove all backslashes.
10561 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10562
10563Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10564
10565 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10566 get the expected next to inheritance3.
10567
10568Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10569
10570 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10571 now that gcc-2.4 gets it right.
10572
10573Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10574
10575 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10576
10577 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10578 generating comp-info.exp which works for cross-compilation.
10579
10580Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10581
10582 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10583 "*-*-sysv4.*".
10584
10585Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10586
10587 * gdb.t01/run.exp: Start with a fresh gdb.
10588 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10589 SVR4.x.
10590
10591Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10592
10593 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10594 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10595 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10596 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10597 things to remove.
10598
10599Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10600
10601 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10602 test cases from bug reports.
10603
10604Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10605
10606 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10607 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10608 avoid spurious xfails.
10609 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10610 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10611 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10612
10613Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10614
10615 * gdb.t00/teststrategy.exp: Rework to provide more useful
10616 description of each test, fix problem with systems that define
10617 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10618 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10619 results for "next over recursive call" so timeouts aren't taken
10620 by error.
10621
10622Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10623
10624 * gdb.t12/scope.exp: Test printing of variables before run.
10625
10626 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10627 printed in wrong order due to sorting.
10628
10629Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10630
10631 * gdb.t00/teststrategy.exp: Fix expected results for printing
10632 user entered string constant. Is array of char, prints with no
10633 address.
10634
10635 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10636 commands.
10637 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10638 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10639 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10640 of struct of char arrays.
10641 * gdb.t00/radix.exp: New tests for radix commands.
10642
10643Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10644
10645 * gdb.t16/printcmd.exp: Print a variable before running program
10646 (with xfail for AIX).
10647
10648Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10649
10650 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10651
10652 * gdb.t16/printcmd.exp: Don't print variables before running program.
10653
10654 * gdb.t06/break.exp: Don't require envp argument to main.
10655
10656 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10657
10658 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10659 Add xfails for rs6000.
10660
10661 * gdb.t02/whatis.exp: Change other tests not to re-test something
10662 we already tested.
10663
10664 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10665 each type used has a variable of that type.
10666
10667Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10668
10669 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10670
10671Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10672
10673 * configure.in: change srctrigger to be a file, not a directory
10674
10675Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10676
10677 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10678
10679 * gdb.t11/list.exp: Fixed a couple of typos.
10680
10681Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10682
10683 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10684 is fixed and PR is closed.
10685 * gdb.t16 (gdbme.c): Add simple test string variable.
10686 * gdb.t16 (printcmds.exp): Add tests with simple test string
10687 variable, primarily for boundaries on "set print elements".
10688
10689Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10690
10691 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10692 Make leading 0's optional and don't expect a tab in the middle
10693 of the number.
10694
10695 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10696
10697 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10698 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10699 don't end command passed to gdb_test with newline.
10700
10701 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10702 signed keyword away, don't expect signed bitfields to be signed.
10703
10704 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10705 printing with only as many 1's as are in the field as well as printing
10706 with 32 1's (see comment).
10707
10708Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10709
10710 * gdb.t00/default.exp: Start with a fresh gdb.
10711 * configure.in (configdirs): Remove gdb.t31 until the chill
10712 compiler works again. It no longer is able to find chillrt0
10713 since it isn't in libchill.a anymore.
10714 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10715 wierd.o, make more modular.
10716 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10717 spurious newlines that caused problems.
10718
10719Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10720
10721 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10722 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10723 gdb.stabs/wierd.{exp,def}: Many new tests.
10724
10725 * gdb.t00/default.exp: update info line for new message.
10726
10727 * gdb.t02/{whatis.exp,gdbme.c}:
10728 Test that "char *" doesn't print as "caddr_t".
10729
10730Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10731
10732 * gdb.t00/help.exp: Use .* in place of some help messages which
10733 just changed.
10734 gdb.t00/default.exp: Update "info frame" test for new message.
10735 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10736 Remove some xfails
10737
10738Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10739
10740 * gdb.t03/{gdbme.c,ptype.exp}:
10741 Add tests for typedef'd struct and union without tags.
10742 Also check "whatis" on a variable of a typedef'd enum without a tag.
10743
10744 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10745 PRMS 1823; the bug still exists but isn't reproduced by this test
10746 anymore), and remove rs6000 XFAIL (the bug is fixed).
10747
10748 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10749 duplicated from whatis.exp. For those that are left, accept
10750 "long", "long int", or "int" for long variables (whatis.exp already
10751 has an XFAIL for "int", so no need to fail it here).
10752
10753 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10754 Deal with GCC's names for types now that GDB uses the compiler's names.
10755
10756 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10757 setup_xfail's for sunos4. If we #defined the signed keyword away,
10758 don't expect GDB to know that char it is signed.
10759
10760 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10761
10762Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10763
10764 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10765 should work on any system, regardless of debugging format.
10766 * gdb.t21/demangle.exp: Move to gdb.t24.
10767 * gdb.t24/demangle.exp: Move from gdb.t21.
10768 * gdb.t24/{Makefile.in, configure.in}: New files.
10769
10770Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10771
10772 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10773 * gdb.stabs: New directory.
10774
10775Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10776
10777 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10778 not just "Quit anyway?".
10779
10780Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10781
10782 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10783 that all setup_xfails are immediately followed by clear_xfails.
10784
10785Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10786
10787 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10788 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10789 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10790 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10791 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10792 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10793 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10794 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10795 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10796 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10797 gdb.t31/chillvars.exp, lib/gdb.exp:
10798 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10799 bug-gdb@prep.ai.mit.edu.
10800
10801Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10802
10803 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10804 with 0.0, not integer 0.
10805
10806Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10807
10808 * gdb.t06/break.exp: Update for "Kill the program" message change.
10809
10810Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10811
10812 * Makefile.in (GDBFLAGS): Set to -nx.
10813 * Makefile.in (site.exp): Use GDBFLAGS.
10814
10815Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10816
10817 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10818 Makefiles.
10819 (check): depend on just-check.
10820 (just-check): added so that tests can be run without a noop
10821 build pass.
10822
10823Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10824
10825 Switch to using configure's configdirs.
10826 * Makefile.in (Makefile): add configure.in dependency.
10827 (SUBDIRS): removed redundant assignment.
10828 * configure.in: switch subdirs assignment to configdirs.
10829 * gdb.t*/configure.in: new files.
10830
10831Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10832
10833 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10834 works.
10835
10836Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10837
10838 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10839 in explicit rules. Apparently this is not supported by some makes.
10840
10841Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10842
10843 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10844
10845Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10846
10847 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10848 disappeared.
10849
10850Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10851
10852 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10853
10854Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10855
10856 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10857 watchpoint problem that is now fixed.
10858 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10859 uninitialized convenience variables.
10860 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10861 structures.
10862
10863Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10864
10865 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10866 which causes expect to get out of sync with gdb on long output
10867 from help set.
10868 * gdb.t09/corefile.exp: Make expected pattern for core file
10869 failing signal and frame output format less sun specific.
10870
10871Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10872
10873 * gdb.t31/chillvars.exp: Add and remove initial dummy
10874 breakpoint, so that symbol table is forced in.
10875 (Needed at least on Sunos4, though it seems not SVR4.)
10876 * gdb.t31/chillvars.exp: Update for changed output format.
10877
10878Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10879
10880 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10881
10882Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10883
10884 * Makefile.in: Added --srcdir when invoking runtest, removed the
10885 need for a local config file. (optional now)
10886
10887Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10888
10889 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10890 failure count used to force early termination. Add some more
10891 expected failures for gnu style demangling.
10892
10893Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10894
10895 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10896 pmi variable from gdb.t20/gdbme to get optimized away.
10897 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10898 Check for written corefile upon timeout _and_ eof.
10899
10900Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10901
10902 * config/unix-gdb.exp: Add missing return 0.
10903
10904Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10905
10906 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10907 test termination.
10908
10909Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10910
10911 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10912 disappeared.
10913
10914Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10915
10916 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10917 time as i860 support works.
10918
beb998c6 10919 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10920 "backtrace 100\r" rather than just "backtrace\r", to match last
10921 change.
10922
10923Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10924
10925 * config/udi-gdb.exp (gdb_exit): Remove close command.
10926 (gdb_target_udi): New procedure to set the UDI target.
10927 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10928 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10929 Added waits for prompts after several question responses. Added
10930 some more responses used by a29k-amd-udi-gdb.
10931 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10932 pass different arguments, restart UDI connection after program
10933 completion.
10934 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10935 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10936 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10937 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10938 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10939 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10940 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10941 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10942 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10943 after program completion.
10944 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10945 compiled with a SELECT_VECS setting.
10946 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10947 infinite recursion.
10948
10949 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10950 Added checks for COFF results, and made them expected failures for
10951 all targets. It would be better to make them expected failures
10952 for COFF targets only.
10953
10954Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10955
10956 * Makefile.in: add null dvi target, don't bother to recurse
10957 through test directories for info and install-info; rename
10958 $(datadir) to be dejagnu instead of deja-gnu
10959
10960Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10961
10962 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10963 compiler to coredump.
10964 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10965 code.
10966
10967Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10968
10969 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10970 coredump.
10971 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10972 code.
10973
10974Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10975
10976 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10977 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10978 which in a shell. Deletes xgdb when done.
10979 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10980 Tests the return from the "set height" or "set width" commands.
10981 Added a few return codes where needed.
10982
10983Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10984
10985 * Makefile.in (SUBDIRS): Add gdb.t17.
10986 * configure.in (subdirs): Add gdb.t17.
10987 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10988 files to test gdb's calling of functions in the inferior with
10989 the correct arguments and gdb's ability to retrieve any
10990 result returned.
10991
10992Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10993
10994 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10995 may be called after gdb goes away. Previous versions of expect
10996 needed these to avoid file descriptor leaks, but they cause
10997 errors with the current revision of expect.
10998 * gdb.t00/gdbvars.exp: Use -re on expected output after
10999 setting sevenbit-strings.
11000 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11001 to set sevenbit-strings consistent across tests.
11002 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11003 set sevenbit-strings consistent across tests.
11004
11005Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11006
11007 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11008 expected output to match current "expect" expectations.
11009
11010Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11011
11012 * gdb.t00/default.exp: Change expected output for default "source"
11013 command, to match new gdb behavior which requires a filename to
11014 source.
11015
11016Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11017
11018 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11019 expected fail for i486-*-* that misses the marker2 function.
11020 * gdb.t10/crossload.exp (bfddefault): Allow successful
11021 recognition of a format to pass even if no symbols are found.
11022 Explicitly catch failures where the format is not recognized
11023 or is ambiguous, and add the reason to the fail message.
11024 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11025 the cause is and invalid target and add reason to failure message.
11026 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11027 elf32-i386, elf32-sparc, and elf32-i860.
11028 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11029 Set up expected failure for 'filename'::variable scope resolution,
11030 which is now apparently broken on all targets.
11031 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11032 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11033 gdb.t23/templates.exp: Change failure for missing binfile into
11034 just a warning.
11035 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11036 references.
11037
11038Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11039
11040 * gdb.t00/default.exp: Add expected output for default "source"
11041 command, to match new gdb behavior.
11042 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11043
11044Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11045
11046 * config/*-gdb.exp: returns an error, rather than exiting on
11047 internal errors.
11048
11049Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11050
11051 * gdb.t03/gdbme.c: Add pointer to struct variable.
11052 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11053 referencing struct members.
11054
11055Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11056
11057 * configure.in (mips-idt-ecoff): New target.
11058 * config/mips-gdb.exp: New file for remote board using MIPS remote
11059 debugging protocol.
11060
11061 * Redid configuration scheme. Removed gdb.t*/configure.in.
11062 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11063 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11064 distclean targets. Built executables via .o files. Adjusted
11065 tests to account for source files in $(srcdir) rather than
11066 $(objdir).
11067 * lib/gdb.exp (runto): Don't expect () after the function name,
11068 because it may have arguments.
11069
11070Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11071
11072 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11073 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11074 expected failures for mips-idt-* and mips-sgi-*.
11075 * gdb.t00/default.exp (attach): Kill process if requested.
11076 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11077 that does not read core files.
11078 * gdb.t01/run.exp: Removed checks for exit status code.
11079 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11080 it is linked in.
11081 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11082 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11083 appropriate, rather than doing it by hand.
11084 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11085 execution.
11086 * gdb.t10/crossload.exp: Kill existing program if needed.
11087 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11088 appropriate, rather than doing it by hand. Always increase
11089 timeout for this test, not just for VxWorks.
11090
11091Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11092
11093 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11094 of Chill STRUCT types and STRUCT values.
11095 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11096 than "char".
11097 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11098 struct2): New struct definitions and initializations to test
c906108c
SS
11099 simple Chill STRUCT types.
11100
11101Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11102
11103 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11104 the null byte at the end of strings.
11105 * gdb.t00/default.exp: Make show version insensitive to copyright
11106 date.
11107 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11108 to avoid dependencies on target char signedness.
11109 * gdb.t16/printcmds.exp: Update expected results for explicitly
11110 unsigned char.
11111 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11112 now work.
11113 * gdb.t21/demangle.exp: Add many more patterns for template
11114 demangling, most of them being expected failures.
11115 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11116 string we are matching for, to match on the whole string.
11117 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11118 and fix a whole bunch that had incorrect expected output but were
11119 passing anyway because of the bug in "proc demangle".
11120 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11121 type.
11122 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11123
11124Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11125
11126 * gdb/testsuite: made modifications to testcases, etc., to allow
11127 them to work properly given the reorganization of deja-gnu and the
11128 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11129
11130Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11131
11132 * gdb/testsuite: Initial creation of gdb/testsuite.
11133 Migrated dejagnu testcases and support files for testing nm to
11134 gdb/testsuite from deja-gnu. These files were moved "as is"
11135 with no modifications. This migration is part of a major overhaul
11136 of dejagnu. The modifications to these testcases, etc., which
11137 will allow them to work with the new version of dejagnu will be
11138 made in a future update.
11139\f
11140Local Variables:
ef043731 11141mode: change-log
c906108c
SS
11142left-margin: 8
11143fill-column: 74
11144version-control: never
11145End: